Howto:Adding gun effects: Difference between revisions

Jump to navigation Jump to search
Line 83: Line 83:


   controls/armament/trigger1
   controls/armament/trigger1


The following code, which you can place in your keyboard.xml file or (if you are an aircraft designer) in your aircraft's -set.xml file in the <keyboard> section, triggers both locations, both types of armament, and works with almost all FG aircraft.
The following code, which you can place in your keyboard.xml file or (if you are an aircraft designer) in your aircraft's -set.xml file in the <keyboard> section, triggers both locations, both types of armament, and works with almost all FG aircraft.


It uses '''e''' to trigger the main armament and '''E''' to triger the secondary:
It uses '''e''' to trigger the main armament and '''E''' to trigger the secondary:


       <key n="101">
       <key n="101">
482

edits

Navigation menu