UllyB Posted July 9, 2017 Posted July 9, 2017 I tried to add sound for a Mauser gun and I entered into trouble. I modified the soundlist.ini accordingly: soundfile033=Bk27[bk27]Priority=NORMALLooped=TRUENumBuffers=43DSound=TRUEDopplerEffect=FALSEMaxDist=1000.000000MinDist=50.000000InsideConeAngle=360OutsideConeAngle=360ConeOutsideVolume=0 and then I added it to the gundata.ini: [GunData061]TypeName=27MM_BK27FullName=27mm Mauser BK27Caliber=27.000000ROF=1800.000000MuzzleVel=1025.000000AmmoWt=0.180000WarheadWt=0.018000Reliability=100.000000Accuracy=75.000000AddLight=TRUEMaxLightRange=1200.000000FireColor=0.500000,0.450000,0.320000GunFireEffect=23mmFireEffectGunFireSound=Bk27EffectClassName=23mmEffectsEffectTime=0.100000TracerTexture=Tracer2.tgaTracerSize=0.300000TracerDistFactor=0.002000TracerLength=0.015000MaxVisibleDist=4000.000000MaxStreakVisibleDist=1000.000000TimeFuzed=FALSE aircraft data.ini file gun declaration: [internalGun]SystemType=FIXED_GUNGunTypeName=27MM_BK27InputName=FIRE_PRIMARY_GUNMuzzlePosition=-0.425, 3.828, -0.6LightPosition=-0.425, 3.828, -0.6AimAngles=0.0,0.1,0.0MaxAmmo=920EjectShells=FALSEMinExtentPosition=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. Quote
Wrench Posted July 9, 2017 Posted July 9, 2017 did you run the modified gun through the gun editor? 1st Gens require that Quote
UllyB Posted July 10, 2017 Author Posted July 10, 2017 (edited) 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 July 10, 2017 by UllyB 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.