mp_falldamage

From Valve Developer Community
Revision as of 00:30, 9 April 2023 by Lxm6 (talk | contribs)
Jump to navigation Jump to search

This boolean ConVar available in all Source Engine games enables/disables realistic fall-damage on the server.

C++ In code, it is represented by thefalldamageclass, defined in thegame.cppfile.

When mp_falldamage is non-zero players will get hurt based on the amount of units per second the player was travelling when falling, when it's zero, the fall damage will always be 10 when falling from a great height.

Syntax: sv_falldamage 0/1