User:Flughund
Jump to navigation
Jump to search
MP callsign(s) | D-HUND |
---|---|
Favourite aircraft | bo105 |
Configurations
keyboard.xml
<key n="10"> <name>Ctrl-j</name> <desc>Toggle Joystick Axis on/off</desc> <repeatable type="bool">false</repeatable> <binding> <command>nasal</command> <script> var node = props.globals.getNode("/input/joysticks/js/axis/binding/property", 1); if ( node.getValue() == "/controls/flight/aileron" ) { node.setValue( "" ); } else { node.setValue( "/controls/flight/aileron" ); } var node = props.globals.getNode("/input/joysticks/js/axis[1]/binding/property", 1); if ( node.getValue() == "/controls/flight/elevator" ) { node.setValue( "" ); } else { node.setValue( "/controls/flight/elevator" ); } var node = props.globals.getNode("/input/joysticks/js/axis[3]/binding/property", 1); if ( node.getValue() == "/controls/flight/rudder" ) { node.setValue( "" ); } else { node.setValue( "/controls/flight/rudder" ); } </script> </binding> </key>
<key n="12"> <name>Ctrl-l</name> <desc>Toggle Pilot List</desc> <binding> <command>nasal</command> <script> multiplayer.dialog.toggle() </script> </binding> </key>
joystick.xml
<button n="1"> <desc>Toggle gear</desc> <repeatable>false</repeatable> <binding> <command>nasal</command> <script> geardown = getprop("/controls/gear/gear-down"); if (geardown == false) { setprop("/controls/gear/gear-down", true); } else { setprop("/controls/gear/gear-down", false); } </script> </binding> </button>
Miscellaneous
aerostar700-set.xml:
<key n="119"> <name>w</name> <desc>Center steer</desc> <binding> <command>nasal</command> <script>setprop("/controls/electric/steering-toggle", 0)</script> </binding> </key>