Jump to content
Sign in to follow this  
dsawan

getting guns to work in sf2?

Recommended Posts

Hi, sorry if this has been mentioned before, but how do guns get edited in sf2 generation? Is it the same as sf1 where you exgtract the gundata and edit to make them work?Or will it be like the weps pack and you add in. i only know of killer bee's addon, but thas weps not guns. i just tried the potez addon to see if it worked in sf2 atmoshphere and weps work but guns dont. thx.

Share this post


Link to post
Share on other sites

Guns are setup to work like the weapons, so if it came with a "Gun" put that folder in the Guns folder, or create one in the Mod folder, in "Objects". If done correctly the game should read the new gun and it will be available for use.

Share this post


Link to post
Share on other sites

Guns and their Effects are handled just like the Weapons are. They're "Plug-in-Play".

 

 

331KillerBee

Share this post


Link to post
Share on other sites

Like weapons (or any other "objects", for that matter), SF2 guns need to have individual folders which contain both Gun.ini and Gun_data.ini files. The folder needs to be named exactly the same as the .ini file.

 

For example, lets say that we wish to add a 30MM_GSH30-2. We first create a subfolder within the Guns folder, and name it 30MM_GSH30-2. Next we need to create two .ini files, 30MM_GSH30-2.ini and 30MM_GSH30-2_Data.ini. The latter spells out the necessary ballistic, ROF, and effects parameters.

 

The 30MM_GSH30-2.ini would contain the following data:

[GunData]

ObjectFullName=30MM GSH-30-2 cannon

ObjectDataFile=30MM_GSH30-2_Data.ini

 

The 30MM_GSH30-2_Data.ini would contain:

[GunData001]

TypeName=30MM_GSH30-2

FullName=30mm GSH30-2 Cannon

Caliber=30.000000

ROF=2460.000000

MuzzleVel=940.000000

AmmoWt=0.247000

WarheadWt=0.024700

Reliability=95.000000

Accuracy=74.000000

AddLight=TRUE

MaxLightRange=1200.000000

FireColor=0.400000,0.320000,0.240000

GunFireEffect=30mmFireEffect

GunFireSound=GSHcannon

EffectClassName=30mmEffects

EffectTime=0.100000

TracerTexture=Tracer.tga

TracerSize=0.030000

TracerDistFactor=0.002000

TracerLength=0.036000

MaxVisibleDist=4000.000000

MaxStreakVisibleDist=1000.000000

TimeFuzed=FALSE

Edited by Fubar512

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..