3 point KoTH?

zazuba3

L1: Registered
Jan 30, 2012
1
0
Was wondering if it would be possible to make a KoTH map with 3 points, where the team with the majority of the points has their timer count down, and at 0 wins, and if a team owns all points the timer counts down even faster.
 
Last edited:

Freyja

aa
Jul 31, 2009
2,994
5,813
It would be entirely possible, but would require some mathematical entity work.

Something along the lines of using math_counters and logic_compare to figure out how many points a team owns, then using the inputs to pause/start timer, and to make it countdown faster, removing 2s every second or something.

If you can't figure it out, I'm sure someone could better help you. But it's possible.
 

re1wind

aa
Aug 12, 2009
644
588
math counter ranging from -3 to 3.
blu capturing a point adds one point to the counter
red capturing a point subtracts one point to the counter
when counter reaches -3, red timer is activated.
when counter reaches +3, blu timer is activated

The above system assumes that the countdown is only active when one team controls all three cp's.

That, however, can lead to a very long game.
 

Ravidge

Grand Vizier
aa
May 14, 2008
1,544
2,818
http://dl.dropbox.com/u/1281220/2012-01/koth_3cp_test.zip

There you go, vmf and bsp.
There's a hidden visgroup that enables the "faster clock when owning all cps". I left this OFF because it's terrible, mostly becauTIMEHASBEENADDEDTIMEHASBEENADDEDTIMEHASBEENADDEDTIMEHASBEENADDEDTIMEHASBEENADDEDTIMEHASBEENADDEDTIMEHASBEENADDEDTIMEHASBEENADDED.
Anyway, I left it there (hidden) because you might find something else to do with the "owning all cps" thing.

(also math_counters??.. pfff, terrible)
 
Last edited:
Jan 8, 2011
397
393
http://dl.dropbox.com/u/1281220/2012-01/koth_3cp_test.zip

There you go, vmf and bsp.
There's a hidden visgroup that enables the "faster clock when owning all cps". I left this OFF because it's terrible, mostly becauTIMEHASBEENADDEDTIMEHASBEENADDEDTIMEHASBEENADDEDTIMEHASBEENADDEDTIMEHASBEENADDEDTIMEHASBEENADDEDTIMEHASBEENADDEDTIMEHASBEENADDED.
Anyway, I left it there (hidden) because you might find something else to do with the "owning all cps" thing.

(also math_counters??.. pfff, terrible)

Ravidge, stop. Making fun of us for not knowing what we're doing with entities is Boojum's job.
 

Ravidge

Grand Vizier
aa
May 14, 2008
1,544
2,818
Ravidge, stop. Making fun of us for not knowing what we're doing with entities is Boojum's job.

If it makes you feel any better, I had to ask boojum for help to figure out how to deal with the issue where the mid cp can potentially remain uncapped for the entire game (and thus the koth timer would do nothing on 0:00)