Advertisement
Guest User

AIconfig.sqf

a guest
Feb 19th, 2014
105
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.88 KB | None | 0 0
  1. ///////////////////////////////////////////////////////
  2. ///Use the built in mission system (config file for mission system in mission folder)
  3. ai_mission_sysyem = True;
  4.  
  5. ///////////////////////////////////////////////////////
  6. /// clears all Weapons and Magazines off body on death
  7. ai_clear_body = False;
  8.  
  9. /// Clears dead bodies after given time
  10. ai_clean_dead = True;
  11.  
  12. /// Time (in seconds) after which a dead body will be cleaned up
  13. cleanup_time = 1800;
  14. ///////////////////////////////////////////////////////
  15. /// Sets radius for AI patrols (call spawn_group)
  16. ai_patrol_radius = 300;
  17.  
  18. /// Sets number of waypoints to add in patrol area (call spawn_group)
  19. ai_patrol_radius_wp = 10;
  20.  
  21. /// Sets behavior of AI groups
  22. ai_combatmode = "RED";
  23. ai_behaviour = "CARELESS";
  24.  
  25. ///////////////////////////////////////////////////////
  26. /// Turns on AI info sharing (Makes them very hard even on low skill settings)
  27. ai_ahare_info = True;
  28.  
  29. /// Distance AI will let other enemies know of your position (currently only on kill)
  30. ai_share_distance = 10;
  31.  
  32. ///////////////////////////////////////////////////////
  33. /// Gain humanity for killing an AI unit (True: is on. False: is off.)
  34. ai_humanity_gain = True;
  35.  
  36. /// Humanity added for AI kill
  37. ai_add_humanity = 200;
  38.  
  39. /// Adds bandit kill when killing an AI (True: on. False: off.)
  40. ai_banditkills_gain = True;
  41.  
  42. ///////////////////////////////////////////////////////
  43. /// Allows you to set a custom skill array for units. (True: will use these arrays. False: will use number in spawn array)
  44. ai_custom_skills = True;
  45.  
  46. /// Custom skill array. Use 0 to use this with ai_custom_skills = True
  47. ai_custom_array1 = [
  48. ["aimingAccuracy",0.15],
  49. ["aimingShake",0.15],
  50. ["aimingSpeed",0.15],
  51. ["endurance",0.15],
  52. ["spotDistance",0.15],
  53. ["spotTime",0.15],
  54. ["courage",0.10],
  55. ["reloadSpeed",0.15],
  56. ["commanding",0.15],
  57. ["general",0.10]
  58. ];
  59.  
  60. /// Custom skill array. Use 1 to use this with ai_custom_skills = True
  61. ai_custom_array2 = [
  62. ["aimingAccuracy",0.15],
  63. ["aimingShake",0.10],
  64. ["aimingSpeed",0.10],
  65. ["endurance",0.15],
  66. ["spotDistance",0.15],
  67. ["spotTime",0.15],
  68. ["courage",0.15],
  69. ["reloadSpeed",0.15],
  70. ["commanding",0.15],
  71. ["general",0.05]
  72. ];
  73.  
  74. /// Custom skill array. Use 2 to use this with ai_custom_skills = True
  75. ai_custom_array3 = [
  76. ["aimingAccuracy",0.10],
  77. ["aimingShake",0.10],
  78. ["aimingSpeed",0.10],
  79. ["endurance",0.15],
  80. ["spotDistance",0.15],
  81. ["spotTime",0.15],
  82. ["courage",0.05],
  83. ["reloadSpeed",0.15],
  84. ["commanding",0.05],
  85. ["general",0.15]
  86. ];
  87.  
  88. /// Arrays used in "Random" custom skill
  89. ai_skill_random = [ai_custom_array1,ai_custom_array2,ai_custom_array3];
  90.  
  91. ///////////////////////////////////////////////////////
  92. /// Allows AI on static guns to have a loadout
  93. ai_static_useweapon = True;
  94.  
  95. /// Allows you to set custom array for AI on static weapons. (True: On False: Off)
  96. ai_static_skills = True;
  97.  
  98. /// Custom skill array. Use this with ai_static_skills = True;
  99. ai_static_array = [
  100. ["aimingAccuracy",0.10],
  101. ["aimingShake",0.10],
  102. ["aimingSpeed",0.10],
  103. ["endurance",0.10],
  104. ["spotDistance",0.10],
  105. ["spotTime",0.10],
  106. ["courage",0.10],
  107. ["reloadSpeed",0.10],
  108. ["commanding",0.10],
  109. ["general",0.10]
  110. ];
  111.  
  112. ///////////////////////////////////////////////////////
  113. /// Gearset arrays for unit Loadouts ///
  114.  
  115. /// 0 ///
  116. ai_gear0 = [
  117. ["ItemBandage","ItemBandage","ItemPainkiller"],
  118. ["ItemKnife","ItemFlashlight"]
  119. ];
  120.  
  121. /// 1 ///
  122. ai_gear1 = [
  123. ["ItemBandage","ItemBandage","ItemPainkiller"],
  124. ["ItemKnife","ItemFlashlight"]
  125. ];
  126.  
  127. /// 2 ///
  128. ai_gear2 = [
  129. ["ItemBandage","ItemBandage","ItemPainkiller"],
  130. ["ItemKnife","ItemFlashlight"]
  131. ];
  132.  
  133. /// 3 ///
  134. ai_gear3 = [
  135. ["ItemBandage","ItemBandage","ItemPainkiller"],
  136. ["ItemKnife","ItemFlashlight"]
  137. ];
  138.  
  139. /// 4 ///
  140. ai_gear4 = [
  141. ["ItemBandage","ItemBandage","ItemPainkiller"],
  142. ["ItemKnife","ItemFlashlight"]
  143. ];
  144.  
  145. /// Gearsets to use if set to "Random" ///
  146. ai_gear_random = [ai_gear0,ai_gear1,ai_gear2,ai_gear3,ai_gear4];
  147.  
  148. ///////////////////////////////////////////////////////
  149. /// Weapon arrays for unit Loadouts ///
  150. /// Format is ["Gun","Ammo"] ///
  151.  
  152. /// 0 ///
  153. ai_wep0 = [
  154. ["AKS_74_UN_kobra","30Rnd_545x39_AKSD"],
  155. ["M4A3_CCO_EP1","30Rnd_556x45_Stanag"],
  156. ["M4A1_AIM_SD_camo","30Rnd_556x45_StanagSD"],
  157. ["M16A4","30Rnd_556x45_Stanag"],
  158. ["m8_carbine","30Rnd_556x45_Stanag"],
  159. ["BAF_L85A2_RIS_Holo","30Rnd_556x45_Stanag"],
  160. ["Sa58V_CCO_EP1","30Rnd_762x39_AK47"]
  161. ];
  162.  
  163. /// 1 ///
  164. ai_wep1 = [
  165. ["AK_107_pso","30Rnd_545x39_AK"],
  166. ["M16A4_ACG","30Rnd_556x45_Stanag"],
  167. ["Sa58V_RCO_EP1","30Rnd_762x39_AK47"],
  168. ["SCAR_L_STD_Mk4CQT","30Rnd_556x45_Stanag"],
  169. ["BAF_L86A2_ACOG","30Rnd_556x45_Stanag"],
  170. ["M4A1_AIM_SD_camo","30Rnd_556x45_StanagSD"],
  171. ["M14_EP1","20Rnd_762x51_DMR"],
  172. ["M8_sharpshooter","30Rnd_556x45_Stanag"]
  173. ];
  174.  
  175. /// 2 ///
  176. ai_wep2 = [
  177. ["AK_107_GL_pso","30Rnd_545x39_AK"],
  178. ["AK_107_GL_kobra","30Rnd_545x39_AK"],
  179. ["M4A1_HWS_GL","30Rnd_556x45_Stanag"],
  180. ["M16A4_ACG_GL","30Rnd_556x45_Stanag"],
  181. ["M8_carbineGL","30Rnd_556x45_Stanag"],
  182. ["SCAR_L_STD_EGLM_RCO","30Rnd_556x45_Stanag"],
  183. ["BAF_L85A2_UGL_Holo","30Rnd_556x45_Stanag"],
  184. ["M4A3_RCO_GL_EP1","30Rnd_556x45_Stanag"]
  185. ];
  186.  
  187. /// 3 ///
  188. ai_wep3 = [
  189. ["SCAR_H_STD_EGLM_Spect","20rnd_762x51_B_SCAR"],
  190. ["M110_NVG_EP1","20rnd_762x51_B_SCAR"],
  191. ["SCAR_H_LNG_Sniper_SD","20rnd_762x51_SB_SCAR"],
  192. ["SVD_CAMO","10Rnd_762x54_SVD"],
  193. ["VSS_Vintorez","20Rnd_9x39_SP5_VSS"],
  194. ["DMR","20Rnd_762x51_DMR"],
  195. ["M40A3","5Rnd_762x51_M24"]
  196. ];
  197.  
  198. /// 4 ///
  199. ai_wep4 = [
  200. ["RPK_74","75Rnd_545x39_RPK"],
  201. ["MK_48_DZ","100Rnd_762x51_M240"],
  202. ["M249_DZ","200Rnd_556x45_M249"],
  203. ["Pecheneg_DZ","100Rnd_762x54_PK"],
  204. ["M240_DZ","100Rnd_762x51_M240"]
  205. ];
  206.  
  207. /// Arrays used in "Random" for weapons///
  208. ai_wep_random = [ai_wep0,ai_wep1,ai_wep2,ai_wep3,ai_wep4];
  209.  
  210. ///////////////////////////////////////////////////////
  211. /// Backpacks used when "" for random ///
  212. ai_packs = [
  213. "DZ_Patrol_Pack_EP1",
  214. "DZ_Assault_Pack_EP1",
  215. "DZ_Czech_Vest_Puch",
  216. "DZ_TerminalPack_EP1",
  217. "DZ_ALICE_Pack_EP1",
  218. "DZ_TK_Assault_Pack_EP1",
  219. "DZ_CompactPack_EP1",
  220. "DZ_British_ACU",
  221. "DZ_GunBag_EP1",
  222. "DZ_CivilBackpack_EP1",
  223. "DZ_Backpack_EP1",
  224. "DZ_LargeGunBag_EP1"
  225. ];
  226.  
  227. ///////////////////////////////////////////////////////
  228. /// Skins used when "" for random ///
  229. ai_skin = [
  230. "Bandit1_DZ",
  231. "BanditW1_DZ",
  232. "BanditW2_DZ",
  233. "Camo1_DZ",
  234. "Sniper1_DZ",
  235. "Soldier1_DZ",
  236. "Survivor2_DZ",
  237. "SurvivorW2_DZ",
  238. "GUE_Soldier_MG_DZ",
  239. "GUE_Soldier_Sniper_DZ",
  240. "GUE_Soldier_Crew_DZ",
  241. "GUE_Soldier_2_DZ",
  242. "RU_Policeman_DZ",
  243. "Pilot_EP1_DZ",
  244. "Haris_Press_EP1_DZ",
  245. "Ins_Soldier_GL_DZ",
  246. "GUE_Commander_DZ",
  247. "Functionary1_EP1_DZ",
  248. "Priest_DZ",
  249. "Rocker1_DZ",
  250. "Rocker2_DZ",
  251. "Rocker3_DZ",
  252. "Rocker4_DZ",
  253. "TK_INS_Warlord_EP1_DZ",
  254. "TK_INS_Soldier_EP1_DZ",
  255. "Soldier_Sniper_PMC_DZ",
  256. "Soldier_TL_PMC_DZ",
  257. "FR_OHara_DZ",
  258. "FR_Rodriguez_DZ",
  259. "CZ_Soldier_Sniper_EP1_DZ",
  260. "Graves_Light_DZ",
  261. "Bandit2_DZ",
  262. "SurvivorWcombat_DZ"
  263. ];
  264. //////////////////////////////////////////////////////
  265. WAIconfigloaded = True;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement