Survival Template Pro
Roadmap
  • Welcome!
  • Getting Started
    • Installation Guide
      • Demo Maps
    • Scene Setup
    • Frequently Asked
    • Integrations
  • Player
    • Character
    • Modules & Behaviours
      • Inventory
        • Item Container
      • Movement
      • Camera
      • Health
      • Building
      • Object Carry
      • Wieldable
      • Interaction
      • Crafting
      • Sleep
      • Audio
  • User Interface
    • UI Behaviours Manager
    • Behaviours
      • UI_Inventory
      • UI_Damage
      • UI_Vitals
      • UI_Wieldables
      • UI_Interaction
      • UI_Sleep
  • Interaction
    • Interactable
      • Demo Interactables
    • Extension
  • Inventory
    • Create Item
      • Item Info
      • Item Settings
      • Properties & Tags
      • Item Pickup
  • Wieldables
    • Overview
  • Surfaces
    • Create Surface
    • Code Examples
Powered by GitBook
On this page
  • Health Manager (Module)
  • Stamina Controller (Module)
  • Hunger Manager (Module)
  • Thirst Manager (Module)
  • Energy Manager (Module)
  • Temperature Manager (Module)
  • Player Death Handler (Behaviour)
  • Rigidbody Death Module (Behaviour)
  • Fall Damage Handler (Behaviour)

Was this helpful?

Export as PDF
  1. Player
  2. Modules & Behaviours

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.

PreviousCameraNextBuilding

Last updated 3 years ago

Was this helpful?