- Dec 18, 2010
- 208
- 244
Hey everyone,
I've succeeded in creating a working entity setup for a two-point KOTH map! The mechanics were suggested elsewhere on these forums (don't know by whom), but are as follows:
As far as I know, nobody has made a map with similar mechanics, so I don't know how well an actual map would play. But, you can download the .vmf and play around with it yourself, and if you feel so inclined, make a map with the gametype: http://dl.dropbox.com/u/18787920/tf/koth_doublepoint_logic.vmf
A bit about the entity setup:
In addition to the normal koth entities and an extra team_control_point, I'm also using four logic_branches, a math_counter, two logic_timers, and a logic_case that sends outputs to zz_red_koth_timer and zz_blue_koth_timer, two hidden team_round_timers created at compiletime by the tf_logic_koth. Each control point "contributes" a number to the math_counter, so that the counter is always the sum of a number from control point A (1 if held by BLU, 0 if neutral, -1 if RED) and a number from control point B (3 if held by BLU, 0 if neutral, -3 if RED). The consequence of this is that for each of the nine unique combinations of control point ownership, the math_counter gets set to a unique integer from-4 and 4, which in turn sends the value to a logic_case that pauses and resumes the timers.
Haven't done a great deal of testing, so most likely some things are still buggy. I don't think overtime works correctly yet, and the announcer has a tendency to voicespam while a timer is going down at double speed.
I've succeeded in creating a working entity setup for a two-point KOTH map! The mechanics were suggested elsewhere on these forums (don't know by whom), but are as follows:
- Two control points are unlocked at the beginning of each round
- Holding one of the points while the other is neutral runs your team's timer down like normal
- If both of the teams hold one point each, both timers run down at normal speed simultaneously
- When one team hold both points, that team's timer runs down at twice the normal speed
As far as I know, nobody has made a map with similar mechanics, so I don't know how well an actual map would play. But, you can download the .vmf and play around with it yourself, and if you feel so inclined, make a map with the gametype: http://dl.dropbox.com/u/18787920/tf/koth_doublepoint_logic.vmf

A bit about the entity setup:
In addition to the normal koth entities and an extra team_control_point, I'm also using four logic_branches, a math_counter, two logic_timers, and a logic_case that sends outputs to zz_red_koth_timer and zz_blue_koth_timer, two hidden team_round_timers created at compiletime by the tf_logic_koth. Each control point "contributes" a number to the math_counter, so that the counter is always the sum of a number from control point A (1 if held by BLU, 0 if neutral, -1 if RED) and a number from control point B (3 if held by BLU, 0 if neutral, -3 if RED). The consequence of this is that for each of the nine unique combinations of control point ownership, the math_counter gets set to a unique integer from-4 and 4, which in turn sends the value to a logic_case that pauses and resumes the timers.
Haven't done a great deal of testing, so most likely some things are still buggy. I don't think overtime works correctly yet, and the announcer has a tendency to voicespam while a timer is going down at double speed.
Last edited: