custom sound not work
Posted: Tue Feb 17, 2004 3:59 pm
hi
I am trying to add some custom sounds.
i saw tut in this homepage, and i followed that exactly
i recorded helicopter sound from site using recording program. i saved sound file to 18_heli.wav
heres the script i am using:
main:
local.master = spawn ScriptMaster
local.master aliascache 18_heli sound/amb/18_heli.wav soundparms 1.0 0.2 1.0 0.2 200 2000 auto loaded maps "obj dm"
thread mover1_mover
level waittill spawn
end
//--
// mover1_mover
//--
mover1_mover:
wait 1
$speaker1 loopsound 18_heli
end
i never hear sound
never!
never!!!!!!!!!!!!!!!!!!!!!!!!!!!
but...when i changed soundfile in original game
example, below:
main:
local.master = spawn ScriptMaster
local.master aliascache Amb_RainRoof_02 sound/amb/Amb_RainRoof_02.wav soundparms 1.0 0.2 1.0 0.2 200 2000 auto loaded maps "obj dm"
thread mover1_mover
level waittill spawn
end
//--
// mover1_mover
//--
mover1_mover:
wait 1
$speaker1 loopsound Amb_RainRoof_02
end
successful.........
i heared sound(Amb_RainRoof_02)
i can play sound file in original game. but i cant play sound my own custom sound file.
i have to insert helicopter sound to my helicopter map
please help me please
I am trying to add some custom sounds.
i saw tut in this homepage, and i followed that exactly
i recorded helicopter sound from site using recording program. i saved sound file to 18_heli.wav
heres the script i am using:
main:
local.master = spawn ScriptMaster
local.master aliascache 18_heli sound/amb/18_heli.wav soundparms 1.0 0.2 1.0 0.2 200 2000 auto loaded maps "obj dm"
thread mover1_mover
level waittill spawn
end
//--
// mover1_mover
//--
mover1_mover:
wait 1
$speaker1 loopsound 18_heli
end
i never hear sound
never!
never!!!!!!!!!!!!!!!!!!!!!!!!!!!
but...when i changed soundfile in original game
example, below:
main:
local.master = spawn ScriptMaster
local.master aliascache Amb_RainRoof_02 sound/amb/Amb_RainRoof_02.wav soundparms 1.0 0.2 1.0 0.2 200 2000 auto loaded maps "obj dm"
thread mover1_mover
level waittill spawn
end
//--
// mover1_mover
//--
mover1_mover:
wait 1
$speaker1 loopsound Amb_RainRoof_02
end
successful.........
i heared sound(Amb_RainRoof_02)
i can play sound file in original game. but i cant play sound my own custom sound file.
i have to insert helicopter sound to my helicopter map
please help me please