SimpleGangWar 2.3.3
14,702
132
14,702
132
Grand Theft Auto V script to create a basic battle between two teams.
This script is inspired in Kerosini's Gang War script. The focus of my script is to provide a similar simple script to create instant battles, while providing new customizable settings.
Requirements: ScriptHookV & ScriptHookVDotNet
Installation: extract SimpleGangWar.cs & SimpleGangWar.ini in your scripts folder
Getting started: the unique hotkey (B by default) is used to pass through all the steps to setup the battle scenario. You will see instructions in-game.
During battle, press B twice to stop the battle, or press N to pause/resume peds from spawning.
About SimpleGangWar.ini settings: more info on Github repository or README.txt file View topic on GTA5-Mods.com Forums »
This script is inspired in Kerosini's Gang War script. The focus of my script is to provide a similar simple script to create instant battles, while providing new customizable settings.
Requirements: ScriptHookV & ScriptHookVDotNet
Installation: extract SimpleGangWar.cs & SimpleGangWar.ini in your scripts folder
Getting started: the unique hotkey (B by default) is used to pass through all the steps to setup the battle scenario. You will see instructions in-game.
During battle, press B twice to stop the battle, or press N to pause/resume peds from spawning.
About SimpleGangWar.ini settings: more info on Github repository or README.txt file View topic on GTA5-Mods.com Forums »
First Uploaded: April 25, 2020
Last Updated: July 11, 2021
Last Downloaded: 11 minutes ago
140 Comments
More mods by EnforcerZhukov:
Grand Theft Auto V script to create a basic battle between two teams.
This script is inspired in Kerosini's Gang War script. The focus of my script is to provide a similar simple script to create instant battles, while providing new customizable settings.
Requirements: ScriptHookV & ScriptHookVDotNet
Installation: extract SimpleGangWar.cs & SimpleGangWar.ini in your scripts folder
Getting started: the unique hotkey (B by default) is used to pass through all the steps to setup the battle scenario. You will see instructions in-game.
During battle, press B twice to stop the battle, or press N to pause/resume peds from spawning.
About SimpleGangWar.ini settings: more info on Github repository or README.txt file View topic on GTA5-Mods.com Forums »
This script is inspired in Kerosini's Gang War script. The focus of my script is to provide a similar simple script to create instant battles, while providing new customizable settings.
Requirements: ScriptHookV & ScriptHookVDotNet
Installation: extract SimpleGangWar.cs & SimpleGangWar.ini in your scripts folder
Getting started: the unique hotkey (B by default) is used to pass through all the steps to setup the battle scenario. You will see instructions in-game.
During battle, press B twice to stop the battle, or press N to pause/resume peds from spawning.
About SimpleGangWar.ini settings: more info on Github repository or README.txt file View topic on GTA5-Mods.com Forums »
First Uploaded: April 25, 2020
Last Updated: July 11, 2021
Last Downloaded: 11 minutes ago
2.3.1 changelog:
Add option to limit how many peds spawn per team
Add NeutralPlayer setting
[ENEMY_TEAM]
Models=BallaEast01GMY, BallaOrig01GMY, BallaSout01GMY
Weapons=AssaultRifle, APPistol, SawnOffShotgun, MiniSMG, Pistol50, SniperRifle
Health=120
Armor=15
Accuracy=10
CombatMovement=offensive
CombatRange=far
MaxPeds=6
MaxSpawnPeds=10
[ALLIED_TEAM]
Models=MexGoon01GMY, MexGoon02GMY, MexGoon03GMY
Weapons=CombatPistol, SpecialCarbine, Pistol, Revolver, DoubleBarrelShotgun, SMG, MicroSMG
Health=110
Armor=25
Accuracy=8
CombatMovement=offensive
CombatRange=far
MaxPeds=7
MaxSpawnPeds=11
[SETTINGS]
Hotkey=B
SpawnHotkey=N
MaxPedsPerTeam=8
NoWantedLevel=true
ShowBlipsOnPeds=true
DropWeaponOnDead=false
RemoveDeadPeds=false
RunToSpawnpoint=false
ProcessOtherRelationshipGroups=false
NeutralPlayer=true
SpawnpointFloodLimitPeds=8
SpawnpointFloodLimitDistance=8
IdleInterval=500
BattleInterval=100
@EnforcerZhukov
@ape_aviator Weird, I've tried with your config and worked fine on my side. Are your scripthookv/scripthookvdotnet up to date? Does this happen always, when the battle starts, or randomly during the battle?
@EnforcerZhukov Since a new version of gta was released i've been unable to use the game with mods. The version i have installed was from May 4th, 2022. And this error happens when i launch the game. It leaves about 4 allied units and doesnt spawn any of the enemy team.
@ape_aviator oooh I see, I'll try with the original latest-version of the game then. I tried an outdated version
@EnforcerZhukov The new version of script hook was released today, I am going to try the mod with it to see if it works.
@ape_aviator Just updated mine, seems to be working fine over here
@EnforcerZhukov I finally managed to get it working. I just had to update by scripthook and mess with the settings a bit. Thank you.
how do i stop my allies from killing each other?
@EnforcerZhukov When you will update this mod?
It doesn’t work boss what do I do
[21:21:43] [ERROR] Failed to compile SimpleGangWar.cs with 21 error(s):
at line 179: 'GTA.World' does not contain a definition for 'AddRelationshipGroup'
at line 180: 'GTA.World' does not contain a definition for 'AddRelationshipGroup'
at line 229: 'GTA.UI' does not contain a definition for 'ShowHelpMessage'
at line 234: 'GTA.UI' does not contain a definition for 'ShowHelpMessage'
at line 240: 'GTA.UI' does not contain a definition for 'ShowHelpMessage'
at line 244: 'GTA.UI' does not contain a definition for 'ShowHelpMessage'
at line 248: 'GTA.UI' does not contain a definition for 'ShowHelpMessage'
at line 271: 'GTA.Game' does not contain a definition for 'MaxWantedLevel'
at line 272: 'GTA.Game' does not contain a definition for 'MaxWantedLevel'
at line 306: The best overloaded method compatible with 'GTA.World.GetNearbyPeds(GTA.Ped, float)' has some invalid arguments
at line 306: Argument 1: Cannot convert from 'GTA.Math.Vector3' to 'GTA.Ped'
at line 344: 'GTA.Ped' does not contain a definition for 'DropsWeaponsOnDeath' and no 'DropsWeaponsOnDeath' extension method accepts a first argument of type 'GTA.Ped' to be encountered (you are not using a directive or assembly reference ?)
at line 365: 'GTA.BlipColor' does not contain a definition for 'Orange'
at line 366: 'GTA.Blip' does not contain a definition for 'Name' and no 'Name' extension method accepts a first argument of type 'GTA.Blip' to be found (you are not using a directive or assembly reference ?)
at line 421: The name 'BlipSprite' does not exist in the current context
at line 423: 'GTA.Blip' does not contain a definition for 'Name' and no 'Name' extension method accepts a first argument of type 'GTA.Blip' to be found (you are not using a directive or assembly reference ?)
at line 427: The name 'BlipSprite' does not exist in the current context
at line 428: 'GTA.BlipColor' does not contain a definition for 'Orange'
at line 429: 'GTA.Blip' does not contain a definition for 'Name' and no 'Name' extension method accepts a first argument of type 'GTA.Blip' to be found (you are not using a directive or assembly reference ?)
at line 449: 'GTA.World' does not contain a definition for 'GetAllPeds'
at line 496: 'GTA.Game' does not contain a definition for 'MaxWantedLevel'
Any ideia for how to fix this ?
@Carióceco @0beydavid @Shred Tried it today with latest GTA V, latest ScriptHookV and latest ScriptHookVDotNet. Please make sure the game and both ScriptHookV dependencies are updated!
@EnforcerZhukov It worked at first. But then it's not work again. I've already use latest GTA V version and my ScriptHookV and ScriptHookVDotNet are updated too.
@Shred what problem are you having? I just tried with updated original GTA V and latest ScriptHookV and ScriptHookVDotNet, and seems to keep working fine.
@EnforcerZhukov Sorry i'm late to reply, it doesn't work even without other mod on my game.
@EnforcerZhukov He is right. There are malfunctions happening with the mod. Possible scenarios are usually like in below:
1- enemy doesn't spawn, allies do spawn though but they go on idle mode since there is no enemy
2- none of them spawn
3- enemies do not respawn
in such moments, you can't end the war and start again too. I have to restart scripthook all over again to make it work. However, when i do that, blips in navigation still remains.
@GeroX because unlisted ped dont work like Cartel Guard 2,Cartel Guard this ped are from Cayo perico heist, please fix new added peds @EnforcerZhukov
@EnforcerZhukov unlisted ped dont work and even they are not updated in your ped list https://github.com/crosire/scripthookvdotnet/blob/d1827497495567d810986aa752f8d903853088fd/source/scripting_v2/GTA.Native/PedHash.cs
Like Cartel Guard 2,Cartel Guard
LINK: ( https://wiki.rage.mp/index.php?title=Peds#:~:text=g_m_m_cartelguards_01 )
another ped link: ( https://wiki.rage.mp/index.php?title=Peds#:~:text=g_m_m_cartelguards_02 )
These peds are from Cayo perico heist,
Please fix the newly added peds.
@Aniruddhagp Right, my bad, that link is outdated. Check this other link that is updated whenever ScriptHookVDotNet gets updated:
https://github.com/crosire/scripthookvdotnet/blob/main/source/scripting_v2/GTA.Native/PedHash.cs
The "g_m_m_cartelguards_01" appears as "CartelGuards01GMM"
@EnforcerZhukov Thanks for the reply buddy, this mod is super hot, any guess of the latest update of ScriptHookVDotNet coming 👍🏻👍🏻😄