Orbit StudiosOrbit Studios
Orbit Studios Resourcesorbit-dynamichud-stress

Installation

Install the orbit-dynamichud stress addon with speeding stress, weapon stress, state bags, and relief integrations.

Installation

orbit-dynamichud-stress adds the stress state used by orbit-dynamichud. It can increase stress from speeding and weapon usage, reduce stress from custom integrations, and apply blur or ragdoll effects at high stress levels.

Required order

Start ox_lib, orbit-lib, and orbit-dynamichud before orbit-dynamichud-stress.

Use this resource when you want DynamicHUD to manage stress as a replicated player state value. Other resources can read LocalPlayer.state.stress on the client or Player(source).state.stress on the server.

File Structure

fxmanifest.lua
config.lua
client.lua
server.lua

What You Edit

Only the public config.lua is needed for normal setup:

config.lua

Use it to change stress gain chance, speeding thresholds, whitelisted jobs, blur strength, ragdoll timing, and weapon exclusions. Use the stress relief items page when you want cigarettes, consumables, or other inventory items to reduce stress.

Installation

server.cfg
ensure ox_lib
ensure [framework-resources]
ensure orbit-lib
ensure orbit-dynamichud
ensure orbit-dynamichud-addons
ensure orbit-dynamichud-stress

Seatbelt integration

orbit-dynamichud-stress reads LocalPlayer.state.seatbelt when deciding whether to use the buckled or unbuckled speeding threshold.

If you do not use orbit-dynamichud-addons, your own seatbelt resource should set LocalPlayer.state.seatbelt to true or false. Without that state, the stress resource cannot know whether the player is buckled.

On this page