Bodyguard Squads 1.2.1
12.045
105
-
03 de Fevereiro 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.
Primeiro envio: 27 de Janeiro de 2022
Último envio: 28 de Janeiro de 2022
Último download: há 19 minutos atrás
153 Comentários
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.
Primeiro envio: 27 de Janeiro de 2022
Último envio: 28 de Janeiro de 2022
Último download: há 19 minutos atrás
-
-
@nj5050 so i guess i`ll make a request for ramirezdu06 on his mod
26 de Fevereiro de 2023 -
@nj5050 never mind I saw his post about the weapon attachments in 1.7
27 de Fevereiro de 2023 -
hi guys, i would like to know if its possible to modify the dll file and if yes how?
09 de Março de 2023 -
The mod doesn't work for me when I go out and later I go into the game, it doesn't turn on, I broke everything, please help!
04 de Maio de 2023 -
@nj5050
"What I recommend doing is creating a separate "Advance bodyguard' folder' within the script folder. Then any changes made on the ini file as well as dll file, from this folder version, can simply be copied & pasted outside of this folder directly into the script folder, this will result in you having both the dll & ini file in two locations within the script folder. Don't worry about copying the nativeUi in the mod folder, as long as you already have the latest version set within Script folder, you should be fine & it should start working again!"I've been trying to fix this mod's error as well and actually i dont understand whats the point of having two versions of the ini and dll in two separate folders ? Like should i also put another Native.UI in that "Advanced Bodyguards" subfolder as well ? I'm a bit confused as in what's the purpose of copying changes done to the original .ini in that subfolder's .ini
27 de Junho de 2023 -
@Audinokill I'm not sure about why this mod behaves the way it does, but what I do know is what ended up.working for me, when accidentally playing around with it. That's why I shared that specific advice.
27 de Junho de 2023 -
@nj5050 ok so that subfolder should only contain the .ini and .dll right, and you're telling to simply edit the .ini in the subfolder, then copying the edited .ini into the scripts folder right ? so that means the simple fact that the exact same files are both in the scripts and in that subfolder is the fix for this error ? just want to make sure im not missing anything
27 de Junho de 2023 -
@Audinokill Yes, if I remember correctly, that's how I did it. The game won't access the subfolder of the Bodyguard mod, but only the script folder, due possibly to how the Bodyguard mod is marked.
27 de Junho de 2023 -
Any clue why Im getting this error? 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)11 de Agosto de 2023 -
@nj5050 need your help on something; do you know if there is a way to increase the shooting range of bodyguards NPCs at ennemies ? For example i did this video where i used the bodyguards mod to have me shoot at my air plane: https://www.youtube.com/watch?v=TTzHSyvc4Io
But they could only do so when i get pretty close. Any tips or clues or where i should look into ?16 de Setembro de 2023 -
@Audinokill First off, awesome video Bro, almost thought it was a new Mod release or something, Lol.
Now for your question regarding increasing NPCs (I'm assuming you mean the Peds/Vehicle you've assigned to spawn) shooting range. I'm only aware of this for vehicle shooting ranges; as your video showed a, Surface-to-Air Missile guided launch, against the approaching Aircraft.
So this would be particularly tailored to that specific vehicle, therefore the weapons.meta & Handling.meta files would be the first place to look into.
16 de Setembro de 2023 -
thanks a lot!
i'm looking at the vehicleweapons.meta, but there's so much lines and it'd be pretty hectic to manually try each line, here's a few i suspect to be controlling it:
<ProximityActivationTime value="3.000000" />
<ProximityTriggerRadius value="-1.000000" />
<TimeBeforeHoming value="1.500000" />
<LifeTimePlayerVehicleLockedOverrideMP value="7.500000" />would you have a clue which one could be linked to that, and the unit of their values ?
16 de Setembro de 2023 -
17 de Setembro de 2023
-
@nj5050 Hello pal, i have another question. I noticed that sadly the bodyguards would fail to react at anything when i make them enter a non-movable weapon device such as the CIWS, RIM-116, Patriot Unit, Vom Feuer Anti-Aircraft and so on (the same way they fail to do so when entering a plane), do you know what could we do to improve that looking at the source code ?
14 de Outubro de 2023 -
-
-
@Audinokill This sounds a little tricky, one thing I would do is locate, try & see if you could de-compile the source code from the Immobile weapon device vehicle, because I believe its part of a mod of sort. See if you can find the coding set/method body for allowing Ped entry, for operating its weaponry.
Only then, can you get an idea of how to replicate this process on over into other mods involving similar Ped entry routine.
15 de Outubro de 2023 -
mod menu crashes when u call all squads at once....any idea how to avoid that? (obv calling them one by one is an option)
há 10 dias atrás -
Clicking on a random pad or vehicle just makes the squads follow them. how disappointing.
há 2 dias atrás
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.