1
0
Fork 0
Commit graph

70 commits

Author SHA1 Message Date
mfranz
6f6aef2fed change from deprecated props.initNode() to props.Node.initNode() 2008-11-20 20:00:26 +00:00
mfranz
0b453c6da3 - drop cmdarg() usage in listener functions
- use var keyword
2008-10-12 18:50:06 +00:00
vmmeazza
5a642cc2e6 Update parameters 2008-10-08 17:30:37 +00:00
vmmeazza
ee515582d0 Add rain spray effect 2008-10-08 16:51:40 +00:00
vmmeazza
0f0ac568d4 Add generic tyre smoke 2008-10-05 22:53:41 +00:00
abory
3600255914 - Alexis Bory: radardist.nas radardist.xml have nothing to do here.
Moved permanently to Aircraft/Instruments-3d/radardist/.
2008-10-05 14:32:44 +00:00
abory
ac84c93b68 - Alexis Bory: minor fixes. 2008-09-27 20:33:29 +00:00
mfranz
c23971dcca aar.nas: minor cleanup 2008-08-14 21:38:32 +00:00
mfranz
2e6ffd34e6 s/system/type/ ... that's more consistent with the rest and less confusing 2008-08-13 22:56:21 +00:00
mfranz
2e6a1dc224 - make sure that aircraft can only refuel from tankers which support the
appropriate system ("probe" or "boom")
- use props.initNode()
- cosmetics
2008-08-13 22:03:59 +00:00
abory
f951225d81 Removed pointless creation of a geo.Coord . 2008-08-02 14:58:42 +00:00
abory
ea43922437 - Alexis Bory: use io.read_properties() instead of fgcommand(load). 2008-07-17 21:06:29 +00:00
abory
5eaebdb728 - Alexis Bory (and Melchior):
- Changed properties name in the XML: radardist -> radar-performance.
- Corrected spelling of data.
- Shortened the init message.
This doesn' change the way to call radardist.nas functions.
2008-07-11 21:10:48 +00:00
abory
dde3389421 - Alexis Bory: radardist.nas now reads its datas from $FG_ROOT/Aircraft/Generic/radardist.xml. 2008-07-08 10:16:38 +00:00
abory
5c054b5afc - Alexis Bory: radardist.nas now reads its datas from this XML file. 2008-07-08 10:08:51 +00:00
abory
166f5c8b96 - Alexis: oops, should better test before committing. 2008-06-05 21:10:43 +00:00
abory
ba83e856cf - Alexis: ooops I forgot Jettoo's last additions in the tables. 2008-06-05 19:44:09 +00:00
abory
40d9b0e400 - Jettoo (glazmax) and Alexis: Radar Visibility Calculator. 2008-06-05 19:37:32 +00:00
mfranz
f8f63fcd8d use props.initNode() & simplification 2008-06-04 20:52:09 +00:00
mfranz
52ed2de4c3 Roy Vegard OVESEN: add "var" keywords 2007-11-28 20:09:59 +00:00
mfranz
5d26f635bf Dave PERRY: 'adds "var" for local variables' 2007-11-25 20:43:43 +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
ecb335ddb5 - use var keywords on functions to avoid module name collisions
- drop some braces
2007-10-01 22:31:30 +00:00
mfranz
3cdf961214 s/wxradar/radar/ 2007-06-24 19:58:20 +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
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
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
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
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
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
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
410950b7b2 Nasal version of former src/Instrumentation/annunciator.[ch]xx 2007-01-29 22:24:05 +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
mfranz
115b4a04ea replace cheesy wait_for_fdm() loop by a reliable signal callback 2006-10-26 09:23:53 +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
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
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
mfranz
92c5097250 Stuart BUCHANAN: update; replace screenPrint with screen.log.write(); ... 2006-02-15 22:53:23 +00:00
ehofman
dfd4d87c8a Ron Jensen: energize the TACAN. 2006-02-03 08:44:26 +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
fec91079ae Harald JOHNSEN: Add a (test) WxRadar instrument. 2005-10-08 12:13:43 +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