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

Mp falldamage: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
m (Replacing {{console variable}}. This operation was performed by a bot.)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{DISPLAYTITLE:mp_falldamage}}
{{this is a|console variable|name=mp_falldamage}}
This boolean ConVar available in all Source Engine games enables/disables realistic fall-damage on the server.
This boolean ConVar available in all Source Engine games enables/disables realistic fall-damage on the server.


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]]

Latest revision as of 18:43, 7 January 2024

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.

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