Jump to content

Recommended Posts

Posted (edited)

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
Posted

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

Posted

one work, Ed...

 

gsh-301

 

:lmao:

 

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

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
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
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..