Bodyguard Squads 1.2.1
4.763
69
-
Февруари 3, 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.
Првпат Додадено: Јануари 27, 2022
Последно Ажурирање: Јануари 28, 2022
Последно Симнување: пред 2 саати
82 Коментари
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.
Првпат Додадено: Јануари 27, 2022
Последно Ажурирање: Јануари 28, 2022
Последно Симнување: пред 2 саати
-
-
-
Hi, I'm struggling to make my squad attack a ped. Every time I am in the "Alt" mode, it will only make my squad follow the ped or escort them. It doesn't make my squad attack, please help :(
Март 31, 2022 -
Прошири да го видиш цел коментар
[22:25:40] [DEBUG] Loading API from .\ScriptHookVDotNet2.dll ...
[22:25:40] [DEBUG] Loading API from .\ScriptHookVDotNet3.dll ...
[22:25:40] [DEBUG] Loading scripts from D:\GTAV\scripts ...
[22:25:40] [DEBUG] Loading assembly Advanced Bodyguards.dll ...
[22:25:42] [INFO] Found 1 script(s) in Advanced Bodyguards.dll resolved to API 2.11.3.
[22:25:42] [DEBUG] Loading assembly NativeUI.dll ...
[22:25:43] [INFO] Found 1 script(s) in NativeUI.dll resolved to API 2.11.3.
[22:25:43] [DEBUG] Instantiating script AdvancedBodyguards ...
[22:25:49] [INFO] Started script AdvancedBodyguards.
[22:25:49] [DEBUG] Instantiating script NativeUI.BigMessageThread ...
[22:25:49] [INFO] Started script NativeUI.BigMessageThread.
[22:29:30] [ERROR] Caught fatal unhandled exception:
System.IO.IOException: The process cannot access the file 'D:\GTAV\scripts\Advanced Bodyguards.ini' because it is being used by another process.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
at System.IO.StreamWriter.CreateFile(String path, Boolean append, Boolean checkHost)
at System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding, Int32 bufferSize, Boolean checkHost)
at System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding)
at System.IO.File.WriteAllLines(String path, String[] contents)
at AdvancedBodyguards.saveSettings()
at AdvancedBodyguards.OnMenuClose(UIMenu sender)
at NativeUI.UIMenu.set_Visible(Boolean value)
at NativeUI.UIMenu.SelectItem()
at NativeUI.UIMenu.ProcessControl(Keys key)
at NativeUI.MenuPool.ProcessControl()
at NativeUI.MenuPool.ProcessMenus()
at AdvancedBodyguards.OnTick(Object sender, EventArgs e)
at SHVDN.Script.MainLoop()
[22:29:30] [ERROR] The exception was thrown while executing the script AdvancedBodyguards.
[22:29:30] [WARNING] Aborted script AdvancedBodyguards.
its thsi my in my ScriptHookVDotNet can someone explain?Март 31, 2022 -
@bosshunter can u make the relationship of all squads as a common function? I m tried of inputing the relationship for every squads everytime I enter the game
Април 7, 2022 -
@kakhuilE Make sure you're only using latest NativeUi file and not older ones still in your script folder. So remove any other older NativeUI file found in your script folder, though they maybe other files name NativeUi, just make sure its only the NativeUI.dll file specifically, all others are fine.
Април 11, 2022 -
@ggmmonkey I would get latest Simple Trainer Mod for that, makes things easier.
Април 11, 2022 -
-
Great mod!
I hope there will be a new update soon with a option to manage the Weapon components for each Squad
for example you give squad 1 the carbiner with suppressor and flashlight components and a pistol with flashlight.
This would help me to make my own "Special Force" squad with my own custom peds and weapons with the components i likeАприл 19, 2022 -
great job. i dunno what i would do if this mod wasn't around. i would like to see a rushed, barely overtakes, avoid cars, feature like menyoo trainer has. everytime i use fast and the furious mode they will most likely crash into a car. would be nice to see it in the next update. keep up the good work mate
Мај 8, 2022 -
-
Everytime I want to spawn a squad in, I get the following error. Is it because a mod that I have installed?
[ERROR] Caught fatal unhandled exception:
System.NullReferenceException: Object reference not set to an instance of an object.
at AdvancedBodyguards.CreateSquad(Int32 squadNumber)
at AdvancedBodyguards.OnItemSelect(UIMenu sender, UIMenuItem selectedItem, Int32 index)
at NativeUI.UIMenu.SelectItem()
at NativeUI.UIMenu.ProcessControl(Keys key)
at NativeUI.MenuPool.ProcessControl()
at NativeUI.MenuPool.ProcessMenus()
at AdvancedBodyguards.OnTick(Object sender, EventArgs e)
at SHVDN.Script.MainLoop()Јуни 11, 2022 -
-
did someone knows how remove the drone camera selection at the bottom of screen or remove the key ? it is on my shift key so when i sprint i cant switch weapon for example, ty in advance
Јуни 21, 2022 -
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.