Jump to content

Recommended Posts

Posted

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.

 

Posted (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 by UllyB

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

Loading...
×
×
  • 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..