Well, you can do this if you don't want to mess with your SVN files:
Create a new file:
Code:
Msg("=== Adding Extra Sounds ===\n")
local WireSounds = {
["Turret Alarm"] = "npc/turret_floor/alarm.wav",
Laugh = "vo/npc/Barney/ba_laugh01.wav",
["Female Uhoh"] = "vo/npc/female01/uhoh.wav"
}
for k,v in pairs(WireSounds) do
list.Set("WireSounds",k,{wire_soundemitter_sound=v});
end Save it as
cl_extrasounds.lua in
wire\lua\autorun\client\.
You can easily add sounds, without messing up.
!Beware!- Description without space: Laugh
- Description with space: ["Female Uhoh"]
- And don't forget the , after each line except the last one.
Happy adding!
Bookmarks