Howto:Adding gun effects: Difference between revisions
Jump to navigation
Jump to search
Fahim Dalvi (talk | contribs) |
Fahim Dalvi (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
With [[Flightgear]]'s increasing capabilities, dogfight effects such as bullets and smoke on hit are now supported! You'll need [[FlightGear 1.9.0|FlightGear version 1.9]] or later, in order to use the effects! | With [[Flightgear]]'s increasing capabilities, dogfight effects such as bullets and smoke on hit are now supported! You'll need [[FlightGear 1.9.0|FlightGear version 1.9]] or later, in order to use the effects! | ||
Revision as of 05:41, 30 March 2009
With Flightgear's increasing capabilities, dogfight effects such as bullets and smoke on hit are now supported! You'll need FlightGear version 1.9 or later, in order to use the effects!
Setup
You first need to bind a key for the trigger. To do this edit the keyboard.xml file in your FlightGear root. Add the following:
<key n="119"> <name>w</name> <desc>Gun Trigger</desc> <binding> <command>property-assign</command> <property>/controls/armament/trigger</property> <value>true</value> </binding> <mod-up> <binding> <command>property-assign</command> <property>/controls/armament/trigger</property> <value>false</value> </binding> </mod-up> </key>
In the code, we have used w as the trigger. You can change it to a choice of your own.
Compatible Aircraft
All aircraft equipped with guns in Dave's hangar are capable to perform dogfights. Like:
- Embraer AT-29 Super Tucano
- McDonnell F-4N Phantom II
- Republic F-105D Thunderchief
- McDonnell FGR.2 Phantom II