PedPurge
PedPurge is a Grand Theft Auto V mod that transforms Los Santos into a full-scale purge event. Designed for Script Hook V .NET, it creates an unpredictable, high-intensity environment where NPCs turn hostile toward both the player and each other — with improved spawning logic, performance optimizations, and customizable chaos levels.
Features
Hostile NPCs Everywhere: AI-controlled peds actively attack the player and each other, creating large-scale street battles.
Smart Spawning System: NPCs are spawned dynamically outside the player’s camera view (no pop-ins) with distance and street snapping for realism. They can spawn in any direction, including behind the player.
Configurable Weapons: Each NPC is given a single weapon from a realistic pool with customizable ammo limits.
Chaotic Traffic (Optional): Civilian drivers may abandon vehicles or drive recklessly. Controlled via the
.inifile.Customizable Atmosphere: Default purge settings use nighttime with smog, but weather and time are fully configurable.
Purge Audio Cue (Optional): Plays a configurable audio track when the purge begins.
Optimized Performance: Batching, nearby-only processing, and distance-based despawns reduce lag compared to older versions.
Interactive Menu (LemonUI):
Start Purge: Activates hostile AI and chaos systems.
Stop Purge: Restores normal behavior and halts audio.
Installation
Install Script Hook V .NET.
Install LemonUI for menu support.
Place
PedPurge.dllinto your GTAVscriptsfolder.Inside
scripts, createPedPurge/audio.(Optional) Place your purge audio file (
ThePurge.wav) intoGTAV/scripts/PedPurge/audio.
Usage
Press F10 (default) to open the PedPurge menu.
Start Purge: Begins the event.
Stop Purge: Ends the event.
Edit the
.inifile to adjust behavior, weather, traffic chaos, NPC counts, weapons, and other options.
Configuration Options (PedPurge.ini)
MenuKey: Change menu activation key.
EnableAudio: Toggle purge audio.
PurgeWeather: Set purge weather (e.g., Smog, Clear, Overcast).
PurgeHour: Time of purge start (24-hour format).
MinPurgeWeaponAmmo / MaxPurgeWeaponAmmo: NPC weapon ammo range.
EnableChaoticTraffic: Toggle chaotic driver behavior.
DisableEmergencyServices: Block emergency response spawns.
AllowNPCsToLeaveVehicles: Allow AI to exit vehicles.
ModPedThreshold: Max NPCs active at once.
ModPedSpawnCount: NPCs spawned per batch.
SpawnIntervalSeconds: Delay between spawn waves.
PedModels: List of ped models to use.
Known Limitations
NPC AI behavior is subject to GTA V’s AI decision-making and may occasionally ignore their firearm in favor of melee.
NPCs in remote areas may not behave aggressively due to base game spawn density rules.
Requirements
Grand Theft Auto V
Edited by SantosMods.dev
New Image, 3.0 Desc Fix
What's New in Version 3.0
Released
Changelog – Version 3.0
-
Improved spawn system to prevent NPCs from appearing within the player’s camera view, ensuring more immersive encounters.
-
Optimized performance by reducing unnecessary processing, adding distance-based despawns, and batching updates for smoother gameplay.
-
Refined chaotic traffic and NPC combat behavior for more natural and varied interactions during the purge event.
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 (Moderate)
AI assisted in obfuscation and script creation.
Scripter: DeputyRyan
Inspiration: DarKKlusteR (LSPDFR User)
Recommended Comments
Create an account or sign in to comment