Howto:Adding gun effects: Difference between revisions

m
Fixed links
m (Fixed links)
Line 3: Line 3:


== Setup ==
== Setup ==
There is no default key/button binding for a trigger in FlightGear, so you will have to make your own. An obvious choice of button would be the trigger on a joystick, but you can also make a keyboard binding by adding something like this to your <tt>[[$FG_ROOT]]/keyboard.xml</tt> file:  
There is no default key/button binding for a trigger in FlightGear, so you will have to make your own. An obvious choice of button would be the trigger on a [[joystick]], but you can also make a keyboard binding by adding something like this to your <tt>[[$FG_ROOT]]/keyboard.xml</tt> file:  


  <key n="119">
  <key n="119">
Line 31: Line 31:
All aircraft equipped with guns in [http://home.comcast.net/~davidculp2/hangar/hangar.html Dave's hangar] are capable bullet effects. Like:
All aircraft equipped with guns in [http://home.comcast.net/~davidculp2/hangar/hangar.html Dave's hangar] are capable bullet effects. Like:
* Embraer AT-29, A-29B Super Tucano
* Embraer AT-29, A-29B Super Tucano
* McDonnell F-4D/E/F, FGR.2, Phantom II
* [[McDonnell F4 Phantom II|McDonnell F-4D/E/F, FGR.2, Phantom II]]
* [[Republic F-105 Thunderchief|Republic F-105D Thunderchief]]
* [[Republic F-105 Thunderchief|Republic F-105D Thunderchief]]
* North American F-100 Super Sabre
* North American F-100 Super Sabre
Line 41: Line 41:
Other aircrafts (not from Dave's Hangar) include
Other aircrafts (not from Dave's Hangar) include
* [[General Dynamics F-16|F-16 Fighting Falcon]]
* [[General Dynamics F-16|F-16 Fighting Falcon]]
* [[Sopwith Camel|Sopwith Camel]]
* [[Sopwith Camel]]
* [[Spad VII|Spad VII]]
* Spad VII


== Current limitations ==
== Current limitations ==
* Submodel information is not sent with the [[Howto: Multiplayer|multiplayer]] protocol, so multiplayer users will not be effected by your bullets. The tracers, smoke and impact effects will only be seen by you.   
* Submodel information is not sent with the [[Howto: Multiplayer|multiplayer]] protocol, so multiplayer users will not be effected by your bullets. The tracers, smoke and impact effects will only be seen by you.   
* The impact cylinder for models is fairly large, so you will see impacts occur outside of the target model's boundaries.
* The impact cylinder for models is fairly large, so you will see impacts occur outside of the target model's boundaries.