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.
Where the value comes from
Section titled “Where the value comes from”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.
Triggers
Section titled “Triggers”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.
ox_inventory: nothing to wire. The HUD reacts when ox_inventory finishes using the
item, so leave it a normal item that ox_inventory uses up itself: consume = 1, or a
client.usetime like ox_inventory’s own food. Do not point it at
useWidgetItem: that export is for widget locks, and the stress would not change.
QBCore or ESX with the framework’s inventory: the HUD makes the listed items usable itself, and each use takes one from the player’s inventory.
Another inventory: the same, through its adapter. See Inventories.
Screen effects
Section titled “Screen effects”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.
Character effects
Section titled “Character effects”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 |
From your own scripts
Section titled “From your own scripts”exports.aurora_hud:AddStress(10) -- add, negative subtractsexports.aurora_hud:SetStress(50) -- absolute, 0–100local v = exports.aurora_hud:GetStress()Full signatures in Exports.