Spawn difficulty

Whatpantz

L1: Registered
Mar 26, 2023
12
6
I'm trying to get it so the player could spawn in 1 of 3 rooms per team, however you only ever spawn in 1 of them, the compiler makes no mention of it not functioning, and other online guides have told me to do the exact thing I did. Is KOTH limited to 1 spawn location, or am I doing something else wrong?
 

Attachments

  • koth_1fort_v5.bsp
    21.5 MB · Views: 49
  • koth_1fort_v5.vmf
    17.2 MB · Views: 40
Solution
This has to do with the way TF2 spawn points work.
It isn't actually truly random - it'll try to spawn you at the first spawn point that was placed in Hammer, but if it's occupied by a teammate, it will instead iterate through the list of available spawn points (in the order you placed them in Hammer) and spawn you at the next free one.

So, in playtests with a full server, you will notice a fairly even split between the three rooms, but that's only if the entire team all dies at the same time.
The first and second rooms will be a lot more populated than the third in practice.

The way you can spawn in different rooms in singleplayer is by doing what The Asylum did and switching classes/loadouts.
For some reason, the game will do the...
T

The Asylum

I had no problem spawning in all of the spawnpoints across all 3 spawnrooms per team. I just kept switching classes and throughout that process I cycled through all of both teams spawnpoints. Unless your problem was something else?
 

Whatpantz

L1: Registered
Mar 26, 2023
12
6
Okay, now I'm even more confused, because I've been compiling it over and over for the last 2 days, and I've never gotten a different spawn room
 

Tiftid

the Embodiment of Scarlet Devil
aa
Sep 10, 2016
613
476
This has to do with the way TF2 spawn points work.
It isn't actually truly random - it'll try to spawn you at the first spawn point that was placed in Hammer, but if it's occupied by a teammate, it will instead iterate through the list of available spawn points (in the order you placed them in Hammer) and spawn you at the next free one.

So, in playtests with a full server, you will notice a fairly even split between the three rooms, but that's only if the entire team all dies at the same time.
The first and second rooms will be a lot more populated than the third in practice.

The way you can spawn in different rooms in singleplayer is by doing what The Asylum did and switching classes/loadouts.
For some reason, the game will do the same "iterate through the list" thing it would do if the last spawnpoint you used was taken, so changing classes acts as a way to cycle through all of your spawn points.
 
Solution