1
0
Fork 0
Commit graph

2278 commits

Author SHA1 Message Date
mfranz
7d0fe51b9f first stab at nasal debugging helper module (nicks parts for files from
the Nasal repository :-)
2007-01-28 12:20:18 +00:00
mfranz
4a08d75574 Maik JUSTUS: improve some friction values (ice, snow, dirt-runway, grass, ...)
mf: fix sign glyph name, adjust some sign properties
2007-01-28 11:43:50 +00:00
martin
a10b396ffc Control the helicopter by RC control unit with MFTech RC USB-Interface 2007-01-27 22:07:31 +00:00
mfranz
04de5c67c8 - add all entries in /sim/aircraft-data/path[*] to the save-list, so that one
can also write

      <sim>
          <aircraft-data>
              <path>/sim/author</path>
              <path>/sim/description</path>
              <path>/sim/rtatus</path>
          </aircraft-data>
      </sim>

  in a *-set.xml file instead of using Nasal (aircraft.data.add("/sim/author", ...)
- s/timeN/node/ to match the pattern described in the head comment
- make listener on-shot
2007-01-26 23:33:25 +00:00
mfranz
1ad49352e6 spellchecking 2007-01-24 16:25:05 +00:00
martin
be7f4246c3 Interim release of The Manual. 2007-01-24 07:48:12 +00:00
mfranz
e3d90ee46c - don't prepend underscore to aircraft names (this was a leftover from
versions that wrote that name to the property tree)
- move HUD part to the bottom. It isn't really part of the library
- cleanup
2007-01-23 17:29:41 +00:00
mfranz
b47d2e2204 respect /sim/startup/save-on-exit 2007-01-22 19:05:35 +00:00
mfranz
7cae1e86a2 add type for "save-on-exit" 2007-01-22 18:55:41 +00:00
mfranz
97771b69ae - save aircraft data before the aircraft's Nasal files are executed
- make 0 a valid saving interval, and 'nil' or no arg stop the loop
  (this is for consistency with settimer() or aircraft.timer() intervals
- smaller fixes, cleanup
2007-01-22 16:49:28 +00:00
mfranz
f376ea5adb use /sim/signals/nasal-dir-initialized signal to simplify things 2007-01-22 00:03:07 +00:00
mfranz
bf7731c0af use /sim/signals/nasal-dir-initialized signal for library initialization;
this makes it possible to use screen.log.write() everywhere in aircraft
nasal files, not only after settimer(func{}, 0) were triggered
2007-01-21 20:56:25 +00:00
mfranz
977910c258 we can't use the setlistener() wrapper here, but need the real thing 2007-01-21 20:44:55 +00:00
mfranz
f61969ed01 add timer class that optionally saves time in the aircraft data file,
restores this time at next run and continues from this value. This is
meant for operation hour counters (Hobbs meters) for turbines, etc.
2007-01-21 20:06:05 +00:00
frohlich
ebbc3ba003 Modified Files:
ThrustMaster/HOTAS-Cougar.xml: Updates from Matthias Boerner
2007-01-21 18:34:48 +00:00
mfranz
722f35903d only save before the reset is executed, so we can save e.g. the Hobbs time 2007-01-21 00:21:53 +00:00
mfranz
ec18defa4c the dummy entry is no longer needed; files get only written if they
actually contain aircraft settings
2007-01-20 23:13:54 +00:00
mfranz
a73972512d add class for saving data into aircraft specific files
in ~/.fgfs/aircraft-data/ or %APPDATA%\flightgear.org\aircraft-data\
2007-01-20 20:15:06 +00:00
mfranz
49600b0aa3 map update 2007-01-18 00:12:58 +00:00
mfranz
d115b8bf1c Maik JUSTUS: add tow/winch documentation 2007-01-17 23:34:04 +00:00
mfranz
33b143b95a Maik JUSTUS: documentation for aerotowing parameters 2007-01-17 20:57:22 +00:00
mfranz
9fd4bd2aa8 fix <power> type here, too :-) 2007-01-17 12:45:32 +00:00
mfranz
083ecf0786 fix <power> type 2007-01-17 12:42:13 +00:00
mfranz
57476a78e0 fix <power> type, turn it off by default, but leave it for easier tweaking 2007-01-17 12:40:44 +00:00
mfranz
e9cfd04488 Dave PERRY: Pro-Flight-Rudder-Pedals.xml config 2007-01-16 00:45:56 +00:00
mfranz
04dff149a4 Dave PERRY: generic click sound 2007-01-16 00:44:48 +00:00
mfranz
b309532bf2 - add <power> values
- use more controls wrappers
2007-01-15 23:14:57 +00:00
mfranz
3ba1323fe8 use controls.geatToggle() wrapper 2007-01-15 23:08:29 +00:00
mfranz
dfaec0a645 fix flaps, gear, brakes (make them use the controls wrappers) 2007-01-15 23:01:50 +00:00
mfranz
cbf2ad2f03 fix flaps and gear 2007-01-15 22:50:36 +00:00
mfranz
0d672a084b fix gear handling 2007-01-15 22:25:17 +00:00
frohlich
e401306d6d Modified Files:
model-howto.html: Document the visible property for the pick animation.
2007-01-15 19:05:56 +00:00
mfranz
f99de31ad9 "wariat" from IRC: new joystick config
mf: fix inconsistent indentation; fix flaps; fix brakes; add <desc> for
    js info dialog
2007-01-15 18:35:12 +00:00
ehofman
fbfb30473a Sync. w. JSB CVS as of 15/01/2007 2007-01-15 12:50:44 +00:00
mfranz
51712052e1 this file is broken by design. Fixing the Nasal error apparently
overstrains it, so here's the error back. Have fun!  :-|
2007-01-13 22:37:38 +00:00
mfranz
4690b3c2c3 totally pointless mini-optimization 2007-01-13 21:46:07 +00:00
mfranz
f58fcdd492 make sure the property doesn't only exist, but is actually initialized 2007-01-13 18:35:22 +00:00
mfranz
4a1b1a4d41 the offset parameter in the "rotate" animation is called <offset-deg> 2007-01-12 22:03:13 +00:00
mfranz
7b6205d37b add props.Node.getAttribute() and props.Node.setAttribute() methods.
Examples:
  var tied = foo.getAttribute("TIED");
  foo.setAttribute("USERARCHIVE", 1);

Both methods accept attribute strings "READ", "WRITE", "ARCHIVE",
"TRACE_READ", "TRACE_WRITE", and "USERARCHIVE". getAttribute() does
additionally accept "TIED" (although this isn't an SGPropertyNode::Attribute).
Attribute "REMOVED" is not supported.
2007-01-12 18:06:50 +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
frohlich
c089606d2b Modified Files:
model-howto.html: Update pick animation docs.
2007-01-07 12:13:22 +00:00
sydadams
98a6605da5 fixed some problems the Bravo was having with this .... 2007-01-06 05:51:49 +00:00
frohlich
f28d4da0af Modified Files:
model-howto.html: Document animations additions
2007-01-04 13:29:25 +00:00
frohlich
dafb405492 Modified Files:
HOTAS-Cougar.xml: Put the speedbrake on the speedbrake button.
	Make the elevator trim direction match the joysticks direction.
2006-12-27 09:26:28 +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
41a756a6ba light class: make the first time-value always "on", even for odd numbered
light pattern. This is more robust and doesn't need the reinit listener.
2006-12-13 16:15:27 +00:00
mfranz
923f2b7299 - fix index and restart loop on reinit
- cosmetics
2006-12-12 22:42:52 +00:00