Template:Control Point Timing/doc

From Team Fortress Wiki
< Template:Control Point Timing
Revision as of 04:44, 15 July 2010 by Org (talk | contribs) (Modified example to match the Map style guide.)
Jump to: navigation, search

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 point 3
| AREA3 = 10
| TEAM3 = 1
| ROWS = 24
}}

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
×9
0 .707
×10
0 .683
×11
0 .662
×12
0 .644
×13
0 .629
×14
0 .615
×15
0 .603
×16
0 .592
×17
0 .581
×18
0 .572
×19
0 .564
×20
0 .556
×21
0 .549
×22
0 .542
×23
0 .536
×24
0 .530
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
×9
5 .656
×10
5 .463
×11
5 .298
×12
5 .156
×13
5 .031
×14
4 .921
×15
4 .822
×16
4 .733
×17
4 .652
×18
4 .578
×19
4 .510
×20
4 .447
×21
4 .389
×22
4 .335
×23
4 .285
×24
4 .237
Control point 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
×9
7 .070
×10
6 .828
×11
6 .623
×12
6 .445
×13
6 .289
×14
6 .151
×15
6 .027
×16
5 .916
×17
5 .815
×18
5 .722
×19
5 .637
×20
5 .559
×21
5 .486
×22
5 .419
×23
5 .356
×24
5 .297


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