Bandit skills

SKILL SELECTION
dzai/init/dzai_config.sqf

Arma AI skills are all used with setskill and it has an option and a setting between 0 and 1.
["spotDistance",0.30,0.45],
so in this skill its the distance that AI will see you, .3 to .45 so it will randomize from unit to unit but is overall rather low so that players can get off the first shot.
As you can see in the code snippet, 3 levels are already defined and level 3 has
["spotDistance",0.70,0.85],
so you better be on your toes if you don't want to get gunned down before you can see him.


Code:
/*
    AI skill settings

    NOTE: The AI skill levels are not linear 0-3. The skill gap between 1-2 is higher than 0-1 and 2-3.
 
    0-1: Low to medium-skilled AI. Most common type of AI encountered. Intended to challenge players.
    2-3: High-skilled AI. Uncommon/rare type of AI found in places with military loot. Intended to kill players.
    HeliCrew: Maximum-skilled AI. Skills are intended to be extremely high as helicopters patrol alone and carry high-value loot.
*/

//AI skill settings level 0 (Skill, Minimum skill, Maximum skill). Baseline skill level: 0.40
DZAI_skill0 = [ 
    ["aimingAccuracy",0.10,0.125],
    ["aimingShake",0.45,0.55],
    ["aimingSpeed",0.45,0.55],
    ["endurance",0.40,0.50],
    ["spotDistance",0.30,0.45],
    ["spotTime",0.30,0.45],
    ["courage",0.40,0.60],
    ["reloadSpeed",0.50,0.60],
    ["commanding",0.40,0.50],
    ["general",0.40,0.60]
];

//AI skill settings level 1 (Skill, Minimum skill, Maximum skill). Baseline skill level: 0.55
DZAI_skill1 = [ 
    ["aimingAccuracy",0.125,0.15],
    ["aimingShake",0.60,0.70],
    ["aimingSpeed",0.60,0.70],
    ["endurance",0.55,0.65],
    ["spotDistance",0.45,0.60],
    ["spotTime",0.45,0.60],
    ["courage",0.55,0.75],
    ["reloadSpeed",0.60,0.70],
    ["commanding",0.55,0.65],
    ["general",0.55,0.75]
];

//AI skill settings level 2 (Skill, Minimum skill, Maximum skill). Baseline skill level: 0.70
DZAI_skill2 = [ 
    ["aimingAccuracy",0.15,0.20],
    ["aimingShake",0.75,0.85],
    ["aimingSpeed",0.70,0.80],
    ["endurance",0.70,0.80],
    ["spotDistance",0.60,0.75],
    ["spotTime",0.60,0.75],
    ["courage",0.70,0.90],
    ["reloadSpeed",0.70,0.80],
    ["commanding",0.70,0.90],
    ["general",0.70,0.90]
];

//AI skill settings level 3 (Skill, Minimum skill, Maximum skill). Baseline skill level: 0.80
DZAI_skill3 = [ 
    ["aimingAccuracy",0.20,0.25],
    ["aimingShake",0.85,0.95],
    ["aimingSpeed",0.80,0.90],
    ["endurance",0.80,0.90],
    ["spotDistance",0.70,0.85],
    ["spotTime",0.70,0.85],
    ["courage",0.80,1.00],
    ["reloadSpeed",0.80,0.90],
    ["commanding",0.80,0.90],
    ["general",0.80,1.00]
];


WEAPON SELECTION
DZAI\compile\AI_setup_loadout.sqf

this file selects a random weapon, gear etc. It gets this list of stuff based on the world you are playing on. That list is in
DZAI\init\world_classname_configs\default\default_classnames.sqf
for example
Code:
DZAI_Rifles2 = ["M16A2","M16A2GL","M249_DZ","AK_74","M4A1_Aim","AKS_74_kobra","AKS_74_U","AK_47_M","M24","SVD_CAMO","M1014","DMR_DZ","M4A1","M14_EP1","Remington870_lamp","M240_DZ","M4A1_AIM_SD_camo","M16A4_ACG","M4A1_HWS_GL_camo","Mk_48_DZ","M4A3_CCO_EP1","Sa58V_RCO_EP1","Sa58V_CCO_EP1","M40A3","Sa58P_EP1","Sa58V_EP1"]; //Weapongrade 2 rifles

Tutorial Point:
All this information is freely available within the files by searching for keywords. Look for a variable name that has what you need to know but you don't know where its defined and use the notepad++ find in files function. Right click on the tab with the OPENED FILE and select copy path to clipboard. Now you can paste the search path into the 'find in files' box and just have to make minor edits to it so it searches in all the folders you want
dokRwqli
https://db.tt/dokRwqli
 
Last edited:
Back
Top