Light version of Body Health System Redux addon, ported from CoC 1.5r7 to CoTZ. Adds new actor incoming damage registering system which monitors each body part state and outputs to new health HUD.
Ported from: Moddb.com
Thanks to Grokitach for bringing addon back upgraded:
Moddb.com
As medical items in CoTZ represented only by medkits and bandages, this addon port uses simplified healing methods.
Before go into details lets clarify important mechanics. Old total health points is one thing, new body parts health points is another. Both are present and function at the same time.
Once total HP gone - death is imminent as always. New HP designed to emulate long-term injuries distribution between parts of the body with a result of different consequences which not always end with death.
Logic:
- Persistent (blue) HP can be restored with medical kits or sleep (1 hour = +1 body part HP);
- Persistent (blue) HP start to slowly regenerate by itself when you have full health (fully red bar in inventory or fully blue new body icon);
- Temporal (yellow) HP can be restored with bandages;
- If torso or head persistent (blue) HP drop to zero actor will die even if total health is not zero!
Penalties:
- Both legs combined HP determine movement speed;
- If at least one of the legs HP fully depleted actor looses ability to jump, sprint and kick things;
- When crippled it is faster to walk than run;
- If both legs are fully damaged it is only possible to walk and crouch;
- If one arm is damaged actor looses ability to hold heavy items (rifle falls from hands, but pistol or mp5 stays);
- If both arms are damaged actor looses ability to hold any items;
- Serious head injuries cause different vision distortions depending on remaining head HP;
- Torso HP drop below half will introduce short delays for equipping new armors.
Bandages temporarily alleviate effects listed above helping to buy more time before you are ready to treat wounds.
Will definitely increase game difficulty. If you are prone to gamerage do not install this addon.
Smurth's HUD addon compatibility patch included here.
Fixed sleep crash.
How do muggings factor into this? Do muggings still trigger?
Yes, it happened with low health points when I tested. Old HP is still there its just blue figure instead of red bar.
BUG REPORT:
The crotch gauge appears not to be functioning correctly.
I mean, if I were to be shot in the low and danglies, I'd want to know about it. We have the technology!
bone_id = 2 pelvis, still counts as a torso damage. What other penalty for that would you want to have? Impotency?
At least a funny walk.
Had a crash when sleeping..
log:
! [SCRIPT ERROR]: ... of the zone\gamedata\scripts\zzz_player_injuries.script:700: attempt to call field 'get_sleep_hours' (a nil value)
FATAL ERROR
[error]Expression : <no expression>
[error]Function : CScriptEngine::lua_pcall_failed
[error]File : ..\xrServerEntities\script_engine.cpp
[error]Line : 201
[error]Description : fatal error
[error]Arguments : LUA error: ... of the zone\gamedata\scripts\zzz_player_injuries.script:700: attempt to call field 'get_sleep_hours' (a nil value)
Thanks for the report, fixed.
Thanks, bro!
Can someone recommend a hud to use with this addon? Or one that could get a compatibility patch? Most I find have an outline for healthbar (Reenvisioned HUD for example, like in vanilla CoC) and not one floating like in last day, so I don't even bother asking creators of these, because that wouldn't look good..
EDIT: or maybe this mod could get a patch for other hud mods, so that their healthbar is shown, and stamina and health indicators from this mod are gone?
FATAL ERROR
[error]Expression : xml_doc.NavigateToNode(path,index)
[error]Function : CUIXmlInit::InitStatic
[error]File : ui\UIXmlInit.cpp
[error]Line : 155
[error]Description : XML node not found
[error]Argument 0 : body_health_system
[error]Argument 1 : ui\ui_custom_msgs_16.xml
I don't know if it's possible to include a function that include the Body Health System's hud to be disabled with the hotkey "Disable HUD" in game. Is it easy to implement with an ape *** brain like mine ? (: