Author: Loophole_62ndFF
Author Website: http://www.62ndfightingfalcons.asn.au

Requirements: Community Base addons A3

Version: 1
Signed: No

Short description: This add-on gives you detailed control over the AI skill level in any ArmA3 mission, when you play singleplayer or act as a multiplayer host.

Date: 2013-06-28 06:58


Comments: (0)
Rating:



 

MB’s Universal AI Skill Adjustment [BETA]

by
Loophole_62ndFF


Description:
This add-on is intended to give you detailed control over the AI skill level in any ArmA3 mission, when you play singleplayer or act as a multiplayer host. It cannot affect the skill level of AI in a multiplayer mission that you join as a client.

This add-on was inspired by the Zeu_ServerSkills addon. I was finding that the Zeus add-on did not seem to handle dynamically spawned AI, and also thought there was potential for more detailed and flexible control over the AI – hence the creation of this Add-on.

When this addon is active, it automatically adjusts the skill levels of all AI in a mission, using settings that you configure in a text file in the ArmA “userconfig” folder.


Features:
  • Handles any dynamically-created units as well as those present at mission start.
  • You can individually configure all the ArmA AI characteristics:
    aimingSpeed, aimingAccuracy, aimingShake, spotDistance, spotTime, reloadSpeed, commanding, endurance, courage & general.
  • If additional characteristics are later added to the ArmA “setSkill” script function, they can also be supported by simply adding them to the configuration file.
  • For each AI characteristic you can set a base Value plus a random range. Each AI unit will be assigned a value within that range.
  • The random characteristic values assigned to any one AI unit will change over the course of the mission, though always within the assigned random range – thus creating more varied and unpredictable AI behaviour.
  • You can define a set of different base values and random ranges for different unit types, based on their rank and/or their unit class (i.e. the unit type-code displayed in the top left of the unit details dialog in the mission editor). This allows, for example, snipers and civilians to have different skill characteristics to normal soldiers, and for Sergeants to be more skilled than Privates.


Installation:
Extract into the ArmA 3 Directory, by default this is located in:
32-Bit - C:/Program Files/Steam/Steamapps/Common/ArmA 3/
64-Bit - C:/Program Files (x86)/Steam/Steamapps/Common/ArmA 3/
After extraction it should look like this:
Steam/Steamapps/Common/ArmA 3/@your_mod_folder_name

You can also use the "Arma 3 Alpha" folder in your "My Documents" folder. Your folder setup could than look like for example this:
mydocuments\Arma3 Alpha\@your_mod_folder_name\
mydocuments\Arma3 Alpha\@your_mod_folder_name\
mydocuments\Arma3 Alpha\@your_mod_folder_name\

When present place the "userconfig" folder into your game install folder, usually:
"C:\Program Files (x86)\Steam\steamapps\common\Arma 3".
You may already have "userconfig" folder from other addons/mods in which case it is safe to merge the contents from this archive.


You'll also need to add a Launch Parameter to Steam, in order to do so right-click on ArmA 3 Alpha and click Properties and then Set Launch Options. In the window that opens enter in -mod=@your_mod_folder_name
For using multiple mods you would then do so like this:
-mod=@mod_name;@mod_name2;@mod_name3;@mod_name4;@mod_name5

Note:
You can also use -nosplash to get rid of the splash art and intro videos.


And of course you can also enable and disable community made addons and mods through the in-game Options Expansions menu if you do not want to mess with startup parameters!

When the above information still does not provide you with enough to learn how to install custom addons and mods you can always ask in our Guide On Installing Mods.

Compatibility:
The mod should function independently of any other mods that adjust AI skills, and will probably end
up overwriting any skill level changes applied by those mods. It should not affect any AI behaviourmodifying
mods, unless those rely on the AI having specific skill levels!

Arma 2 Compatibility:
The add-on could theoretically also work for ArmA2, but the CBA Extended Eventhandlers mod seems to go by a different name in ArmA2, so the PBO would have to be re-done with the appropriate dependency listed.


Included files:
MB_SkillSet.pbo


Usage:
The mod is configured via a file called "MB_SkillSet.hpp" in the Arma 3 userconfig folder. It can be edited using any normal text editor. Notepad is fine.

The file primarily defines a set of “Skillset tables”, each with a “key” that determines what units it applies to.
You can add as many Skillset Tables as you like, so long as the first table has an empty key (“”). Just make sure you get the commas right, and the square-brackets balanced!
The file also defines two values that determine how frequently the addon scans and adjusts the unit skill values, and how quickly it scans through the list of units. These can be used to limit CPU load (which seems to be minimal), and control how quickly newly-spawned units are picked up and adjusted.

Note: Skillset Table Keys
The logic looks at each unit, concatenates its rank and its class name with a “+”; e.g. “Private+O_Soldier_F”), and then checks each SkillSet table in turn to see if the table’s “key” value can be found anywhere in the unit’s concatenated string. If it can be found, the logic stops checking any further tables, and applies the skill settings from that table to that unit.
If no matches are found, then the first Skillset table (the one with the empty key) is used.
The “class name” for any type of unit can be seen in the Mission Editor, in the top-right corner of the unit window.

If you modify the MB_SkillSet.hpp, exiting and restarting the mission will load the new values. This includes dropping back to the Mission Editor, then clicking “Preview” again.



- Community Base addons A3




Enable javascript to be able to download from Armaholic please!



Tags: Ai,   Server,   Skill