Howto:Adding gun effects: Difference between revisions

Line 22: Line 22:
  </key>
  </key>


In the code, we have used '''e''' as the trigger. You can change it to a choice of your own but '''e''' is the standard key binding used by most aircraft in FlightGear. Joystick bindings are a bit more complex, but are explained in the wiki article on [[Joystick]]s.
In the code, we have used '''e''' as the trigger. You can change it to a choice of your own but '''e''' is the standard key binding used by most aircraft in FlightGear.  
 
Joystick bindings are a bit more complex.  Sample code is below, but you will want to read the wiki article on [[Joystick]]s.


See more complex/complete sample code below.
See more complex/complete sample code below.
482

edits