DangerRuss
OpenDayZ Rockstar!
I changed up my AI config to change the spawn rate, amount of units in a group, and what guns/items they have. For some reason, every once in awhile, you'll search one of the AI in a group, and that particular one will crash ArmA. Note: this doesn't happen every time you try and loot the body of a dead AI. Only certain ones, and only once in awhile. Im guessing I used the wrong code for an item, or for whatever reason they cant spawn with that item, and so it kicks you when you go to loot. Here's my script involving their gear, can anyone spot what I did wrong? Thanks
Code:
// ---------------------------------------------------------------------------------------------------------------------
// Weapon & Item Loadout
// ---------------------------------------------------------------------------------------------------------------------
// a general note: you CAN use either rifles OR pistols. Do not use both. AI will get stuck after switching weapons.
// potential weapon list for leaders
SAR_leader_weapon_list = ["M4A1_Aim","M4A3_CCO_EP1","AK_47_M","Mk_48_DZ","G36A_camo","M249_DZ","M240_DZ"];
SAR_leader_pistol_list = []; // do NOT populate, Arma still has a bug that renders AI unresponsive after switching to the sidearm
// potential item list for leaders -> Item / Chance 1 - 100
SAR_leader_items = [["ItemSodaCoke",75],["FoodCanBakedBeans",60],["FoodchickenCooked",60],["FoodrabbitCooked",50],["Antibiotic",50]];
SAR_leader_tools = [["Etool",50],["Toolbox",30],["Binocular_Vector",5],["NVGoggles",5],["ItemRadio",100]];
//potential weapon list for riflemen
SAR_rifleman_weapon_list = ["M16A2","Winchester1866","AK_74","LeeEnfield","Sa58V_CCO_EP1","M14_EP1","FN_FAL"];
SAR_rifleman_pistol_list = []; // do NOT populate, Arma still has a bug that renders AI unresponsive after switching to the sidearm
// potential item list for riflemen
SAR_rifleman_items = [["ItemSodaCoke",75],["FoodCanBakedBeans",60]];
SAR_rifleman_tools = [["Etool",50],["Toolbox",30]];
//potential weapon list for snipers
SAR_sniper_weapon_list = ["M4A1_Aim","SVD_CAMO","Huntingrifle","M40A3","M24","Sa58V_RCO_EP1"];
SAR_sniper_pistol_list = []; // do NOT populate, Arma still has a bug that renders AI unresponsive after switching to the sidearm
// potential item list for snipers
SAR_sniper_items = [["ItemSodaCoke",75],["FoodCanBakedBeans",60],["Skin_Sniper1_DZ",10]];
SAR_sniper_tools = [["Etool",50],["Toolbox",30]];