You are viewing a potentially older version of this package. View all versions.
PolskiAnt-BrainInjuries-2.2.0 icon

BrainInjuries

A brain injuries mod, that adds a little realism to the game. (PATCH 6)

Date uploaded 2 days ago
Version 2.2.0
Download link PolskiAnt-BrainInjuries-2.2.0.zip
Downloads 1174
Dependency string PolskiAnt-BrainInjuries-2.2.0

This mod requires the following mods to function

bonelib-BoneLib-3.2.1 icon
bonelib-BoneLib

A BONELAB mod for making life easier for other mod creators.

Preferred version: 3.2.1

README

| Brain Injuries |

A mod made with passion.

Requirements

BoneLib

Required for mod settings accessible in BoneMenu.

Recommended mods


Installation

Place the .dll file into the Mods folder in your game directory.


What This Mod Does

Adds realistic brain injuries that can occur when an NPC dies from a head wound, unconsciousness and optional gameplay improvements.

Please note that this mod is still in development and may not be perfect! If you have any suggestions or complaints, please contact me (contact details below).


Brain Injuries

Injuries are based on real neurological responses that can occur after fatal brain trauma:

Injury / Reaction Description
Decorticate (Flexor) Abnormal flexion of arms with extension of legs
Decerebrate (Extensor) Full extension of arms and legs with arched back
Fencing Response Asymmetrical arm extension and flexion upon impact
Collapse Complete loss of muscle tension
Flaccid Paralysis Partial initial muscle tension that gradually fades
Forward Buckle Immediate collapse of upper body with little tension in legs
Seizures Severe head trauma causing short seizure attacks

Unconsciousness

A strong enough blow to the head can cause an NPC to lose consciousness temporarily. The NPC will collapse and remain incapacitated for a period of time before recovering.

Only triggered by blunt attacks.


Optional Improvements

  • Reduced Torso Damage — Torso is slightly more durable
  • Reduced Blunt Head Damage — Head is slightly more resistant to blunt force

Settings

All options are available in-game via BoneMenu. All settings are enabled by default.

Setting Description
Knockouts / Unconscious Enables or disables temporary unconsciousness
Brain Injuries Enables or disables posturing and brain injury reactions on death
Seizures Enables or disables seizure attacks
Blunt Seizure Chance % Adjusts the percentage chance of triggering a seizure from blunt head trauma
Piercing Seizure Chance % Adjusts the percentage chance of triggering a seizure from piercing head trauma
Reduced Torso Damage Enables or disables torso damage reduction
Reduced Blunt Head Damage Enables or disables blunt head damage reduction
Immediate Reactions Weights Customizes the frequency scale (e.g. Disabled, Low, Default, High) for individual initial impact reactions
Posturing Types Weights Customizes the frequency scale for individual posturing types (Flexor, Extensor, etc.)
Restore to Default Resets all reaction weights and seizure chances back to their factory values

My Other Mods

  • NoDeathAnimations - Works good with Brain Injuries mod. (Even nessesary for effect)

Special thanks to people who helped with bug reports

  • M1st – for identifying the: spawning limp NPCs issue.

Known issues

  • Level loading time is longer than natural (probably due to clearing NPC's data to prevent memory conflicts)
  • Sometimes spawning NPCs can cause them to go limp (90% sure it's fixed)
  • After resetting weights to default in Bonemenu, buttons will still be shown as old values (I don't know if there is a way to fix it)

Contact

Questions, feedback, or bug reports? Visit my website: PolskiAnt

CHANGELOG

v2.2.0

  • Reworked almost all reactions
  • Reactions now look more natural
  • Reduced default body recoil on bullet impact for some reactions
  • Posturing is now blended into actual body placement
  • Posturing look more natural and realistic including natural imbalance in strength
  • Changed settings
  • Changed injury names
  • Changed weights to more realistic
  • Fixed limp unconsciousness bug
  • Fixed bug where unconscious NPC would die on any damage
  • Fixed bug where not all important muscles were affected by some reactions
  • Fixed bug where NPC tried to T-pose after death
  • Deleted Lazarus reflex - no realistic cases of use
  • Deleted Hemiplegic reaction - was unrealistic
  • Updated README

v2.1.2

  • Updated README

v2.1.1

  • Reorganised settings
  • Added weights in settings for posturing and other reactions
  • Fixed bug where posturing chances were only 50:50

v2.1.0

  • Added seizures

v2.0.0

  • Reworked injuries sytem, now injury is based on weapon, damage etc.
  • Made some injuries more realistic
  • Added more injuries
  • Added postmortem limb stiffening/movement
  • Grouped setting in bonemenu
  • Fixed loggs without color
  • Fixed missing informations in description
  • Updated deprecated bonelib dependency string for mod

v1.2.6

  • Fixed bug where you could spawn ragdolled NPC (not 100% sure)
  • Increased performance a little
  • Fixed wrong memory managment
  • Decreased a little level loading time

v1.2.5

  • Released mod on Thunderstore
  • Fixed NPC not dying while unconscious
  • Fixed unconsciousness being triggered multiple times on the same NPC
  • Added invincibility period (1s) after knockout to prevent instant death

v1.2.0

  • Added BoneMenu settings support (requires BoneLib)
  • Added toggle: Knockouts / Unconscious
  • Added toggle: Brain Injuries
  • Added toggle: Reduced Torso Damage
  • Added toggle: Reduced Blunt Head Damage

v1.1.0

  • Added NPC unconsciousness system (blunt head hits only)
  • NPC recovers after 15 seconds and gets up
  • Fixed NPC freezing instead of ragdolling during unconsciousness

v1.0.0

  • Added brain injury system triggered on head kill
  • Added 5 injury types: Decorticate, Decerebrate, Hemiplegic, Flaccid, Fencing
  • Injuries only trigger on blunt and piercing attacks
  • Added torso damage reduction
  • Added blunt head damage reduction

Show pre-release updates

v0.1.0

  • Alpha release
  • Basic brain injury proof of concept