Hi,

This week I would like to talk about some combat GUI elements, player deaths and movement abilities.



GUI

General rule is that you should be able to turn on/off all combat GUI elements, which ever settings you prefer.

We are going to support player health using both graphic indicators and numbers. You can choose one of them, both or nothing.

In general we are trying to use UMG and avoid any low level "Slates".





PLAYER DEATH

First step for us was to plug in ragdoll deaths to the player to avoid extra work for the animator which is not necessary at this stage of development. Deaths will look organic and random without spending valuable resources on it.

Thanks to "Fade" who prepared the ragdoll setup we now have player deaths ready. For later stages we are aiming to plug in some fatalities, so you can easily end up split in half by a fully automatic Gatling gun etc.

Deaths will be dependent on amount of damage , critical strike and/or weapon type/damage which caused the death. Where normal damage should trigger ragdoll and any other fatal (huge) damage should trigger some fatality animation corresponding to damage element and weapon type.

I implemented a basic damage system by which you can kill other players and modifiable player health regeneration.

Once the player health reaches zero or less he dies and the body becomes a ragdoll.

As you can see in the video below there is a development version of the "revive option" when player can re-spawn.

Common practice in games such as Diablo is whenever player dies he/she leaves a tombstone or any kind of interactive beacon for other players to revive him. We really like this mechanic so this will be another addition to our "player death" mechanic.