Quote:
Originally Posted by Dores
Create a global var that checks if the player fell. Check his fall velocity in PreThink, and if it's 300(or higher) - assign 1 to the var(or true, whatever).
When he is on the ground, if the var's value is 1/true, then he just fell. Reset the var, and damage the player according to the falling velocity(I don't know what calculation is needed).
|
Thanks for the suggestion but thought of something else. I will add the velocity I need before a player will touch the ground ;).
Quote:
Originally Posted by ConnorMcLeod
Guess all of those value are hardcoded.
|
Damn ... so that means that I have to manipulate the fall velocity of the player. Thanks

.
Quote:
Originally Posted by arkshine
Try with this player offset : m_flFallVelocity ( 251 )
|
It just says the fall velocity, it is good to add some values to make them fall better

.
__________________