Guard The Area V2.1

Guard The Area 1.0

DLL Name: Guarding.dll
Configuration File: Areas.xml

Overview:
The Guard The Area script allows you to spawn guards at specific places to guard important areas. It provides customizable options to add and manage guarded locations effortlessly.

Fun Fact: Rockstar didn’t implement such features, so here’s a quick fix!

Default Setup:
By default, Michael’s house is guarded by Gruppe6 Sechs personnel.

Adding Areas:
You can add more areas for guards by editing the Areas.xml configuration file. Each entry includes:
– Location Details: Specify the coordinates and heading for guard spawn points.
– Guard Type: Choose from the available types or use a custom one.

Guard Types:
The script currently supports the following guard types:
1. gruppe6_guard: Default Gruppe6 security.
2. police_guard: Standard police units.
3. military_guard: Military personnel.
4. Default: If no valid type is provided, a generic security model is used.

Position Logging:
Press the L key to log the player’s current position and heading. This feature is useful for defining spawn points.
– The logged data is saved in an XML-styled file named PositionLogging.xml.
– This ensures easy editing and integration into Areas.xml.

How It Works:
1. Guards spawn at defined locations in Areas.xml.
2. They patrol or stand guard to secure the area.
3. Modify guard types and areas dynamically by editing the configuration file.

Installation:
1. Install ScriptHookV and ScriptHookVDotNet (required for this mod).
2. Place Guarding.dll and Areas.xml into the scripts folder in your GTA V directory.

Usage:
– Press L to log the current position and heading of the player for defining guard spawn points.
– Edit Areas.xml to add new areas, spawn points, and guard types.

Changelog:
Version 2.1 – “chaos is massive”
in this version, you will see a a lot more chaos in the areas where you mess around. you will get to see area guards calling their own backups. so yea, its crazy and dangerous.
Did some fixes so the mod remains stable now. but rest i cant assure because i myself dont know what more else i have added. but i think this will be the last update/addition i did, what i can fix is the bugs, if anyone faces one. let me know if any bug you face is game breaking. .. but i would like you to add the explanations from the code base about what features were added and all. the old bugs and all are fixed so no need to mention those about. but you will know about it what all stuff are there in the code and based on it generate the html based descrption. and then create a readme.md file for explaining about the mod, and how to edit the xml files and all for the end user who would use this mod, so you have to do this very well and deeply

Version 2.0 – “a whole new lifeline to backups and guards”
Now the Guards are even more aggressive, and improved checkings and all.
Added Shift changes meaning, guards whom you set to shift change can arrive and leave in vehicles. You can call backup if needed through your Phone (iFruitAddon.dll is needed, get from Github: https://github.com/Bob74/iFruitAddon2. there are lot of changes been made, so make sure to test out all!
3 kinds of backup: Airstrike, Aerial Backup and lastly the Ground Backup, with fee deductions and allowed backup from friendly areas or not. you can tinker around with configs.
Aerial Backup I won’t tell, but Airstrike is something you must be out of killzone. using weaponized helicopter will be a best choice.
Ground backup is simple.
I don’t remember what more else I have added. but I hope you all will enjoy this update. anything breaks, please let me know… 🙂

Hotfix: Fixed guards shooting at you or other even tho when group and relationship is set properly.

Version 1.3 – “Bug Fixes and Spawn Type Refinement”
Addressed null reference exceptions and refined spawn type usage to ensure proper model assignments for each spawn type, preventing vehicles from spawning in inappropriate locations like helipads or boats on land. Implemented dedicated model lists for each spawn type. New spawn types are: plane, mounted, largevehicle, vehicle, helicopter and boat. these can be used. For ped type it’s ped.

Credits:

Vampire

1/5 - (1 vote)

Download mod

FileFile size
zip GuardTheArea100 KB

Leave a Reply

Your email address will not be published. Required fields are marked *