Jump to content
Sign in to follow this  
arthur666

Adding new sound to stock GAU-8?

Recommended Posts

Wanted to add the sound from the Hawgs pack, but I'm missing something. Extracted the gundata, made a new folder called 30MM_GAU8 containing these 2 INI :

 

[GunData]
ObjectFullName=30mm GAU-8/A Cannon
ObjectDataFile=30MM_GAU8_data.INI

 

[GunData001]
TypeName=30MM_GAU8
FullName=30mm GAU-8/A Cannon
Caliber=30.000000
ROF=4200.000000
MuzzleVel=1030.000000
AmmoWt=0.360000
WarheadWt=0.036000
CartridgeWt=0.739000
Reliability=100.000000
Accuracy=50.000000
AddLight=TRUE
MaxLightRange=70.000000
FireColor=0.500000,0.450000,0.320000
GunFireEffect=30mmFireEffect
//GunFireSound=Vulcan
GunFireSound=GAU8.wav
EffectClassName=30mmEffects
EffectTime=0.100000
TracerTexture=Tracer.tga
TracerSize=0.200000
TracerDistFactor=0.002000
TracerLength=0.018000
MaxVisibleDist=4000.000000
MaxStreakVisibleDist=1000.000000
TimeFuzed=FALSE

 

I have the GAU8.wav in my SF2/Sounds/ folder. I can play the sound with any media program, so the .wav is good.

 

In game, gun fires as normal but no sound.

What am I missing?

 

PS: In the data.ini i tried it both as GAU8 and GAU8.wav

Edited by arthur666

Share this post


Link to post
Share on other sites

Since it's not a stock sound event, where one can simply replace the .wav file, it requires in entry in the soundlist.ini file. You first need to extract a copy of that fille from the flightdata.cat, and place it it the flight folder.

 

Then, add the gun sound entry twice, first in numerical order on the list (where XXX would be the next entry in the numerical sequence like so):

 

SoundFileXXX=GAU8

 

And then at the bottom of the file, you need to add the sound event parameters:

 

[GAU8]

Priority=NORMAL

Looped=TRUE

NumBuffers=4

3DSound=TRUE

DopplerEffect=FALSE

MaxDist=1000.000000

MinDist=50.000000

InsideConeAngle=360

OutsideConeAngle=360

ConeOutsideVolume=0

Share this post


Link to post
Share on other sites

one work, Ed...

 

gsh-301

 

:lmao:

 

(for those that don't know...it's a loooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooong story)

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