Feature #24408

Questions on CfgAISkill and setSkill array

Added by kju almost 6 years ago. Updated about 4 years ago.

Status:Assigned Start date:09/11/2011
Priority:Normal Due date:
Assignee:- % Done:


Target version:-
Affected ArmA II version: First affected ArmA II version:
Reproduced by another DH user:No Single / Multi Player?:
I am using some Mods:No BIForumURL:
I am using: NGUrl:
Reproducible for you:No WIKIurl:
Related to content of DLC:


Unfortunately the BIKi articles are missing important information.

It'd be great, if you could give us insights on these questions:

1) Description for the different AI skills (in CfgAISkill).
2) The meaning of the four parameter of an CfgAISkill value.
3) Confirm their value range (0-1 or different).
4) How does the unit skill/setSkill/super AI related to CfgAISkill and
setSkill array.
5) Are these different skills affected/changed while playing (for
example by suppression/fleeing/morale/unit presence).
6) Does SuperAI set all individual skills to the maximum.


Related issues

related to ARMA2 Community Issue Tracker - Bug #25434: M107 sniper with max skill has hard times hitting infantr... Assigned 10/13/2011 01/01/2012
related to ARMA2 Community Issue Tracker - Bug #23300: AI can even hear slow movement Assigned 08/10/2011 11/01/2011
related to ARMA2 Community Issue Tracker - Feature #27801: unitA forgetAbout unitB Assigned 01/15/2012


Updated by zGuba almost 6 years ago

  • Status changed from New to Assigned
  • Affected ArmA II version deleted (Please select...)
  • Maxmem parameter deleted (Not set)
  • Difficulty deleted (Not set)
  • Language deleted (Please set for missions)
  • First affected ArmA II version deleted (Please select...)

Updated by kju over 5 years ago

In more detail:

1) Could you please explain what the different AI skills effects are about
and what their low level effect is or at least a basic summary how it effects AI.

Mainly these four are hardly understood: general, courage, endurance and commanding.

But to get more in depth understanding of the others would be most useful too.


2) Can you please confirm the understand of the four parameters of a CfgAISkill value. The BIKI says:

Values: {low_skill_value, low_skill_spotting_probability,
high_skill_value, high_skill_spotting_probability}

Details: AI with a skill value at or lower than low_skill_value will
have a low_skill_spotting_probability chance of spotting a target.
AI with a skill value at or above high_skill_value will have a
high_skill_spotting_probability chance of spotting a target.
Is it two pairs of skill level for units below a given unit skill or above.

Like ... = {0.3,0.5,0.7,0.9};

An AI unit with unit skill below 0.3 have the given skill at 0.5.
Units about 0.7 have it at 0.9.

3) In between 0.3 and 0.7 there is probably a lineral correlation
between given the unit between 0.5 and 0.9. Or how does it work?

4) Can you please confirm their value range to be 0-1. Or is that not
true for every skill?

5) How does the AI skill one sets in difficulty interacts with the unit
skill one sets in the editor?

Is it like two modifiers:

ActualSkillForTheGivenUnit = DifficultySkillCoef * CfgAISkillCoef * UnitSkill;

6) Are these different skills affected/changed while playing
(for example by suppression/fleeing/morale/unit presence).

7) What is the effect of SuperAI? Does it set all units skill level to the maximum (1)?

8) Some people say that aiDispersionCoef is no longer applied
when the unitSkill / difficultySkill is at maxium - is that true?

Updated by Jedra over 5 years ago

I am also interested in knowing how this works and what effect it has. I have noticed that setting values in cfgAISkill via a config override does not actually affect the skills array for any given unit. The skills array seems to always default to whatever overall skill value has been set (in the editor) for that unit.

I would have expected that the skills array for units would be modified based on the parameters set per unit skill in CfgAISkill. More details can be found in this post on the forums;


Also available in: Atom PDF