DIFF

Configurations for StaminaHandler class

Part of Emote ids

Configurations for StaminaHandler class

Variables

const float STAMINA_CLIMB_THRESHOLD = 42in units
const float STAMINA_DRAIN_CLIMB = 42in units (how much jumping depletes stamina)
const int STAMINA_DRAIN_CROUCHED_SPRINT_PER_SEC = 1in units (how much sprint in crouch depletes stamina)
const float STAMINA_DRAIN_HOLD_BREATH_DURATION = 5.0in seconds, time it takes to increase stamina drain from STAMINA_DRAIN_HOLD_BREATH_START to STAMINA_DRAIN_HOLD_BREATH_END
const float STAMINA_DRAIN_HOLD_BREATH_END = 1.0in units (how much holding breath depletes stamina at the end)
const float STAMINA_DRAIN_HOLD_BREATH_EXPONENT = 3holding breath exponent
const float STAMINA_DRAIN_HOLD_BREATH_START = 0.2in units (how much holding breath depletes stamina at the start)
const float STAMINA_DRAIN_JUMP = 25in units (how much jumping depletes stamina)
const int STAMINA_DRAIN_LADDER_FAST_PER_SEC = 8in units (how much fast ladder climb depletes stamina)
const float STAMINA_DRAIN_MELEE_EVADE = 8in units (how much evade depletes stamina)
const float STAMINA_DRAIN_MELEE_HEAVY = 25in units (how much heavy melee punch depletes stamina)
const float STAMINA_DRAIN_MELEE_LIGHT = 5in units (how much light melee punch depletes stamina)
const int STAMINA_DRAIN_PRONE_SPRINT_PER_SEC = 3in units (how much sprint in prone depletes stamina)
const float STAMINA_DRAIN_ROLL = 5in units (how much roll depletes stamina)
const int STAMINA_DRAIN_STANDING_SPRINT_PER_SEC = 4in units (how much sprint depletes stamina)
const int STAMINA_DRAIN_SWIM_FAST_PER_SEC = 5in units (how much fast swimming depletes stamina)
const float STAMINA_DRAIN_VAULT = 20in units (how much jumping depletes stamina)
const float STAMINA_GAIN_BONUS_CAP = 3.0in units (tells how much extra units can be added at best to stamina regain)
const int STAMINA_GAIN_IDLE_PER_SEC = 5in units (how much of stamina units is gained while iddling)
const int STAMINA_GAIN_JOG_PER_SEC = 2in units (how much of stamina units is gained while jogging)
const int STAMINA_GAIN_LADDER_PER_SEC = 1in units (how much of stamina units is gained while slowly swim)
const int STAMINA_GAIN_ROLL_PER_SEC = 0in units (how much of stamina units is gained while rolling)
const int STAMINA_GAIN_SWIM_PER_SEC = 1in units (how much of stamina units is gained while slowly swim)
const int STAMINA_GAIN_WALK_PER_SEC = 4in units (how much of stamina units is gained while walking)
const float STAMINA_HOLD_BREATH_THRESHOLD_ACTIVATE = 10in units
const float STAMINA_HOLD_BREATH_THRESHOLD_DRAIN = 0in units
const float STAMINA_JUMP_THRESHOLD = 25in units
const float STAMINA_KG_TO_GRAMS = 1000for kg to g conversion
const float STAMINA_KG_TO_STAMINAPERCENT_PENALTY = 1.75in units (by how many units is max stamina bar reduced for each 1 kg of load weight)
const float STAMINA_MAX = 100
const float STAMINA_MELEE_EVADE_THRESHOLD = 8in units
const float STAMINA_MELEE_HEAVY_THRESHOLD = STAMINA_DRAIN_MELEE_HEAVYin units (how many units we need to make a heavy hit in melee)
const float STAMINA_MIN_CAP = 5in units (overload won't reduce max stamina bar under this value)
const float STAMINA_REGEN_COOLDOWN_DEPLETION = 0.45in secs (how much time we will spend in cooldown before the stamina will starts with regeneration)
const float STAMINA_REGEN_COOLDOWN_EXHAUSTION = 0.5
const float STAMINA_ROLL_THRESHOLD = 5in units
const float STAMINA_SYNC_RATE = 0.5in secs
const float STAMINA_VAULT_THRESHOLD = 20in units
const float STAMINA_WEIGHT_LIMIT_THRESHOLD = 6000in grams (weight where the player is not penalized by stamina)