🚨🩸CustomInjuredState🩸🚨
[STABLE VERSION]
[ ENGLISH SECTION ]
❓ About This Mod
Tired of just dying and instantly teleporting to the hospital? CustomInjuredState completely overhauls the injury and death mechanics in LSPDFR to bring a whole new level of realism and immersion to your patrols! 🚔 When your health drops, you don't just drop dead—you fight for your life on the ground while waiting for your backup.
🌟 Key Features
🩹 Critical Phase (Limping): Before completely collapsing, reaching a low health threshold will force your character into a critical state, making you limp and struggle to walk.
🧠 Immersive Player Down State: If you take too much damage, you collapse to the ground. Your screen blurs, a heavy red blood filter appears, and you hear a realistic heartbeat sound effect while you bleed out.
🖥️ Custom On-Screen UI: While incapacitated, a dedicated immersive UI displays your critical status, a live countdown timer, and interactive prompts to either call for an ambulance or request immediate hospital transport. It also features detailed on-screen notifications like EMS incident reports and department text messages.
🛡️ Anti-Wasted System: Taking massive damage (like high falls or explosions) seamlessly triggers the mod's injured state instead of the native instant death screen, keeping your patrol immersive.
🚑 On-Scene EMS Revival: Call for an ambulance! A custom EMS team will rush to your location with a medical bag, assess your injuries, and perform CPR with detailed animations and custom dialogs. Once the procedure is complete, you get back on your feet right on the scene to continue your patrol!
🏥 Hospital Transport: Rescue taking too long? After a configured cooldown on the ground, you can request an immediate hospital transport. Time will pass, and you will wake up inside the nearest hospital wearing a patient outfit, receiving supportive text messages from your department.
🩺 Dynamic NPC Treatment: EMS won't just treat you! They scan the area for dead NPCs and perform CPR on them. Before leaving the scene, paramedics physically pull out a clipboard and write a realistic medical report.
🔊 Auto Panic Button Integration: Automatically triggers a panic button backup when you go down. Fully integrated with Ultimate Backup and Policing Redefined.
🤝 High Compatibility: Built with continuous protection loops to ensure flawless compatibility with external trainers like Menyoo, keeping your injured state active and protected at all times.
⚙️ Fully Customizable: Change keybinds, language, wait times, and toggle features via the
.iniconfig file. A dedicatedDebugModeis also available to generate logs for easy troubleshooting.
📦 Requirements
⚙️ RagePluginHook & LSPDFR (Latest version)
🚔 Ultimate Backup OR Policing Redefined (For the automatic panic button)
🛠️ OpenIV (MANDATORY to install the 2 included
.oivfiles for the logo and EMS props)
💿 Installation
Please refer to the included README.txt. ⚠️ Do not forget to install BOTH .oiv files via OpenIV to ensure all custom medical props (stretcher, medical bag) and notification logos work correctly in-game!
[ SECTION FRANÇAISE ]
❓ À Propos du Mod
Fatigué de mourir et de réapparaître instantanément à l'hôpital ? CustomInjuredState repense complètement les mécaniques de blessure dans LSPDFR pour apporter un réalisme inédit à vos patrouilles ! 🚔 Lorsque votre santé baisse, vous ne tombez pas mort instantanément : vous vous battez pour votre survie au sol en attendant les secours.
🌟 Fonctionnalités Principales
🩹 Phase Critique (Boitement) : Avant de vous effondrer, si votre santé est très basse, votre personnage passera dans un état critique, se mettra à boiter et aura du mal à se déplacer.
🧠 Blessure Immersive au Sol : Si vous prenez trop de dégâts, vous vous effondrez. L'écran devient flou, un filtre rouge sang s'active, et vous entendez les battements de votre cœur pendant que vous perdez votre sang au sol.
🖥️ Interface Utilisateur (UI) Personnalisée : Au sol, une interface dédiée affiche votre état critique, un compte à rebours en temps réel, et les touches interactives pour appeler les secours ou demander un transport à l'hôpital. Le mod inclut aussi des notifications immersives comme des rapports d'intervention EMS complets et des SMS de vos collègues.
🛡️ Système Anti-Mort (Anti-Wasted) : Subir des dégâts massifs (chutes, explosions) ne déclenche pas l'écran de mort natif du jeu, mais vous plonge directement dans l'état critique du mod pour préserver l'immersion.
🚑 Réanimation Réaliste sur Place : Appelez une ambulance ! Une équipe de secours dédiée arrivera avec un sac médical et effectuera une réanimation (CPR) avec des animations détaillées et des dialogues personnalisés. Une fois l'intervention terminée, vous vous relèverez directement sur les lieux pour reprendre votre service !
🏥 Transport Hôpital : Les secours mettent trop de temps ? Après un délai d'attente au sol, vous pouvez demander un transport d'urgence vers l'hôpital. Plusieurs jours passeront, et vous vous réveillerez en tenue de patient, en recevant des SMS de soutien de vos collègues.
🩺 Soin Avancé des PNJ : Les ambulanciers cherchent les PNJ morts pour tenter de les réanimer. Avant de quitter les lieux, ils sortent physiquement un bloc-notes pour rédiger leur rapport médical de fin d'intervention.
🔊 Bouton Panique Automatique : Déclenche automatiquement des renforts d'urgence lorsque vous tombez au sol. Entièrement compatible avec Ultimate Backup et Policing Redefined.
🤝 Compatibilité Totale : Le mod intègre des boucles de protection continues pour garantir une compatibilité parfaite avec les menus externes (comme Menyoo), empêchant toute interruption de votre état critique.
⚙️ 100% Personnalisable : Modifiez les touches, la langue, les délais et activez les fonctions via le fichier
.ini. UnDebugModeest également intégré pour générer des logs et faciliter la résolution de problèmes.
📦 Prérequis
⚙️ RagePluginHook & LSPDFR (Dernière version)
🚔 Ultimate Backup OU Policing Redefined (Pour le bouton panique auto)
🛠️ OpenIV (OBLIGATOIRE pour installer les accessoires médicaux et le logo)
💿 Installation
Référez-vous au fichier README.txt inclus dans l'archive. ⚠️ N'oubliez pas d'installer les DEUX fichiers .oiv avec OpenIV pour que les accessoires (sac médical, brancard) et le logo de notification fonctionnent correctement en jeu !
Edited by Abdul06
What's New in Version 2.1.1
Released
📝 Changelog v2.1.1 (EN)
🌟 Improvements & Features
-Verbose Logging System: Added a dedicated CustomInjuredState.log file to meticulously track mod events, states, and errors to greatly facilitate debugging.The mod only writes to the log file if the DebugMode option is enabled in the .ini file.
-Realistic EMS Report Animation: Medics will now face each other, place the medical bag on the ground, and pull out a clipboard to physically write their final incident report during the 15-second delay before leaving the scene.
-Optimisations
🛠️ Bug Fixes
-CPR Alignment Fix: Corrected the positioning and alignment of paramedics when treating NPCs. Medics will now properly align with the patient's body during the CPR animation.
-Menyoo/External Mod Compatibility: Fixed a critical glitch where opening external menus (like Menyoo's F9 Spooner mode) would strip player invincibility. The injured protection states (invincibility and ignored by AI) are now actively enforced in a continuous loop.
-Aftermath Crash Prevention: Added a safety failsafe (try/catch block) to the post-resuscitation sequence to prevent the mod from silently crashing if a pedestrian or entity is unexpectedly deleted by the game engine.
📝 Changelog v2.1.1 (FR)
🌟 Améliorations & Immersion
-Système de Journalisation (Logs) : Ajout d'un fichier dédié CustomInjuredState.log pour tracer avec précision le déroulement du mod, les états et les erreurs afin de faciliter grandement la correction de bugs.Le mod n'écrit dans le fichier log que si l'option DebugMode est activée dans le fichier .ini.
-Animation de rapport EMS réaliste : Pendant le délai de fin d'intervention, les ambulanciers se regardent, posent leur sac médical au sol et utilisent un bloc-notes pour simuler la rédaction de leur rapport médical avant de quitter les lieux.
-Optimisations
🛠️ Correctifs Majeurs (Bug Fixes)
-Alignement CPR (PNJ) : Correction du placement et de l'alignement des ambulanciers lorsqu'ils soignent un PNJ. Les secours se positionnent désormais parfaitement par rapport au corps pendant l'animation de réanimation.
-Compatibilité Menyoo/Mods Externes : Correction d'un bug critique où l'ouverture de menus externes (comme la touche F9 du Spooner Mode) annulait l'invincibilité. Les protections du joueur (invincibilité et ignorance par l'IA) sont désormais verrouillées en continu.
-Prévention de Crash (Aftermath) : Ajout d'une sécurité (try/catch) lors de la séquence de fin d'intervention pour éviter que le mod ne plante silencieusement si le jeu supprime un PNJ ou une entité de manière imprévue.
Short Description
AI disclosure
The author has disclosed that AI tools were used in creating the following aspects of this file:
- Description
- Mod and Mod Content (Substantial)
AI was used as a programming assistant to help write, structure, and debug the C# code for the mod.
Recommended Comments
Create an account or sign in to comment