koth gamemode#2008
Conversation
…ps are using CTG mode) no dumb coms :/
i think that to win, you need to hold the control point for about 60% of round time...
im going to remove previous _koth maps support (or at least disable it)
score count bugfix
|
textures: NeotokyoRebuild/neoAssets#124 |
|
also in-game logic neo_koth_master (EXACTLY 1 per map, probably a dumb decision and i could have done it without creating a special entity, but I only realized this now) |
Description
This is playable reimplementation of the KOTH gamemode with a few temporary exceptions: you cant earn xp and the bots are not configured for this mode. As far as I remember, these features weren't supported in the original GM version either xD
You can now create such maps in Hammer without using scripts or special entity/brush/trigger names.
neo_koth_master — exactly one must be placed; it controls the rotation of zones
neo_info_koth_zone — the “brain” of the zone
neo_trigger_koth_zone — a trigger for the zone; it must be attached to a neo_info_koth_zone object. Multiple triggers can be used for a single zone
neo_func_koth_border — it is a child object of func_brush, it has some default settings and just changes its color depending on who controls the current zone
I've also added some textures but idk how to add them to this specific pr (maybe I can create another pr in the assets repository)

upd: NeotokyoRebuild/neoAssets#124
upd2:
ive made it like that:
you have N zones, each zone is simply a bunch of triggers that a player must stand in for points to count toward their team (unless players from two different teams are standing in the same zone, in which case no points are awarded to anyone). Out of all these N zones, only one random zone is active. Every X seconds, we deactivate the current zone and select a new one -> the selected zone is visible to players but blocked for Y seconds (just to make it more interesting), and after Y seconds, players can continue earning points for holding the zone.
Toolchain
Planned:
Redesign the score tracking interface (maybe, idk)
balance stuff (xp)
bot behaviour adaptation for this mode
add events (input/output) from neo_koth_zone_info (like when active/captured etc)