TF2/Setting the cap point layout: Difference between revisions

From Valve Developer Community
< TF2
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 6: Line 6:
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:  
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
0 = Red's Final Control Point
  1 = Neutral Center Control Point
1 = Neutral Center Control Point
  2 = Blue's Final Control Point
2 = Blue's Final Control Point


typing:
typing:
  <0 1 2>
<0 1 2>
for the cap layout would give you this in game:
for the cap layout would give you this in game:
:[[image:Cp_guide_01.jpg]]
:[[image:Cp_guide_01.jpg]]


and typing:
and typing:
  <0 2,1>
<0 2,1>
for the cap layout would give you this in game:  
for the cap layout would give you this in game:  
:[[image:Cp_guide_02.jpg]]
:[[image:Cp_guide_02.jpg]]


But if this is what you wanted:
but, if you wanted the layout from Hammer's example above:
:[[image:Cp_guide_03.jpg]]
:[[image:Cp_guide_03.jpg]]


You would have to type
you would have to type
  < 1,0  2>
< 1,0  2>


for the cap layout. Thats:
for the cap layout. Thats:
:[[image:Cp_guide_04.gif]]
:[[image:Cp_guide_04.gif]]

Revision as of 09:52, 10 October 2008

From the Hammer editor: 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.

Note.pngNote:Setting cap layout does not work exactly as described above...

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 you wanted the layout from Hammer's example above:

File:Cp guide 03.jpg

you would have to type

< 1,0   2>

for the cap layout. Thats:

File:Cp guide 04.gif