voiceannounce alarm sound problem


(Wezelkrozum) #1

This is my .script file:


game_manager
{
	spawn
	{
		// Game rules
		wm_axis_respawntime	1
		wm_allied_respawntime	1
		wm_number_of_objectives    2 
		wm_set_round_timelimit	20

		wait 1000

		wm_teamvoiceannounce 0 "alarm1"
		wm_teamvoiceannounce 1 "alarm1"

		wait 5000
		trigger self fog_change

	}
}

The .sounds file:


alarm1
{
	sound sound/color_arena/alarm1.wav
	voice
	streaming
}

And the .wav file plays the sound when you triggers the target_speaker.

Why doesn’t play et the soundfile at mapstart?


(-SSF-Sage) #2

wm_addteamvoiceannounce 0 “alarm1” //if you want latejoins to here it too…
wm_teamvoiceannounce 0 “alarm1”

Btw. If you use the voice with VO sound system, the sound file may not work even if it worked as a target_speaker. There was a good explanation why on this forum. Google for fixwav and you’ll get rid of that prob.


(Wezelkrozum) #3

my sound propertions:
soundtype: PCM
705 kbps
16 bits
mono
44 kHz
wave-file


(IndyJones) #4

44 khz is way too much for ET. ET will handle that, but the file size of such sound is pretty big.


(Wezelkrozum) #5

It has nothing to do with not playing the sound:rolleyes: