• Swep.primary.sound Question
    4 replies, posted
Okay so I'm making a swep and I've noticed all the default sounds have a .single file and I just have several .wavs for reloading and firing. Do it merge these into a .single file for my swep or what?
Do you mean the actual sound files are titled something like "weapons_fire-1" or "weapon_fire_single" or do you mean the extension was "single" so a file looked like "weapon_fire.single"?
Yeah like for the m16 it says this SWEP.Primary.Sound = Sound( "Weapon_M4A1.Single" ) In stead of SWEP.Primary.Sound = Sound( "Weapon_M4A1.wav" )
Within the lua code, just change it to the wav extension instead, and make sure the sound file is the same name.
[QUOTE=Lambchild;42138937]SWEP.Primary.Sound = Sound( "Weapon_M4A1.Single" )[/QUOTE] Sounds like that are defined using [URL="http://wiki.garrysmod.com/page/sound/Add"]sound.Add()[/URL] You can either do that for your sounds, or just use the .wav file.
Sorry, you need to Log In to post a reply to this thread.