This article relates to the game "Team Fortress 2". Click here for more information.
This article's documentation is for anything that uses the Source engine. Click here for more information.

Team Fortress 2/Basic Map Construction: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
mNo edit summary
 
(17 intermediate revisions by 8 users not shown)
Line 1: Line 1:
Team Fortress 2 levels call for a unique set of map elements, including an intricate system of goal entities that are used to create several different game types. This article attempts to demystify these components, outlining the requirements of each map style.
{{lang|title=Basic Map Construction}}{{TF2 topicon}}{{source topicon}}[[Category:Level Design]][[Category:Team Fortress 2|Basic]]
{{tf2|4}} levels call for a unique set of map elements, including an intricate system of goal entities that are used to create several different game types. This article attempts to demystify these components, outlining the requirements of each map style.


__TOC__
__TOC__


== Common elements ==
== Common Elements ==
 
=== Respawn Rooms ===
=== Respawn rooms ===
{{main|TF2/Respawn Areas|Respawn Rooms}}
Players in TF2 generally respawn in one of their team's designated respawn rooms, somewhat removed from the main combat zones on the map. These areas also serve as a place to heal and re-arm during battle, allow class-switching without a suicide, and are safe havens protected from the enemy team.
Players in TF2 generally respawn in one of their team's designated respawn rooms, somewhat removed from the main combat zones on the map. These areas also serve as a place to heal and re-arm during battle, allow class-switching without a suicide, and are safe havens protected from the enemy team.


If you'd like to build a spawnroom from scratch, see the tutorial [[TF2/Creating a Spawnroom]].
If you'd like to build a spawnroom from scratch, see the tutorial [[TF2/Creating a Spawnroom]].


Building a typical respawn room, such as those on ctf_2fort, means putting together a few independent parts:
Building a typical respawn room, such as those on <code style=padding:0>ctf_2fort</code>, means putting together a few independent parts:
# Most importantly, there is an area that controls the actual player spawning. See [[TF2/Respawn Areas|respawn areas]].
# Most importantly, there is an area that controls the actual player spawning. See [[TF2/Respawn Areas|respawn areas]].
# An invisible barrier at the exit, with a big red no-entry sign, blocks the enemy team from entering. See [[TF2/Team-Specific Barriers|Team-Specific Barriers]].
# An invisible barrier at the exit, with a big red no-entry sign, blocks the enemy team from entering. See [[TF2/Team-Specific Barriers|Team-Specific Barriers]].
# A door that opens only for the friendly team overlaps the barrier, and generally looks a little nicer. See [[TF2/Team-Specific Doors|Team-Specific Doors]].
# A door that opens only for the friendly team overlaps the barrier and generally looks a little nicer. See [[TF2/Team-Specific Doors|Team-Specific Doors]].
# One or more supply lockers provide healing and ammo during battle. See [[TF2/Resupply Areas|resupply areas]].
# One or more supply lockers provide healing and ammo during battle. This is also covered under [[TF2/Resupply Areas|resupply areas]].
 
=== Team-specific doors & barriers ===
These entities keep members of one team from entering certain areas or moving in certain directions.  They are almost always used around respawn areas to keep opponents from [http://en.wikipedia.org/wiki/Spawn_camping spawn camping].  They can also be used on attack/defend maps to keep defenders from moving too far forward in certain areas.  The grate in the upper left approach on the first segment of cp_dustbowl is an example of this.
 
They often appear together, overlapping in the same doorway.  In this case, the barrier reliably blocks players and grenades, while the Door blocks bullets and rockets. 
 
See the [[TF2/Team-Specific Barriers | Team-Specific Barriers]] and [[TF2/Team-Specific Doors | Team-Specific Doors]] articles for more information.
 
=== Resupply areas ===
Resupply areas heal and re-arm players when they approach, and take the form of resupply lockers on all the official maps.  They are usually placed in or near respawn areas, but forward or rear defensive resupply areas exist. 
 
See the [[TF2/Resupply Areas|resupply areas]] article for more information.


=== Health & ammo ===
=== Team-Specific Doors & Barriers ===
Health and Ammo pickups are carefully placed on most maps to increase the strategic importance of remote locations, entice players to use less traveled pathways, or provide support for engineers away from resupply areas.
{{main|TF2/Team-Specific Barriers|Team-Specific Barriers}}
{{main|TF2/Team-Specific Doors|Team-Specific Doors}}
These entities keep members of one team from entering certain areas or moving in certain directions. They are almost always used around respawn areas to keep opponents from [[w:Spawn camping|spawn camping]]. They can also be used on attack/defend maps to keep defenders from moving too far forward in certain areas. The grate in the upper left approach on the first segment of <code style=padding:0>cp_dustbowl</code> is an example of this.


See the [[:Category:Team Fortress 2 Entities|Team Fortress 2 Entities Category]] for more information.
They often appear together, overlapping in the same doorway. In this case, the barrier reliably blocks players and grenades, while the door blocks bullets and rockets.


== Goal systems ==
=== Resupply Areas ===
In addition to the common elements, Team Fortress 2 maps have one of a variety of goal systems.
{{main|TF2/Resupply Areas|Resupply Areas}}
Resupply areas heal and re-arm players when they approach, and take the form of resupply lockers on all the official maps. They are usually placed in or near respawn areas, but forward or rear defensive resupply areas exist.


=== Capture the flag ===
=== Health & Ammo ===
This is the goal system used in the ubiquitous 2fort map, and is denoted with the map prefix '''ctf_'''.  One team must pick up the other team's flag and deliver it to their own capture zone.  It is the simplest goal system to set up.
{{seealso|Category:Team Fortress 2 Entities|Team Fortress 2 Entities Category}}
Health and ammo pickups are carefully placed on most maps to increase the strategic importance of remote locations, entice players to use less traveled pathways, or provide support for engineers away from resupply areas.


A CTF goal system consists of only two [[item_teamflag]]s and two [[func_capturezone]] [[Entity_Creation#Brush-based_entity_creation|brush-based entities]].
== Goal Systems ==
{{main|TF2 Design Theory#Gametype|TF2 Gametypes}}
In addition to the common elements, ''Team Fortress 2'' maps have one of a variety of goal systems.


See [[TF2/Flag Based Goal Systems|Flag Based Goal Systems]] article for more information.
=== Capture the Flag ===
{{main|TF2/Flag Based Goal Systems|Flag-Based Goal Systems}}
This is the goal system used in the ubiquitous 2fort map, and is denoted with the map prefix <code style=padding:0>ctf_</code>. One team must pick up the other team's flag and deliver it to their own capture zone. It is the simplest goal system to set up.


=== Symmetrical control points ===
A CTF goal system consists of only two {{ent|item_teamflag}}s and two {{ent|func_capturezone}} [[Entity creation#Brush-based_entity_creation|brush-based entities]].
The most straightforward of several Control Point goal systems, this is used on Granary and Well, and is denoted with the map prefix '''cp_'''.  Teams start on either end of a symmetrical series of Control Points, and must take control of all the Control Points to score.


A Symmetrical Control Point goal system consists of multiple Control Points, each made out of a [[trigger_capture_area]] and a [[team_control_point]].  A single [[team_control_point_master]] determines some of the game logic, including the layout of the control point icons on the HUD.
=== Symmetrical Control Points ===
{{Seealso|TF2/Creating a Capture Point|Capture Point}}
The most straightforward of several Control Point goal systems, this is used on Granary and Well, and is denoted with the map prefix <code style=padding:0>cp_</code>. Teams start on either end of a symmetrical series of Control Points, and must take control of all the control points to score.


See [[TF2/Creating a Capture Point|Creating a Capture Point]] article for more information.
A Symmetrical Control Point goal system consists of multiple Control Points, each made out of a {{ent|trigger_capture_area}} and a {{ent|team_control_point}}. A single {{ent|team_control_point_master}} determines much of the game logic, including the layout of the control point icons on the HUD.


=== Multiple stage control points ===
=== Multi-Stage Control Points ===
This is the goal system used on cp_dustbowl, and is also denoted with the map prefix '''cp_'''. This is an Attack/Defend goal system, in which one team defends a series of Control Points while the other team tries to take them. The [[TF2/Creating a Linear Gameplay Map|Multiple Round Goal System]] tutorial covers this.
{{main|TF2/Creating a Linear Gameplay Map|Multiple-Round Goal System}}
 
This is the goal system used on <code style=padding:0>cp_dustbowl</code>, and it is also denoted with the map prefix <code style=padding:0>cp_</code>. This is an Attack/Defend goal system, where one team defends a series of Control Points while the other team tries to take them.
=== Territory control ===
This a control point goal system that revolves around a larger strategic map, as in tc_hydro.  This larger map is broken into sections, each with one control point.  During a round, most of the map is closed off, leaving only two control points for the teams to fight over.  When a team takes the enemy point, they gain control of the associated section of the map.  A new round then starts, with a new pair of control points to fight over.  This continues until one team takes the entire strategic map. Territory Control maps are denoted with the prefix '''tc_'''.


=== Payload ===
=== Payload ===
 
{{main|TF2/Creating a Payload Map|Payload}}
This is the other standard Attack/Defend goal system, in which one team has to guide a cart from one end of the map to the other within the allotted time, and the other has to prevent it from reaching its destination. Multiple checkpoints are placed along the way, which add time and prevent the cart from retreating further. Payload maps are denoted with the prefix '''pl_'''.
This is the other standard Attack/Defend goal system, in which one team has to guide a cart from one end of the map to the other within the allotted time, and the other has to prevent it from reaching its destination. Multiple checkpoints are placed along the way, which add time and prevent the cart from retreating further. Payload maps are denoted with the prefix <code style=padding:0>pl_</code>.


=== Payload Race ===
=== Payload Race ===
 
This is a symmetrical version of Payload, in which each team has its own cart to guide to an end point. This takes place in multiple stages; the winner of each round gets bonus distance from the starting point at the beginning of the next one. Payload Race maps are denoted with the prefix <code style=padding:0>plr_</code>.
This is a symmetrical version of Payload, in which each team has its own cart to guide to an end point. This takes place in multiple stages; the winner of each round gets bonus distance from the starting point at the beginning of the next one. Payload Race maps are denoted with the prefix '''plr_'''.


=== Arena ===
=== Arena ===
{{main|TF2/Making an Arena Map|Arena}}
This is a straightforward classic deathmatch mode. The map is built around a single neutral control point, which is initially disabled and sometimes behind a barrier, and enabled after a period of time. The goal is to either kill all members of the opposing team, or to capture the control point. As with Sudden Death in other maps, players do not respawn after they die. Arena maps have the prefix <code style=padding:0>arena_</code>.


This is a straightforward classic deathmatch mode. The map is built around a single neutral control point, which is initially disabled and sometimes behind a barrier, and enabled after a period of time. The goal is to either kill all members of the opposing team, or to capture the control point. As with Sudden Death in other maps, players do not respawn after they die.
=== King of the Hill ===
{{main|TF2/King of the Hill|King of the Hill}}
This is a control point variant with only one control point, which must be captured and then held for a certain amount of time. Each team has its own timer, which ticks down only when that team is in control of the point and pauses if it is captured by the opposing team. The match ends when one of the timers reaches zero. King of the Hill maps are usually very similar in design to Arena maps and are prefixed with <code style=padding:0>koth_</code>.


== Design theory ==
== Design Theory ==
*All of these are very basic ways of constructing a map, and most importantly your map should revolve around most of these factors. Namely, the gameplay type is most important while others are side options. Pick your gameplay type, and build off of that, and plan around it.
*All of these are very basic ways of constructing a map, and most importantly your map should revolve around most of these factors. Namely, the gameplay type is most important while others are side options. Pick your gameplay type, and build off of that, and plan around it.


== See also ==
== See also ==
*[[Team Fortress 2 Level Creation]]
*[[Team Fortress 2 Level Creation]]
*[[TF2_Design_Theory|Team Fortress 2 Design Theory]]
*[[TF2_Design_Theory|''Team Fortress 2'' Design Theory]]
 
[[Category:Level Design]]
[[Category:Team Fortress 2]]

Latest revision as of 15:40, 19 January 2025

English (en)한국어 (ko)Русский (ru)Translate (Translate)

Team Fortress 2 Team Fortress 2 levels call for a unique set of map elements, including an intricate system of goal entities that are used to create several different game types. This article attempts to demystify these components, outlining the requirements of each map style.

Common Elements

Respawn Rooms

Main article:  Respawn Rooms

Players in TF2 generally respawn in one of their team's designated respawn rooms, somewhat removed from the main combat zones on the map. These areas also serve as a place to heal and re-arm during battle, allow class-switching without a suicide, and are safe havens protected from the enemy team.

If you'd like to build a spawnroom from scratch, see the tutorial TF2/Creating a Spawnroom.

Building a typical respawn room, such as those on ctf_2fort, means putting together a few independent parts:

  1. Most importantly, there is an area that controls the actual player spawning. See respawn areas.
  2. An invisible barrier at the exit, with a big red no-entry sign, blocks the enemy team from entering. See Team-Specific Barriers.
  3. A door that opens only for the friendly team overlaps the barrier and generally looks a little nicer. See Team-Specific Doors.
  4. One or more supply lockers provide healing and ammo during battle. This is also covered under resupply areas.

Team-Specific Doors & Barriers

Main article:  Team-Specific Barriers
Main article:  Team-Specific Doors

These entities keep members of one team from entering certain areas or moving in certain directions. They are almost always used around respawn areas to keep opponents from spawn camping. They can also be used on attack/defend maps to keep defenders from moving too far forward in certain areas. The grate in the upper left approach on the first segment of cp_dustbowl is an example of this.

They often appear together, overlapping in the same doorway. In this case, the barrier reliably blocks players and grenades, while the door blocks bullets and rockets.

Resupply Areas

Main article:  Resupply Areas

Resupply areas heal and re-arm players when they approach, and take the form of resupply lockers on all the official maps. They are usually placed in or near respawn areas, but forward or rear defensive resupply areas exist.

Health & Ammo

See also:  Category:Team Fortress 2 Entities

Health and ammo pickups are carefully placed on most maps to increase the strategic importance of remote locations, entice players to use less traveled pathways, or provide support for engineers away from resupply areas.

Goal Systems

Main article:  TF2 Gametypes

In addition to the common elements, Team Fortress 2 maps have one of a variety of goal systems.

Capture the Flag

Main article:  Flag-Based Goal Systems

This is the goal system used in the ubiquitous 2fort map, and is denoted with the map prefix ctf_. One team must pick up the other team's flag and deliver it to their own capture zone. It is the simplest goal system to set up.

A CTF goal system consists of only two item_teamflags and two func_capturezone brush-based entities.

Symmetrical Control Points

See also:  TF2/Creating a Capture Point

The most straightforward of several Control Point goal systems, this is used on Granary and Well, and is denoted with the map prefix cp_. Teams start on either end of a symmetrical series of Control Points, and must take control of all the control points to score.

A Symmetrical Control Point goal system consists of multiple Control Points, each made out of a trigger_capture_area and a team_control_point. A single team_control_point_master determines much of the game logic, including the layout of the control point icons on the HUD.

Multi-Stage Control Points

This is the goal system used on cp_dustbowl, and it is also denoted with the map prefix cp_. This is an Attack/Defend goal system, where one team defends a series of Control Points while the other team tries to take them.

Payload

Main article:  Payload

This is the other standard Attack/Defend goal system, in which one team has to guide a cart from one end of the map to the other within the allotted time, and the other has to prevent it from reaching its destination. Multiple checkpoints are placed along the way, which add time and prevent the cart from retreating further. Payload maps are denoted with the prefix pl_.

Payload Race

This is a symmetrical version of Payload, in which each team has its own cart to guide to an end point. This takes place in multiple stages; the winner of each round gets bonus distance from the starting point at the beginning of the next one. Payload Race maps are denoted with the prefix plr_.

Arena

Main article:  Arena

This is a straightforward classic deathmatch mode. The map is built around a single neutral control point, which is initially disabled and sometimes behind a barrier, and enabled after a period of time. The goal is to either kill all members of the opposing team, or to capture the control point. As with Sudden Death in other maps, players do not respawn after they die. Arena maps have the prefix arena_.

King of the Hill

Main article:  King of the Hill

This is a control point variant with only one control point, which must be captured and then held for a certain amount of time. Each team has its own timer, which ticks down only when that team is in control of the point and pauses if it is captured by the opposing team. The match ends when one of the timers reaches zero. King of the Hill maps are usually very similar in design to Arena maps and are prefixed with koth_.

Design Theory

  • All of these are very basic ways of constructing a map, and most importantly your map should revolve around most of these factors. Namely, the gameplay type is most important while others are side options. Pick your gameplay type, and build off of that, and plan around it.

See also