3CP / KOTH Hybrid Prefab

3CP / KOTH Hybrid Prefab V1

DrLambda

L69: Teeheehee, Member
aa
Feb 18, 2015
458
475
3CP / KOTH Hybrid Prefab - Yeah, but WHY

The download contains a VMF with the logic to set up your own 3CP/KOTH hybrid map.

You will have a working KOTH timer for both teams, overtime etc included, and the win conditions are:

1. Your KOTH timer reaches 0 (overtime included)
2. You capture the other teams last control point.

You can change KOTH timers, capture times etc like you would on a basic KOTH map.

Note 1: The central trigger_capture_area will give you a Hammer error notification because it is adding an output to the KOTH timers, which will be created upon compile. This is unavoidable and you can ignore it.

Note 2: If you want to change the central CP unlock time, please do so in both the tf_logic_koth entity and logic_auto outputs . The auto entity also contains an additional unlock condition if a server admin cancels the "waiting for players" at the beginning of a round.

Usage:
There are two custom visgroups inside the VMF. With the "Sky/Walls/Light" visgroup, you can either make sky, walls and light invisible or visible if you want to run a test compile. The second group, "Readme", just hides the the Readme Notes.

You start by creating a 3CP map. For that, i used the basic entity setup from cp_powerhouse. Then, you add a tf_logic_koth. This already works on a basic level, but the win condition will behave weirdly, only letting a team win if they control all 3 CPs and their clock is at zero with no overtime.
So, you add a game_round_win and set the team and trigger it whenever the last CP is captured to get the 3CP win condition to work.
The KOTH part is a bit trickier. You add an output to the koth timers at the beginning of the round, causing the team to win when the timer reaches zero without checking control points. You have to do it over an output of another entity because the koth timers will only be created upon compile by the tf_logic_koth. Because logic_auto is a fickle mistress, i do that whenever a team starts to cap the central CP for the first time in a round. I also set the team of the game_round_win whenever a team captures the central CP.

Hope you like it!

Read about what i was thinking when creating this gamemode in the first post of the cp_akuchi thread.
 

Jekyllson

L3: Member
Jun 20, 2015
115
67
Just going to add that I made a map with my implimentation of this exact gamemode a while ago. ("while" meaning nearly 3 years)

Combining 5CP with KotH seems to have been something that people have been trying to crack for awhile now! phi, were you able to solv the seemingly difficult problem of people being unwilling to move off of a point in such a gamemode with Cobalt?
 

phi

aa
Nov 6, 2011
832
1,815
No idea because I didn't combine 5cp with Koth, I combined 3cp with Koth. It's probably the only way 3cp could work but I'm still not enjoying the actual meta of the gamemode, it still feels slow and segmented, which I don't know if it can be fixed.
 

Aeix

L3: Member
Feb 14, 2016
147
58
Was waiting for you to release this Doc ;)