Author: Terox
Author Website: http://www.zeus-community.net/

Requirements: No addons required

Version: 1.00 fixed
Signed: No

Short description: This addon redefines the "CfgAIskills" class values in the config and is much more powerful in scope than my previously released Zeu_Serverskill addon which only edited values using Setskill.

Date: 2013-09-19 08:48


Comments: (0)
Rating:



 





Zeu CfgAIskill

by
Terox


Description:
This addon redefines the "CfgAIskills" class values in the config and is much more powerful in scope than my previously released Zeu_Serverskill addon which only edited values using Setskill.
This addon is designed for Serverside or Single player only.
It does not require any other addons.
It changes the upper and lower values that Setskill or the mission editor unit skill slider can use.
This addon effects:
    - Editor placed AI
    - Respawning A.I
    - AI Created dynamically via scripts
This addon DOES NOT effect:
    Multiplayer AI local to the clients. I could create a clientside version but the values would be non editable and unless I define for example a gamelogic to be placed in the mission, the client would not require it as the mission would not have any addon dependancy

Setskill or the mission editor slider can only select an AI skill value between the Minimum and Maximum values defined in CfgAIskills and therefore is much more limited in scope than this addon.
Therefore the unit skill slider and setskill functionality is not overwritten by this addon, it just changes the range of values that can be used
The actual values can be customised to your liking by editing the userconfig\zeu\zeu_CfgAISkill.hpp
Due to the ability to change the skill values without editing the actual addon, no Bikeys will be released. This is to prevent multiplayer clients running "Biased" values.
NB>> This does not effect clientside AI

We have run the default values defined in this addon for many weeks now and are happy with the AI.
We use the following values in our *****.Arma3Profile for all Difficulty classes, e.g Regular, veteran etc:
skillFriendly=0.75;
skillEnemy=0.75;
precisionFriendly=0.75;
precisionEnemy=0.75;


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\addons\

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_name1\addons\
mydocuments\Arma3 Alpha\@your_mod_folder_name2\addons\
mydocuments\Arma3 Alpha\@your_mod_folder_name2\addons\

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 and/or 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.


Included files:
zeu_cfgAIskill.pbo


Usage:
If you wish to edit the values, stop the server and open up the userconfig\zeu\zeu_CfgAISkill.hpp with notepad
The following explains what each of the 4 values in the individual attribute arrays do:
class cfgAIskills
{
	// Attribute[] 	        = {A,	B,	C,	D	};
	aimingAccuracy[] 	= {0,	0,	1,	0.5	};
	aimingShake[] 		= {0,	0,	1,	1	};
	aimingSpeed[] 		= {0,	0.5,	1,	1	};
	endurance[] 		= {0,	0,	1,	1	};
	spotDistance[] 		= {0,	0.2,	1,	0.4	};
	spotTime[] 		= {0,	0,	1,	0.7	};
	courage[] 		= {0,	0,	1,	1	};
	reloadSpeed[] 		= {0,	0,	1,	1	};
	commanding[] 		= {0,	0,	1,	1	};
	general[] 		= {0,	0,	1,	1	};
};
There are 4 elements to each skill set.
The value of each element can range between 0 and 1
The elements are paired A&B and C&D
1st element in the pair defines the setskill value or Mission editor slider position
2nd element in the pair defines the actual skill value that will be used when Setskill or Mission editor slider is set to the 1st value

A: This defines the skill slider value for the lowest skill setting (Typically this should always be 0)
B: This defines the skill value when the slider or setskill value is "A"
C: This defines the skill slider value for the highest skill setting (Typically this should always be 1)
D: This defines the skill value when the slider or setskill value is "C"

So for example:
MyAttribute[]={0, 0.4, 1, 0.9};
If you set the unit skill of myattribute using
unit setskill ["myattribute",1];
The unit will have an actual skill level for "myattribute" of 0.9

If you defined:
unit setskill ["myattribute",0.5];
The unit will have an actual skill of 0.65 (Halfway between the lower value of 0.4 and the higher value of 0.9)


Changelog:
v1.00 fixed
- correctly named the zeu_ai.hpp file in the userconfig folder

v1.00
- release version


Forum topic:
- BI forums




Enable javascript to be able to download from Armaholic please!



Tags: No tags