1ncontinentia / Incon-Undercover

Incontinentia's undercover / incognito simulation script for Arma 3
GNU General Public License v3.0
29 stars 8 forks source link

INCONTINENTIA'S UNDERCOVER / CIVILIAN RECRUITMENT

This is a complex and performance friendly undercover simulation for players and their AI subordinates. Work as a guerrilla cell, go undercover, recruit comrades, and cause mayhem. SP / Coop and Dedi compatible.

Requires:

FEATURES

General

Comprehensive undercover / incognito simulation -

Stealth kills work -

Different behaviour for regular and asymmetric forces

(Optional) Civilian Recruitment

USAGE

  1. Add all files from Incon-Undercover folder into your mission folder. If you already have a description.ext or initPlayerLocal.sqf then add the code to your existing files. (Make sure to delete any previous version of my undercover scripts). In description.ext, if the class is already defined (for instance, cfgFunctions), just add the #include line to the given class.

  2. Configure your settings in the UCR_setup.sqf file in the INC_undercover folder (pay close attention to these, one wrong setting can lead to some weird behaviour). Do NOT comment out any lines as this will break the script.

  3. For each out of bounds area, place a marker over the area with "INC_tre" somewhere in the marker name (e.g. "MyMarkerINC_tre" or "INC_tre_sillyMarkerName_15"). The script will handle the rest. But if you want, you can also include other markers by listing them in the relevant array in UCR_setup.sqf.

  4. Add in Incon Persistence if you want your band of merry men to persist between ALiVE sessions (this is now a separate script but automatically persists reputation).

  5. For each playable undercover unit, put this in their unit init in the editor:

this setVariable ["isSneaky",true,true];

Non-player units in the undercover unit's group do not need anything; the script will run on them automatically on mission start.

Caveats / Compatibility:

Credits

Massive thanks to Spyderblack723 for his help creating some of the functions and correcting my mistakes / oversights on the original release. Also for generally being super helpful over the past year as I've got into modding. Grumpy Old Man, Tajin and sarogahtyp are responsible for creating a performant detection script, which I then adapted and used as a basis for the undercover script, so thank you to those guys too. Also thanks to das attorney, davidoss, Bad Benson, Tankbuster, dedmen, fn_Quiksilver, marceldev89, baermitumlaut and Duda123 for some top optimisation tips. And huge thanks to accuracythruvolume for testing and feedback.

In Detail: How it works

For the sake of this explanation, we'll separate behaviours into three categories: suspicious, attention-drawing and weird.

If the unit is compromised, the unit should try to kill all enemies who know about them before they spread the unit's identity across the AO. After that, the unit becomes fully compromised and must change his disguise (clothes and either goggles / headgear) or leave the area completely to go undercover again. Each time unit gets fully compromised, the effects of any weird behaviour will be amplified as enemies will be looking for them.

Suspicious / weird behaviours will vary according to factors including:

Appropriate behaviour: a guide for new spies

This is a short primer for the kinds of things to bear in mind while going undercover. It is by no means conclusive. The best advice is to act as normal as you can for the situation.

WHEN IN DISGUISE AS THE ENEMY:

When on foot, the following may count as weird behaviour:

When in a vehicle, the following may count as weird behaviour:

WHEN IN DISGUISE AS A CIVILIAN:

When on foot, the following may count as weird behaviour:

And suspicious:

When in a vehicle, the following may count as weird behaviour:

And suspicious:

This is a short overview; it is good practice to make sure all aspects of your disguise are in keeping with your cover, even if it isn't listed in the behaviours above. If you are dressed like a civilian, act like one. If dressed like the enemy, keep your head down and don't draw attention to yourself.