Hi everyone,
I have been trying to add a new sound effect to an already existing mod. This is what I did:
I converted the original audio file to 128kbs 44100hz Mono ogg vorbis. I named it "Effect_TractorBeam.ogg" and placed it in the "Sound" folder.
I then opened "SoundEffects.sounddata" in the "Gameinfo" folder and added these lines to the top:
effect
name "Effect_TractorBeam"
fileName "Effect_TractorBeam.ogg"
type "Effect"
is3D TRUE
priority 5
threshold 25000.000000
minAttenuationDist 1000.000000
maxNumPlayingSimultaneously 5
isLooping TRUE
isResident TRUE
minRespawnTime 0.1
fadeInTime 0.0
fadeOutTime 0.0
alternateGroup ""
After that I added +1 to the total count at the top of the file.
Finally I exchanged the old sound effect name in the Buff.entity file with "Effect_TractorBeam".
Unfortunately, the effect does not play in game. Same happens with every other sound I try to add. I have read dozens of threads about sound modding but I'm not finding a solution.
Can anyone spot what I'm doing wrong?
Thank you for your time!