I've been attempting to modify the HABD death system - I'm not sure if any of you have worked with it before. The link is here on the vault:
http://nwvault.ign.c....detail&id=2601
The system is excellent and easy to implement, with a ton of variables. My only issue with it is the actual sequence of death---respawn.
At the moment, the system does this: After bleeding out, it activates the 'ondeath' script. At this point, you drop your items, gold, etc based on what you chose. All fine. What I want to modify is this:
When the player dies, their loot will drop, but also a 'corpse' item. This corpse item should be persistent through server resets to ensure the player can be raised. This is included in HABD, but I believe it only allows you to raise the corpse 'item' at an NPC - ideally, a player could cast raise dead or resurrection to return the player to life at that spot.
Upon death, I want the system to immediately heal the 'dead' player and transport them to a waypoint in a 'death' area. Should the server reset, they should be ported back here. At this point, in a conversation with an NPC, the player can choose to either
a. Respawn where they died
or
b. Respawn at a bind point (Which is called from HABD's database file, already implemented)
UNLESS
They were killed by another PC, in which case they cannot respawn (if possible to detect via scripting.)
I've seen systems very similar to this, like a mix between KDS and HABD. My issue with KDS is that it is inflexible with where you can return to life, and the raise/resurrect on a corpse system is buggy. My issue with HABD is that the respawn system, where you 'respawn' as a ghost and wait for help, is less than ideal, and not befitting of the setting I'm working with.
Any help on this would be hugely appreciated.
Modifié par Azador, 08 juillet 2011 - 06:05 .