Advanced Backpack System – Deep Pockets & Visual Prop
Enhance the immersion of your RedM server with this comprehensive and powerful backpack system. This script doesn't just add a visual element; it transforms inventory management into a genuine progression mechanic for your players.
✨ Caractéristiques Principales
- 🎒 Props Visuels Synchronisés : Les sacs s'affichent physiquement sur le dos. Le système utilise les StateBags pour une synchronisation fluide entre les joueurs.
- 📦 Extension d'Inventaire Réelle : Augmente dynamiquement la capacité de poids et le nombre de slots (emplacements) dans l'inventaire VORP.
- 🕶️ Commande de Masquage (/sac) : Permet aux joueurs de masquer le visuel du sac (pour le RP ou l'esthétique) tout en conservant les bénéfices de stockage.
- ⚖️ Système d'Encombrement : Si le poids maximal est dépassé, le joueur est automatiquement ralenti (course et accélération véhicule désactivées).
- 🔄 Gestion Automatique : Le script détecte le meilleur sac possédé dans l'inventaire et l'équipe automatiquement.
🛠️ Configuration & Personnalisation
- Fichier Config Complet : Modifiez facilement les modèles, les positions (bones), les rotations, ainsi que les bonus de poids et de slots pour chaque sac.
- Optimisation : Consommation de ressources minimale (0.00ms).
- Compatibilité : Conçu pour les dernières versions de
vorp_coreetvorp_inventory.
[VORP] Advanced Backpack System (Props & Slots)
Enhance your RedM server's immersion with this high-performance, feature-rich backpack system. This script goes beyond aesthetics, turning inventory management into a core progression mechanic for your players.
✨ Key Features
- 🎒 Synchronized Visual Props: Backpacks are physically attached to the player's back. It utilizes StateBags for seamless synchronization across all clients.
- 📦 Real Inventory Expansion: Dynamically increases both weight capacity and the number of slots in the VORP inventory.
- 🕶️ Toggle Command (/sac): Players can hide the backpack model for RP or style purposes while keeping their storage bonuses active.
- ⚖️ Overweight System: If the weight limit is exceeded, the player is automatically slowed down (sprinting and vehicle acceleration are disabled).
- 🔄 Smart Management: The script automatically detects and equips the best backpack available in the player's inventory.
🛠️ Configuration & Customization
- Extensive Config File: Easily adjust models, attachment points (bones), rotations, weight bonuses, and slot counts for every item.
- Optimized: Extremely low resource usage (0.00ms).
- Compatibility: Built for the latest versions of
vorp_coreandvorp_inventory.
📖 README.md (Developer Documentation)
Markdown
# mrsore_backpack
Advanced backpack management system for RedM (VORP Framework).
Handles both visual props and inventory logic (weight/slots).
## 🚀 Installation
1. Drop `mrsore_backpack` into your resources folder.
2. Ensure your items (e.g., `BuyBackpack1`) are created in your VORP database/inventory config.
3. Add `ensure mrsore_backpack` to your server.cfg.
## ⚙️ Technical Logic
- **StateBags:** Stores data in `LocalPlayer.state.Backpack`.
- **Network Sync:** Uses Network IDs to ensure props are visible to all.
- **UI Updates:** Triggers `vorp_inventory:client:updateMaxSlotsUI` to refresh the inventory interface.
## 🔧 Integration
This script triggers a refresh event when the toggle command is used, allowing other accessory scripts (like guitars) to update their position:
`TriggerEvent('mrsore_guitare:Refresh')`
Prix
11.90€