1
0
Fork 0
Commit graph

115 commits

Author SHA1 Message Date
Richard Harrison
304836f41a Nasal: optimises properties in lp filter
Use geNode instead of getprop
2022-04-03 18:30:17 +02:00
Richard Harrison
8419dec54a Fix Tyre Smoke/Spray in air.
Previously it was possible that the smoke/spray would continue if the aircraft went weight off wheels whilst smoke was active.
2022-03-02 14:16:19 +01:00
Henning
28e865f1e6 Bugfix for aircraft.nas: declare missing member variable 2021-12-04 14:47:22 +01:00
Richard Harrison
dc697141b8 Tyre effects (spray, smoke) rework
Spray density realism improved by using a curve for the density and permitting the trigger to be changed (default 0.2)

Touchdown smoke trigerred by WoW changing using the velocity as a factor and then using a low pass filter on this to fade out the smoke. This results in smoke for a brief period that appears to be more realistic. F-14 example: https://i.imgur.com/FkwgoYV.gifv
2021-10-18 15:31:19 +02:00
Henning Stahlke
148328d793 Nasal loadpriority; remove nasal-dir-initialized listeners;
add more dependencies to loadpriority.xml and remove _setlistener stuff
2020-06-03 21:57:14 +01:00
Henning Stahlke
ec3cef2183 aircraft.nas data use maketimer instead of settimer loop; replace typeof by isType 2020-05-17 20:03:53 +01:00
Henning Stahlke
fba17e4d34 Replace printlog by logprint 2020-04-21 09:07:20 +02:00
James Turner
fc50680694 Use logprint() in various places
This reduces Nasal console spamming to match to the set log-level
2020-04-19 16:46:57 +01:00
Torsten Dreyer
a48e7c7136 fix an old typo 2019-03-29 19:43:48 +01:00
James Turner
8164811d9f Speed-up fix; now included in /sim/time/delta-sec 2016-01-05 23:25:55 -06:00
James Turner
2e451f292f Switch GUI to use new reposition command.
(Must have latest FG or you'll get a crash due to old ATIS subsystem)
2014-03-05 16:46:10 +00:00
ThorstenB
121790f337 Make restore-defaults option also apply to aircraft-specific data 2012-07-15 11:07:23 +02:00
ThorstenB
6651e5abcd Fixed typo. 2012-04-01 21:07:58 +02:00
ThorstenB
a79a91a2aa aircraft.nas: performance optimization
listeners at sim/rendering/precipitation-aircraft-enable triggered
excessively (every loop)
2012-04-01 13:06:40 +02:00
ThorstenB
cd10e3edd7 Fixed aircraft.teleport when parkpos is set.
/sim/presets/parkpos needs to be empty, otherwise runway position is
ignored.
2012-04-01 13:06:39 +02:00
Anders Gidenstam
aef778a99b Nasal/aircraft.nas: Added missing var keywords. 2012-03-23 22:27:02 +01:00
Torsten Dreyer
abce54aa2a backward compatibility for /sim/auto-coordination
please see fg commit 5caa42af8ec6a8971aef37777640dbe449eda5cf
2012-03-13 21:07:39 +01:00
James Turner
4bb602c2f1 fgdata changes for HUD cycling 2011-12-11 18:07:54 +00:00
Mathias Froehlich
558c321f94 Fix problem with the A320 family not starting up correctly. 2011-09-08 19:34:15 +02:00
ThorstenB
1a9a589452 Add documentation and more config options to tyre-smoke effect.
Make vspeed/diff_norm configurable. Allow effect to be independent of
vspeed, so it works for all gear (after main gear touch down, vspeed is 0,
so smoke effects for nose-gear usually wouldn't work).
2011-09-04 19:16:39 +02:00
ThorstenB
8421d75cb9 Fix low-pass filter and adapt to speed-up factor.
Low-pass filter should not use real-time, but simulation time to filter
effects. Obey speed-up factor.
2011-09-04 19:16:38 +02:00
Ryan Miller
36c48caaf2 Added crossfeed valve class to aircraft.nas, extended math.nas with min(), max(), and avg() 2011-04-20 16:25:41 -07:00
Csaba Halasz
2753432b92 Added tyresmoke_system class to aircraft.nas 2011-02-15 15:55:57 +01:00
James Turner
c7560f61b4 Switch over to v2 HUD by default, v1 HUD is no longer used. 2010-10-29 00:56:42 +01:00
James Turner
83c9e8b157 Change Nasal to use relative not absolute data paths
(requires current FG git)
2010-08-15 11:27:15 +01:00
vmmeazza
5cb130c313 Change tyresmoke parameter - by Heiko Schultz 2009-10-22 20:20:30 +00:00
mfranz
3a6315031e door.setpos(): stop movement before setting absolute value
timer: stop and save/restore on reset
2009-05-06 18:49:06 +00:00
mfranz
2d4d0c81cc fix comment 2009-03-19 20:06:58 +00:00
mfranz
dafeb03bf1 add simple wind_speed_from() function, and Jean PELLOTIER's not-so-simple
kias_to_ktas() function
2009-03-18 13:13:15 +00:00
mfranz
821c3bd31c rain: read some properties only if they are actually needed 2008-12-15 16:16:08 +00:00
mfranz
cb76be5383 rain: add units to the output properties and explain them 2008-12-15 08:01:33 +00:00
mfranz
d8131d6944 only turn osg precipitation off for internal views 2008-12-15 00:18:26 +00:00
mfranz
2abb0516b5 Vivian MEAZZA: support for handling rain flow on canopies
/me: some modifications + cosmetics in the light class
2008-12-14 23:43:46 +00:00
mfranz
1e5cf9ff0a more use of initNode & some consistency improvements (method format) 2008-11-26 16:09:16 +00:00
mfranz
31162ce78b more initNode() (Alzheimer?) 2008-11-22 21:02:04 +00:00
mfranz
8d7545252f convert more initNode to the method version (sorry, had forgotten these) 2008-11-20 22:06:54 +00:00
mfranz
c74d6ee75e - make props.initNode a props.Node method
- props.nas: some minor improvements
2008-11-20 19:45:40 +00:00
mfranz
dcb1321923 make constants D2R, R2D, M2FT, FT2M global 2008-11-20 11:24:45 +00:00
mfranz
0bd5bc58a7 livery: documentation fix 2008-10-19 21:12:57 +00:00
mfranz
c5fe446f58 overlay-select.xml, gui.nas: fix overlay-dialog close(); add relpath() func
aircraft.nas: remove redundant data.add()
2008-10-19 12:34:09 +00:00
mfranz
94211721cf livery: fix bad default nameprop (must be relative) 2008-10-19 11:55:52 +00:00
mfranz
32bf0f7265 gui.nas: remove trailing slashes in nameprop/sortprop
aircraft.nas: add generic overlay_update function, and make livery_update
         a wrapper for it
2008-10-19 11:52:56 +00:00
mfranz
da7d1ded71 aircraft.nas: make aircraft.livery a wrapper for gui.OverlaySelector
gui.nas: add file name to stored data (needed for MP-livery)
2008-10-16 15:26:19 +00:00
mfranz
a021ab0af0 - aircraft.nas: remove formation class (Deprecated only three hours ago.
Is this fast development, or what?! :-)
- gui.nas: remove debug message
2008-10-15 18:14:54 +00:00
mfranz
5d576f0e3d - gui.OverlaySelector: add optional sort criterion, add selection by index,
add next(), and previous() methods.
- aircraft.nas: deprecate formation class
2008-10-15 15:27:56 +00:00
mfranz
782368fefa documentation update and cosmetics 2008-10-09 17:20:27 +00:00
mfranz
b1017ac425 Vivian MEAZZA: tyresmoke: add spray flag/intensity for wet surfaces 2008-10-08 22:57:50 +00:00
mfranz
757b64a2c3 tyresmoke: s/getNode/getChild/ 2008-10-05 23:35:02 +00:00
mfranz
c56653d203 tyresmoke: make it faster, cleaner, shorter 2008-10-05 23:16:15 +00:00
vmmeazza
f7339eeb22 Add generic tyre smoke - correctly this time 2008-10-05 22:56:44 +00:00