vo scripts?? how do they map to wavs?


(Doc_A) #1

Q1: Can anyone explain the following functions?

Goldrush Script says:
wm_teamvoiceannounce 0 “goldrush_axis_tankbar_constructed”
wm_removeteamvoiceannounce 0 “goldrush_axis_tankbar_construct”
wm_removeteamvoiceannounce 0 “goldrush_axis_tankbars_construct”

and how they map to wav files of completely different names like hq_tankbarconst.wav… etc. I don’t see how to make the connection?

I understand 0 = axis… 1 = allies, and that they will go to the sounds\vo\axis folder but the last part of mapping to the wav file isn’t obvious.

Q2: What is removeteamvoiceannounce?

Thanks


(Loffy) #2

I think that script command simply removes that voice (that invisible boss/commander that shouts to you, when you play). Let us say that you play Oasis (what a great map) as allies, and you have breached the Old City wall. Then there is really no need for the new player (the person who joins your team after the wall has fallen) to hear something like: “Breach the old city wall!”, since it has fallen already.
Have you managed to jump the wall, as allied? It is a challenge. I wonder if the map makers made it jumpable on purpose, 'cos it is really easy once you got the hang of it. (Im talking about the way over the flag room, along small ledge, spring, strafe jump and woops you’re over the wall.)
// Loffy


(sock) #3

All the sound descriptions used in scripts are converted to the right wav files by the map sound file. Check the following directory “etmain\sounds\scripts” as it contains a file for each map. In the file for each map is the script definitions and what wav file they will play.

The announcement system is a queue system and you need to add/remove sounds to the queue so they are played correctly.

wm_teamvoiceannounce - plays the wav straightaway and does not add it to the queue. This is really a once only trigger.
wm_addteamvoiceannounce - Adds the wav to the announcement queue. Does not play the sound.
wm_removeteamvoiceannounce - Removes the wav from the announcement queue.

The announcement queue is something you need to manage in the map script file so that the correct sounds are played when any players join the server half way through games.

Sock
:moo:


(DGam3Z) #4

Have you managed to jump the wall, as allied? It is a challenge. I wonder if the map makers made it jumpable on purpose, 'cos it is really easy once you got the hang of it. (Im talking about the way over the flag room, along small ledge, spring, strafe jump and woops you’re over the wall.)

shhhh, :stuck_out_tongue:


(Loffy) #5

This is the enemy, when you plant at north/south gun before the wall is breached: :eek:


(Constra) #6

Loffy i have done it many times too bro :D.


(kamikazee) #7

MASSIVE thread resurrection!
I don’t know if you are aware, but this thread was not touched upon since 2003.


(Flippy) #8

Pmsl… :stuck_out_tongue:

Oh well at least someone used search… (or was VERY bored)

an ontopic answer would be good though lol…


(g-ram) #9

hmm… i have to say thank you for resurrecting this because i would like to know how to make a sound file for someone to be able to do !news on my map. also, i think it was in supergoldrush that if you did !scream then it made a screaming noise. do you guys know anything about this? thanks,
-g-ram


(Flippy) #10

afaik !scream cannot be done by mapping… was probably a map-specific etpub script or something… if that’s possible lol

!news is done like this:

put the .wav file that should play when !news is said (or the audio button in the limbo menu is clicked, same) in “etmain/sound/<mapname>” and call it “news_<mapname>.wav”

For example, goldrush news reel (as it’s called):

etmain/sounds/goldrush/news_goldrush.wav

Then go to “etmain/sound/scripts” and find your map soundscript file ("<mapname>.sounds").
If you don’t have one create one (just create a new notepad file and call it “<mapname>.sounds” (including “”))

In here you put:


news_<mapname>
{
	sound sound/vo/<mapname>/news_<mapname>.wav
	voice
	streaming
}

(Obviously, replace <mapname> by the name of your map.

As long as the format of the wav file is correct it should now work.


(g-ram) #11

so lets say i wanted to do !loser
would i put?:


loser_<mapname> 
{ 
   sound sound/vo/<mapname>/loser_<mapname>.wav 
   voice 
   streaming 
} 


(Flippy) #12

No. That doesn’t work.

The “!news” command is an ETPub command. it only works on ETPub or any other mod that enables it.
Try it in etmain and you will see that it doesn’t work.

The sound that plays when you type “!news” on servers where this mod is enabled is simply the “news reel” that you can also hear when you click the yellow “Play” button next to the objectives in the limbo menu, only now the whole server hears it instead of just you…

So no, changing the name of “news” won’t work, it will just not work at all :stuck_out_tongue:


(g-ram) #13

sorry, i just chose not to read that right there… thanks for your help though