Advertisement
Guest User

Untitled

a guest
May 15th, 2016
111
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.92 KB | None | 0 0
  1. /*
  2. ASR AI3 server-side settings; these settings are only applicable on servers and single-player sessions
  3. this file must be found in <game folder>\userconfig\asr_ai3\
  4. for most settings, 0 = disabled, 1 = enabled
  5.  
  6. Mission makers can control these features by setting these global variables in init.sqf
  7. */
  8.  
  9. asr_ai3_main_setskills = 1; // Override AI skills based on their unit type (faction, training etc.; 0 - disabled, 1 - enabled)
  10. asr_ai3_main_joinlast = 2; // Groups left with only this number of units will merge with nearest group of the same faction (set to 0 to disable)
  11. asr_ai3_main_removegimps = 300; // Units unable to walk for this time will separate from their group to prevent slowing it down (time in seconds, set 0 to disable)
  12. asr_ai3_main_rearm = 40; // Enable basic AI rearming (resupply radius in meters; set to 0 to disable feature)
  13. asr_ai3_main_gunshothearing = 1.1; // Gunshot hearing range coefficient (applied to shooter's weapon sound range; 0 will disable the feature)
  14.  
  15. /*
  16. Units are classified into skill sets between 1 and 10
  17. By default, a lower level number means a better skilled unit
  18. Levels 8-10 are special:
  19. - 8-9 are for pilots
  20. - 10 is for trained snipers
  21. */
  22.  
  23. asr_ai3_main_sets = [ // for each level: skilltype, [<min value>, <random value added to min>]
  24.  
  25. // 0: super-AI (only used for testing)
  26. ["courage",[1.00,0.0],
  27. "reloadSpeed",[1.00,0.0],
  28. "commanding",[1.00,0.0],
  29. "aimingAccuracy",[1.00,0.0],
  30. "aimingShake",[1.00,0.0],
  31. "aimingSpeed",[1.00,0.0],
  32. "spotDistance",[1.00,0.0],
  33. "spotTime",[1.00,0.0]],
  34.  
  35. // 1: sf 1
  36. ["courage",[0.90,0.1],
  37. "reloadSpeed",[0.90,0.1],
  38. "commanding",[0.90,0.1],
  39. "aimingAccuracy",[0.70,0.2],
  40. "aimingShake",[0.70,0.2],
  41. "aimingSpeed",[0.40,0.2],
  42. "spotDistance",[0.90,0.1],
  43. "spotTime",[0.40,0.1]],
  44.  
  45. // 2: sf 2 (recon units, divers and spotters)
  46. ["courage",[0.85,0.1],
  47. "reloadSpeed",[0.85,0.1],
  48. "commanding",[0.85,0.1],
  49. "aimingAccuracy",[0.65,0.2],
  50. "aimingShake",[0.65,0.2],
  51. "aimingSpeed",[0.35,0.2],
  52. "spotDistance",[0.90,0.1],
  53. "spotTime",[0.40,0.1]],
  54.  
  55. // 3: regular 1 (regular army leaders, marksmen)
  56. ["courage",[0.80,0.1],
  57. "reloadSpeed",[0.80,0.1],
  58. "commanding",[0.90,0.1],
  59. "aimingAccuracy",[0.90,0.2],
  60. "aimingShake",[0.80,0.2],
  61. "aimingSpeed",[0.10,0.2],
  62. "spotDistance",[0.90,0.1],
  63. "spotTime",[0.40,0.1]],
  64.  
  65. // 4: regular 2 (regulars)
  66. ["courage",[0.75,0.1],
  67. "reloadSpeed",[0.75,0.1],
  68. "commanding",[0.75,0.1],
  69. "aimingAccuracy",[0.60,0.2],
  70. "aimingShake",[0.60,0.2],
  71. "aimingSpeed",[0.30,0.2],
  72. "spotDistance",[0.90,0.1],
  73. "spotTime",[0.35,0.1]],
  74.  
  75. // 5: militia or trained insurgents, former regulars (insurgent leaders, marksmen)
  76. ["courage",[0.70,0.1],
  77. "reloadSpeed",[0.70,0.1],
  78. "commanding",[0.70,0.1],
  79. "aimingAccuracy",[0.55,0.2],
  80. "aimingShake",[0.55,0.2],
  81. "aimingSpeed",[0.35,0.2],
  82. "spotDistance",[0.90,0.1],
  83. "spotTime",[0.30,0.1]],
  84.  
  85. // 6: some military training (insurgents)
  86. ["courage",[0.65,0.1],
  87. "reloadSpeed",[0.65,0.1],
  88. "commanding",[0.65,0.1],
  89. "aimingAccuracy",[0.50,0.2],
  90. "aimingShake",[0.50,0.2],
  91. "aimingSpeed",[0.30,0.2],
  92. "spotDistance",[0.90,0.1],
  93. "spotTime",[0.25,0.1]],
  94.  
  95. // 7: no military training
  96. ["courage",[0.30,0.1],
  97. "reloadSpeed",[0.30,0.1],
  98. "commanding",[0.30,0.1],
  99. "aimingAccuracy",[0.15,0.2],
  100. "aimingShake",[0.15,0.2],
  101. "aimingSpeed",[0.10,0.2],
  102. "spotDistance",[0.50,0.1],
  103. "spotTime",[0.10,0.1]],
  104.  
  105. // 8: pilot 1 (regular)
  106. ["courage",[0.70,0.1],
  107. "reloadSpeed",[0.70,0.1],
  108. "commanding",[0.70,0.1],
  109. "aimingAccuracy",[0.55,0.2],
  110. "aimingShake",[0.55,0.2],
  111. "aimingSpeed",[0.35,0.2],
  112. "spotDistance",[1,0.1],
  113. "spotTime",[0.70,0.1]],
  114.  
  115. // 9: pilot 2 (insurgent)
  116. ["courage",[0.70,0.1],
  117. "reloadSpeed",[0.70,0.1],
  118. "commanding",[0.70,0.1],
  119. "aimingAccuracy",[0.55,0.2],
  120. "aimingShake",[0.55,0.2],
  121. "aimingSpeed",[0.35,0.2],
  122. "spotDistance",[1,0.1],
  123. "spotTime",[0.65,0.1]],
  124.  
  125. // 10: sniper
  126. ["courage",[0.90,0.1],
  127. "reloadSpeed",[0.90,0.1],
  128. "commanding",[0.90,0.1],
  129. "aimingAccuracy",[0.90,0.2],
  130. "aimingShake",[0.70,0.2],
  131. "aimingSpeed",[0.10,0.2],
  132. "spotDistance",[1,0.1],
  133. "spotTime",[0.60,0.1]]
  134. ];
  135.  
  136. asr_ai3_main_levels_units = [
  137. [], // 0: super-AI (only used for testing)
  138. [], // 1: sf 1
  139. [], // 2: sf 2 (recon units, divers and spotters)
  140. [], // 3: regular 1 (regular army leaders, marksmen)
  141. [], // 4: regular 2 (regulars)
  142. [], // 5: militia or trained insurgents, former regulars (insurgent leaders, marksmen)
  143. [], // 6: civilians with some military training (insurgents)
  144. [], // 7: civilians without military training
  145. [], // 8: pilot 1 (regular)
  146. [], // 9: pilot 2 (insurgent)
  147. [] // 10: sniper
  148. ];
  149.  
  150. asr_ai3_main_factions = [ // default coefficient for unlisted factions is 1, meaning no change
  151. ["BLU_F",1],
  152. ["USMC",1],
  153. ["BIS_US",1],
  154. ["BIS_CZ",1],
  155. ["BIS_GER",1],
  156. ["BIS_UN",1],
  157. ["PMC_BAF",1],
  158. ["BIS_BAF",1],
  159. ["OPF_F",1],
  160. ["RU",1],
  161. ["BIS_TK",1],
  162. ["INS",1],
  163. ["BIS_TK_INS",1],
  164. ["IND_F",1],
  165. ["CDF",1],
  166. ["IND_G_F",1],
  167. ["GUE",1],
  168. ["BIS_TK_GUE",1]
  169. ];
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement