You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
gameplay: add a cheat cvar for disabling demoman projectile randomness
Demoman's projectiles (grenades and stickybombs)
are coded to have a random launch velocity
and random spin
however, some competitive environments would
like to turn this functionality off for consistency
(akin to nospread on hitscan weapons)
Copy file name to clipboardExpand all lines: src/game/shared/tf/tf_weaponbase_gun.cpp
+10-3Lines changed: 10 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -57,6 +57,10 @@ DEFINE_THINKFUNC( ZoomIn ),
57
57
END_DATADESC()
58
58
#endif
59
59
60
+
#ifdef GAME_DLL
61
+
ConVar tf_pipebomb_disable_random_launch("tf_pipebomb_disable_random_launch", "0", FCVAR_CHEAT, "Disable random velocity and spin when launching grenades and stickybombs.");
0 commit comments