Difference between revisions of "TF2/Modifying the Respawn Time"

From Valve Developer Community
< TF2
Jump to: navigation, search
m
m (language template)
Line 22: Line 22:
 
= See Also =
 
= See Also =
 
[[Team Fortress 2 Level Creation]]
 
[[Team Fortress 2 Level Creation]]
 +
 +
{{otherlang:en}}
 +
{{otherlang:en:ru|TF2/Modifying the Respawn Time:ru}}
  
 
[[Category:Team Fortress 2]]
 
[[Category:Team Fortress 2]]

Revision as of 02:27, 28 March 2009

By default, there is a delay of up to 20 seconds between death and respawn in Team Fortress 2. However, the level designer can designate a custom respawn time for a map, and can even set different respawn times for each team. Remember Spawn time Can Break or Make a map!

Dealing with Spawn Times

Something you want to consider in your map before making spawn time adjustments are:

  • Make sure the entire Layout of your map is Complete. It makes no sense to do this until everything is finalized.
  • Measure the time it takes to reach a goal with every class. While this takes time to do, it can make spawn times much more realistic based on the goal the team should be after.
  • Balance out the time it may take for a Goal to be captured, based on the time it takes for the opposite team to re-spawn, and then travel to the goal. You ideal solution is to have the spawn time based on half of the goal capture time. However this might also change based on how far a team might need to travel to actually get to a Goal.
  • Always make it Fair! It's never a good idea to have one team spawn faster then the other. If so, make them work for it.

After considering all this you can adjust your spawn times to better match how each team should spawn and handle a Goal. Whether that be a Flag or capture point, the Ideal spawn time should always start off low and become longer if a team looses more of it's objectives.

Editing Spawn Times

To start off you'll need a tf_gamerules in the map. It doesn't matter it's exact location, but just to your convenience. This is the entity that controls most of how the gameplay mode in your map plays out.

Note.png Note:  If you already have one of these, you won't need to place a second one!

Theres a few ways that you edit spawn times based on a Goal. Here are a few of the ways:

Capture Area

Based on a capture area, much like a Control Point, you can then edit the spawn time based on a team capturing a control point.

See Also

Team Fortress 2 Level Creation

Template:Otherlang:en Template:Otherlang:en:ru