1
0
Fork 0
Commit graph

662 commits

Author SHA1 Message Date
vmmeazza
d6684074a3 Radar enhancement - now 'detects' the first 2 multiplayer targets. This is a temporary fix only pending a better implementation of radar. There is a known limitation: when a multiplayer conatact is dropped it will probably not be re-detected. 2006-05-16 16:37:57 +00:00
mfranz
49c0b7716d always use route-manager AP locking, no matter at which alt-agl (not that
/position/altitude-agl-ft would be set by the ufo fdm at all ... ;-)
2006-05-12 09:37:50 +00:00
mfranz
5e400f35b9 ufos are never really "on ground" 2006-05-11 09:57:16 +00:00
mfranz
fc5ab53552 - hide status line in screenshots
- fix status dialog closing
2006-05-09 09:41:52 +00:00
mfranz
fdd9051722 finer slider operation 2006-04-24 21:40:28 +00:00
mfranz
c5527fc770 tweaks of the day 2006-04-24 20:34:59 +00:00
mfranz
f839a5111f whoops ... typo 2006-04-21 19:59:51 +00:00
mfranz
543be9df3f - make ufo import only static objects with a minimum of defined data
- turn off specular on the sign placeholder model
2006-04-21 19:49:44 +00:00
mfranz
21f0a726e6 don't convert spaces to underscores for signs. It happens much to often
that they are added unintentionally  ->  just drop them
2006-04-16 22:05:59 +00:00
mfranz
5b2dcaf44f make invisible input field less visible :-) 2006-04-16 11:49:29 +00:00
mfranz
671c30449d - empty legend input field when no object is selected/available
- tweaks & cleanup
2006-04-16 10:39:07 +00:00
mfranz
783c5cde5f - fix unhiding in Dynamic.flash()
- some more comments (to make it look less messy ... or messier? :-)
2006-04-16 08:09:28 +00:00
mfranz
e18574273a whoops ... forgot to remove some experimental code ... which doesn't work :-( 2006-04-15 21:09:35 +00:00
mfranz
e17146bdfa - make deleting work even when 'flashing' of selected object is in progress
- fix object counter (which did often not go down to zero)
2006-04-15 20:21:41 +00:00
mfranz
47ccc8c4bb - new status line dialog, which contains an input line for comments/legend
- if the selected model is the sign placeholder (Aircraft/ufo/Models/sign.ac;
  first entry in the m-key dialog), then the export writes an OBJECT_SIGN
  entry with the legend as contents (rather than the path).

Note that the input field for legend/comment is invisible if it doesn't
contain any text. You find it if you click right over the status line
entry in the lower left corner. Usability bug by design.  :-)
(The dialog can also be dragged to another place.)
2006-04-14 14:58:08 +00:00
mfranz
25e6e4329a - add all exported models into "models" group. That way it's possible to
load the export file directly into fgfs via --config option:
  --config=$HOME/.fgfs/ufo-model-export.xml  (An fgfs wrapper could add
  this option automatically if the file exists. Mine does. :-)
- import all /models/model[n] objects into the UFO's model manager, so
  that they become editable

Both features together allow to save an UFO object session and to continue
it next time.
2006-04-13 22:01:53 +00:00
mfranz
063a9d92e0 always use OBJECT_SHARED 2006-04-13 20:47:25 +00:00
mfranz
305001c033 consider new OBJECT_TAXI_SIGN orientation 2006-04-12 12:25:21 +00:00
mfranz
9d6342f1a8 add model for taxiway sign placing 2006-04-12 00:00:59 +00:00
mfranz
3ef957b66c increase precision of output lon/lat values 2006-04-02 17:52:33 +00:00
mfranz
d52d4e9a8b - restore old $FG_HOME in <help>
- print target path to terminal
- minor optimization
2006-04-02 17:35:47 +00:00
mfranz
8c4a9aefb7 update <help> to reflect new MS Win "/sim/fg-home" path 2006-04-01 12:12:27 +00:00
mfranz
bb81487bdb spell flightgear correctly (that's why I said "almost the truth" :-) 2006-03-31 18:03:32 +00:00
mfranz
90e3cfb973 say almost the whole truth about the export file path 2006-03-31 18:00:09 +00:00
mfranz
2b1445dfd4 forgot one 2006-03-31 17:29:02 +00:00
mfranz
46435d3eef documentation update 2006-03-31 17:15:36 +00:00
mfranz
cd39d50c16 whoops ... /model is already reserved -> name it back to /cursor 2006-03-31 17:12:32 +00:00
mfranz
952c006a08 Stuart BUCHANAN:
avoid long lines, because they aren't displayed *at all* with plib <= 1.8.4
if they stick out of the screen on the left side
2006-03-28 22:54:16 +00:00
mfranz
f433e090b6 distance measuring isn't ready yet 2006-03-27 13:23:44 +00:00
mfranz
b82a276062 - add cursor/selected model coords output again
- move counter to status line output
2006-03-27 13:13:57 +00:00
david
6e5e59be23 Updates from Dave Perry:
I missed a few things in the last patch.
1.  prop size did not match prop disc size.
2.  rescaled yoke to match measured yoke.
3.  messed up hot spots for heading indicator knobs when I tweaked the
panel last patch.
The fix that could not wait was #3, so I also re-textured the pilot head
with outdoor face photos.  Yep, that's my face.  The hair is now
textured also which looks better close up.
2006-03-27 11:50:57 +00:00
mfranz
cc23971688 - initialize click coords
- display_status function
- add model count to status line
2006-03-25 18:30:32 +00:00
mfranz
4039ff7e40 - add "sticky" buttons to keep last object's heading and/or roll/pitch
- fixed pos for model select dialog
- yet more cleanup
2006-03-24 15:33:06 +00:00
david
25e3db0bd1 Update from Dave Perry:
1. Added a pilot.

2. Cleaned up the panel, added a working park brake lever, added the
remaining placards, added "materials lighting for the remaining
switches and knobs tied to the nave light switch.

3. Doubled the resolution of the transparent rgb, added propdisc spin,
and realigned all in the ac file so the spin was concentric.
2006-03-24 03:52:14 +00:00
mfranz
74c64deaef allow to cycle through model lise (space + cur up/down) 2006-03-24 00:20:22 +00:00
mfranz
275292c0b4 make model select dialog entries immediately effective. That way one can
keep the dialog open and quickly select & plant.
2006-03-23 19:06:18 +00:00
mfranz
6fe96ded5b - reset display timer on model planting
- increase display time for active/selected status line
2006-03-23 16:56:55 +00:00
mfranz
fae858dbe3 - fix default model initialization
- add status line (green: active model -- clicks will plant it;
                   orange: selected model -- adjustable/removable)
- make manually selected models active (that is: further clicks will plant
  this model type); doesn't apply to automatically selected models (after
  removing)
- cleanup
TODO: yet more cleanup, add missing terminal output, etc.
2006-03-23 16:16:44 +00:00
mfranz
484fb41f10 support multiple models that can be chosen from list (TODO: clean up) 2006-03-22 20:25:58 +00:00
mfranz
377ab6e1fa - write data to $FG_HOME/ufo-cursor.xml
- print model name in window title
- more help entries
2006-03-16 16:24:52 +00:00
mfranz
2cfa125201 try to guess if model is SHARED or STATIC 2006-03-15 20:37:38 +00:00
mfranz
24f360dfd1 - add "upright" button to zero roll/pitch
- add "dump" button  (same as d-key)
2006-03-15 16:16:47 +00:00
mfranz
f1362484ef swap ufo and cursor dump 2006-03-15 15:50:35 +00:00
mfranz
40e530c300 set custom cursor with $ fgfs --aircraft=ufo --prop:cursor=Models/Airport/... 2006-03-15 15:35:52 +00:00
mfranz
48245e20d5 add dialog for cursor positioning. HOWTO:
- fly ufo to target
- click on terrain to place cursor
- open Tab-key dialog, adjust cursor position
- dump position/orientation (d-key)
2006-03-15 14:27:47 +00:00
mfranz
a5cdda9b8d first stab at cursor support: click at the terrain to position the cursor,
press `d' to dump the cursor and ufo coordinates to the console.
2006-03-15 00:29:53 +00:00
curt
a335e72a59 Fix the glideslope needles so they peg at +/- 0.7 degrees off course. 2006-03-13 20:19:06 +00:00
ehofman
e13e20883d Sync. w. JSBSim CVS. 2006-03-13 15:27:14 +00:00
mfranz
9934ee29d3 5 is a bit too small. And now I'm *really* done. :-) 2006-03-11 12:20:49 +00:00
mfranz
09a284358e reverse flaps up/down (this feels more naturally for an UFO ;-) 2006-03-11 12:01:24 +00:00
mfranz
7b3ef800cc remove redundant function 2006-03-11 11:10:58 +00:00
mfranz
d43853763d use fixed speed values (prettier and more consistent) 2006-03-11 11:04:59 +00:00
mfranz
c86cd8c013 "flaps down" -> decrease maximum speed
"flaps up"   -> increase maximum speed
2006-03-11 09:52:51 +00:00
mfranz
a51165f775 This code was correct (apart from the doubled binding). The problem is
that the --dme option sets the switch position correctly, but the
preferences.xml file is read after that and sets the switch back to 1.
And then we do *correctly* get nav1. Ideally, we would only let
preferences set the switch position if it wasn't set before, but
for now lets just comment that out there.
2006-03-10 15:36:17 +00:00
david
ff83826bfc Remove setup action -- it overwrites a DME frequency specified on the
command line.
2006-03-10 14:41:50 +00:00
daveluff
c635f08dc7 Jean-Yves Lefort: The attached patch restores normalized control surface positions on the c172p 2006-03-06 21:12:52 +00:00
fredb
026a2bb4b0 Jean-Yves Lefort :
I have implemented a Honeywell MK VIII EGPWS emulation for FlightGear.
The MK VIII is an Enhanced Ground Proximity Warning System aimed at
regional turboprop and small turbofan aircrafts such as the Citation,
Citation Bravo, B1900D, Beechcraft 99 and L410.

Frederic Bouvier:
make the MSVC compilation possible. Rearrange base package directories.
2006-03-04 20:29:50 +00:00
david
61eef54dac Changes from Dave Perry:
I put 3 patches and a sound file in this tar.  The c172p... patch
removes an unnecessary patch I submitted to the c172p.  It has no affect
on performance.  The Instruments-3d... patch adds a working skid ball to
the tc and switches the vor xmls to using params so it is easier to
edit.  It also constrains the glide-slope needle to -32 to 32 degrees.
The pa24-250... patch fixes an edit error (corrects a misnamed switch
"click", no change in performance) and adds a "squish" sound to the
primer pump action.
2006-03-04 13:29:30 +00:00
curt
947b816042 Lee Elliott:
Remove spam trap contact address.
2006-03-02 22:40:56 +00:00
david
5da3e4c18b Changes from Dave Perry:
Here is a patch that included the changes in my 2/22/06 posting plus the
3d-instrument light "emission" animations.  I also added a magnetic
compas mount and moved it forward and down to better match the real ac
and make it easier to read when adjusting the hi.  Ignore the "?" flaged
files at the beginning.  none are required.  I noticed that there is a
backup copy of pa24-250.ac in the pa24-250 folder in cvs.  It can be
deleted.  The only copy of that file required is in pa24-25/Models.

I "flew" a shake down instrument XC from 2v2 (Longmont, CO) to KLVN
(Airlake, just south of Minneapolis, MN).  Even the fuel management is
realistic.  The autopilot on the menu bar works well.  Give the changes
a try and enjoy!
2006-02-25 18:16:54 +00:00
curt
cdfa61f112 Syd Adams:
Here are the latest updates.

- Most of the changes involve moving instruments / animation / hotspot files
  to instruments-3d.

- Some re-texturing.

- Finished Aerostar gear animation.

- I tried adding a LONG variable to the nav radio property tree,
  but the conversion kept coming out wrong. Multiplying frequencies
  by 100 and outputing that to another DOUBLE worked, but I cant find
  the Comm frequencies property updating for the life of me ..... oh
  well Nasal works.
2006-02-23 19:06:03 +00:00
mfranz
ceeb9503f8 Stuart BUCHANAN:
Nasal/XML based tutorial system
2006-02-22 17:03:42 +00:00
mfranz
92c5097250 Stuart BUCHANAN: update; replace screenPrint with screen.log.write(); ... 2006-02-15 22:53:23 +00:00
david
8ab3d99a88 Changes from Dave Perry:
I made a minor change to one file in the c172p that accommodates a
feature I added to the navcom-kx155.xml and the dme.xml in the
Instruments folder.  I wanted to leave the frequencies, etc. on these
dark until there was voltage applied to
/systems/electrical/outputs/nav.  This was accomplished by adding a
param and property alias  pointing to the appropriate value.  Since the
c172p "always" applies 28 volts, this made no change in the c172p, but
allowed me to model the avionics master and battery master realisticly
in pa24-electrical.nas.  I put in comments explaining this at the change
points.

There is a useful  "help > aircraft help" that walks you through the
start procedure and lists the key bindings as well as the key to "light
up" the hot spots.
2006-02-12 17:34:59 +00:00
david
be1a0a1c9e I made a minor change to one file in the c172p that accommodates a
feature I added to the navcom-kx155.xml and the dme.xml in the
Instruments folder.  I wanted to leave the frequencies, etc. on these
dark until there was voltage applied to
/systems/electrical/outputs/nav.  This was accomplished by adding a
param and property alias  pointing to the appropriate value.  Since the
c172p "always" applies 28 volts, this made no change in the c172p, but
allowed me to model the avionics master and battery master realisticly
in pa24-electrical.nas.  I put in comments explaining this at the change
points.

There is a useful  "help > aircraft help" that walks you through the
start procedure and lists the key bindings as well as the key to "light
up" the hot spots.
2006-02-12 17:31:21 +00:00
david
c6669dd751 PA-24-250 (Comanche) changes from Dave Perry:
I made a minor change to one file in the c172p that accommodates a
feature I added to the navcom-kx155.xml and the dme.xml in the
Instruments folder.  I wanted to leave the frequencies, etc. on these
dark until there was voltage applied to
/systems/electrical/outputs/nav.  This was accomplished by adding a
param and property alias pointing to the appropriate value.  Since the
c172p "always" applies 28 volts, this made no change in the c172p, but
allowed me to model the avionics master and battery master realisticly
in pa24-electrical.nas.  I put in comments explaining this at the
change points.

There is a useful  "help > aircraft help" that walks you through the
start procedure and lists the key bindings as well as the key to "light
up" the hot spots.
2006-02-12 15:44:12 +00:00
daveluff
674539a3cf Use middle click to pull/push the pull-to-scan middle knob 2006-02-03 20:58:47 +00:00
ehofman
dfd4d87c8a Ron Jensen: energize the TACAN. 2006-02-03 08:44:26 +00:00
mfranz
5a12cd5d22 before the big instrumentation rewrite dme.cxx cared for the initial
mode according to the switch position. Now dme.cxx is more generic
and can't make these settings any more -- and doesn't. So the dme
didn't display anything even if the knob was on.

The initialization has now to be done in the dme.xml file.
(Button-less actions are fired at init time and then thrown away.)
2006-02-02 00:07:11 +00:00
mfranz
12b58fa989 fix "from" flag 2006-02-01 22:16:53 +00:00
mfranz
f4704aed46 ac3d syntax 2006-01-30 19:43:18 +00:00
curt
c16aa2cd25 Syd Adams:
3d instrument updates, especailly the primus-1000.
2006-01-30 19:33:23 +00:00
ehofman
97752847ef Dave Perry:
I have modeled N7764P, the comanche 250 I co-own with 2 other Seagate engineers.
In the process of doing this model, I have also improved, worked on, or added
instruments, etc. to Instruments-3d.

* I fixed the adf so the azimuth card is tied to the correct property
* Added TO, From, and out-of range indicators to the 3d vor.
* Also added a manifold pressure gage and a pa24-250 asi (using digital photos
  of the actual asi as the starting textures.

Affects on other AC.  As far as I know, this will add to-from to the vor and
correct the adf behavior for pa28-161.  It would be a trivial edit to the
pa28-161.xml to give the same vor performance to that AC.
Now both VORs act as one.
2006-01-24 10:26:16 +00:00
ehofman
f6cd3d54d8 sync. with JSBSim v. 2.0 2006-01-12 15:03:25 +00:00
curt
601366f717 Syd Adams:
3d instruments for Piper Aerostar.
2006-01-09 15:45:12 +00:00
curt
eb783b46aa Syd Adams:
Initial revision.
2006-01-09 14:55:52 +00:00
ehofman
7f11bb92db Stuart Buchanan:
- Provide generic Nasal code to check if a pilot is abusing their aircraft
  by extending their gear/flaps above the maximum allowed speed, exceeding
  Vne, or pulling excessive G-forces.
- Implement limits within the C182.
2006-01-06 09:47:58 +00:00
ehofman
fef63c1b05 Stuart Buchanan:
Updates to the generic yoke and added a generic set of pedals and a throttle
quadrant.
2005-12-27 13:14:49 +00:00
daveluff
c765031835 And following on from the last bug, I need to revert the actual texture to the one I tested with for the indicies into it to be correct... 2005-11-30 02:00:48 +00:00
daveluff
46268bbf56 Melchior found the first bug... 2005-11-30 01:49:48 +00:00
daveluff
a08c2e07c7 Rearrange the 2d c172 panel to add a kln89 GPS unit and md41 annunciator and gps/nav switch 2005-11-30 01:10:31 +00:00
daveluff
b4dc9ca967 KLN89 GPS instrument - this only handles the switches, dials and providing a background - the logic and display is handled by a special c++ instrument 2005-11-30 01:05:40 +00:00
daveluff
7b875227e1 KLN89 background - could probably do with adding a lower res version of this as well 2005-11-30 01:04:38 +00:00
mfranz
36a69cd891 /instrumentation/adf/heading-deg doesn't exist any more; use the
"heading-indicator" instrument
2005-11-12 18:24:06 +00:00
ehofman
4440f87a3b Add the missing generic instruments that are required by the new C182. 2005-11-10 17:23:10 +00:00
ehofman
fec91079ae Harald JOHNSEN: Add a (test) WxRadar instrument. 2005-10-08 12:13:43 +00:00
daveluff
4e27c93836 MD41 GPS annunciator and NAV-GPS switch unit 2005-10-02 18:08:49 +00:00
ehofman
f2fe8fbe39 Vivian Meazza:
This adds a TACAN instrument to the inventory. Range and bearing are calculated
to the TACAN or VORTAC beacon selected by means of the Channel Selector in the E
quipment/Radio pull-down menu.

A TACAN beacon has also been added to the aircraft carrier Nimitz (channel #029Y
).
2005-10-01 09:56:18 +00:00
curt
08e0ffece0 Off indicator when volts drop below 20. 2005-08-23 02:34:03 +00:00
ehofman
801edaf448 Torsten Dreyer:
Add a radar altimeter (like the King KRA-10A)
2005-07-31 08:31:08 +00:00
curt
72e1e46116 Convert the c172p and c172r to use the new nasal electrical system. 2005-06-14 20:58:07 +00:00
curt
c77949a11d Specify a default generic electrical system model here rather than in the
aircraft-set.xml files.
2005-06-14 18:01:34 +00:00
ehofman
ec8742bd65 Melchior FRANZ:
Implement simple help system with global and aircraft specific dialogs:

The gui.nas changes have been discussed with Andy. All ac have a help dialog,
but some are empty. (This wouldn't have been necessary, as the system falls
back to the "Common Aircraft Keys" if an aircraft has no help defined, but an
empty dialog is less confusing and encourages to be filled with interesting
information.   :-)    I scanned all aircraft files for interesting performance
data and added some to the dialogs (stall speed, etc.) The Concorde and the
p51d have (over?)complete dialogs and can serve as examples. The format is
documented in $FG_ROOT/Nasa/gui.nas.

There is also a couple of other, minor fixes.

The following files have ugly MSDOS line endings:

  $FG_ROOT/Aircraft/Hunter/hunter{-2tanks,}-set.xml
  $FG_ROOT/Aircraft/A380/A380-set.xml


The Concorde-jsbsim.nas file is a useless copy of the real */nas file, which is
in Nasal/. I'was debugging the Concorde and wondered why changes to this file
had no effect ...
(Fixed Concorde in the help-ac.diff patch: don't use "interpol" keyword as
variable.)
2005-04-19 13:43:44 +00:00
ehofman
34648bb1f9 Remove some unused texures and re-install the 2d panel. 2005-02-22 18:25:00 +00:00
ehofman
5999a302a9 Reference Aircraft/Generic instead of Aircraft/c172 2005-02-19 12:58:39 +00:00
ehofman
8cc903dfe6 Reinstall the c172p, 3d cokcpit only for now 2005-02-19 10:51:46 +00:00
ehofman
2c8aaa35ee Remove the c172p, there will be an updated version shortly. 2005-02-19 10:48:48 +00:00
ehofman
d71f743d62 First step towards untiing the c172/c182 knot 2005-02-19 10:03:53 +00:00
ehofman
cc51e4b9eb Melchior FRANZ:
The comm radio knobs are screwed. Left half increase, right half decrease.
Fixed that. (I wonder since when this is broken. Does nobody use it?)

To reproduce:  $ fgfs --aircraft=c310
2005-02-11 15:33:21 +00:00
ehofman
3e168d205c Melchior FRANZ:
The c310's adf needle (HSI) doesn't work. The hsi.xml instrument does
still use the old property. The fix didn't have negative effects on
other a/c that I had tested.
2005-01-28 15:11:56 +00:00