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.
Dependencies
Required DynamicHUD, orbit-lib, ox_lib, and optional seatbelt/inventory integrations.
Configuration
Speeding, weapon stress, whitelisted jobs, blur intensity, and effect intervals.
Events
Stress initialize, gain, relief, and state-bag usage.
Stress Relief Items
Examples for ox_inventory, QB usable items, and ESX usable items.
Troubleshooting
Fix stress display, speed thresholds, whitelisted jobs, and screen effects.
File Structure
What You Edit
Only the public config.lua is needed for normal setup:
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
ensure ox_lib
ensure [framework-resources]
ensure orbit-lib
ensure orbit-dynamichud
ensure orbit-dynamichud-addons
ensure orbit-dynamichud-stressSeatbelt 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.