Using Swep Creator: How do I use a custom weapon sound?
2 replies, posted
Swep Creator doesn't explain how to use any weapon sounds other than Half Life 2 sounds. The folder containing the shared.lua file is named "briar_pistol"
I put my primary fire sound in sound/weapons/briar_pistol
I changed the primary sound line to:
SWEP.Primary.Sound = "Weapon_briar_pistol.Single"
Now there is no sound. Could someone please explain to me how to get a custom weapon sound?
BTW, I apologize for posting in the wrong section, and using the wrong tag.
You need to specify the PATH to the file using / relative to sounds folder so if your sound is on the folder sounds/weapons/myweaponamehere/filenamehere it should be SWEP.Primary.Sound = "weapons/folder/shootsound.extensionhere"
Oh! Thanks! I saw another thread that said it was relative to the weapons folder. I tried [I]that[/I] while I was waiting for a reply. I'll try this.
Sorry, you need to Log In to post a reply to this thread.