Patch to add fall damage.

Talk about the development of the emulator and related services.
Check out new and upcoming features to be implemented onto the server.
Forum rules
Before posting on this forum, be sure to read the Terms of Use
User avatar
chaoscode
Posts: 202

Re: Attempt to add falldamage to server.

Post#21 » Fri Dec 26, 2014 5:34 am

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.

Ads
User avatar
Tesq
Posts: 5704

Re: Attempt to add falldamage to server.

Post#22 » Fri Dec 26, 2014 11:06 am

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)
Image

User avatar
chaoscode
Posts: 202

Re: Patch to add fall damage.

Post#23 » Fri Dec 26, 2014 11:22 am

That sounds more like a function of the spell then a check in fall damage.

Sulorie
Posts: 7223

Re: Patch to add fall damage.

Post#24 » Fri Dec 26, 2014 11:24 am

Furthermore don't confuse falling with sliding, which was possible to climb down some slopes.
Dying is no option.

User avatar
Valayare
Posts: 103

Re: Patch to add fall damage.

Post#25 » Fri Dec 26, 2014 12:18 pm

Great job guys :D
Image

User avatar
Morf
Posts: 1247

Re: Patch to add fall damage.

Post#26 » Fri Dec 26, 2014 12:40 pm

Gud stuff tho be aware when zoning u sometimes start by falling from a great height which wud end in death.
Morfee - Shaman / Mynnos - Kotbs / Grubod - Black Orc / Snubz - Squig Herder

User avatar
OldPlayer
Former Staff
Posts: 859

Re: Patch to add fall damage.

Post#27 » Fri Dec 26, 2014 12:42 pm

Image
magicthighs wrote:Finding bugs is what players are for. The RoR team itself doesn't have the people nor the time to do that.

User avatar
chaoscode
Posts: 202

Re: Patch to add fall damage.

Post#28 » Fri Dec 26, 2014 1:21 pm

It is built to filter out every slide I tried. If you want test it and see :)

Ads
User avatar
chaoscode
Posts: 202

Re: Patch to add fall damage.

Post#29 » Fri Dec 26, 2014 1:23 pm

Thats a bug not related to falling damage :P

User avatar
RyanMakara
Posts: 1563

Re: Attempt to add falldamage to server.

Post#30 » Fri Dec 26, 2014 1:37 pm

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.
Image

Who is online

Users browsing this forum: No registered users and 15 guests