i started a new thread
Spawn an entity ? (randomly) (dog: ai_german_hund_dog-real):
/forum/viewtopic.php?p=59746#59746
Moderator: Moderators
Did you ever get an answer to HOW TO make these sounds work WITHOUT restarting the map!!!!Cigs wrote:i still always have to type "restart" in console in order for it to work on the map![]()
like this
map dm/lightpuls
i try it ... lights puls, message prints, NO SOUND!
restart
i try it ... lights puls, message prints, SOUND!
?
how to set the ambient radius?
is it the [mindist] & [maxdist] that set the range in wich we heard the sound ?
BUT, the sounds DO NOT work unless I restart the map from the console.local.master = spawn ScriptMaster
local.master aliascache garage_door_open sound/mechanics/m6l3a_SlidingDoors_Open.wav soundparms 1.0 0.0 1.0 0.0 160 1600 item loaded maps "m moh dm obj "
local.master aliascache garage_door_close sound/mechanics/m6l3a_SlidingDoors_Close.wav soundparms 1.0 0.0 1.0 0.0 160 1600 item loaded maps "m moh dm obj "
local.master aliascache transformer_snd sound/mechanics/Mec_GeneratorRun_01.wav soundparms 1.0 0.0 1.0 0.0 160 1600 item loaded maps "m moh dm obj "
local.master aliascache radio_snd sound/mechanics/Mec_RadioMusic_01.wav soundparms 0.7 0.0 1.0 0.0 250 1600 local streamed maps "m moh dm obj "
local.master aliascache siren_snd sound/mechanics/Mec_Alarm_10.wav soundparms 1.2 0.0 1.0 0.0 12000 12000 item streamed maps "m moh dm obj "
local.master aliascache bell_snd sound/mechanics/Mec_Alarm_02.wav soundparms 1.2 0.0 1.0 0.0 600 5000 item loaded maps "m moh dm obj "
level waitTill prespawn