gemidyne / microtf2

A custom gamemode for Team Fortress 2 - Players compete against each other to get the most points by playing a series of rapid fire microgames in order to win the round!
https://www.gemidyne.com/projects/microtf2
GNU General Public License v2.0
30 stars 16 forks source link

Win area detection improvements #192

Closed safalin1 closed 3 years ago

safalin1 commented 3 years ago

From testing on DFS, got some help from the developers there that suggested using SDKHook(iEntity, SDKHook_StartTouch, OnStartTouch); as a better way of detecting output from trigger_multiples on the map.

I think we still have some places where coordinate Z values are being tested - we should switch these to use map triggers instead with a combination of SDKHook_StartTouch - Bossgame2 uses HookSingleEntityOutput(entity, "OnStartTouch", Bossgame2_OnTriggerTouched, false);, so maybe we should test using that as a starting point