Half-Life 2 Deathmatch Super gravity gun fix
Jump to navigation
Jump to search
In Half-Life 2 Deathmatch & Portal the Gravity gun won't go into supercharged mode. There is a fix to this. Notice: This only works with physcannon_mega_enabled 0/1 First open weapon_physcannon.cpp At line 70 or near add:
extern ConVar physcannon_mega_enabled;
Now find:
// Do we have the super-phys gun? inline bool IsMegaPhysCannon() { return PlayerHasMegaPhysCannon(); }
and replace it with:
inline bool IsMegaPhysCannon() { // return PlayerHasMegaPhysCannon(); if ( physcannon_mega_enabled.GetBool() ) { return true; } else { return false; } }
Now compile the project and it should work.