[Solved] CG_SoundPlaySoundScript: cannot find sound script


(Ricardo_1991) #1

(i’ve searched for this problem, but i couldn’t find anything)

Hello

im new here, in the mapping “world”, and im tring to create my first map

my map is working, the objective is working, the constructibles are working. but i’ve tried to add new things

I’ve tried to add some voice anounce sounds to my map, but they aren’t working.

They are sounds like “get the gold” “construct the assault ramp”, etc, etc

I’ve put the comands on my map script, like:

	    		// *----------------------------------- vo ------------------------------------------*
		wm_teamvoiceannounce 1 "battery_allies_ramp_construct"
		wm_teamvoiceannounce 1 "allies_hq_compost_construct"

		wm_teamvoiceannounce 0 "battery_axis_ramp_stop"
		wm_teamvoiceannounce 0 "axis_hq_compost_construct"
	
		wm_addteamvoiceannounce 1 "battery_allies_ramp_construct"
		wm_addteamvoiceannounce 1 "allies_hq_compost_construct"
	
		wm_addteamvoiceannounce 0 "battery_axis_ramp_stop"
		wm_addteamvoiceannounce 0 "axis_hq_compost_construct"
	
		wm_addteamvoiceannounce 0 "goldrush_axis_gold_defend"
		wm_addteamvoiceannounce 1 "goldrush_allies_gold_get"
	
		wm_teamvoiceannounce 0 "goldrush_axis_gold_defend"
		wm_teamvoiceannounce 1 "goldrush_allies_gold_get"

		// *---------------------------------------------------------------------------------*

The problem is:

When I load my map, and when warmup ends, the sounds aren’t played, and a message like this message appears ( @ console):

CG_SoundPlaySoundScript: cannot find sound script 'goldrush_allies_gold_get'

Only command post VO works

i have a sound/script/mapname.sound, and looks like:

goldrush_allies_gold_get
{
   sound sound/vo/goldrush/allies/hq_goldget.wav
   voice
   streaming
}

And i havn’t scripts for comand post sounds on that .sound script

so… where is the problem? how can i fix it? :expressionless:

ps: sorry for the bad english :stuck_out_tongue:


(Flippy) #2

It’s probably a typo, but you say your sound script is located in:
sound/script/mapname.sound

It should be:
sound/script[u]s[/u]/mapname.sound[u]s[/u]

If it is indeed a typo then I have no idea why it’s not working.
Are you sure you named the file correctly, no typo’s in the mapname?

As for the command post sounds, they already exist, located in “vo_axis.sounds” and “vo_allies.sounds”.


(Ricardo_1991) #3

its correct, \sounds\scripts\mapname.sounds

i’ll check again everything

*solved

thanks Flippy, the problem is this S: \sounds\scripts\mapname.sounds

i must delete him :smiley: thanks