Spawnpoints that correspond to certain control points?

Pigzit

L2: Junior Member
Aug 2, 2017
68
24
How do you make spawnpoints that correspond to certain control points being capped? ie a spawnpoint for red only if A has not been capped or both A and B have been capped.
I'm making a Mountain Lab like 3 CP attack and defense map, and I'd like there to be 3 different spawnpoints for red.
Thanks, sorry if this is a stupid or mundane question.
 

ics

http://ics-base.net
aa
Jun 17, 2010
841
541
Just one short example, perhaps not the best but add 3 sets of info_player_teamspawn, set the team to Red and name them spawn_1, spawn_2, and spawn_3. (You need one for each player so technically 3x16 spots.)

Mark the spawn_2 and spawn_3 entities to start as disabled. So now your Red team spawns from the spawn_1 point, which obviously is the closes to the frontlines. When the BLU team captures 1 point, on the trigger_capture_area of the control point, you add on it's output tab "OnEndCap spawn_1 Disable" and another line "OnEndCap spawn_2 Enable". This disables the 1st spawn and enables the second.
 

Pigzit

L2: Junior Member
Aug 2, 2017
68
24
Just one short example, perhaps not the best but add 3 sets of info_player_teamspawn, set the team to Red and name them spawn_1, spawn_2, and spawn_3. (You need one for each player so technically 3x16 spots.)

Mark the spawn_2 and spawn_3 entities to start as disabled. So now your Red team spawns from the spawn_1 point, which obviously is the closes to the frontlines. When the BLU team captures 1 point, on the trigger_capture_area of the control point, you add on it's output tab "OnEndCap spawn_1 Disable" and another line "OnEndCap spawn_2 Enable". This disables the 1st spawn and enables the second.

So for this method, would I tie all of them selected to one entity teamspawn and name that spawn_1? Or would I name each of them spawn_1, 2 and 3.
 

ics

http://ics-base.net
aa
Jun 17, 2010
841
541
You make a spawn area, where you insert 16 times info_player_teamspawn which you all name as spawn_1. Then you make another spawn, and put again 16 of those and name as spawn_2 and so on. Then just disable / enable spawns as you want them. You can use any names as you like, just the entities needs to be correct.
 

Pigzit

L2: Junior Member
Aug 2, 2017
68
24
You make a spawn area, where you insert 16 times info_player_teamspawn which you all name as spawn_1. Then you make another spawn, and put again 16 of those and name as spawn_2 and so on. Then just disable / enable spawns as you want them. You can use any names as you like, just the entities needs to be correct.

That's not what I mean. What I mean is are all of them tied to one entity? Or all of them named the same in groups of 16?
 

henke37

aa
Sep 23, 2011
2,075
515
You can't tie point entities together. That's for brush entities where you tie multiple brushes into one entity.