Mp falldamage: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
m (Edited syntax to match ConVar name)
Line 6: Line 6:
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.
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}}
{{Syntax|mp_falldamage 0/1}}


[[Category:Console Variables]]
[[Category:Console Variables]]

Revision as of 16:38, 15 May 2023

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: mp_falldamage 0/1