Help! A few questions.


(-=Momis=-) #1

So i wanted to know :

  1. How I can make a news sound and script for it
  2. In which script I need to change respawn time and game time.
    Please help!

([rD]MrPink) #2

Respawn and game time is in the .arena file, but I believe it can also be defined in your .script’s worldspawn…


(Drakir) #3

To make a news reel you need to do the following.

You need a sound script with the name of your map placed in the “etmain\sound\scripts” folder. The actuall scriptfile is just a normal .txt document with the .sound extension instead of .txt!

In the mapname.script file u need to add this:

news_mapname
{
	sound sound/vo/mapname/news_mapname.wav
	voice
	streaming
}

Change the “mapname” the name of your map (.bsp) name.
Then u need the actual .wav file placed somewhere, preferably in a folder under /sound named the same as your map.


(Mnemonic) #4

Can somebody tell me whats wrong with my scripts, because I can’t change respawn time at all.

scripts/mymap.arena


{
    map "MyMap"
    longname "MyMap"
    type "wolfmp"
    timelimit 15
    axisRespawnTime 10
    alliedRespawnTime 10
    lmsbriefing "Blahblah"
    briefing "MyMap"
    axiswintext "Final Axis text."
    alliedwintext "Final Allied text."
    mapposition_x 380
    mapposition_y 510

}

and maps/mymap.script


game_manager
{
	spawn
	{
		wm_axis_respawntime 10
		wm_allied_respawntime 10

		wm_set_round_timelimit 15
		wm_number_of_objectives 0
		wm_setwinner -1
	}
}

No objectives anykind in this map, because its for testing only. Respawn time remains in 30 sec :frowning:
So, any suggestions what should I do to change respawn times?


([rD]MrPink) #5

Chances are when you go to run a server, you have the spawn times preset (it often does to me). Hit advanced and change them to what you want them to be, or 0 should set them to what is in your map’s files… I think…


(-=Momis=-) #6

Ok. Thanks, guys. If any problem, i’ll be here :wink: