This article's documentation is for anything that uses the Source engine. Click here for more information.

mp_falldamage

From Valve Developer Community
Jump to: navigation, search

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


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