Jump to content

How does one eliminate fall damage?


Lance
 Share

Recommended Posts

In your FPS player script around line 231 you should find this code.

 

function Script:Collision(entity,position,normal,speed)

if speed>20 then

self:Hurt(100)

end

end

 

You can get the result by either increasing the speed number ( in this case 20 ) to something bigger. This will allow the player to fall from a greater height but will still kill him if its to high.

Or change the hurt value ( in this case 100 ) to something less to still damage the player but not kill him/her. Or you can change this number to zero and the player will experience no damage no matter the height they fall.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...