Forward Spawn in a 3CP?

  • Site Migration: See bugs? Report them here. Want something changed or have an idea? Suggest it here.

MythosMann

L1: Registered
Apr 16, 2015
3
Hey y'all, I'm having some trouble getting my forward spawn to work. Red team has two spawns, the first is for the first point, and the other for the other two points. Right now, I have the two sets of info_player_teamspawns (red_playerspawn_1 and red_playerspawn_2). The second set (red_playerspawn_2) starts disabled. When the first point is captured, it disables the first set (red_playerspawn_1) and enables the second. The problem is, at any given time during the game, players will spawn in either room.
I've tried disabling/enabling the func_respawnrooms, but it didn't do anything. Should I name all of the info_player_teamspawns seperately? (eg red_playerspawn_1_01, red_playerspawn_1_02, etc)
It's probably something super obvious and dumb, but any help is appreciated.
 

Da Spud Lord

Occasionally I make maps
aa
Mar 23, 2017
1,341
Are your spawns in a brush or not hovering above the ground? info_player_teamspawn entities need to be floating above the ground to work; lining up the origin with the floor, or putting any part of it against/inside a brush, will cause errors.

You can also check that your logic is working in-game by using "developer 2", which prints all I/O activity to the console. Check to make sure your outputs/inputs are being sent/received properly.
 

MythosMann

L1: Registered
Apr 16, 2015
3
Thanks for the quick reply. I think I figured out the problem. It seems like the second set of playerspawns are enabled automatically, even though I have start disabled set to yes. I set the round timer to disable them OnSetupFinished, and it worked fine, aside from players starting in either during setup. Any ideas how to disable it during setup?
Thanks in advance.