R3vo/Sandbox – User

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
m (first overhaul)
Line 1: Line 1:
==Overview==
==CfgAISkill==
CfgAISkill is a set of arrays, related to [[AI Sub-skills]], defining the interpolation curve of each of the sub-skill.
CfgAISkill is a set of arrays, related to [[AI Sub-skills]], defining the interpolation curve of each of the sub-skill.
==Example==
===Example===
In {w, x, y, z} value from (w,y) gets interpolated into (x,z)
In {w, x, y, z} value from (w,y) gets interpolated into (x,z)


Line 8: Line 8:
''spotDistance[] = {0,0.2, 1,0.4};'' value in a range 0-1 will change into value in a range 0.2-0.4.
''spotDistance[] = {0,0.2, 1,0.4};'' value in a range 0-1 will change into value in a range 0.2-0.4.
''setSkill ["spotDistance", 0.5]'' results in ''skill "spotDistance"'' returning ''0.3''
''setSkill ["spotDistance", 0.5]'' results in ''skill "spotDistance"'' returning ''0.3''
==Notes==
===Notes===
More than 2 pairs of defining values can be used (minimum is 2 pairs).
More than 2 pairs of defining values can be used (minimum is 2 pairs).


Line 15: Line 15:
'''See also:''' [[:Category:AI|AI]], [[AI Sub-skills]], [[skill]], [[setSkill]], [[setUnitAbility]]
'''See also:''' [[:Category:AI|AI]], [[AI Sub-skills]], [[skill]], [[setSkill]], [[setUnitAbility]]


==Arma 3==
===Arma 3===
  aimingAccuracy[] = {0, 0, 1, 1};
  aimingAccuracy[] = {0, 0, 1, 1};
  aimingShake[] = {0, 0, 1, 1};
  aimingShake[] = {0, 0, 1, 1};
Line 27: Line 27:
  spotTime[] = {0, 0, 1, 1};
  spotTime[] = {0, 0, 1, 1};


[[Category:Arma 3: Editing]]
==Sub-Skills==
[[Category:AI]]
 
 
[[Category:Arma 3: Editing]]
[[Category:AI]]
==Overview==
Sub-skills are a set of parameters ultimately defining the individual AI unit performance in the game.
Sub-skills are a set of parameters ultimately defining the individual AI unit performance in the game.


==Sub-Skills==
===aimingAccuracy===
* Affects how well the AI can lead a target
* Affects how accurately the AI estimate range and calculates bullet drop
* Affects how well the AI compensates for weapon dispersion
* Affects how much the AI will know to compensate for recoil (Higher value = more controlled fire)
* Affects how certain the AI must be about its aim on target before opening fire


===aimingShake===
{| class="wikitable" style="float: center; margin: 0 0 0 0.5em; max-width: 100%;"
* Affects how steadily the AI can hold a weapon (Higher value = less weapon sway)
! Name
! Description
|-
| ''aimingAccuracy''
|
*Affects how well the AI can lead a target
*Affects how accurately the AI estimate range and calculates bullet drop
*Affects how well the AI compensates for weapon dispersion
*Affects how much the AI will know to compensate for recoil (Higher value = more controlled fire)
*Affects how certain the AI must be about its aim on target before opening fire
|-
| ''aimingShake''
|
*Affects how steadily the AI can hold a weapon (Higher value = less weapon sway)
|-
| ''aimingSpeed''
|
*Affects how quickly the AI can rotate and stabilize its aim (Higher value = faster, less error)
|-
| ''commanding''
|
*Affects how quickly recognized targets are shared with the group (Higher value = faster reporting)
|-
| ''courage''
|
*Affects unit's subordinates' morale (Higher value = more courage)
|-
| ''endurance''
|
*''Disabled in {{arma3}}''
|-
| ''general''
|
*Raw "Skill", value is distributed to sub-skills unless defined otherwise. Affects the AI's decision making.
|-
| ''reloadSpeed''
|
*Affects the delay between switching or reloading a weapon (Higher value = less delay)Object Modifiers
|-
| ''spotDistance''
|
*Affects the AI ability to spot targets within it's visual or audible range (Higher value = more likely to spot)
*Affects the accuracy of the information (Higher value = more accurate information)
|-
| ''spotTime''
|
*Affects how quick the AI react to death, damage or observing an enemy (Higher value = quicker reaction)
|}


===aimingSpeed===
===Notes===
* Affects how quickly the AI can rotate and stabilize its aim (Higher value = faster, less error)
Each sub-skill is used in several calculations. Value of each sub-skill is inherited from the value set by skill slider in [[Mission Editor: Units|Insert Unit]] dialogue or [[setSkill]] command, or more precisely with setSkill alternative syntax. This value is interpolated into ranges defined in [[CfgAISkill]] and multiplied by a value of AI Level Skill or Precision set in player's profile (.Arma3Profile file).


===commanding===
'''See also:''' [[:Category:AI|AI]], [[skill]], [[setSkill]], [[setUnitAbility]], [[CfgAISkill]], [[ArmA:_Difficulty#Adjusting_Accuracy_Separately]], [[disableAI]]
* Affects how quickly recognized targets are shared with the group (Higher value = faster reporting)


===courage===
* Affects unit's subordinates' morale (Higher value = more courage)


===endurance===
[[Category:Arma 3: Editing]]
''Disabled in Arma3''
[[Category:AI]]
 
===general===
* Raw "Skill", value is distributed to sub-skills unless defined otherwise. Affects the AI's decision making.
 
===reloadSpeed===
* Affects the delay between switching or reloading a weapon (Higher value = less delay)
 
===spotDistance===
* Affects the AI ability to spot targets within it's visual or audible range (Higher value = more likely to spot)
* Affects the accuracy of the information (Higher value = more accurate information)
 
===spotTime===
* Affects how quick the AI react to death, damage or observing an enemy (Higher value = quicker reaction)
 
 
==Notes==
Each sub-skill is used in several calculations. Value of each sub-skill is inherited from the value set by skill slider in [[Mission Editor: Units|Insert Unit]] dialogue or [[setSkill]] command, or more precisely with setSkill alternative syntax. This value is interpolated into ranges defined in [[CfgAISkill]] and multiplied by a value of AI Level Skill or Precision set in player's profile (.Arma3Profile file).
 
'''See also:''' [[:Category:AI|AI]], [[skill]], [[setSkill]], [[setUnitAbility]], [[CfgAISkill]], [[ArmA:_Difficulty#Adjusting_Accuracy_Separately]], [[disableAI]]

Revision as of 10:07, 22 June 2018

CfgAISkill

CfgAISkill is a set of arrays, related to AI Sub-skills, defining the interpolation curve of each of the sub-skill.

Example

In {w, x, y, z} value from (w,y) gets interpolated into (x,z)

Example:

Interpolation with vanilla A3 CfgAISkill

spotDistance[] = {0,0.2, 1,0.4}; value in a range 0-1 will change into value in a range 0.2-0.4. setSkill ["spotDistance", 0.5] results in skill "spotDistance" returning 0.3

Notes

More than 2 pairs of defining values can be used (minimum is 2 pairs).

The values are used to interpolate on run-time, so even after setting sub-skill by script command it will be interpolated and bound by this array.

See also: AI, AI Sub-skills, skill, setSkill, setUnitAbility

Arma 3

aimingAccuracy[] = {0, 0, 1, 1};
aimingShake[] = {0, 0, 1, 1};
aimingSpeed[] = {0, 0.5, 1, 1};
commanding[] = {0, 0, 1, 1};
courage[] = {0, 0, 1, 1};
endurance[] = {0, 0, 1, 1};
general[] = {0, 0, 1, 1};
reloadSpeed[] = {0, 0, 1, 1};
spotDistance[] = {0, 0, 1, 1};
spotTime[] = {0, 0, 1, 1};

Sub-Skills

Sub-skills are a set of parameters ultimately defining the individual AI unit performance in the game.


Name Description
aimingAccuracy
  • Affects how well the AI can lead a target
  • Affects how accurately the AI estimate range and calculates bullet drop
  • Affects how well the AI compensates for weapon dispersion
  • Affects how much the AI will know to compensate for recoil (Higher value = more controlled fire)
  • Affects how certain the AI must be about its aim on target before opening fire
aimingShake
  • Affects how steadily the AI can hold a weapon (Higher value = less weapon sway)
aimingSpeed
  • Affects how quickly the AI can rotate and stabilize its aim (Higher value = faster, less error)
commanding
  • Affects how quickly recognized targets are shared with the group (Higher value = faster reporting)
courage
  • Affects unit's subordinates' morale (Higher value = more courage)
endurance
  • Disabled in Arma 3
general
  • Raw "Skill", value is distributed to sub-skills unless defined otherwise. Affects the AI's decision making.
reloadSpeed
  • Affects the delay between switching or reloading a weapon (Higher value = less delay)Object Modifiers
spotDistance
  • Affects the AI ability to spot targets within it's visual or audible range (Higher value = more likely to spot)
  • Affects the accuracy of the information (Higher value = more accurate information)
spotTime
  • Affects how quick the AI react to death, damage or observing an enemy (Higher value = quicker reaction)

Notes

Each sub-skill is used in several calculations. Value of each sub-skill is inherited from the value set by skill slider in Insert Unit dialogue or setSkill command, or more precisely with setSkill alternative syntax. This value is interpolated into ranges defined in CfgAISkill and multiplied by a value of AI Level Skill or Precision set in player's profile (.Arma3Profile file).

See also: AI, skill, setSkill, setUnitAbility, CfgAISkill, ArmA:_Difficulty#Adjusting_Accuracy_Separately, disableAI