AI Config Reference – Arma 3

From Bohemia Interactive Community
Revision as of 11:06, 28 October 2020 by Freddo3000 (talk | contribs) (WIP page creation)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Template:Stub Template:wip

Note that this is the relevant page for Arma 3 AI configuration. Implementations for older Arma titles differ somewhat, but are irrelevant for Arma 3.

Template:Cfg ref

CfgBrains Config Reference

As of Arma 3 logo black.png2.00 it contains three classes

  • DefaultAnimalBrain
  • DefaultCivilianBrain
  • DefaultSoldierBrain

Each of which contains a Components class. Only DefaultSoldierBrain includes any components by default.

AIBrainAimingErrorComponent

bestDecreaseTime

How long (in seconds) it should take 1 skilled soldier to stabilize the aim completely

Float

bestDecreaseTime = 0.2;

damageCoef

Importance of damage of entity, multiplier

Float

damageCoef = 10;

fatigueCoef

Importance of fatigue of entity, multiplier

Float

fatigueCoef = 10;

lostTargetCoef

Importance of loosing target event, multiplier

Float

lostTargetCoef = 3;

lostTargetTimeMax

How long error is raising after loosing sight of target

Float

lostTargetTimeMax = 3;

lostTargetTimeMin

How soon after loosing sight of target, error starts to raise

Float

lostTargetTimeMax = 0.5;

maxAngularError

Half of the error cone in radians

Float

maxAngularError = 0.1309;

maxAngularErrorTurrets

Half of the error cone in radians, used for turrets

Float

maxAngularErrorTurrets = 0.0872;

movingInfluence

Importance of moving in algorithm, multiplier

Float

movingInfluence = 1;

shootingInfluence

Importance of shooting in algorithm, multiplier

Float

movingInfluence = 0.4;

suppressionCoef

Importance of suppression value, multiplier

Float

suppressionCoef = 0.5;

turningInfluence

Importance of turning in algorithm, multiplier

Float

turningInfluence = 1;

worstDecreaseTime

How long (in seconds) it should take 0 skilled soldier to stabilize the aim completely

Float

worstDecreaseTime = 2;

AIBrainCountermeasuresComponent

useSmokeGrenadeDelay

Integer

useSmokeGrenadeDelay = 20;

CMCheckDelay

Float

CMCheckDelay = 0.8;

suppressionThreshold

Float

suppressionThreshold = 0.8;

nonLeaderSmokeProbability

Float

nonLeaderSmokeProbability = 0.1;

CMOnTargettedProbability

Float

CMOnTargettedProbability = 0.1;

suppressionTimerMax

Float

suppressionTimerMax = 2;

minimalThrowDistance

Integer

minimalThrowDistance = 900;

minReactionTime

Float

minReactionTime = 0.1;

maxReactionTime

Float

maxReactionTime = 3;

randomReactionTimePercent

Float

randomReactionTimePercent = 0.2;

AIBrainSuppressionComponent

bestDecreaseTime

Float

bestDecreaseTime = 1; // in seconds for 1 skill

causeBulletCloseWeight

Float

causeBulletCloseWeight = 0.5;

causeExplosionWeight

Float

causeExplosionWeight = 0.5;

causeFireWeight

Float

causeFireWeight = 0.5;

causeHitWeight

Float

causeHitWeight = 0.5;

maxSuppression

Float

maxSuppression = 1;

suppressionRange

Integer

suppressionRange = 20;

suppressionThreshold

Float

suppressionThreshold = 0.7;

worstDecreaseTime

Float

worstDecreaseTime = 10;

AI Skill

CfgAILevelPresets

This sets the values for the different presets available in Game Settings, by default there are four classes available:

  • AILevelHigh
  • AILevelMedium
  • AILevelLow
  • Custom

Each of which feature the following properties

displayName

Text displayed in the dropdown menu

String

displayName = "Custom"

precisionAI

Coefficient applied to all accuracy skills

Float

precisionAI = 0.5;

skillAI

Coefficient applied to all utility skills

Float

skillAI = 0.5;

CfgAISkill

aimingAccuracy

Array

aimingAccuracy[] = {0,0,1,1};

aimingShake

Array

aimingShake[] = {0,0,1,1};

aimingSpeed

Array

aimingSpeed[] = {0,0.5,1,1};

commanding

Array

commanding[] = {0,0,1,1};

courage

Array

courage[] = {0,0,1,1};

general

Array

general[] = {0,0,1,1};

reloadSpeed

Array

reloadSpeed[] = {0,0,1,1};

spotDistance

Array

spotDistance[] = {0,0,1,1};

spotTime

Array

spotTime[] = {0,0,1,1};

CfgDifficultyPresets

levelAI

Refers to CfgAILevelPresets

String

levelAI = "AILevelMedium";

CfgWeapons

Template:Cfg ref