Orbit Studios Resourcesorbit-dynamichud-stress
Dependencies
Required and optional dependencies, start order, and failure behavior for Orbit DynamicHUD Stress.
Dependencies
orbit-dynamichud-stress manages the replicated stress state used by DynamicHUD. Source and releases are available on GitHub.
Required
| Dependency | Why it is needed | Link |
|---|---|---|
ox_lib | Loads @ox_lib/init.lua and cache helpers used by the client-side stress logic. | overextended/ox_lib |
orbit-lib | Provides normalized player/job data so whitelisted jobs and framework data work consistently. | orbit-lib |
orbit-dynamichud-v2 | Displays the stress value and reacts to the replicated stress state. | orbit-dynamichud-v2 |
Optional integrations
| Dependency | What it adds | Link |
|---|---|---|
orbit-dynamichud-addons | Provides LocalPlayer.state.seatbelt, which the stress resource uses to choose buckled or unbuckled speeding thresholds. | Docs / GitHub |
| Inventory usable items | Lets consumable items reduce stress through the stress relief item examples. | Stress relief items |
Start order
ensure ox_lib
ensure [framework-resources]
ensure orbit-lib
ensure orbit-dynamichud-v2
ensure orbit-dynamichud-addons
ensure orbit-dynamichud-stressorbit-dynamichud-addons is optional, but without a seatbelt state provider the stress resource cannot know whether the player is buckled.
Feature failure behavior
- Missing ox_lib prevents the client cache and shared runtime helpers from initializing.
- Missing Orbit Lib prevents normalized player/job checks, including the configured job whitelist, from working correctly.
- Missing DynamicHUD leaves the stress state without its tailored HUD display, even when the state still changes.
- Missing seatbelt state makes speeding logic use the unbuckled path because it cannot confirm that the player is buckled.
- Missing usable-item integration does not break base stress gain or effects; it only removes that relief method.