From: Melchior F. <mf...@fl...> - 2006-04-27 18:04:33
|
Update of /var/cvs/FlightGear-0.9/data/Aircraft/sgs233 In directory baron:/tmp/cvs-serv9738 Modified Files: sgs233-set.xml Log Message: - use correct property for spoilers/speedbrake - reverse "throttle" - fix indentation and remove trailing spaces Index: sgs233-set.xml =================================================================== RCS file: /var/cvs/FlightGear-0.9/data/Aircraft/sgs233/sgs233-set.xml,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -r1.8 -r1.9 *** sgs233-set.xml 26 Apr 2006 23:07:26 -0000 1.8 --- sgs233-set.xml 27 Apr 2006 18:04:12 -0000 1.9 *************** *** 13,17 **** <description>Schweizer 2-33</description> <author>David Culp, Captain Slug (3D)</author> ! <flight-model>jsb</flight-model> <aero>sgs233</aero> --- 13,17 ---- <description>Schweizer 2-33</description> <author>David Culp, Captain Slug (3D)</author> ! <flight-model>jsb</flight-model> <aero>sgs233</aero> *************** *** 29,33 **** <altitude-ft type="double">3000.0</altitude-ft> </presets> ! <sound> <path>Aircraft/sgs233/glider-sound.xml</path> --- 29,33 ---- <altitude-ft type="double">3000.0</altitude-ft> </presets> ! <sound> <path>Aircraft/sgs233/glider-sound.xml</path> *************** *** 62,82 **** </help> ! </sim> ! <!-- This binds the joystick's throttle slider to the spoilers. --> ! <nasal> ! <sgs233> ! <script> ! var spoilers = props.globals.getNode("/controls/flight/spoilers", 1); ! controls.throttleAxis = func { ! val = cmdarg().getNode("setting").getValue(); ! if (size(arg) > 0) { ! val = -val; ! } ! spoilers.setValue((1 - val) / 2); ! } ! </script> ! </sgs233> ! </nasal> </PropertyList> --- 62,82 ---- </help> ! </sim> ! <!-- This binds the joystick's throttle slider to the spoilers. --> ! <nasal> ! <sgs233> ! <script> ! var spoilers = props.globals.getNode("/controls/flight/speedbrake", 1); ! controls.throttleAxis = func { ! val = cmdarg().getNode("setting").getValue(); ! if (size(arg) > 0) { ! val = -val; ! } ! spoilers.setValue((1 + val) / 2); ! } ! </script> ! </sgs233> ! </nasal> </PropertyList> |