Bodyguard Squads 1.2.1
7.966
93
-
3 de febrero de 2022
With Eddlm permission (here), I updated his awesome mod to work with the latest NativeUI, ScriptHookV and ScriptHookVDotNet versions.
Check the changelog below for more info.
Also, check the original mod page for all previous screenshots, videos and changelogs: here.
Changelog 1.2.1
- Fixed script loading at start.
- Fixed auto-generate .ini file if not found.
Changelog 1.2
- Mod updated to work with NativeUI v1.9.1, ScriptHookV v1.0.2545.0 and ScriptHookVDotNet v3.4.0.
- Added 3 more squads (total of 7 squads at your service).
- Added a Settings menu entry. Now you can reset/load/save squad settings from/to the .ini file.
- Fixed bug where squads were not following their leader when spawned.
Features under development:
- Replace NativeUI requirement with LemonUI.
- Add a Random option and more choices to weapons, vehicles and models.
- Recruit wandering peds. Screenshot preview.
- Change squad command controls to the same used as Freedom Fighters game (1 - Regroup Single/All, 2 - Attack Single/All, 3 - Defend Single/All). Screenshot preview.
Original description (Updated)
Spawn up to SEVEN independent squads and make them do stuff!
MAIN FEATURES
- Choose their weapon, vehicle and model! (Add vehiclemodel and weaponmodel options to advanced_bodyguards.ini so you guys can add as many weapons and vehicles as needed. Check the weapon names here.)
- Complete driving abilities, from escorting you to chasing who you want them to. They can even attach trailers to their truck, or other vehicles to their towtruck!
- Complete heli flying abilities, including rappeling, landing, and hooking vehicles with the Cargobob!
- Make them cooperate, kill eachother or go after you!
- Command them in combat, setting their priority targets!
- Tweak their behavior to your likings!
- Do races with them!
- Enter their vehicle as passenger [Space] let them drive for you!
- Save squad settings to the .ini file so you don't have to manually change it everytime you load the mod!
Boats and planes are not supported at the moment.
OTHER, MORE COMPLEX FEATURES
Racing:
- To set up a race, set a waypoint on your map, where the first control point should be. Then, click on the Add Waypoint option inside the new Race Commands submenu. You will see there is now a white blip on the map.
- Repeat for the following race waypoints, being the last one the finish line. It should look like this.
- Guide the squad(s) to where you want to start the race and click on Start race, they will drive through each race waypoint and stop at the last one.
Custom relationships with other RelationshipGroups:
- You can now make the Squads hate certain relationshipgroups, like the cops or the Ballas. Check the Squad>Behavior>Relationships menu.
Here is a list with all the vanilla RelationshipGroups.
Setting up custom models for your squad:
- 1. Open the advanced_bodyguards.ini you will find in your scripts folder.
- 2. Find "CustomStyle1Name" and change the value (Mexicans) to the Faction name you want.
- 3. Change the values of all the CustomStyle1ModelX you will find below, providing a valid model name, like s_m_m_movalien_01, for example. Repeat the values if you don't have enough model names to fill all four inputs.
- Save the file and start the game.
Follow the same procedure with the second custom faction defined in the .ini.
REQUIREMENTS
.NET Framework v4.8
Visual C++ 2015
ScriptHookV v1.0.2545.0
ScriptHookVDotNet v3.4.0
NativeUI v1.9.1
How to install
Extract the files into /Grand Theft Auto V/scripts/.
Video Tutorial, thanks to 2Goodyy for making it!
How to use
Pressing Z will open the Guard Commands menu, letting you select wich squad you want to handle.
Commands
Press ALT to enter commands mode. Instead of shooting, you will issue commands until you exit the mode pressing ALT again.
The commands you can issue depend on the Squad Leader's situation. Here's a list of currently supported commands and situations:
Squad is on foot
- Aim+click at ground = Run there
- Aim+click at a ped = Attack him
- Aim+click at a vehicle = Enter that vehicle
Squad is on vehicle:
- Aim+click at ground = Drive there
- Aim+click at a ped = Attack him from vehicle
- Aim+click at other vehicle = Chase that vehicle
- Aim+click at other squads' vehicle = escort that vehicle
- Aim+click at their own vehicle = Leave the vehicle
Latest versions feature orders issued from the menu, allowing you to manage them while they're doing stuff.
KNOWN BUGS
- Police peds don't like you in their cars, and will enter a neverending loop of leaving the car and entering again.
- If the Squad is the Army or the Police, they will give you 2 stars if you aim directly at them.
Subido por primera vez: 27 de enero de 2022
Última actualización: 28 de enero de 2022
Descarga más reciente: hace 6 horas
111 Comentarios
With Eddlm permission (here), I updated his awesome mod to work with the latest NativeUI, ScriptHookV and ScriptHookVDotNet versions.
Check the changelog below for more info.
Also, check the original mod page for all previous screenshots, videos and changelogs: here.
Changelog 1.2.1
- Fixed script loading at start.
- Fixed auto-generate .ini file if not found.
Changelog 1.2
- Mod updated to work with NativeUI v1.9.1, ScriptHookV v1.0.2545.0 and ScriptHookVDotNet v3.4.0.
- Added 3 more squads (total of 7 squads at your service).
- Added a Settings menu entry. Now you can reset/load/save squad settings from/to the .ini file.
- Fixed bug where squads were not following their leader when spawned.
Features under development:
- Replace NativeUI requirement with LemonUI.
- Add a Random option and more choices to weapons, vehicles and models.
- Recruit wandering peds. Screenshot preview.
- Change squad command controls to the same used as Freedom Fighters game (1 - Regroup Single/All, 2 - Attack Single/All, 3 - Defend Single/All). Screenshot preview.
Original description (Updated)
Spawn up to SEVEN independent squads and make them do stuff!
MAIN FEATURES
- Choose their weapon, vehicle and model! (Add vehiclemodel and weaponmodel options to advanced_bodyguards.ini so you guys can add as many weapons and vehicles as needed. Check the weapon names here.)
- Complete driving abilities, from escorting you to chasing who you want them to. They can even attach trailers to their truck, or other vehicles to their towtruck!
- Complete heli flying abilities, including rappeling, landing, and hooking vehicles with the Cargobob!
- Make them cooperate, kill eachother or go after you!
- Command them in combat, setting their priority targets!
- Tweak their behavior to your likings!
- Do races with them!
- Enter their vehicle as passenger [Space] let them drive for you!
- Save squad settings to the .ini file so you don't have to manually change it everytime you load the mod!
Boats and planes are not supported at the moment.
OTHER, MORE COMPLEX FEATURES
Racing:
- To set up a race, set a waypoint on your map, where the first control point should be. Then, click on the Add Waypoint option inside the new Race Commands submenu. You will see there is now a white blip on the map.
- Repeat for the following race waypoints, being the last one the finish line. It should look like this.
- Guide the squad(s) to where you want to start the race and click on Start race, they will drive through each race waypoint and stop at the last one.
Custom relationships with other RelationshipGroups:
- You can now make the Squads hate certain relationshipgroups, like the cops or the Ballas. Check the Squad>Behavior>Relationships menu.
Here is a list with all the vanilla RelationshipGroups.
Setting up custom models for your squad:
- 1. Open the advanced_bodyguards.ini you will find in your scripts folder.
- 2. Find "CustomStyle1Name" and change the value (Mexicans) to the Faction name you want.
- 3. Change the values of all the CustomStyle1ModelX you will find below, providing a valid model name, like s_m_m_movalien_01, for example. Repeat the values if you don't have enough model names to fill all four inputs.
- Save the file and start the game.
Follow the same procedure with the second custom faction defined in the .ini.
REQUIREMENTS
.NET Framework v4.8
Visual C++ 2015
ScriptHookV v1.0.2545.0
ScriptHookVDotNet v3.4.0
NativeUI v1.9.1
How to install
Extract the files into /Grand Theft Auto V/scripts/.
Video Tutorial, thanks to 2Goodyy for making it!
How to use
Pressing Z will open the Guard Commands menu, letting you select wich squad you want to handle.
Commands
Press ALT to enter commands mode. Instead of shooting, you will issue commands until you exit the mode pressing ALT again.
The commands you can issue depend on the Squad Leader's situation. Here's a list of currently supported commands and situations:
Squad is on foot
- Aim+click at ground = Run there
- Aim+click at a ped = Attack him
- Aim+click at a vehicle = Enter that vehicle
Squad is on vehicle:
- Aim+click at ground = Drive there
- Aim+click at a ped = Attack him from vehicle
- Aim+click at other vehicle = Chase that vehicle
- Aim+click at other squads' vehicle = escort that vehicle
- Aim+click at their own vehicle = Leave the vehicle
Latest versions feature orders issued from the menu, allowing you to manage them while they're doing stuff.
KNOWN BUGS
- Police peds don't like you in their cars, and will enter a neverending loop of leaving the car and entering again.
- If the Squad is the Army or the Police, they will give you 2 stars if you aim directly at them.
Subido por primera vez: 27 de enero de 2022
Última actualización: 28 de enero de 2022
Descarga más reciente: hace 6 horas
-
@bosshunter The mod doesn't work for me and im not able to download .NET Framework v4.8 & Visual C++ 2015 because i already have their newer versions.
28 de septiembre de 2022 -
@bosshunter Is it possible to switch which bodyguard you are giving orders to? I want to order one bodyguard to drive one vehicle and another bodyguard to drive a different one (or even get in the same vehicle as a passenger), but it only lets me command one bodyguard.
1 de octubre de 2022 -
So no one is really providing any solution for the bodyguards just following the targeted peds instead of attacking them? Guess i'll stick with the old one then.
2 de octubre de 2022 -
Recruiting ped's returns an error.
Unhandled exception in script "AdvancedBodyguards"!
NullReferenceException w GTA.World.GetNerbyPeds(Ped ped, single radius)19 de octubre de 2022 -
-
Hello, I just installed the new Script Hook V and did a fresh clean install of GTA V updated everything and installed the mod it works once but once when I close and re open the game it stops working here is what i get in my Script Hook V Dot Net log, can anyone help me out? its really starting to frustrate me tbh...
[07:57:31] [ERROR] Caught fatal unhandled exception:
System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
at System.ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument argument, ExceptionResource resource)
at System.Collections.Generic.List`1.get_Item(Int32 index)
at AdvancedBodyguards.OnListChange(UIMenu sender, UIMenuListItem list, Int32 index)
at AdvancedBodyguards.LoadSettings()
at AdvancedBodyguards.OnTick(Object sender, EventArgs e)
at SHVDN.Script.MainLoop()
[07:57:31] [ERROR] The exception was thrown while executing the script AdvancedBodyguards.
[07:57:31] [WARNING] Aborted script AdvancedBodyguards.1 de noviembre de 2022 -
@bosshunter awesome mod here is there a way i can message you privately? i would like to suggest something for the mod
14 de noviembre de 2022 -
@bosshunter If you're still caring to look at this script, it straight up doesn't work. Or at least rarely does
[05:52:47] [ERROR] Caught fatal unhandled exception:
System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
at System.ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument argument, ExceptionResource resource)
at System.Collections.Generic.List`1.get_Item(Int32 index)
at AdvancedBodyguards.OnListChange(UIMenu sender, UIMenuListItem list, Int32 index)
at AdvancedBodyguards.LoadSettings()
at AdvancedBodyguards.OnTick(Object sender, EventArgs e)
at SHVDN.Script.MainLoop()
[05:52:47] [ERROR] The exception was thrown while executing the script AdvancedBodyguards.
[05:52:47] [WARNING] Aborted script AdvancedBodyguards.16 de noviembre de 2022 -
-
-
@bosshunter hey Bro, do you have the source code for this particular version?
I'd like to see if I could get the custom model Jet fighters to work as an air defense guard.
27 de diciembre de 2022 -
does anyone know how I can add different models as bodyguards ? or atleast how I can mod the script, id like to work on this mod myself
16 de enero de 2023 -
@sidh1990 Yes sure I can, however I believe the max custom Ped addon is like 2 or 3 for this bodyguard version. Nonetheless please see below for an example, where I added 2 Ped models (blackops & navyseals). The ini config file is where you go to make these changes.
;This defines the first custom model list name.
CustomStyle1Name=Navyseals;Replace these with model names you want to see in the first custom model list.
CustomStyle1Model1=navyseal
CustomStyle1Model2=navyseal
CustomStyle1Model3=navyseal
CustomStyle1Model4=navyseal;This defines the second custom model list name.
CustomStyle2Name=BlackOps;Replace these with model names you want to see in the second custom modellist.
CustomStyle2Model1=s_m_y_blackops_01
CustomStyle2Model2=s_m_y_blackops_01
CustomStyle2Model3=s_m_y_blackops_01
CustomStyle2Model4=s_m_y_blackops_0116 de enero de 2023 -
@nj5050
thank you for the reply.but suppose I wanted to add specific peds e.g. franklin, trevor or another NPC ?
is their a list or way I can choose ?Also do you know How I can edit the original - Bodyguard Squads 1.1 [MAY 2018] - scripts? I can program in C# I wish to edit the original
I wish to make my own version.Thank you sooo much for the speedy replies I greatly appreciate it
16 de enero de 2023 -
@sidh1990 Ok to answer your questions, I've broken it down I'm two sections. First part will address how to add specific Ped examples like Franklin, Michael or Trevor.
First locate the header within ini file & change the name to any name toy like your Ped to appear as (Dlc name won't matter here): CustomStyle1Name=FranklinNext locate custom model list, this is where you would add the dlc names corresponding to the Person you're inserting, so for Franklin, I believe his dlc Ped model name is something like a number; 0,1 or 2 I believe. So just populate the entries with that number for Franklin only. Do the same for any other main player Peds.
CustomStyle1Model1=0
CustomStyle1Model2=0
CustomStyle1Model3=0
CustomStyle1Model4=016 de enero de 2023 -
@sidh1990 Now to add & expand this list beyond 2 custom Ped models, you'll need to edit mod itself & do from there. Keep in mind, you could still had a near countless amount of custom vehicles & Helicopters. Heck I was even trying to get the jet fighters to act as Air guards for me, protecting the skies against my enemies/cops/military crafts, but never was able to get the ped to fire using fighter jets.
Lastly, as for editing the mod itself, that would be awesome, although I do wish you could continue where Author "Bosshunter" left off. Hence you would need to contact him/her & request the source codes. Otherwise contact the original Author "Eddlm" & ask him for the original source code files. Good news about him is he's probably more likely to respond then Bosshunter, who hasn't replied to anyone for months now. In any case, do let me know, maybe we could collaborate on Making this Mod Great Again:)
16 de enero de 2023 -
@nj5050 "Now to add & expand this list beyond 2 custom Ped models, you'll need to edit mod itself & do from there. Keep in mind, you could still had a near countless amount of custom vehicles & Helicopters. "
So I can only have 2 custom peds? I can only do so by changing the source code ?
hace 10 días -
@sidh1990 Yes, currently the script is hard coded for max of 2 custom style & model Peds. For editing this part, you'll need to set more custom model values & therefore limits (increasing number of both CustomStyle1Name & models beyond 2).
As for replenishing bodyguard peds health, I believe that value is also hard coded in the script & would need to increase there. Now its currently not possible to replenish these particular Bodyguards from this mod, however you could simply have them auto respawn after they all get terminated in combat. This is an option found in the mod Native UI menu.
hace 9 días
Please, read the description (specially the requirements) before saying that the mod doesn't work.
Me and other people have tested this mod before I submitted it.
If you're using outdated versions of ScriptHookV and ScriptHookVDotNet, then it most certainly won't work.
If you assume that you have the required versions and it still doesn't work, then check again. Chances are that your requirements are outdated.