i followed this thread exactly [url]http://facepunch.com/showthread.php?t=1245552[/url] and the sounds still dont work i get Failed to load sound "sound\runnerswin.mp3", file probably missing from disk/repository for all of them can anyone help?
*
iv had this issue a couple times and it was the mp3 encoding make sure there 44100hz not 48000hz also if you have fastdl they need to sync thats what worked with ours since we have 14 tracks that play at the end of our games and use the same coding but randomized
-- You can add up to 3 sounds for this. Add or delete resource.addfile as you need
resource.AddFile("sound/inowinx1.mp3")
resource.AddFile("sound/inowinx2.mp3")
resource.AddFile("sound/inowinx3.mp3")
resource.AddFile("sound/inowinx4.mp3")
resource.AddFile("sound/inowinx5.mp3")
resource.AddFile("sound/inowinx6.mp3")
resource.AddFile("sound/inowinx7.mp3")
resource.AddFile("sound/trawinx1.mp3")
resource.AddFile("sound/trawinx2.mp3")
resource.AddFile("sound/trawinx3.mp3")
resource.AddFile("sound/trawinx4.mp3")
resource.AddFile("sound/trawinx5.mp3")
resource.AddFile("sound/trawinx6.mp3")
resource.AddFile("sound/trawinx7.mp3")
resource.AddFile("sound/timeesupp.mp3")
-- Remember to change the name of the sounds to the sound you want from above
local function PlayMusic(wintype)
if wintype == WIN_INNOCENT then
BroadcastLua('surface.PlaySound("inowinx'..math.random(1,7)..'.mp3")')
elseif wintype == WIN_TRAITOR then
BroadcastLua('surface.PlaySound("trawinx'..math.random(1,7)..'.mp3")')
elseif wintype == WIN_TIMELIMIT then
BroadcastLua('surface.PlaySound("timeesupp.mp3")')
end
[QUOTE=Sikvibration;39943655]iv had this issue a couple times and it was the mp3 encoding make sure there 44100hz not 48000hz also if you have fastdl they need to sync thats what worked with ours since we have 14 tracks that play at the end of our games and use the same coding but randomized
-- You can add up to 3 sounds for this. Add or delete resource.addfile as you need
resource.AddFile("sound/inowinx1.mp3")
resource.AddFile("sound/inowinx2.mp3")
resource.AddFile("sound/inowinx3.mp3")
resource.AddFile("sound/inowinx4.mp3")
resource.AddFile("sound/inowinx5.mp3")
resource.AddFile("sound/inowinx6.mp3")
resource.AddFile("sound/inowinx7.mp3")
resource.AddFile("sound/trawinx1.mp3")
resource.AddFile("sound/trawinx2.mp3")
resource.AddFile("sound/trawinx3.mp3")
resource.AddFile("sound/trawinx4.mp3")
resource.AddFile("sound/trawinx5.mp3")
resource.AddFile("sound/trawinx6.mp3")
resource.AddFile("sound/trawinx7.mp3")
resource.AddFile("sound/timeesupp.mp3")
-- Remember to change the name of the sounds to the sound you want from above
local function PlayMusic(wintype)
if wintype == WIN_INNOCENT then
BroadcastLua('surface.PlaySound("inowinx'..math.random(1,7)..'.mp3")')
elseif wintype == WIN_TRAITOR then
BroadcastLua('surface.PlaySound("trawinx'..math.random(1,7)..'.mp3")')
elseif wintype == WIN_TIMELIMIT then
BroadcastLua('surface.PlaySound("timeesupp.mp3")')
end[/QUOTE]
that is for TTT though i need help with deathrun
Sorry, you need to Log In to post a reply to this thread.