DisarmThePedLSPDFR Mod for GTA V
Description
After a long time, effort, and dedication, the first version of the DisarmThePed plugin for Grand Theft Auto V Fully LSPDFR Compatible is finally here!
This mod, directly inspired by the “DropTheWeapon Mod” from Fenix2525WOT, allows players to disarm Peds in the game and make them surrender.
This Plugin has been developed with LSPDFR usage in mind, so YOU CAN’T DISARM emergency service members, such as cops, firefighters, SWAT, army, etc.
The Script No Longer Depends on ScriptHookVDotNet.
Features
DisarmThePedLSPDFR.Ini File for Script Configuration: Keyboard and Controller Activation, Disarm Chances, Resist Chances...
Disarm by Keyboard (E) or Controller(DPadRight) Input (Configurable in .ini): The player can Disarm any Ped in the game Aiming at Ped and using Keyboard or Controller.-
Disarm Peds by Shooting on Arms: The player can Disarm any Ped in the game if Shoot the Ped on Arms or Some Upper Body Parts.
Different Ped Responses: After ordering a suspect to drop the weapon, they can react in two ways:
- Dropping the weapon and surrendering
- Attacking the player.
- Flee starting a pursuit.
After Disarm A Suspect by Shooting Him, There are many Reactions for him:
- Depending on Situation, Will Surrender, Flee or Attack to You.
(Plugin Configurable in DisarmThePedLSPDFR.ini)
Keyboard Key and Controller Button: By Default: Keyboard (E) or Controller(DPadRight).
BaseChance: This is the base probability of disarming the character when the disarm key is pressed. By default, it is set to 60.
PedLessHealthChance: Indicates how much the disarm probability increases when the health of the targeted character is less than that of the player.
PedMeleeArmed: How much the disarm probability decreases if the targeted character is armed with a melee weapon.
PedPistolArmed: How much the disarm probability decreases if the targeted character is armed with a pistol.
PedHeavyArmed: How much the disarm probability decreases if the targeted character is armed with a rifle, sniper, or shotgun.
CopsInRadiusChances: How much the disarm probabilities increase if there are more cops in the radius.
NoCopsInRadiusChances: How much the disarm probabilities decrease if there are fewer cops in the radius.
SurrenderProbability: Probabilities of Targeted Character Surrendering After Being Shot in Hand.
FleeProbability: Probabilities of Targeted Character Fleeing After Being Shot in Hand.
AttackProbability: Probabilities of Targeted Character Attacking You After Being Shot in Hand.
EnableNotifications: Enable/Disable Notifications.
EnableVoice: Enable/Disable Yell audio when attempting to disarm the suspect.
Future Features
This section will be updated with planned features for future versions of the mod.
- Enhanced suspect reactions: Improve the interaction between the mod and the game's ragdoll mechanics to provide smoother and more natural reactions for suspects. This includes refining their behaviors after being disarmed to eliminate abrupt transitions and enhance realism.
- Expanded Voice Variety: Currently, the plugin uses a limited selection of voice lines, mainly from the sheriff voice pack. Future updates will introduce a greater variety of male and female voices to enhance realism and immersion.
Installation
- Download the latest release of DisarmThePedLSPDFR from this repository.
- Paste the files into your main GTA V folder.
-
If you were using a previous version of this mod (which depended on ScriptHookVDotNet), delete the following files from the
Scriptsfolder in your GTA V directory:-
DisarmThePed.dll -
DisarmThePed.ini
-
Note: This version has been reworked as an LSPDFR Plugin and no longer requires ScriptHookVDotNet.
Knowns Bugs / Limitations
Weapon respawn on ped inventory, so they keep Shooting - Some Peds (Like Strip Club Security Guards) Are Hardcoded, so will Spawn a New Weapon After Being Disarmed.
(This behavior is related to how certain NPCs are programmed in GTA V and should not affect the overall experience with LSPDFR.)
Suggestions / Bug Report
¡BUG REPORTS AND SUGGESTIONS FOR MOD IMPROVEMENTS ARE WELCOME!
License
Please do not reupload this mod without permission.
Edited by JuanjitoDev
Future Feature Added
What's New in Version 1.0
Released
DisarmThePedLSPDFR 1.0 is a complete overhaul of the code and the approach to the script.
No Longer Depends on ScriptHookVDotNet
The base structure of the script's functionality has been rebuilt, ensuring greater stability, better performance, and increased scalability for future updates.
- The general functionality of the script has been fixed.
- New mechanics have been added for the logic of deciding whether the suspect should be disarmed or not.
- Different reactions have been added depending on various factors.
- Logic functionalities for disarming the suspect when shot in certain parts of the body have been added and improved.
- Many Mayor and Minor Bug Fixes.
Future Updates:
Minor Bug Fixes are Planned.
Short Description
@Fenix2525WOT
for his Mod DropTheWeapon, that has been my inspiration for this mod.
Recommended Comments
Create an account or sign in to comment