TF2/Respawn Areas

From Valve Developer Community
Jump to navigation Jump to search

A respawn area is a section of the map where players will respawn after they are killed and the respawn timer expires. Players in a friendly respawn area will also be able to change their class at will, without dying. For this tutorial, we will create a respawn area for the RED Team.

Basic respawn areas

This is the simplest respawn area, similar to those found on ctf_2fort. All respawn areas are variations on this format.

The func_respawnroom

The func_respawnroom.

First, create a brush at least 96 units high that touches the floor of the soon-to-be respawn area and stretch out the sides of the brush so they touch the walls inside the room. Tie the brush you just made to the func_respawnroom brush-based entity. Its material should be tools/toolstrigger. Set its team to RED and its Name to something like red_respawn_01.

The info_player_teamspawns

The info_player_teamspawns.

Next, create an info_player_teamspawn in your room, and set its Team property to RED. Then, shift-drag to copy this spawnpoint a few times, making sure each one falls inside your func_respawnroom brush. We'll make 12 spawnpoints for our example.

And that's it, you have a working respawn area for the RED team!

Download the demo map here: (no link yet)

See also

Design theory

  • Respawn areas in large maps should have about 16 spawnpoints in them, to support up to 32 players. You can vary this number, especially if you have multiple spawn rooms for the same team.
  • Respawn areas for the same team should have numbered (or lettered) Name properties to make them easier to keep track of.
  • Respawn areas are often accompanied by Resupply Areas, Team-Specific Doors, and Team-Specific Barriers, but none of these are strictly required. Such combinations are commonly referred to as respawn rooms.