Not exactly Lua related, but since that’s for a SWEP I need for my gamemode, I guess I’ll post here. I ripped a .wav sound from Worms Armageddon, for use as a shooting sound for my SWEP, but for some reason, when I use it, it loops and never stops. I tried replacing that sound with a regular sound from HL2, and it works fine, so I’m guessing it comes from the sound file itself.
So is there anything in a sound file that defines whether the sound should loop or not? I tried editing it with GoldWave, because according to this article, you have to add “cues” to a sound for it to loop. But there isn’t any in my custom sound, and actually, it just looks like a normal sound file with nothing special.
Any idea why it loops?
Here is the sound file
Thanks in advance.