Kingdom Fall
SUMMARY
Players: Single Player
Genre: Souls Like, Third Person
Engine: Unreal Engine 4
My Role: Lead Programmer
Team Size: 8
Teammates Roles:
3 Animators, 3 Modelers, 1 Production Manager
Kingdom Fall is small souls like game inspired by Dark Soul. The goal was to make a limb detachment system in which the more damage you attain the more limbs you lose.
Limbs Detachment
For the limb detachment I used Unreal Engine Skeletal Mesh Component. I had four limbs attach to the main CharacterMesh Component. Then when taking damage I calculate whenever or not the player have taken 25% percent of their health. When that threshold was reach it would choose at random a limb that was attach at the time and simulate the physics for that limb. This will give you the feeling of losing a attach limb from the main character. To reattach the limb all you will need to do is disable the physics with the limb and it will automatically return to the correct socket.