Bodyguard Squads [MAY 2018] GTA5 - GamesMods17

Bodyguard Squads [MAY 2018] GTA5




[MAY 2018 UPDATE]
Hey, I got some time to try and patch up this oldie. I've mainly added futureproofing.

Remember, this is a very old script, with awful scripting practices in it because of that. Its almost impossible to update, and I don't have time to rewrite it from scratch. Not now.

So at most what you get is these dirty patches, and only if the planets align, a rewrite. Sorry to dissapoint! Life's not as easy today as it was yesterday.

Changelog 1.1
- Tried to fix and simplify some code.
- Added 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.
- Added Recruit Nearby Peds in Squad>SpecialOrders. Recruits nearby peds to that squad.
- Squads will be dismissed when restarting SHVDN scripts (Shift+Insert), so no more persistent peds being lost in the world.

Known bugs
- Squads may not follow their leader when spawned. Dismiss/Spawn them again, or check and uncheck "follow player".


Plans
- Add "Follow ped on foot" order, the squad will follow the ped... On foot.
Should be useful to have multiple squads move around with fewer orders.


Original description
Spawn up to FOUR independent squads and make them do stuff!

MAIN FEATURES

  • Choose their weapon, vehicle and model!
  • 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!

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 4.5.2
Visual C++ 2015
ScriptHookV v1.0.463.1
ScriptHookVDotNet
NativeUI

How to install
Extract the files into /Grand Theft Auto V/scripts/.

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.
Bodyguard Squads [MAY 2018] GTA5 Bodyguard Squads [MAY 2018] GTA5 Reviewed by Razvan96 on 10:01 AM Rating: 5
//]]>