Set fall damage.

Author Topic: Set fall damage.  (Read 2132 times)

I would like to see the ability to set the amount of fall height it would take to kill you. Let's say I want fall damage set at 20 bricks high, I will die if I fall down 20 bricks high. If I set it to 60 bricks high I will die from a 60 brick height.


This would have many uses for many different builds.

I could see many advantages from this...

How about a 1 brick fall damage height? :cookieMonster:


How about a 1 brick fall damage height? :cookieMonster:
1/3 brick height is better  :cookieMonster:

dddown, the stai- OH MY GOD
« Last Edit: April 13, 2011, 04:03:41 PM by Orion »

Wouldn't that have to edit player types?

Not playertype... there should be a server-sided script to allow for this ability... t'would be epic

I'm pretty sure that fall damage goes by velocity upon impact, not just height

I'm pretty sure that fall damage goes by velocity upon impact, not just height

Ya, that's entirely correct. It would change the nessecary velocity of a player to kill (fall damage).

Oh, I just thought of another cool idea... someone colliding at a set speed (near falling damage) will deplete their health 1/2. Can recover health overtime too if the scripter wants to go so in-depth. This would be legit falling damage :3

Code: [Select]
function serverCmdFallSpeed(%client,%speed)
{
    if(%client.isAdmin)
    {
        playerStandardArmor.minImpactSpeed = %speed;
        messageAll('','Minimum impact speed is now ' @ %speed);
    }
    else
        messageClient(%client,'','You are not an admin!');
}

Untested


How about 0  :cookieMonster:

No. That is the equivalent of deleting your player.

Someone should make this though ;)


-1 Falling damage Height.

Edit, owait that means no falling damage...  Heh
« Last Edit: March 12, 2011, 05:33:52 PM by SWAT One »