Health

Here you'll learn what each character health component does.

Health Manager (Module)

Manages the parent character's health and death

Starting Health: The starting health of this character (can't be higher than the max).

Starting Max Health: The starting highest health of this character (can be modified at runtime).

Stamina Controller (Module)

Regeneration Rate: How fast will the stamina regenerate.

Regeneration Pause: How much time the stamina regeneration will be paused after it gets lowered.

Run Decrease Rate: By how much will the stamina decrease per second when running.

Jump Take: By how much will the stamina decrease after jumping.

Hunger Manager (Module)

Simple stat, can be increased/lowered and increases/decreases the health after the specified value.

Thirst Manager (Module)

Simple stat, can be increased/lowered and increases/decreases the health after the specified value.

Energy Manager (Module)

Simple stat, can be increased/lowered and increases/decreases the health after the specified value.

Temperature Manager (Module)

Not Implemented

Player Death Handler (Behaviour)

Handles a player's death and respawn behaviour.

Item Drop Type:

All: Drop all items upon death.

Equipped: Drop only the equipped wieldable item.

None: Don't drop any items.

Rigidbody Death Module (Behaviour)

Moves the character's view (in stp's case camera) to a rigidbody and vice-versa when disabled.

Fall Damage Handler (Behaviour)

Handles dealing fall damage to the character based on the impact velocity.

Enable Damage: Is this behaviour enabled?

Min Fall Speed: At which landing speed, the character will start taking damage.

Fatal Fall Speed: At which landing speed, the character will die, if it has no defense.

Last updated