TF2/Setting the cap point layout: Difference between revisions
Brandished (talk | contribs) (hmmm) |
Brandished (talk | contribs) (added info) |
||
Line 1: | Line 1: | ||
[[Image:tf2_cpl_guide_00.png]] | |||
'''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. | '''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|Do not include the "<" and ">" characters in the caplayout box, they are only listed above to | |||
{{Note|Do not include the "<" and ">" characters in the caplayout box, they are only listed above to mark off the beginning and end of the index string.}} | |||
== Setting the Cap Point Layout == | == Setting the Cap Point Layout == | ||
For the cap layout section in the [[team_control_point_master]] entity | By leaving the cap layout box blank, the control points will be laid out on the HUD in a line from left to right by order of their assigned index values from least to greatest. | ||
For example, if the cap layout section in the [[team_control_point_master]] entity had these index settings for the [[team_control_point]] entities in your map: | |||
0 = Red's Final Control Point | 0 = Red's Final Control Point | ||
Line 10: | Line 15: | ||
2 = Blue's Final Control Point | 2 = Blue's Final Control Point | ||
Leaving the cap layout box blank would give you: | |||
:[[image: | :[[image:tf2_cpl_guide_01.gif]] | ||
You can rearrange the order in the HUD by simply by altering then index values in the caplayout box. | You can rearrange the order in the HUD by simply by altering then index values in the caplayout box. | ||
Line 23: | Line 28: | ||
|} | |} | ||
:[[image: | :[[image:tf2_cpl_guide_02.gif]] | ||
You can also arrange the control points vertical layout in the HUD by separating the index values with commas, all values to the right of the comma would lie underneath the values to the left of the comma. | You can also arrange the control points vertical layout in the HUD by separating the index values with commas, all values to the right of the comma would lie underneath the values to the left of the comma. | ||
Line 34: | Line 39: | ||
|} | |} | ||
:[[image: | :[[image:tf2_cpl_guide_03.gif]] | ||
Line 44: | Line 49: | ||
|- | |- | ||
|align=center valign=top | | |align=center valign=top | | ||
0 1 | 0 2,1 | ||
|align=center | | |align=center | | ||
[[image: | [[image:tf2_cpl_guide_04.gif]] | ||
|- | |- | ||
|align=center valign=top | | |align=center valign=top | | ||
0 2,1 | 1 3,0 2 4 | ||
|align=center | | |||
[[image:tf2_cpl_guide_05.gif]] | |||
|- | |||
|align=center valign=top | | |||
2,0 1 3 4 | |||
|align=center | | |||
[[image:tf2_cpl_guide_06.gif]] | |||
|- | |||
|align=center valign=top | | |||
0 1,2,3 4 | |||
|align=center | | |align=center | | ||
[[image: | [[image:tf2_cpl_guide_07.gif]] | ||
|- | |- | ||
|align=center valign=top | | |align=center valign=top | | ||
1, | 0,1 2 3,4 | ||
|align=center | | |align=center | | ||
[[image: | [[image:tf2_cpl_guide_08.gif]] | ||
|} | |} |
Revision as of 11:35, 27 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.

Setting the Cap Point Layout
By leaving the cap layout box blank, the control points will be laid out on the HUD in a line from left to right by order of their assigned index values from least to greatest.
For example, if the cap layout section in the team_control_point_master entity had these 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
Leaving the cap layout box blank would give you:
You can rearrange the order in the HUD by simply by altering then index values in the caplayout box.
Using: |
2 0 1 |
for your caplayout box would give you this instead of the above: |
You can also arrange the control points vertical layout in the HUD by separating the index values with commas, all values to the right of the comma would lie underneath the values to the left of the comma.
Something like |
0,1,2 |
would give you this in-game: |
Some more examples are below.
Caplayout setting | In-game appearence |
---|---|
0 2,1 |
|
1 3,0 2 4 |
|
2,0 1 3 4 |
|
0 1,2,3 4 |
|
0,1 2 3,4 |