Spawn in several spawnrooms

daemon

L1: Registered
Dec 11, 2007
32
2
Hello all, happy christmas and 2008. :laugh:

This holidays i have some time to work on my noob map and i have come across a problem, i hope i can explain myself and you can help me.

My map is CTF, and i want to have 2 spawnrooms per team, just like 2fort, the thing is, whenever i try it, i always spawn in the same room, so my question is, how can i make it, so i can spawn on any of both rooms?

That was confusing, thanks for your help. :blink:
 

DJive

Cake or Death?
aa
Dec 20, 2007
1,465
741
I set it up with a info_player_teamspawn with team your choice.
Then create a trigger brush and CTRL+T to "Respawnroom" with team your choice.

Its completely random as to which you spawn in... but you will spawn between the two.

Note: Make sure they are also named for ease of use later.
 

A Boojum Snark

Toraipoddodezain Mazahabado
aa
Nov 2, 2007
4,775
7,670
It isn't completely random. Valid spawn points are used in the order they are created in the map. So if you put a whole bunch in one room and then copied them to the other, you'd have to go through every spawn point in the first before you spawn in the other room, but they'd still be there and working.
 

DJive

Cake or Death?
aa
Dec 20, 2007
1,465
741
It isn't completely random. Valid spawn points are used in the order they are created in the map. So if you put a whole bunch in one room and then copied them to the other, you'd have to go through every spawn point in the first before you spawn in the other room, but they'd still be there and working.

I did not know that. So what your saying is if i have 2 spawn rooms and i want to have it setup so while not completely random i want a "spread" of spawns i should set it up like?

spawn.jpg


?

If so good info. Would i just name each in order 0,1,2,3,4,ETC
 
S

Squirrelly

yea its been like that for since i can remember using hammer. Id think they would change it for source sdk, but meh :/

I wish there was an entity or option to make it random, because spawning back & forth between spawn rooms, or constantly in the same one is annoying :/