1
0
Fork 0
Commit graph

995 commits

Author SHA1 Message Date
mfranz
4c16eacf96 - make MMB-transformation step size depend on viewer distance
- add cursor.ac to the model selection list (useful as rotation center)
2008-05-09 20:40:10 +00:00
mfranz
6e36e21f7b - support *.osg models (priority: *.xml -> *.osg -> *.ac)
- cleanup
2008-05-09 16:47:38 +00:00
mfranz
e5b1c408dc mouse walk -> operation mode: with Ctrl modifier down, don't move the
ufo position, but the selected objects: ctrl-mmb left/right/up/down move
the objects left/right/away/nearer, and ctrl-mmb-lmb l/r/u/d rotate them
all around the active object ('m'-key marker!) or raise/lower them.

(the gear-key 'g' can for now be used as a Ctrl replacement for people
with 2 button mouse; will probably be moved to a better place ...)
2008-05-08 20:11:39 +00:00
mfranz
59d9f53e57 mouse walk: wrap mouse, so that the walking range is only limited by the
size of the mouse pad, not by the screen size  :-)
2008-05-08 10:23:19 +00:00
mfranz
076bc0f176 mouse walk: don't use Ctrl+MMB for left/right/up/down, but MMB+LMB 2008-05-07 18:03:38 +00:00
mfranz
3d1582798a - center controls when starting/stopping mouse walk, as well as at startup
- make shift modifier increase walking speed
2008-05-06 22:49:02 +00:00
mfranz
ef20bebf4f mouse walk: a bit more progression on x/y/z; no progression on hdg change 2008-05-05 21:47:39 +00:00
mfranz
49763a91b0 move dialogs up so that the mouse button listener doesn't bark 2008-05-05 18:45:21 +00:00
mfranz
53958680a8 center adjust dialog sliders on mouse walk 2008-05-05 18:16:05 +00:00
mfranz
b4b686b5ff let Mouse Walk zero the throttle 2008-05-05 17:31:36 +00:00
mfranz
7f42abb076 - Do The Mouse Walk. ... MMB[+Ctrl] drag in pointer mode
- drop redundant braces
2008-05-05 13:22:01 +00:00
mfranz
623dcb0602 g-click:
- don't open status dialog if not necessary
- adjust ufo heading to view direction
2008-05-04 21:56:34 +00:00
mfranz
67b14bb1ae Francesco BRISA (& me): add teleport function
When holding the gear key or button down (as a kind of modifier) and after
left-clicking on the terrain, teleport the UFO to the click position.
Keep heading if no model is active, otherise look there. Keep altitude-agl.
2008-05-04 21:16:48 +00:00
sydadams
1fd7c79eea removed testing nasal file... 2008-05-03 16:05:19 +00:00
sydadams
05e0e19087 Added runway offsets and other minor changes 2008-05-03 02:47:34 +00:00
mfranz
2f8b4b02ac add unit suffixes -nm and -deg to /sim/presets/offset-{distance,azimuth} 2008-05-01 21:29:39 +00:00
mfranz
a197f006ae enable Exorcist-style head turns, so that we can disabled them globally 2008-04-15 17:26:02 +00:00
stuart
5fdf9e3831 Rename quadrant Propellor object to avoid collision for C310 objects. 2008-04-13 17:45:43 +00:00
mfranz
3e99323d0e if (exactly) two objects are selected, print the direct distance to the screen 2008-03-18 22:58:42 +00:00
mfranz
0c38aa1e8c Stewart ANDREASON:
- fix --altitude in dumped command line ('d'-key)
- implement vertical movement on Home/End and KP7/1
2008-03-12 20:47:53 +00:00
sydadams
64066c93ee *** empty log message *** 2008-03-04 01:27:51 +00:00
sydadams
89ae48a97a Electrical updates from Ron Jensen 2008-02-17 23:17:41 +00:00
mfranz
45efa41608 Dave PERRY:
"All the pa24 and pa28 and Seneca II hot spots are now visible in osg and
plib with ctrl-c."
2008-02-02 17:45:27 +00:00
sydadams
47b4d2f98e *** empty log message *** 2008-01-17 00:54:17 +00:00
sydadams
527959b8b3 fixed radar whiteout and hotspot alignment 2007-12-27 11:50:23 +00:00
sydadams
1ef0b7cf8a Added field-of-view to the save file of my aircraft
Updated the radar to a 2d screen , still not working 100%
2007-12-27 03:27:09 +00:00
sydadams
d64a6dba06 material lighting update 2007-12-22 23:38:37 +00:00
sydadams
24572f14db Updated kfc200 FD mode operation...
Material lighting updates ....
2007-12-22 23:37:14 +00:00
sydadams
d642797371 Updated my 3d kr-87adf reciever to use Curt's kr-87 code instead of instruments/adf .... 2007-12-22 23:31:45 +00:00
sydadams
c07a7c266e changed wxradar to radar ... 2007-12-18 07:13:10 +00:00
sydadams
28f416c6d5 a few Primus 1000 updates ... 2007-12-16 09:45:43 +00:00
mfranz
a7cdd684a1 add a "Camera View", which is an exact copy of "Cockpit View" and selected
(but disabled) by default. You won't notice any difference, unless you
place, let's say, an A-10-model.xml in the scenery. Some of the A-10's "select"
animations unselect the fuselage and other parts, when they thinks the A-10
is in cockpit view, not knowing that it's actually the *ufo*, which is in
cockpit view.
2007-12-14 10:50:02 +00:00
sydadams
6f1b020d68 fixed the PFD VOR2 pointer to point to nav[1] vor heading ... and var-ified 2007-12-12 05:57:24 +00:00
sydadams
89467fe9ca Added hotspots and nasal file for the b1900d trancievers ... didnt realize they only had OSG hotspots...
and nasal control because the <bias> tag doesn't seem to work here
2007-12-12 05:31:44 +00:00
sydadams
51465fa2f4 Added more P1000 controllers ....
Flight Director still broken ...
hopefully tomorrow ...
2007-12-09 09:07:38 +00:00
sydadams
eaba85f3bb MFD temporary fixes ... 2007-12-07 04:39:45 +00:00
sydadams
3ee01413d1 disabled autopilot on ground... 2007-12-05 06:18:49 +00:00
sydadams
f07c189652 Added hotspots for the autopilot and remote instrument controllers 2007-12-05 05:13:51 +00:00
sydadams
3b5333d02b some nasal var and error fixes ... 2007-12-03 07:18:24 +00:00
mfranz
52ed2de4c3 Roy Vegard OVESEN: add "var" keywords 2007-11-28 20:09:59 +00:00
mfranz
89bd7a21cd Dave PERRY: remove two <global> in material animations 2007-11-26 15:10:26 +00:00
mfranz
5d26f635bf Dave PERRY: 'adds "var" for local variables' 2007-11-25 20:43:43 +00:00
sydadams
d2f304f030 Updates to the P1000 , older files will be removed once its all sorted out 2007-11-21 04:56:00 +00:00
martin
56eb66f03b Torsten Dreyer:
This patch for the 3d artificial horizon enables the movement of the
reference bar like the 2d instrument and corrects the wrong display of
pitch.

The original version already has a reference bar object in the .ac file
called bezel, but it is not bound to a animation. And the pitch is
indicated approx. 25% low so a pitch of +10deg is indicated as approx.
7deg.
2007-11-09 12:10:36 +00:00
mfranz
28def78cef write proper END <wpt> 2007-10-18 21:31:29 +00:00
mfranz
33805eaa58 export flightplan on 'n'-key 2007-10-18 21:20:39 +00:00
mfranz
9ce73af7a4 replace depreciated cmdarg() in listener functions by regular arg 2007-10-15 18:59:34 +00:00
mfranz
7253f8633b Dave PERRY:
"I have been working with Torsten Dryer to model
these three autopilots that are very common in aircraft manufactured in
the 1960s through the late 1980s.  The Altimatic IIIc in the SenecaII is
a variation on the Century III and uses the same nasal model."

mf: these should be in cvs since a while; somehow I missed them, sorry
2007-10-14 07:24:35 +00:00
mfranz
8565e887db Dave PERRY:
"For more than a month, I have been working with Torsten Dryer to model
these three autopilots that are very common in aircraft manufactured in
the 1960s through the late 1980s.  The Altimatic IIIc in the SenecaII is
a variation on the Century III and uses the same nasal model."
2007-10-10 20:48:36 +00:00
mfranz
ecb335ddb5 - use var keywords on functions to avoid module name collisions
- drop some braces
2007-10-01 22:31:30 +00:00
sydadams
07fd1b5ee6 Moved Davtron M877 chronometer into Instruments-3d/clock since it is a common instrument... 2007-09-22 20:42:39 +00:00
sydadams
3122e459d6 *** empty log message *** 2007-08-21 05:35:40 +00:00
sydadams
a7f90a8cb8 Changed speed match function to use target distance instead of airspeed ... not perfected yet ,but better ... 2007-08-20 06:22:06 +00:00
sydadams
514f2c1ce7 cam updates from pigeon ... 2007-08-20 04:22:36 +00:00
sydadams
0a92d4c802 Updated RDR-160 wxradar to use Vivian's enhancements...
Added a wxradar hotspot file...
Updated Aerostar's radar hotspots
2007-08-10 06:24:20 +00:00
mfranz
bff5a62666 - dos2unix
- texture compression
2007-08-05 12:51:26 +00:00
mfranz
34d5d0df85 Dave PERRY: various fixes and improvements (hotspots, lighting, ...) 2007-08-05 12:38:55 +00:00
mfranz
aebc22d105 - add tanker to ai aircraft section
- minor reorganization
2007-07-27 17:41:59 +00:00
sydadams
8a974bc9c1 Updates to flightdirector...
Added PLIB hotspots to DC550 controller...
Adjusted AP controller hotspots
2007-07-17 07:30:27 +00:00
sydadams
bd9a8f5fca More Primus 1000 and Bravo updates...
Flightdirector being reworked , modes currently not displayed correctly on the PFD
2007-07-16 06:05:16 +00:00
sydadams
16db10581a added arial_black and condensed fonts for the Primus 1000 PFD 2007-07-15 21:28:52 +00:00
mfranz
41fef27ec0 die, yellow glider, die! 2007-07-11 17:24:32 +00:00
mfranz
26e9387de3 don't show on mpmap 2007-07-11 16:55:55 +00:00
mfranz
5e6f9dde43 - add aircraft select dialog (^-button)
- disable smooth throttle for now (breaks non-js-throttles)
2007-07-09 22:32:58 +00:00
mfranz
1fefa1c206 Syd's MIBS:
A camera tool for making fgfs videos (heavily used by Michelle) and for
tracking MP and AI aircraft. It's planned to include this into the regular
ufo, but for now it's better to keep them separated. Comes with its own
panel, which (hopefully) is self-explaining.

Shouldn't be announced on the fgfs page as separate aircraft (if that's
possible). Work in progress ...
2007-07-08 18:15:02 +00:00
sydadams
a3fdbf8456 Added a flight-hour-meter property in /instrumentation/clock .... saves your flight time to file... (thanks Melchior) 2007-07-07 23:10:00 +00:00
mfranz
04f9a0b2ea s/wxradar/radar/ 2007-07-02 06:03:45 +00:00
sydadams
a6c2bb3115 Updating the Bravo to where it was before I reinstalled my OS ... not nearly done yet 2007-07-02 05:53:18 +00:00
mfranz
d1adc37872 fix export file format (the <models> tags got lost in one of the last commits) 2007-07-01 13:07:08 +00:00
vmmeazza
f547f4188a Add clouds 2007-06-30 20:28:27 +00:00
vmmeazza
23bb26651d Alternative orange textures for the radar 2007-06-29 13:40:52 +00:00
mfranz
2ee85ac82b add wx-toggle, data-toggle, echo-toggle hotspots to the radar. (Same order
as on the 737 panel, but no labels yet. Aliens don't need that stuff.)
2007-06-25 21:23:28 +00:00
mfranz
4866bfb66f - shorter update intervals (ufo technology!)
- only update the radar when the panel is actually visible
2007-06-24 22:45:10 +00:00
mfranz
3cdf961214 s/wxradar/radar/ 2007-06-24 19:58:20 +00:00
mfranz
ccd0df2d1b s/wxradar/radar/ 2007-06-24 19:52:12 +00:00
mfranz
f6da3a3882 New panel that consists of a radar screen only (activate with Shift-p).
At the moment only the range can be changed via panel click action
(click on the range numbers). Weather radar can be turned on in
/instrumentation/radar/display-controls/WX. ai/mp display to come.

For those who miss the old 2D panel, just use an aircraft with a decent
panel and add --fdm=ufo for the same effect.
2007-06-24 19:38:38 +00:00
mfranz
f827653668 - create new Nasal module string.nas with simple shell style pattern matching
algorithm (needed for the file selector and useful for other purposes, like
  assembling lists of livery or screenshot files etc.)
- io.nas: move fixpath to string.nas (it's not only useful for file paths
  but can also be used for property paths)
- screen.nas: move trim to string.nas (used by screen.nas and nasal-console.xml)
- gui.nas: add pattern matching to FileSelctor
- ufo.nas: use patterm matching (only *.ac and *.xml files shall be listed)
2007-06-22 14:13:30 +00:00
mfranz
35bd6c379a sort the model list again after adding models from the file selector,
or the binsearch will have a hard time ...
2007-06-19 21:21:14 +00:00
mfranz
e880d5ecee - l-key opens file selector to load 3D model file from the disk. This model
is added to the list and activated.
- simplify savexml handling using the "data" node for temporary data
2007-06-18 16:35:03 +00:00
vmmeazza
a28b48b294 prepare for new weather radar 2007-06-18 16:28:13 +00:00
mfranz
b2750d8a05 adapt for geo.nas changes (swapping lon & lat) 2007-06-18 10:23:14 +00:00
mfranz
6a7dc46bd2 - s/aircraft/tanker/ (patch inspired by Alexis BORY :-)
- add support for /systems/refuel/serviceable flag  (can be set to false
  by the aircraft as long as the door over the boom entry is closed, etc.)
2007-06-16 00:44:44 +00:00
mfranz
a41ba9f403 suppress output ...
- in replay mode
- when trying to raise the flaps, but they are already fullly up
- when trying to retrace the gear, but it is already retracted

more cleanup later ... much later  :-)
2007-06-13 20:49:11 +00:00
sydadams
e32a74e034 fixed nasal error --- tried to set DoubleValue("") 2007-06-13 05:00:21 +00:00
mfranz
1fd9e31243 - increased coarse multiplicator
- cosmetics
2007-06-05 18:20:53 +00:00
curt
c6b7709cba Don't set the volume louder than is allowed by OpenAL. 2007-05-29 15:28:36 +00:00
sydadams
bc3fb2d613 Ok try commiting again ... 2007-05-23 04:52:06 +00:00
mfranz
ef59420eb9 - geo.click_position() does now return a Coord copy already
- simplify sort function
2007-05-12 18:40:09 +00:00
sydadams
fe7d5a0462 fixed a DME HOLD error .... note to self: dont use find and replace all ! 2007-05-10 03:01:25 +00:00
sydadams
8cc5ea4c79 KAP140 updates... 2007-05-03 03:42:31 +00:00
sydadams
ca5856f86b Aerostar balance fix ...
nasal file corrections ...
2007-04-28 05:40:25 +00:00
sydadams
7c6e7e0e2b Fixed some property initialization errors and duplicate calls 2007-04-27 06:23:56 +00:00
mfranz
47ddb39e0f Roy Vegard OVESEN:
- Automatic pitch trim (use autopilot/KAP140/settings/auto-pitch-trim to turn
  on/off)
- Aural altitude alerter. Uses the same sound file as the stall warning.
- Replace custom flasher routines with nasal aircraft.light objects.
- Cleanup.
2007-04-26 18:04:51 +00:00
sydadams
dec26c8b12 display frequency when USE or DSP button pressed... 2007-04-26 04:12:42 +00:00
sydadams
2e2c30f424 More RNAV updates ... 2007-04-25 06:51:03 +00:00
sydadams
18bd0bedbb More BNAV updates...
Replaced MP gauge with 50 inhg gauge
2007-04-23 06:52:54 +00:00
sydadams
47110aae85 removed a duplicate property that snuck in somehow :) 2007-04-22 23:59:13 +00:00
sydadams
00156d175f Added flashing DSP digit if USE and DSP aren't equal...
Cleaned up some of the mess I made applying Ron's patch...
2007-04-22 07:07:23 +00:00
sydadams
50f0ceabff separated ki252a and ki256 instruments ... 2007-04-21 23:16:56 +00:00
sydadams
1b0d629659 more RNAV updates... 2007-04-21 17:45:09 +00:00
sydadams
e104c45584 More RNAV updates from Ron Jensen... 2007-04-20 03:15:05 +00:00
sydadams
60010498d5 fixed USE , DSP button function 2007-04-20 00:44:01 +00:00
sydadams
7420f9fe65 Added push/pull ( button 1) to KNS-80 volume knob to toggle nav ident signal 2007-04-19 02:20:46 +00:00
sydadams
4fe8eb5266 Beginning of the RNAV system , thanks Ron 2007-04-17 06:18:29 +00:00
sydadams
bf35e5fd61 Removed nasal radio frequency conversions , not needed with Ron Jensen's <bias> fix 2007-04-17 05:36:11 +00:00
sydadams
db3f1f32a0 fixed radar switch array error... 2007-04-16 06:24:07 +00:00
sydadams
e13df0af25 Added a Bendix RDR-160 weather radar for the Aerostar...
works in PLIB only , and still segfaults when FGFS shuts down...
2007-04-16 01:24:02 +00:00
sydadams
9f811b66c6 minor fixes and catching up 2007-04-15 16:54:09 +00:00
sydadams
d5e2f26a84 Moved material animation to head of file , with Ron Jensen's permission , so that it is oriented correctly in PLIB versions... 2007-04-14 01:32:17 +00:00
sydadams
ef4405819a Fixed nav and gs warning flags in a few instruments 2007-04-12 04:40:03 +00:00
sydadams
b960dd4616 Fixed errors caused by KNS80 properties not initialized in time... 2007-04-12 01:38:40 +00:00
sydadams
bc002ff33f Minor FDM update ...elevators too touchy...
Updated electrical system ...instrument light output normalized
Added OSG hotspots to most instruments ... more to go yet
PLIB hotspots temporarily broken ..need to resize panel to avoid whiteouts...
(a waste of time ) but some still use PLIB , so needs to be fixed ... ;)
2007-04-09 19:33:41 +00:00
mfranz
f6355d5344 - use new built-in sort() function instead of locally defined one
- use new negative substr() offset feature
2007-04-06 22:42:35 +00:00
sydadams
f5ff430bc3 time to save ....
Aerostar FDM , model and updated electrical system
Fixed instruments (lighting)to work properly...
2007-04-06 18:54:28 +00:00
mfranz
66e53fb67f Csaba "Jester" HALASZ: radar fix & extension
- fix breakage due to former commit (AIManager.cxx, r1.72)
- make AI properties available in AIBase
- add <valid> property for animations/nasal scripts
- support more MP and AI targets
- add target select and altitude display
2007-04-04 09:51:39 +00:00
sydadams
f67b8ab124 Aerostar FDM , model updates...
Updated KFC200 ALTITUDE mode ... sets pitch hold until selected altitude is captured ... pitch controlled by switch on controller...
KNS 80 nav radio can store 1 selected radial per stored frequency ... stored distance will come when I understand RNAV better...
More instruments underway....
2007-04-01 18:20:23 +00:00
mfranz
663b382b7d John DENKER, Dave PERRY, Roy VEGARD OVESEN: altimetry fixes 2007-03-31 09:38:18 +00:00
mfranz
3139f01083 use new vector concatenation feature :-) 2007-03-30 20:27:07 +00:00
mfranz
5f209cfa28 fix for new Nasal 2007-03-29 19:42:48 +00:00
mfranz
f236a438b8 Fix redundant elsif, fix and simplify broken fill-up code.
(Pointed out by Csaba HALASZ)
2007-03-29 18:25:48 +00:00
mfranz
137f1cef4a fix out-of-fuel bug 2007-03-29 14:46:00 +00:00
sydadams
fc35b92ef7 fixed some autopilot errors... 2007-03-29 05:27:16 +00:00
sydadams
143c445571 Updated Aerostar...
Updated KNS-80 Nav radio --- (Added DME display , ability to set 4 vor/rnav waypoint frequencies )

Aerostar instruments material animation updates
2007-03-29 02:38:31 +00:00
mfranz
39126a911c fix <condition> that wasn't fully converted to the new system 2007-03-26 16:40:17 +00:00
sydadams
c018eb9ca4 Updated Aerostar....
Aligned hotspots...
Moved kfc200.nas to Instruments-3d where it belongs...
Redoing the kfc200 flightdirector with newer functions (setlisteners) ...still in progress
Updated radios to change standby frequencies instead of selected frequencies....
2007-03-26 03:32:24 +00:00
sydadams
dae87cdc0b Added conversions to make fuel annunciators work with Yasim AND JSBsim... 2007-03-24 19:23:09 +00:00
mfranz
7f375cf76c s,/sim/tutorial,/sim/tutorials, 2007-03-24 13:32:15 +00:00
mfranz
c0290713b6 slider effect can be modulated by holding modifier keys down:
Ctrl -> coarse, Shift -> fine
2007-03-23 23:13:59 +00:00
mfranz
4762fb1db9 use self-closing tag instead of empty tags 2007-03-22 22:44:00 +00:00
mfranz
3fe72de020 remove code that is now in $FG_ROOT/Nasal/geo.nas 2007-03-20 20:57:58 +00:00
mfranz
9e04231685 adapt for tutorial.nas changes 2007-03-20 16:26:00 +00:00
mfranz
83c6911af2 adapt to tutorial.nas changes 2007-03-19 23:47:40 +00:00
sydadams
a6496bbf0b Added a nasal file to eliminate the need for adding new properties for each aircraft that uses the Primus 1000 system 2007-03-17 07:55:16 +00:00
sydadams
f468880ad5 Updated Primus1000 PFD flightdirector bars to use autopilot properties in passive mode
Updated CitationX autopilot....
Autopilot is in flightdirector mode by default...
Until instruments are created , enable autopilot by setting "/autopilot/locks/passive-mode" to false
2007-03-16 05:48:22 +00:00
sydadams
970cb27b7b Added the missing animations to the EICAS (for the Citation X) 2007-03-12 01:59:13 +00:00
sydadams
cd549a4e15 xml file cleanup (indentation) preparing to update Primus 2000 EICAS 2007-03-11 23:20:36 +00:00
sydadams
fc50ad8874 removed 2 png files 2007-03-11 21:22:26 +00:00
sydadams
22d64ce7c3 minor xml file cleanup 2007-03-11 21:21:04 +00:00
mfranz
813988f718 Csaba HALASZ: fix dme property name 2007-03-01 17:39:52 +00:00
mfranz
b887d8b253 - add m-key to <help> section
- improve key descriptions
2007-02-27 23:03:32 +00:00
mfranz
e959633725 s/cursor/marker/ and put the marker toggle function on the m-key. It isn't
a cursor, after all, and the term "cursor" is already used for the startup
model. That one should really be called "model", but can't, because this is
already used for the ufo 3D model property ... sigh.   :-]
2007-02-27 22:56:22 +00:00
mfranz
6bba354b30 - add marker for active object (toggle with c-key)
- make space-key toggle the model dialog for easier access  (was m-key)
- fix Coord class bug
2007-02-27 15:39:49 +00:00
mfranz
628a000472 distance scaling doesn't work too well for heading 2007-02-26 19:15:26 +00:00
mfranz
490ed46d89 - allow selection and manipulation of multiple objects
- replace lon/lat adjustment with more predictable nearer/farther/left/right
  adjustment (i.e. movements relative to the UFO position)
- add key bindings to move objects
2007-02-26 17:57:55 +00:00
mfranz
3079726bda move dialogs from ufo.nas into dialog XML files 2007-02-24 19:48:02 +00:00
martin
6650f2890f Re-Add under new directory name after Melchior's removal. 2007-02-21 22:05:42 +00:00
mfranz
07754b8802 rename mag.sw/ to magneto-switch/ 2007-02-21 16:25:15 +00:00
martin
3734cb0fd1 Dave Perry:
This patch makes the pa24 changes to use the mag.sw from Instruments 3d.
Changed the mag_switch.ac to include the pick rectangles and the
mags.xml to use the pick automation.  Also includes the edits to
pa28-161.xml and pa28-161-set.xml to use the 3d radio stack.
2007-02-19 12:08:31 +00:00
martin
eaa8d8cfb5 Ron Jensen:
I've finished (I hope) a 3D Kap-140 head.
2007-02-18 21:35:22 +00:00
martin
3831675000 Dave Perry:
Changes:
1.  remove typo from all the /Systems/KAP140.xml files
2.  changes to put radio_stack in Instruments-3d
3.  Add "pick" to vor, alt, hi, in Instruments-3d
4.  changes to pa24-250 and pa28-161 to use 2 and 3.
5.  add "pick" and "2d text in window" in 3d OAT in pa24-250
2007-02-10 21:24:46 +00:00
mfranz
3a3ee3a5d0 - work around broken props.Node.getBoolValue()
- simplification & cleanup
2007-02-04 22:09:43 +00:00
mfranz
43435d1077 - reset engines' consumed fuel
- change variable name
2007-02-04 20:20:45 +00:00
martin
e550dee7dc Ron Jensen:
Add panel lighting effects to transponder.
2007-02-04 13:30:10 +00:00
mfranz
10efd065c4 Dave Perry & Roy Vegard Ovesen:
"This patch allows all the AC using the kap140 to use one kap140.nas
which includes Roy's move to "bool" values as well as the check for
power used by the pa24-250." (dp)
2007-02-04 12:55:28 +00:00
mfranz
9117ddf71d --aircraft=c172p-panel-only set file (some instruments like fuel, egt,
pressure don't work yet)
2007-01-31 17:58:48 +00:00
mfranz
e9d645170f comment out fuel of generic panel. This is included by preferences.xml and
includes Instruments/fuel.xml. And *that* one creates tank[0] and tank[1]
for *all* aircraft, which is quite annoying. A generic panel should display
fuel numerically (like Lee's panels do) or as %.
2007-01-30 20:41:49 +00:00
mfranz
0be35251ba add note about new dependency $FG_ROOT/Aircraft/Generic/annunciator.nas 2007-01-29 22:45:41 +00:00
mfranz
410950b7b2 Nasal version of former src/Instrumentation/annunciator.[ch]xx 2007-01-29 22:24:05 +00:00
martin
1d2f5a5292 Ron Jensen:
I modelled a KT-70 transponder.
2007-01-28 18:14:15 +00:00
ehofman
fbfb30473a Sync. w. JSB CVS as of 15/01/2007 2007-01-15 12:50:44 +00:00
martin
b8e6232d46 Dave Perry:
Correct placement of new files.
2007-01-11 06:19:36 +00:00
martin
b9b0e3362b Dave Perry:
I did some more work on the pa24-250 over the holidays.
[...]
Don't need the old asi texture; it can be removed.
 Instruments-3d/asi-pa24/asi.rgb
2007-01-10 16:12:11 +00:00
martin
c4a5ea6b57 Dave Perry:
I did some more work on the pa24-250 over the holidays.
1.  Used nasal to emulate egt performance very similar to the real AC.
2.  Changed the airspeed so the pressure altitude/temperature correction
ring for true airspeed works.
3.  Modeled the OAT after the battery powered OAT in the real AC.
        one left click on the "hot spot" displays OAT in C
        2nd left click displacs OAT in F
        3rd left click is off
        times out after 5 min and turns off (to save battery)
4. Other 3d clean-up
2007-01-10 16:10:48 +00:00
sydadams
98a6605da5 fixed some problems the Bravo was having with this .... 2007-01-06 05:51:49 +00:00
mfranz
41903adc22 only show other UFOs in MP if you are flying one yourself *or* if
/sim/model/always-show-in-MP in $FG_ROOT/Aircraft/ufo/ufo-set.xml is "true"
("false" by default)
2006-12-13 23:20:13 +00:00
mfranz
3f1b61cc17 hide ufo 3D model if FDM isn't ufo. They aren't a pretty sight in MP. 2006-12-13 22:05:47 +00:00
mfranz
bb0b01d0e6 Roy Vegard Ovesen:
- finish cleanup/optimization of instrumentation system (started by mfranz)
- improve configuration of special properties by
  addressing them directly
2006-12-06 22:15:01 +00:00
mfranz
79fea79cae use correct max_gear value 2006-12-06 13:19:56 +00:00
mfranz
0e62263eaf generate some nodes if they don't exist yet (this was left out on purpose,
as missing nodes should point to more serious problems elsewhere, but this
state can happen in normal situations, too)
2006-11-25 17:49:23 +00:00
martin
c476f70839 Ralf Gerlich:
Sign fix for glideslope indicator in Primus 1000 PFD.
2006-11-12 19:00:58 +00:00
sydadams
bfe3053f62 Changed animaton to use autopilot passive-mode 2006-10-27 00:56:30 +00:00
mfranz
115b4a04ea replace cheesy wait_for_fdm() loop by a reliable signal callback 2006-10-26 09:23:53 +00:00
curt
e7ba2d6a4b Properly line everything up visually so standard rate turns end up taking
the right amount of time.
2006-10-22 12:51:50 +00:00
mfranz
2d2674d952 don't set nil values with props.setDoubleValue() 2006-10-17 20:33:02 +00:00
mfranz
f6c6eaf5b7 minor cleanup & optmization
aar.nas disables $FG_ROOT/Nasal/fuel.nas' main loop, as it should be able
to fully replace it. Ideally, there would be no aar.nas at all, and fuel.nas
would do the job for YASim & JSBSim. Unfortunately, there's a problem with
fuel.nas that's not easy to fix ...
2006-08-27 13:38:29 +00:00
mfranz
8994a4df3f - merge YASim fuel management parts in (should still work with JSBSim as
far as this supports air refueling at all)
- make listeners keep variables up-to-date (for better performance)
- remove the ugly initialization stuff in the main loop, but wait in
  an extra loop for the FDM to come up

This script works now with the a4f, too. The vulcan2 is *supposed* to
work, but there's apparently a bug in it that prevents it.
/systems/refuel/contact is correcly set, and that should be enough for it.
2006-08-27 12:25:43 +00:00
mfranz
65d4a4ba0a add aar/radar capabilities (useful for aar testing) 2006-08-27 08:17:54 +00:00
mfranz
5011ae6ca4 generic aar.nas (air-to-air-refueling). Meant to replace all the files
lying around everywhere. Used by the vulcan2 already. Cleanup pending.
2006-08-26 17:47:53 +00:00
mfranz
be8ca62fc9 cleanup: use new Widget.setBinding() 2006-08-26 07:32:16 +00:00
mfranz
cc1623a6af don't show status line by default 2006-07-01 06:02:31 +00:00
mfranz
583f853d7c update <help> 2006-06-05 17:05:55 +00:00
mfranz
50553b576d - remove dead code
- new feature:  Shift-click -> move selected model to new place
                               (keeping hdg & orientation)

Remember: Ctrl-click -> select nearest model
2006-06-05 16:33:39 +00:00
mfranz
6fb75899a0 use Ctrl-key-combinations where before spacebar-key-combinations were used
(Ctrl-click: select nearest model, Ctrl-up/dn -> cycle through model list)
2006-06-05 14:15:11 +00:00
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