Jump to content

Recommended Posts

Posted

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.

Posted

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.

Posted (edited)

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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

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