Skip to content

Stress

The triggers, effects and relief of the stress engine in Aurora HUD, and how it coexists with a framework stress system.

Optional stress engine, off by default. Everything here is set in /hud → Admin; no file edit is required.

With the engine on, the HUD raises and lowers stress itself. With it off, the bar shows whatever the framework or another script reports via SetStress.

If the engine is on and the framework also sends stress values, the Support tab flags the conflict.

Each trigger can be switched individually, and each has an adjustable amount.

Trigger Default Amount
Shooting on +2 per burst
Taking damage on +15
High speed on +5
Crashes on +12
Falling off +2
Low health on +2
Fire / drowning off +5

Stress decays on its own at 2 points per minute. Resting adds 2 per minute on top; driving calmly adds 1. Both relievers can be switched off.

Two lists set in the menu: items that relieve stress and items that raise it, each with its own amount. Using the item applies the delta, through the same useWidgetItem hook as the widget locks.

Each effect has a threshold; below it, the effect is off entirely.

Effect Default Threshold
Vignette on 50
Heartbeat pulse on 50
Blur off 80
Desaturation off 80

Intensity scales with distance past the threshold.

Same threshold model, applied to the ped:

Effect Default Threshold
Camera shake on 50
Weapon sway off 50
Sprint fatigue off 80
Stumble off 95
Client
exports.aurora_hud:AddStress(10) -- add, negative subtracts
exports.aurora_hud:SetStress(50) -- absolute, 0–100
local v = exports.aurora_hud:GetStress()

Full signatures in Exports.