TF2/Setting the cap point layout: Difference between revisions

From Valve Developer Community
< TF2
Jump to navigation Jump to search
(moved wip to it's own page)
 
m (reworded)
Line 1: Line 1:
Cap Layout: A string that tells the HUD how to lay out the cap points. It should be a string with indexes of cap points seperated by commas to denote a new line. So <2,0 1> would create a pyramid, with cap point 2 on the top and cap points 0 & 1 on the bottom.
== Setting the Cap Point Layout ==
== Setting the Cap Point Layout ==


This is mostly true for the cap layout section in the [[team_control_point_master]] entity.
For the cap layout section in the [[team_control_point_master]] entity, if these were the index settings for the [[team_control_point]] entities in your map:  
 
If these were the index settings for the [[team_control_point]] entities in your map:  


   0 = Red's Final Control Point
   0 = Red's Final Control Point

Revision as of 21:51, 9 October 2008

Cap Layout: A string that tells the HUD how to lay out the cap points. It should be a string with indexes of cap points seperated by commas to denote a new line. So <2,0 1> would create a pyramid, with cap point 2 on the top and cap points 0 & 1 on the bottom.

Setting the Cap Point Layout

For the cap layout section in the team_control_point_master entity, if these were the index settings for the team_control_point entities in your map:

 0 = Red's Final Control Point
 1 = Neutral Center Control Point
 2 = Blue's Final Control Point

typing:

 <0 1 2>

for the cap layout would give you this in game:

File:Cp guide 01.jpg

and typing:

 <0 2,1>

for the cap layout would give you this in game:

File:Cp guide 02.jpg

But if this is what you wanted:

File:Cp guide 03.jpg

You would have to type

 < 1,0   2>

for the cap layout. Thats:

File:Cp guide 04.gif