Difference between revisions of "Template:Control Point Timing/doc"

From Team Fortress Wiki
Jump to: navigation, search
(Recreate documentation for Control Point Timing template)
 
m (Added caution message to documentation)
Line 34: Line 34:
 
| ROWS = 8
 
| ROWS = 8
 
}}
 
}}
 +
 +
{{Caution|This is a fairly complex template and the following templates must remain intact for this to continue to operate.}}
 +
* [[Template:Control Point Timing/Decay]]
 +
* [[Template:Control Point Timing/Row]]
 +
* [[Template:Decimal Align]]

Revision as of 06:52, 8 July 2010

This template will generate a control point breakdown for up to six points. Using values from the raw map info. The entity trigger_capture_area contains two values needed, area_time_to_cap and team_numcap_2/3 The value for area_time_to_cap is used for the AREAX parameters, and the team_numcap_2/3 is used for the TEAMX parameters.

There are 10 sections available for this template, 0 though 9, and the multiplier count can be shown by setting ROWS, which defaults to 4.

For example, using values for Badlands:

{{Control Point Timing
| MAPNAME = Badlands
| NAME1 = Control Points 1 & 5
| AREA1 = 1
| TEAM1 = 1
| NAME2 = Control Points 2 & 4
| AREA2 = 8
| TEAM2 = 1
| NAME3 = Control Points 3
| AREA3 = 10
| TEAM3 = 1
| ROWS = 8
}}

Generates

Badlands
Control Point Multiplier Seconds
Control Points 1 & 5 ×1
2 .000
×2
1 .333
×3
1 .091
×4
0 .960
×5
0 .876
×6
0 .816
×7
0 .771
×8
0 .736
Control Points 2 & 4 ×1
16 .000
×2
10 .667
×3
8 .727
×4
7 .680
×5
7 .007
×6
6 .531
×7
6 .171
×8
5 .887
Control Points 3 ×1
20 .000
×2
13 .333
×3
10 .909
×4
9 .600
×5
8 .759
×6
8 .163
×7
7 .713
×8
7 .359


Caution! Caution: This is a fairly complex template and the following templates must remain intact for this to continue to operate.