Page 3 of 5

Re: Attempt to add falldamage to server.

Posted: Fri Dec 26, 2014 5:34 am
by chaoscode
I think this will work for right now. I will look into adding checks for these punts later. Feel more then welcome to do more work on the patch if you want to but I got 5 hours in on this and I want to play some. I had a really shitty day.

Re: Attempt to add falldamage to server.

Posted: Fri Dec 26, 2014 11:06 am
by Tesq
Londo wrote:I believe fall damage in war was based on duration of free fall. It's a simple matter of just keeping track of free fall state and duration (one of values in PLAYER_STATE2 indicates if player is in free fall). If free fall was triggered by ability, then give fall damage immunity for 6-7 seconds. (So players punted off a cliff would die when hitting the ground).

1 sec = no damage
2 seconds 20% damage
3 seconds 60% damage
and so on.
not this is not possible as i stated before when you get knockback from DW bridge and you fall for around 7 seconds you get no damage, KB give you immunity until you touch ground, otherwise play ins some spot would become impossible ppl will get aoe KB to death an it's alredy possible some times


immunity get lost when you touch wall/ground etc ( maybe even other player too with collision not sure about this)

Re: Patch to add fall damage.

Posted: Fri Dec 26, 2014 11:22 am
by chaoscode
That sounds more like a function of the spell then a check in fall damage.

Re: Patch to add fall damage.

Posted: Fri Dec 26, 2014 11:24 am
by Sulorie
Furthermore don't confuse falling with sliding, which was possible to climb down some slopes.

Re: Patch to add fall damage.

Posted: Fri Dec 26, 2014 12:18 pm
by Valayare
Great job guys :D

Re: Patch to add fall damage.

Posted: Fri Dec 26, 2014 12:40 pm
by Morf
Gud stuff tho be aware when zoning u sometimes start by falling from a great height which wud end in death.

Re: Patch to add fall damage.

Posted: Fri Dec 26, 2014 12:42 pm
by OldPlayer
Image

Re: Patch to add fall damage.

Posted: Fri Dec 26, 2014 1:21 pm
by chaoscode
It is built to filter out every slide I tried. If you want test it and see :)

Re: Patch to add fall damage.

Posted: Fri Dec 26, 2014 1:23 pm
by chaoscode
Thats a bug not related to falling damage :P

Re: Attempt to add falldamage to server.

Posted: Fri Dec 26, 2014 1:37 pm
by RyanMakara
MaxHayman wrote:Good work!

I had a look at this. When teleporting, it would cause you to instantly die. Also doing the damage relative to level isn't a good idea. I did it as a percentage of your maximum health.

Let me know your changes.
Fall damage used to be based on the duration of your fall. This way, you'd take a massive hit of damage if you were stuck and 'falling' on an object.