Stress System
This is a step-by-step installation guide, configuration preview, and full explanation of all settings for legends_stress.
If you lack programming experience, ensure you read each step thoroughly without skipping, as all documentation is essential!
Before submitting a support ticket or following the guides in this documentation, please make sure that you are running the latest version of the resource.
What is legends_stress?
legends_stress is a comprehensive player stress system that adds immersive gameplay effects based on stress levels. Players gain stress from activities like shooting and high-speed driving, and experience visual and audio effects like blur, screen shake, red screen overlay, and heartbeat sounds as stress increases. Stress relief items and yoga mats allow players to reduce their stress levels.
Key Features
- Multi-Framework Support - Compatible with QB-Core, QBX-Core, and ESX frameworks
- Multi-Inventory Support - Works with ox_inventory, qb-inventory, and esx_inventory
- Target System Integration - Supports ox_target and qb-target with auto-detection
- Visual Stress Effects:
- Screen blur at various intensities
- Screen shake with configurable strength
- Red screen overlay at high stress
- Fallout/ragdoll effect at 100% stress
- Audio Stress Effects:
- Heartbeat sound at high stress (85%+)
- Custom sound support (builtin NUI, xsound, interact-sound)
- Stress Gain Sources:
- Shooting weapons (configurable multiplier)
- High-speed driving (configurable multiplier)
- Stress Relief Items:
- Stress Pills - Medical relief with pill animation
- Joints - Relaxation item with smoking animation
- Yoga Mat System:
- 4 color variants (Blue, Gray, Red, Pro)
- Place and pick up yoga mats
- Target interactions for yoga sessions
- Single-user locking system
- Auto-despawn timeout
- Configurable stress relief amount
- Admin Commands - Set player stress levels directly
- Exports - Server and client exports for integration
Need help? Join our Discord (opens in a new tab) for support!