arthur666 Posted December 30, 2012 Posted December 30, 2012 (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 December 30, 2012 by arthur666 Quote
+Fubar512 Posted December 30, 2012 Posted December 30, 2012 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 Quote
+Wrench Posted December 30, 2012 Posted December 30, 2012 one work, Ed... gsh-301 (for those that don't know...it's a loooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooong story) Quote
Recommended Posts
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.