Jump to content
Sign in to follow this  
planes

how to add guns on a aircraft?

Recommended Posts


Go to the data.ini, add

 

SystemName[xxx]=InternalGun

 

^Where the system is to be employed: nose, wing root, etc. using the model name. If you wanted it in the fuselage, it'd be in the [Fuselage] section of data.ini. And where [xxx] is the number of the system. If it's the 13th system to that part of the plane, it'd be:

 

SystemName[013]=InternalGun

 

Further down, before or after the weapon stations, add:

 

 

[internalGun]

SystemType= <---The gun type, usually FIXED_GUN

GunTypeName= <---The gun, if you want an M-61, it'd be 20MM_M61A1

InputName= <---Needed to fire the gun: FIRE_PRIMARY_GUN

MuzzlePosition= <---The muzzle position in X,Y,Z coords on the model

LightPosition= <---Where the effect comes from, usu same as muzzle position

AimAngles= <---Not sure, but again, X,Y,Z coord format

MaxAmmo= <---Maximum internal ammo

EjectShells= <--Either TRUE or FALSE, if its an internal gun, it is probably FALSE (in the M-61's case it is FALSE)

MinExtentPosition= <---Not necessary

MaxExtentPosition= <---Not necessary

 

 

Hope this helps.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×

Important Information

By using this site, you agree to our Terms of Use, Privacy Policy, and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..