Hi fellow wiki editors!

To help newly registered users get more familiar with the wiki (and maybe older users too) there is now a {{Welcome to the wiki}} template. Have a look at it and feel free to add it to new users discussion pages (and perhaps your own).

I have tried to keep the template short, but meaningful. /Johan G

Difference between revisions of "Howto:Adding gun effects"

From FlightGear wiki
Jump to: navigation, search
(New page: == Dogfighting Effects == With Flightgear's Increasing New Capabilities, We now have Dogfight Effects Such as Bullets and Smoke on Hit! '''Setup''' You First Need to Bind a key for the T...)
 
(Dogfighting Effects)
Line 1: Line 1:
== Dogfighting Effects ==
+
[[Image:Dogfight-Connie Target.jpg|thumb|250px|Dogfight Effects!!!]]
 
+
 
With Flightgear's Increasing New Capabilities, We now have Dogfight Effects Such as Bullets and Smoke on Hit!
 
With Flightgear's Increasing New Capabilities, We now have Dogfight Effects Such as Bullets and Smoke on Hit!
  
'''Setup'''
+
 
 +
== Setup ==
 
You First Need to Bind a key for the Trigger. To do this goto Your ''Flightgear Data'' Directory and Edit ''Keyboard.xml''. Add the Following :  
 
You First Need to Bind a key for the Trigger. To do this goto Your ''Flightgear Data'' Directory and Edit ''Keyboard.xml''. Add the Following :  
  
Line 25: Line 25:
 
In the Code, we have used '''w''' as the trigger. Change it to a Choice of your own!
 
In the Code, we have used '''w''' as the trigger. Change it to a Choice of your own!
  
'''Compatible Aircraft'''
+
== Compatible Aircraft ==
 
All Aircraft in [http://home.comcast.net/~davidculp2/hangar/hangar.html Dave's hangar] having Guns have this Feature.
 
All Aircraft in [http://home.comcast.net/~davidculp2/hangar/hangar.html Dave's hangar] having Guns have this Feature.
 
Example : Embraer AT-29 Super Tucano, McDonnell F-4N Phantom II, Republic F-105D Thunderchief , McDonnell FGR.2 Phantom II etc...
 
Example : Embraer AT-29 Super Tucano, McDonnell F-4N Phantom II, Republic F-105D Thunderchief , McDonnell FGR.2 Phantom II etc...
 +
 +
== Some Screenshots(Credits-peter!) ==
 +
[[Image:Dogfight-Bronco.jpg]]
 +
[[Image:Dogfight.jpg]]

Revision as of 14:47, 20 February 2009

With Flightgear's Increasing New Capabilities, We now have Dogfight Effects Such as Bullets and Smoke on Hit!


Setup

You First Need to Bind a key for the Trigger. To do this goto Your Flightgear Data Directory and Edit Keyboard.xml. 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. Change it to a Choice of your own!

Compatible Aircraft

All Aircraft in Dave's hangar having Guns have this Feature. Example : Embraer AT-29 Super Tucano, McDonnell F-4N Phantom II, Republic F-105D Thunderchief , McDonnell FGR.2 Phantom II etc...

Some Screenshots(Credits-peter!)

File:Dogfight-Bronco.jpg File:Dogfight.jpg