Jump to content

Recommended Posts

I tried to add sound for a Mauser gun and I entered into trouble. I modified the soundlist.ini accordingly:

 

soundfile033=Bk27

[bk27]
Priority=NORMAL
Looped=TRUE
NumBuffers=4
3DSound=TRUE
DopplerEffect=FALSE
MaxDist=1000.000000
MinDist=50.000000
InsideConeAngle=360
OutsideConeAngle=360
ConeOutsideVolume=0

 

 

and then I added it to the gundata.ini:

 

[GunData061]
TypeName=27MM_BK27
FullName=27mm Mauser BK27
Caliber=27.000000
ROF=1800.000000
MuzzleVel=1025.000000
AmmoWt=0.180000
WarheadWt=0.018000
Reliability=100.000000
Accuracy=75.000000
AddLight=TRUE
MaxLightRange=1200.000000
FireColor=0.500000,0.450000,0.320000
GunFireEffect=23mmFireEffect
GunFireSound=Bk27
EffectClassName=23mmEffects
EffectTime=0.100000
TracerTexture=Tracer2.tga
TracerSize=0.300000
TracerDistFactor=0.002000
TracerLength=0.015000
MaxVisibleDist=4000.000000
MaxStreakVisibleDist=1000.000000
TimeFuzed=FALSE

 

aircraft data.ini file gun declaration:

 

[internalGun]
SystemType=FIXED_GUN
GunTypeName=27MM_BK27
InputName=FIRE_PRIMARY_GUN
MuzzlePosition=-0.425, 3.828, -0.6
LightPosition=-0.425, 3.828, -0.6
AimAngles=0.0,0.1,0.0
MaxAmmo=920
EjectShells=FALSE
MinExtentPosition=
MaxExtentPosition=

 

 

As you can see the numbers order is ok, the gun name into aircraft data.ini file is ok, the sound name in sound folder is ok also but I get no sound when firing the gun. I don't know what I do wrong. I could use some help.

 

Share this post


Link to post
Share on other sites

did you run the modified gun through the gun editor? 1st Gens require that

Share this post


Link to post
Share on other sites

yes I did. But it was not that. I discovered what it was after hours of frustration and meditation.The sound is NOT enough to undergo those familiar steps, it has to be a MONO sound to work. After I converted to MONO in an sound editor  it worked. So maybe it would be a good idea to add/implement this info in that website knowledge base when you build a gun so no one will ever feel the frustration I felt.

Edited by UllyB

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