1
0
Fork 0
Commit graph

1184 commits

Author SHA1 Message Date
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
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
jimw
144eef5ce7 Thumbnail 2005-01-18 06:05:24 +00:00
jimw
7b3b826042 Author tags 2005-01-18 03:11:34 +00:00
curt
abb934ebdb Initial revision. 2005-01-18 01:42:35 +00:00
curt
57ab0333db Updates to author tags. 2005-01-18 01:27:18 +00:00
curt
0a1edc2d53 Add a missing texture file. 2004-12-29 20:03:35 +00:00
curt
73a9cb2849 Dave Martin:
Changes made 19/12/2004

Panel re-oriented
3d Compass shows through windows.
Wing-tips slightly altered.

Changes made 18/12/2004

Prop spinner shortened and widened
Nose area slightly remodelled to fit silouette
Nose texture altered to place lower intake correctly

Nose wheel reduced in size.
Nose leg Oleo guide added (does not rotate - is this correct with real ac?)
Nose wheel Axle added.
Nose wheel fixed to rotate about it's shaft axis.

Windscreen / panel mesh changed so that panel no longer protrudes thru dash
Panel instruments moved to represent the geometries of the real cockpit.
Pilot / Copilot Yokes moved inboard to represent the geometries of the real cockpit.
Alpha layer added to interior texture to prevent panel showing through seats / yokes.
Interior texture duplicated and mapped to panel only to allow panel to show.
Front seats moved slightly inboard.

Landing light pair added to port wing texture.
Alpah layer added to wing texture to prevent panel showing through.
Texture remapped to Flaps (no shows ribs again).
Wing strut outer joins brought inboard to point of wing taper to match real aircraft geometries.
Wing struts thinned in front profile and thickened in side profile.
VHF aerials moved aft to their usual position.
Maingear legs altered so they now join with the fusealage (previously, 20cm gap)
Rear window altered slightly to match silouette.

Rear (white) Navigation Light made to translate with the rudder.


Not yet done: independant landing and taxi lights on port wing
2004-12-25 16:47:14 +00:00
curt
a355aa410d More /radios -> /instrumentation property name changes. However, we are still
missing something because the nav1 and nav2 are still inop.
2004-12-04 20:37:04 +00:00
curt
69956c445c Missed some instrumentation overall changes. 2004-12-04 20:08:37 +00:00
curt
789560ea22 Roy Vegard Ovesen:
I've finished the emigration of the radiostack, and I've also removed it
completely. It turned out that the comm radio is completely implemented in
the ATC subsystem. I've changed the affected ATC files to point
to /instrumentation/com, but I guess that the maintainer of the ATC code
should decide wether to make it configureable, and how.

I also had to change some files in Network and Main. The changes in network
should be obvious, but the changes in Main were a bit suspect. The files
included radiostack.hxx, but they weren't directly depending on
radiostack-hxx. They were depending on other files that were included by
radiostack.hxx. I got it to compile, but I'm not sure if I included the
correct directly depending file.

For the data directory I changed every occurrence of /radios/
with /instrumentation/ with this simple one-liner that I found on the net:

find -name '*.xml' -type f | xargs perl -pi -e
's/\/radios\//\/instrumentation\//g'

Instead of me sending all the files that got changed by this I suggest that
you execute the one-liner yourself. Of course I can not guarantee that this
will work perfectly, but I considered hand editing to be not an option (I'm
lazy). I don't want to test every aircraft to see if everything still works,
I think it's better to wait and see if anyone complaints about broken nav
radios/instruments.
2004-12-03 21:25:48 +00:00
curt
71bfe3a4db Move the kr-87 adf from /radios to /instrumentation 2004-11-19 23:56:47 +00:00
curt
c93544468d Changes to match Roy Ovesen's instrumentation code and property name changes. 2004-11-19 23:05:07 +00:00
ehofman
93433d7c56 Roy Vegard Ovesen:
The KAP140 Autopilot is now fairly complete. I've added altitude arm, moved
the FPM number display and cleaned up the code a bit.
2004-11-01 09:34:16 +00:00
ehofman
a942ce005a Add some status levels 2004-10-28 11:44:46 +00:00
ehofman
661617a94e Roy Vegard Ovesen:
I've made an encoder and a transponder. The transponder gets C-Mode altitude
information from the encoder. These two might not be very usefull right now,
but I think they might come in handy when the ATC network gets going.
2004-10-26 12:06:13 +00:00
ehofman
8ee606eea8 Roy Vegard Ovesen:
Here are some updates to the KAP140 autopilot in the default c172. It now uses
ailerons and elevator instead of aileron-trim and elevator-trim. I've started
to "upgrade" it to the "two axis altitude preselect" version. Vertical speed
select rounds to nearest 100 fpm.

I've also modified the c172 electrical configuration to turn on the gps
instrument.

Perhaps the most important change is that the nasal script for the KAP140 has
moved from data/Nasal to the c172p aircraft subdir. So it is important that
you delete data/Nasal/kap140.nas. Having the kap140.nas script as a global
script was not a good solution. Now it is aircraft specific, and thus
included in the c172p-set.xml file. Ideally I would like it to be instrument
specific, so that it would be included whenever the KAP140*.xml instruments
where included on the panel.
2004-10-17 17:41:05 +00:00
ehofman
ff4e599eb0 Roy Vegard Ovesen:
Instrumentation and systems are now configureable from xml files. The two
generic configurations generic-systems.xml and generic-instrumentation.xml
configures the systems and instrumentation as it was hardcoded. You can
override the generic configurations in a similar way as you override the
autopilot configuration.
2004-10-16 12:37:46 +00:00
ehofman
f6891e780a Frederic Bouvier:
the crease patch by Mathias has a negative impact on the adf present in the piper pa28-161 and the bo105.
2004-10-14 09:24:34 +00:00
ehofman
d57e589fde Melchior FRANZ:
All necessary elements for an ADF gauge had been migrated from
Cockpit/kr_87.cxx to Instrumentation/adf.cxx. Migrating the sound
related elements was apparently planned, but not done yet. This
intermediate state broke the ident morse sound: it couldn't get
turned off and it always indicated "SF", regardless of the tuned-in
frequency. The following patches continue the migration:


adf-radio.diff     => Base/Aircraft/Instruments/adf-radio.xml:
---------------------------------------------------------------
* sets maximum volume to 1 (rather than 2); Not only is 1
  loud enough (and 2 unpleasantly noisy), it also prevents
  the knob from being turned to non-existant positions.  :-)
* fixes wrong use of /instrumentation/adf/ident
* the voice/ident selector(?) remains unchanged, but as it's
  not switched to "IDENT", there'll be no ident sound by default
  this is consistent with other sounds and DME.


radiostack.diff    => src/Cockpit/radiostack.[ch]xx:
---------------------------------------------------------------
* comment out use of FGKR_87 class. kr_87.[ch]xx is now no
  longer used. kr-87adf.xml would no longer work, either, but
  isn't used anywhere, anyway. Future adf radios have to use
  the adf instrument, using xml/Nasal for specific hardware
  implementation details.


adf.diff           => src/Instrumentation/adf.[ch]xx:
---------------------------------------------------------------
* adds ident morse sound capability using two new input
  properties:
  - /instrumentation/adf/volume-norm  (double)
  - /instrumentation/adf/ident-audible  (bool)
2004-08-19 11:55:18 +00:00
ehofman
0b4ffa7117 Reorganize the 172 types a bit so they all reside in the proper directory. This solves some problems for JSBSim which couldn't find it's configuration files in the right places (which was temporarely solved by duplicating the file) and fixes some refferences to other files (at least, that's the idea). 2004-08-17 09:23:52 +00:00
ehofman
0e228261dc Some updated files per request of David Culp. 2004-07-03 11:13:09 +00:00
curt
db86fe1efd Slightly enlarge annunciator background size. 2004-06-23 16:18:46 +00:00
ehofman
e8adb7d0c8 Sync w. JSBSim CVS 2004-06-14 11:41:36 +00:00
ehofman
d6467f3ad4 Okay, maybe it was a good idea to assume that not all targets are target[0]. 2004-06-11 17:19:59 +00:00
ehofman
36abb08074 Revert to the previous version, after one target disappeared, they all disappeared. This version doesn't have that problem. 2004-06-11 13:59:40 +00:00
ehofman
ec8b3e7c14 Make use of the new radar/in-range property 2004-06-10 19:14:42 +00:00
curt
5f3a956f82 Electrical system output to hsi is a floating point value, not a boolean. 2004-06-05 03:51:33 +00:00
ehofman
f1a61549a5 David Culp:
Here's some new AI stuff.

1)  AI objects must now be defined in a scenario file, not in preferences.xml
or a *-set file.  (Of course this doesn't prevent objects from being created
dynamically, as with Durk's traffic manager).

2)  A new demo_scenario file is attached.  It creates 3 aircraft, a sailboat,
and a thunderstorm.

3)  Objects without flightplans live forever.

4)  FGAIShip::ProcessFlightplan() is not yet implemented.

5)  preferences.xml should now define only <enabled> and <scenario>
2004-05-29 11:41:20 +00:00
curt
2af0a69765 Property /sim/sound/audible renamed to /sim/sound/pause
Individual aircraft -set.xml files shouldn't set global sound/volume
properties for the entire application.
2004-05-14 15:54:22 +00:00
david
72777e70cc Light AI (again). 2004-05-08 02:17:38 +00:00
curt
8ab947db84 Roy Vegard Ovesen:
Here is the KAP140 Two Axis Autopilot update.

I think it's fairly complete now, all the modes are working. I tested the
localizer and glideslope hold and it was pretty stable all the way down to
the middle marker.

In the pilot guide for backcourse hold (REV) mode it says to reset the heading
bug to the _front course_. I haven't figured out how to implement this so for
the time beeing one should reset the heading bug to the _backcourse_. Apart
from this the panel should operate identical to the way the pilot guide
describes.
2004-04-16 22:14:00 +00:00
curt
0dda4feaa0 Roy Vegard Ovesen:
Here is the KAP140 Two Axis Autopilot.

Aircraft/Instruments/KAP140TwoAxis.xml
Is of course the instrument config file.

Aircraft/Instruments/Textures/KAP140.rgb
The texture.

Nasal/kap140.nas
Most of the work is done here. Without Nasal I don't see how I could implement
the NAV-ARM modes and the flashing annunciators.

Aircraft/c172p/Systems/KAP140.xml
The autopilot PID controllers configuration file. Maybe this file should be in
a more accessible directory and not hidden deep inside c172p!?

I've also attached the changes to the default C172 to include this autopilot
in the 3d-cockpit panel and the 2d vfr panel. Or at least I hope that I've
managed to include all that is needed.
2004-04-16 21:59:51 +00:00
ehofman
a3381b7e41 Oops, follow the default naming convention 2004-04-07 11:56:33 +00:00
ehofman
82addb59e1 Move the switches to the controls subdirectory and add some default knobs 2004-04-07 11:54:11 +00:00
ehofman
41eb331912 Frederic: Real ufo are spinning, aren't they? I am sure they are. 2004-04-03 09:01:45 +00:00
curt
dc1197e2b2 Update various electrical system configurations to reflect code changes
supporting a per engine master alt/bat switch.
2004-04-02 16:22:55 +00:00
ehofman
85cb214a18 Frederic Bouvier:
this one missed the release  The right aileron animation of the
c172p is inverted.
2004-03-30 08:32:42 +00:00
ehofman
61b688906f Add a missing file. 2004-03-22 10:04:48 +00:00
jimw
882c740c8f Add a generic vertical speed control. Power up the gps. 2004-03-21 22:17:09 +00:00
ehofman
c789b13e23 David Culp:
Add a "minimize" button to the radar screen.  It will default maximized.
2004-03-20 22:34:30 +00:00
david
c85990a796 Fix the AI a bit, and move it forward in the Warrior panel. 2004-03-20 16:40:17 +00:00
ehofman
05125e7a38 Add a bunch of 3d switches. 2004-03-19 09:57:01 +00:00
david
c425703651 Use only two top-level configuration files:
--aircraft=c172p
  --aircraft=c172p-2dpanel
2004-03-18 03:37:14 +00:00
ehofman
b3600801da The result of being bored for 15 minutes. Lets call it an easter ufo. 2004-03-17 15:32:53 +00:00
david
b5006ad7c6 Convert from grayscale to RGB so that alpha transparency will work
with plib.
2004-03-13 02:44:32 +00:00
ehofman
217dcb38fa David Culp:
Add clickable range selection for the radar and wxradar.  Right
now it is clickable only between 20 and 40 mile ranges, which should work for
most uses.
2004-03-12 15:06:04 +00:00
ehofman
b8eebf3e0c David Culp:
OV10-jsbsim-set.xml  has many changes.  It creates a thunderstorm over
woodside VOR.  It removes the lowest cloud layer so that the storm can be
seen.  It sets the surface wind speed to zero, which may help stop the
"drifting left" complaints. It sets the radar range to 40 miles.


The weather radar instrument is corrected.
2004-03-12 10:15:51 +00:00
david
c706eedf11 Illuminate the VOR heads and the ADF needle. 2004-03-11 14:37:03 +00:00
david
5f815ff011 Added a 3D EGT gauge, calibrated from 0 to 500 degF (for now).
Lightly lit.
2004-03-04 22:22:53 +00:00
ehofman
26761349ae Restore the pa28-fuel-oil directory again 2004-03-03 22:32:33 +00:00
ehofman
b1f694cec0 Add a weather radar display instrument which treats every AIAircraft as a thunderstorm right now. 2004-02-28 12:17:00 +00:00
david
779116ab4f Lower the resolution of the textures (they were gratuitously high,
sometimes up to 512x512).
2004-02-27 18:49:08 +00:00
ehofman
b5b60a65d7 Add support for a storm blib 2004-02-27 13:48:24 +00:00
ehofman
e4faabff78 David Culp:
The radar instrument uses the above three items, and applies a scale factor to
the x-shift and y-shift in order to match the instrument's scale.  Changing
the display scale can be done entirely in the XML code for the instrument.
Right now it's set up only to display a 40 mile scale.

The radar is an AWACS view, which is not very realistic, but it is useful and
demonstrates the technology.  With just a little more work I can get a HUD
marker.  All I need to do there is make a bank angle adjustment to the
current values.

This works great with one target.  For two or more targets the radar
instrument will have to know the numbering of the aircraft model properties.
This isn't implemented yet.

David Culp:
I couldn't stop.  Here's a better radar instrument.  It has:

1)  range select knob 20 and 40 nm (not clickable.. yet)
2)  target altitude readout at lower right
3)  target disappears when range exceeds 43 nm
4)  range ring values now are read from instrumentation/radar/range
5)  instrumentation/radar/range is preset in the *-set.xml file to 40 nm

The next step would be a clickable range selection.  The problem here is that
the instrument currently displays the "blip" only if the target's range is
less then 43 nm.  If the range scale is decreased to 20 nm, then the "blip"
will show past the edges of the instrument.  I might need to make another
instrument for the 20 nm scale to make that work.
2004-02-27 10:22:23 +00:00
david
cb2acf8724 The VOR head is now mostly functional: the needles and the outer ring
move properly, but the flags are not yet implemented.  Currently, the
head is hardwired to the NAV1 radio.
2004-02-24 03:14:08 +00:00
curt
29dbe6d379 So far I haven't been able to make the new PID algorithm work well for
tasks that should be purely proportional.  So I added support for my old
ultra-simplistic PI controller.  This does wonders for stage #1 of the
altitude and AGL hold.
2004-02-23 02:05:21 +00:00
david
94efbd6fad Standalone internal 3d mag compass unit (may be fit into different
casings).
2004-02-22 19:30:34 +00:00
david
a45edc154d Fix alpha problems. 2004-02-22 17:50:23 +00:00
david
208f900de8 Fix texture name. 2004-02-21 22:25:17 +00:00
david
3df160072f Added a KX170B (King NavComm) faceplate; nothing else, yet. 2004-02-21 18:28:11 +00:00
david
0c6719165e Added more detail to the ADF, including face markings. 2004-02-21 18:27:38 +00:00
david
30dfcfe1e3 Animate the analog clock. 2004-02-20 17:39:41 +00:00
david
a251221a63 Add the tilting plane. Unfortunately, it is having some kind of alpha
problem.
2004-02-20 17:37:27 +00:00
david
39b7c1ddbd Start an analog clock (face only for now; not functional). 2004-02-20 03:00:42 +00:00
david
eb5c30bee5 Make instruments slightly emissive, for night flight. 2004-02-18 02:37:19 +00:00
david
9d0bba9848 Make instrument slightly emissive, for night flight.
Add front markings.
2004-02-18 02:36:54 +00:00
david
0644fdc4cd The AI is now fully function, except that the position bezel isn't
user-adjustable yet.
2004-02-16 18:29:51 +00:00
david
67da88632c Added altimeter needles (100's, 1,000's, and 10,000's).
TODO:

- Kollsman window and adjustment knob
- texture redesign
2004-02-15 13:46:48 +00:00
david
1f580c8abc Start on some basic 3D panel instruments. For now, just reuse
textures that are already sitting around for the 2D panel.

Many of the instruments are not yet functional.
2004-02-15 01:03:07 +00:00
ehofman
a724d92bd4 Add support for a Visual Reference Point 2004-02-14 10:19:25 +00:00
curt
a180a0d659 Default autopilot tweaks. 2004-02-07 21:48:39 +00:00
curt
92f12971c1 Fixes to altitude and AGL hold modes. 2004-02-04 16:22:36 +00:00
curt
0edffe03ab Fix a small oops that didn't actually affect operation. 2004-02-03 19:28:39 +00:00
curt
9250e42c8a Initial revision. 2004-02-01 04:58:15 +00:00
curt
76a08b6467 Autopilot overhaul. 2004-01-31 19:55:13 +00:00
ehofman
6abd14667a Updates the the kr-87 ADF. Could someone confirm this is actually correct? 2004-01-24 10:09:54 +00:00
ehofman
d8adde1657 Use relative paths for the animations rather than absolute paths 2004-01-23 20:10:03 +00:00
ehofman
5d230c227b Use the new controlls property layout for external lights 2004-01-17 10:33:18 +00:00
ehofman
a409f14df0 Synchronize the JSBSim aircraft directory and FlightGear's Aircraft directory. 2004-01-15 09:56:37 +00:00
curt
f7c276944e Attempt #1 to sort out confusion between left / right / parking brake
controls in the cockpit vs. which wheels they apply to.  FlightGear now
sets /controls/gear/brake-left, /controls/gear/brake-right, and
/controls/gear/brake-parking.  It should be up to the FDM to sort out
which wheels under which circumstances are affected by these controls
and ultimately what happens to the physical motion of the aircraft.
2004-01-12 17:49:33 +00:00
curt
f38dc5c544 Remove several unneeded files. 2004-01-05 16:02:03 +00:00
ehofman
a628733581 Get back to normal life 2004-01-04 15:32:20 +00:00
ehofman
485d0d92d2 Add an appropriate splash screen 2003-12-24 15:12:45 +00:00
ehofman
e259a2589a Some small updates to the engine animation code 2003-12-24 14:56:17 +00:00
ehofman
741a659bfc Loosen up the engine a bit 2003-12-24 14:43:03 +00:00
ehofman
9048df30c6 Remove an unwanted 'S' 2003-12-10 10:51:30 +00:00
ehofman
0fbc35dd0e Adjust the maximum speed and chase-view distance 2003-12-10 08:53:37 +00:00
ehofman
3834bc4f96 Get ready for animations (if ever) 2003-12-08 20:50:05 +00:00
ehofman
4a20340e8e Add an appropriate engine sound effect 2003-12-08 18:06:15 +00:00
ehofman
14ad64676d Updates 2003-12-07 11:12:09 +00:00
david
24fe2ef1e6 Use the new ADF radio logic (unfortunately, it does not yet support
ident).
2003-11-25 19:38:57 +00:00
david
228f05d0a5 Remove the deprecated "INVERT" keyword. 2003-11-25 17:09:16 +00:00
curt
251ce01019 Omit a couple more items when "omit-knobs" is activated. 2003-11-25 01:53:08 +00:00
curt
ce50896308 Electrical system configuration updates. 2003-11-17 21:09:40 +00:00
david
90ee11dc27 Lit compass for night flying. 2003-10-17 01:20:00 +00:00
david
f3134efbc7 Lose the 2D mag compass, and use a new, 3D one instead.
Warning: this may look like crap without a plib patch.
2003-10-05 20:13:46 +00:00
david
f0623d893c 3D glareshield-mounted wet compass (typical mounting position for
single-engine Cessnas).

TODO: add support for dip.
2003-10-05 20:13:05 +00:00
ehofman
98b45006b8 Updated for the new hotspots by paul mccann 2003-09-22 08:27:30 +00:00
ehofman
8b726485c4 paul mccann:
I added some more hotspots to Davids c172p since he already had done all the animation. Also I tried making the throttle and mixture knobs into hotspots even when they are moving adding extra hotspots for them.  Also you can click on the trim wheel to trim now.

I added a directory for the labels for the white toggle switches, but there is probably better way to do the labels then I came up with.  There is a short readme file which gives the path for the new directory.
2003-09-22 08:26:32 +00:00
curt
98804a6793 Move *-set.xml and Aircraft-yasim/*.xml into their individual aircraft
subdirectories in yet another step towards making aircraft more self
contained rather than potentially spread out.
2003-09-20 03:57:12 +00:00
curt
788adc9e6b Move *-set.xml and Aircraft-yasim/*.xml into their individual aircraft
subdirectories in yet another step towards making aircraft more self
contained rather than potentially spread out.
2003-09-20 03:34:19 +00:00
ehofman
bd18398034 T-38 animation updates by Innis Cunningham 2003-09-19 11:53:15 +00:00
ehofman
a36046e73f Add contact points and reposition the 3d model a bit 2003-09-17 09:51:18 +00:00
curt
7598aca09f Bartosz Kosiorek:
Initial revision of a c182 with a 3d cockpit.
2003-09-16 16:04:14 +00:00
curt
ba40b30c8c Nudge the viewpoint forward just a bit which seems a little more realistic
relative to the position of the seat back.
2003-09-16 16:00:51 +00:00
curt
9dc782de3d Revert to previous version. 2003-09-15 21:16:03 +00:00
curt
93b035b0b0 Paul Mcann:
I added some hot spots to the default c172p-3d.
2003-09-15 15:40:26 +00:00
curt
a059fa0119 Paul Mcann:
Also I made some changes to the nav-com radio because I could not change
frequencies with it?
2003-09-15 15:39:48 +00:00
ehofman
26db1f002a Move the configuration files of the F-104, F-15, F-16, Fokker 100 and Fokker 50 into their own subdirectories 2003-09-15 14:27:45 +00:00
ehofman
bccd7d7f90 Add a missing file 2003-09-13 08:32:34 +00:00
ehofman
8d592cb9cc Sharpen a bit for readability 2003-09-12 21:46:24 +00:00
ehofman
7611338be3 Add blending animation 2003-09-05 13:58:54 +00:00
ehofman
72e8063d31 Add moving parts, 3d cockpit improvements, geometry changes and add a canopy 2003-09-03 13:03:47 +00:00
curt
31cdccdecf Lee Elliott:
Updates ...
2003-08-28 15:34:01 +00:00
ehofman
b20513a99a Add a 3D cockpit and some cosmetic updates 2003-08-26 14:42:17 +00:00
ehofman
3e825bf336 Add aircraft animations created by Innis Cunningham 2003-08-26 09:11:29 +00:00
ehofman
acfea63591 Add the J-22 from Matevz Jekovec 2003-08-25 16:50:33 +00:00
ehofman
ee0d1ce2f0 A first stab at an F-104 Starfighter model 2003-08-20 09:37:05 +00:00
curt
4a1761de5d Lee Elliott:
I've added reheat to the engines to simulate water injection and then tweaked
it so that it's just about possible to take off with the full fuel load/ferry
configuration (a little under the mtow - 420,000lbs vs 450,000lbs).

It's interesting to note that the normal combat tow for the F model was
291,570lbs - equivilent to a fuel load of about 0.46 (this would actually
leave you with more fuel than in real life because some of that weight would
be the weapons load but here it's fuel)

Anyway, I've added all this info to the readme and explained some of the
reasoning behind the fdm there.

It still doesn't reach the correct altitudes, and certainly not with a full
fuel load, but it starts getting into the right ball park at combat tow.

I've also replaced the transparent instruments on the mini panel with some
text/digital ones.  I wanted more accurate numbers when I was monitoring the
effects of fdm changes and the dials just didn't give the detail.  They
aren't perfect and be difficult to see against certain backgrounds and in
certain lighting conditions but what the hey - nearly everything I do is a
bit of an experiment;)

Something I've noticed is that since I've started identifying flight surfaces
and gear components individually I've noticed some problems with the flaps
and gear in replay.  I address the left and right flaps independently so they
have left&right-flap-pos-norms and don't get controlled by the replay
mechanism which must refer to the single flap-pos-norm.  There's a similar
thing with the gear - I have to identify them individually so I can animate
them properly so on the b52 there're six gear elements but only the first
three are actioned in replay.

Personally, I think that the only way around this will be to provide
control-overrides for all these items, much like there're the AP control
overrides for throttle etc.
2003-08-14 18:59:57 +00:00
ehofman
7fdfcb19dc Add movin surfaces 2003-07-29 09:58:31 +00:00
ehofman
0ba771b580 New twin engine turbo prop commuter aircraft: Fokker 50 2003-07-27 12:46:16 +00:00
curt
5c5e7c7689 Lee Elliott: b52 reorg. 2003-07-24 16:30:43 +00:00
curt
3cdcff8ee8 Lee Elliott:
The base a10 yasim config wasn't working because of the control structure
changes so I've fixed that.  The other yasim configs are also included
because I forgot to omit them from the archive but they're not updated or
changed.

All the a10 stuff needs badly re-doing though and it's a bit of a mess - the
yasim configs are all similar but I don't know which ones had Andy Ross's
mods.  I've also got to either forget the weapon load version or get it
working with weight entries so that the rest of the configs can be
indentical.
2003-07-24 16:25:24 +00:00
ehofman
22a5e23482 Commit a file that I missed last time 2003-07-24 15:22:30 +00:00
curt
49ac2602c3 Use a cub specific electrical system rather than a generic electrical system. 2003-07-24 03:12:38 +00:00
ehofman
aca03e374e Add some instrumentation 2003-07-23 16:50:10 +00:00
ehofman
35f16b50da Add a 3D cockpit. No instrument though. 2003-07-23 08:35:03 +00:00
curt
daf9ef0836 I've tried to organise everything that the yf23 uses into it's Aircraft
folder.  This has meant duplicating most of the instruments it uses but it
should be easier to maintain and once I've worked through all the other a/c
you'll be able to remove a lot of the cruft I'm responsible for in the
generic instrument folders.

The only files that now don't reside in the yf23 folder are the 'set' file and
the yasim config.

The stuff in this archive should replace the entire existing yf23 folder and
the two 'set' and yasim files (unless I've screwed up somewhere;)

There are some small changes to the fdm.

I also had this rather silly idea, so I had to give it a go;)  Have a look at
the ground below the a/c.

It doesn't track the Sun, of course, so it stays directly below the a/c.  It
just uses a couple of rotations to keep it flat, and a translation to keep it
on the ground.  It seemed strange curious that I had to use a translation
factor of 0.3 instead 1.0 to keep it in the right place.
2003-07-22 18:17:46 +00:00
jimw
7d8a00d069 Adjusted elevator adjustment factor in autopilot settings 2003-07-21 02:19:31 +00:00
jimw
e084d7e2a4 Autopilot adjustment. HUD off by default. 2003-07-19 21:41:11 +00:00
ehofman
242652e737 First Fokker 100 releae 2003-07-19 12:55:27 +00:00
jimw
017941c6c2 autopilot and view adjustments 2003-07-18 12:20:21 +00:00
ehofman
b607f3a135 Add David Culp's paraglider model 2003-07-12 13:17:57 +00:00
ehofman
cb58c64016 Use a common z-offset definiton for all external views 2003-07-12 13:10:56 +00:00
ehofman
d4520fd1e1 Add David Culp's SGS-126 sailplane model 2003-07-04 17:22:54 +00:00
ehofman
c300d98fc8 Use the right property 2003-06-28 21:46:15 +00:00
ehofman
4d4fef591b Melchior FRANZ:
These patches add a clock instrument, which allows to model failure ("serviceable") and to adjust the time independently of the system time (defaults to GMT). The main incentive is to make the p51d clock work and adjustable via the knob.

 o Offers a time string ("12:03:15") for the LCD or for LED
   clocks, or an empty string in case of failure/power off. The
   instrument assumes that digital clocks are battery buffered,
   so they will be updated even if there's nothing on the display.

 o Offers the number of seconds since midnight for analog
   clocks, like in the p51d. This number is not increased
   if !serviceable. So the clock will stand still and continue
   where it stopped when it's serviceable again.

I did not consider voltage yet, because the Mustang's clock will need a lot more current than the LCD clock. The instrument is updated 4 times per second but returns immediately if neither time nor offset changed. The function getGMTString() in fg_props.cxx could be removed after applying these patches.
2003-06-27 08:45:35 +00:00
ehofman
c9ab961f68 The current heading mark is severely off. The AP's HDG Lock doesn't fly in this direction. 2003-06-22 08:29:40 +00:00
ehofman
249fe3fccb Add Frederic Bouvier's A320 model 2003-06-22 08:22:17 +00:00
ehofman
c18a2b580a The reported breakage of the hsi was caused by wrong lower limits. 2003-06-22 08:14:32 +00:00
ehofman
ce753093a2 Melchior FRANZ:
I'm not sure if I connected adf and dme to the correct bus, but it's time that c310s have them working. There was a temporary workaround in c310-ifr-set.xml, but not for the c310-3d (= c310u3a-3d), the plain c310 and eventually others.
2003-06-22 08:11:55 +00:00
ehofman
54d29a4a4f Fix the marker control light 2003-06-22 08:08:49 +00:00
ehofman
e367da16d2 Fix the path 2003-06-22 08:07:13 +00:00
curt
88b3a553d4 Lee Elliott:
Here's an update to the yf23.  I've added a couple of small details to the
model and played with the textures a bit:)  Still no response from the chap
at NASA about sticking their logos on it yet.

I've also been fiddling with the fdm.  It had been bugging me that I couldn't
find any sign of air/speed brakes but just recently I found that braking is
done by moving the ailerons up and the flaps down, in opposition to each
other, which I thought was pretty neat really.

This was actually pretty easy to mimic - although there are no spoiler
surfaces defined in the YASim wing entry I was still able to map the spoiler
control input to the ailerons and flaps, and once I'd got the directions
right it seems to work - hit the spoilers and the ailerons move up, the flaps
drop and the energy worm shows that I'm losing speed.

The downside is that the flaps and the ailerons have to have similar lift and
drag characteristics, to balance each each other, and this means that it ends
up with the flaps not giving much lift and the brakes not having much affect
at low speeds.  If I could change the deflection rates then I could balance
them that way (and improve the rudder control too) - as it is, the deflection
for the flaps and ailerons is the same, just in opposite directions.  This
sounds like a job for interpolation tables but I haven't tried them yet and I
don't know if I can use them in this way in YASim.

The opposing flap/aileron techique is also used for manuevering e.g. by using
it on just one side but I haven't tried to incorporate that yet;)

Landing it is proving to be tricky - it gets down smoothly to about 20ft then
what I presume is ground effect kicks in and upsets the trim.  The only
answer appears to be to force the nose down at this point.  What's more, it
needs to be held down untill you trim the elevator out otherwise it'll
happily roll along on it's main gear, with it's nose in the air:)  There's
definitely not enough drag either.
2003-06-12 02:27:15 +00:00
mselig
f8dcdaf8ca Changes chase view to look in the direction of flight, not the heading 2003-06-08 22:50:34 +00:00
mselig
033afdd627 Changes chase view to look in the direction of flight, not the heading 2003-06-08 22:39:28 +00:00
ehofman
dd18220d95 David Culp:
For the base package I have some more files for the JSBSim airplanes.  All of the main configuration files now have a rudder aerosurface scale component, so that rudders can be animated.  This was not on my earlier models.  I also put fuel in the tanks, even though this seems not to work yet.

Also attached are the -set files for all the airplanes.  They now all specify  a fuel load.
2003-06-08 11:13:52 +00:00
jimw
201e4c953b Changed to standard config file layout. Also default first stage booster
on for p51d-yasim.
2003-06-04 21:53:09 +00:00
curt
9b1e230b87 Lee Elliott:
I've been messing with the yf23 some more.  I think it flies a bit better now
and has more reasonable auto-pilot take-off characteristics - just apply full
power and go, and it doesn't go into such a steep climb.

Out of curiosity, I've also taken the rudder control input and linked it to
the stabilators/elevators and ailerons.  Now, with some slick joystick
manipulation it's possible to fly it at about 30 deg off-axis in more or less
level flight (actually, with full 'rudder' input, it looks nearer to 40 deg
to me and you end up tracing a very long curve).

If no rudder input is used it flies 'normally'.

I'd like to be able to 'tune' it so that it's more stable while transitioning
but I'm not sure if that's going to be possible.  It's also high-lighted some
problems I'm having with my Sidewinder joystick - when I use the rudder
control, the engine No.2 throttle jumps to 50% unless auto-throttle is
engaged (this also happens with the b52 too), and there seems to be some
interaction between the different axis if all three (roll, pitch and rudder)
are changed at the same time - difficult to be sure on that one though.

I'll probably un-map the throttle control from the joystick as I tend to use
the keyboard for engine control anyway, especially for landing.
2003-06-04 17:54:08 +00:00
jimw
15921c254f Adjustments to translation offsets and added them to tower views. 2003-06-04 16:04:21 +00:00
jimw
e9e8022288 Fixed bug with field of view setting and adjusted pilot's eye location a very
tiny amount.
2003-06-04 15:30:46 +00:00
jimw
f2cf08fe2c gear volume setting for 747. 2003-06-04 14:45:04 +00:00
jimw
1d855479ab Adjusted view from 3d cockpit slightly. 2003-06-03 19:47:42 +00:00
mselig
e9cde09541 Adding ornithopter. This models Prof DeLaurier's C-GPTR Ornithoper found here http://www.ornithopter.net. 2003-06-03 07:15:22 +00:00
jimw
b19baee40b Converted ov10 3d model to ac3d format. Fixed glitches.
Labeled objects.  Animated props.
2003-06-03 01:18:51 +00:00
david
463fd28a5c Retrim for JSBSim fixes. 2003-06-02 20:29:09 +00:00
mselig
e97004b2a5 updates A4 2D/3D panel function 2003-05-29 16:37:13 +00:00
mselig
fd7f5eca61 adds mini panel to A4 2003-05-29 05:21:11 +00:00
curt
1b107b3530 Point vacamp.xml at new suction model. 2003-05-28 21:06:30 +00:00
curt
d7fc05e5ba Lee Elliott:
Here's a quick update to the yf23 fdm and auto-pilot settings.  It flies and
takes-off reasonably well - still haven't tried landing it yet;)  It can
still be a bit wobbly at times though and It's not very good at terrain
following either.

Taking off on auto-pilot is quite fun.  Set full flaps and CTRL-a (assuming
you're near sea level), hit F6 to make it go straight and apply power - about
50% until it rotates then apply full power.  Retract the gear as soon as it
gets off the ground and by the time you#ve done that, retract the flaps.
Quite entertaining from a tower view:)

It's not really an ideal a/c to model but apart from the aesthetics, which
appeal to me, I was curious about not having a rudder.

There's a new texture sheet too but it only makes the a/c a paler shade of
grey.
2003-05-28 15:11:22 +00:00
curt
323fce18f7 Lee Elliott:
I've attached an update for the yf23 and I think I've included all the right
files - the model is unchanged (I think I'll eventually paint it in an
imaginary NASA scheme, perhaps a bit like the HIDEC F-15, until I can get
some newer pictures and see what they've done with it) so I've not included
it again.

The fdm still needs quite a bit of work - it can be a bit twitchy and wobbly
at times, and the auto-pilot roll-out and smooth need tightening up, but it's
flyable.  Haven't tried landing it yet though;)
2003-05-28 15:09:30 +00:00
curt
4667e2f9f1 - Make hi-res c172s instrument knobs drawn conditionally.
- HSI GS needles shouldn't disappear when they hit their limits, only when
  there is no GS signal.
- Make vac/amp gauge driven by new minimalistic amp model.
- Update digital clock face color to look more "LCD-ish" based on a real
  C172-S cockpit photo.
- Add an OAT gauge to the old C172 2d panel.
2003-05-27 19:58:52 +00:00
curt
053610a636 Configure to omit instrument knobs by default. 2003-05-27 19:54:04 +00:00
mselig
a6e1f0f3dc removes mini panel 2003-05-24 04:00:22 +00:00
jimw
3857d9ce4f Added default fuel level config 2003-05-23 01:44:31 +00:00
mselig
1f89fcfab5 UIUC A4 model added. See Aircraft/UIUC/a4-v1-nl/README.a4.html for details. 2003-05-22 14:21:21 +00:00
jimw
5c4d69f648 Added hackish binding for booster to allow for two stages of pressure.
Added electrical system so that turn indicator works (real P-51D has
vacuum powered turn indicator).
2003-05-22 13:50:26 +00:00
ehofman
d6b41a3e3b Add David Culp's North American OV-10A Bronco and T-6A Texan II aircraft 2003-05-22 10:05:44 +00:00
jimw
8c9d1b4ca7 Added target offset to view[4] 2003-05-20 16:41:32 +00:00
curt
ec46bbbdc9 Initial revision of David Culp's T38, for details see:
$fgroot/data/Aircraft/T38/T38-read-me.html
2003-05-16 13:50:17 +00:00
curt
3ca5b27927 Hello Curt,
here's an update to the b52 - it's just some relatively minor changes to the
fdm and panels.

I've been trying to improve the take-off and landing characteristics, or at
least get them to fit the pictures and film I've seen.

The best way to take off is by using the autopilot - at sea level just extend
the flaps, punch in the altitude hold on the autopilot (and heading if you're
lazy), and apply full power.  It'll also take of with the default the default
elevator trim of -0.07 but it 'staircases' a little bit - the auto pilot
smooths that out.

I've included some notes and observations about taking-off and landing in the
readme.

While I wouldn't claim any sort of accuracy for it, I hope it manages to get
some of the characteristics right.
2003-05-12 19:45:55 +00:00
jimw
2644d35d82 Adjust target offset in chase view 2003-05-12 15:36:26 +00:00
jimw
6ab1ec3ca8 Added support for booster. 2003-05-07 02:31:56 +00:00
jimw
7c5e6b8c77 Added YASim model for P-51D Mustang 2003-05-03 21:59:41 +00:00
curt
a2b8ee915d Override the default starting c172 rpm to be 0 for 610x version. 2003-04-25 03:31:19 +00:00
curt
22b63476ff Lee Elliott:
I've done a new Sea Hawk.  Well, the model and the fdm aren't new, just
slightly modified, but I've incorporated some more animation stuff and tried
a different way of texturing it.

The animation additions are things I worked out for the YF23 (still can't get
it to fly again) - mostly u/c related stuff.

This actual aircraft (WV908) is in the Royal Navy Historical Flight and so is
kept unusally clean;)  In the photographs I looked at, hardly any fuseage
panel lines were visible so I've not tried to include any.  Instead of the
normal fuselage side views and wing plan textures I've just used fairly
high-res detail 'patches' for the markings, applied to 'carrier' objects.

This is much more like the way I'd do things if I was working on a picture in
my 3d software - there I'd apply multiple textures to an object, as required,
using scope and priority settings to get what I want.  With .ac format models
you can only apply a single texture to an object - hence the need for the
carrier objects.  These are sections of the underlying 'real' object that
have been moved out/away from from the original object surface so that they
cover them.

The pros are 1) the resolution of the details is much higher - have a close
look at the Ace of Diamonds art on the nose and on the bit that sticks out of
the front of the tail-fin (I don't know the proper name for this), and 2)
less texture space is needed.

The most obvious con is that there's more potential for z-buffer problems.  I
notice that whilst on the ground (in chase view), there appears to be
z-buffer fighting for the texture patches but once the a/c has taken off and
has got to about 200ft or so, it clears up.  I've no idea why this should
happen as I'm not changing any of the view settings.

There are a few things I still need to figure out in this respect - I think
there's an issue with graduated textures - they seem to get reduced to 16bpp
and show a lot of banding that's absent on the texture and the model appears
inverted from tower views, at least in 16bpp, but ok from the chase view, and
stuff like that.

I said that the model and fdm aren't new but they have been modified a bit.
I've only reduced the approach aoa in the fdm but the model, whilst basically
the same, has had quite a few changes to accomodate the new u/c and texture
patches.  It also got into FG by a slightly different route - I found that
AC3D would support polys with > 3 sides and after looking at and comparing
.ac and .obj file formats (I can export from RS3D in .obj format) I wrote a C
prog to convert .obj format files into .ac format files.  It's a nasty bit of
hackery that even uses a temporary workfile (LOL), and it will only work with
the simplest of .obj files (e.g. no vertice normal or texture info) but it
allows me to export the model geometry in .obj format, convert it, and load
it straight into AC3D without turning everything into triangles or flipping
face normals.

The funny thing is that objects that consist of just a single rectangle (e.g.
an aileron or flap surface) are not recognised by FG and they have to be
split into two triangles, and once the model's loaded up into FG I can see
from some of the rendering artifacts that it's all still reduced to triangles
prior to display anyway. Still, it saves me from having to do a lot of face
flipping.

Really, the texturing method is experimental and I hope I get some feed-back
on it regarding display and performance issues.  Ultimately, I'd like to try
to reduce the texture size down from 512x512 to 256x256 - nearly half of the
current texture 'space' is unused.
2003-04-21 20:28:24 +00:00
ehofman
6e4c38213e paul mccann wrote:
Hi I fixed the heading bug on the hsi2 and made some changes to the c310-ifr so the adf and dme work.  Just temp fix for those.
2003-04-20 10:05:20 +00:00
ehofman
55178eb9d5 Update some more controls refferences 2003-04-08 08:17:00 +00:00
david
0157440f8e Rename trim properties. 2003-04-08 01:30:35 +00:00