Closed higps closed 3 years ago
There is a check for CTFGameRules::GameModeUsesUpgrades
in CTFPlayer::OnTakeDamage_Alive
which determines whether the explosive headshot attribute works. There is a detour in this plugin that makes this function it return true
, thus enabling the upgrade.
I'm making a gamemode with giant robots, and we are going to make it compatible with this mode.
One question though, how do you get the explosive headshots to work? In regular TF2 adding the attribute does nothing.
I've looked over the code, but I can't find anything that specifically ties it to that attribute.
Does it have something to do with setting the mode to be mvm?