i have a custom sound which is wav. its in sound/fx
its for a set of sliding doors i have created for the dm map i am working on. here is what i have done
in my script added this.
Code: Select all
local.master = spawn ScriptMaster
local.master aliascache snd_siloalarm sound/fx/siloalarm.wav soundparms 1.1 0.2 0.8 0.2 160 1600 auto loaded maps "obj dm"
level waittill spawn
end
Code: Select all
key: sound_close_end
value: snd_siloalarm
key: sound_close_start
value: snd_siloalarm
key: sound_open_end
value: snd_siloalarm
key: sound_open_start
value: snd_siloalarm
key: classname
value: func_door
key: spawnflags
value: 0
key: speed
value: 12
key: targetname
value: silo1
key: angle
value: 0
prior to doing this i had the wooden door sounds of course, but now none... i know the keys i added above will overide the wooden door sounds, but i thought it would be with the sound i replaced it with.
i also tried setting the sound value to just
Code: Select all
siloalarmCode: Select all
ERROR: Entity: siloalarm needs an alias in ubersound.scr or uberdialog.scr - Please fixshould mention i have tested the .wav file and it works fine as far as i know... i even created a test map and had the same problems, also tried another wav file and still no go



