Advertisement
Guest User

Untitled

a guest
Nov 28th, 2014
234
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 39.17 KB | None | 0 0
  1.  
  2. class cfgRecoils {
  3. scar_LRecoil = {0, 0.008000, 0.006000, 0.010000, 0.008000, 0.006000, 0.040000, 0.004000, 0.012000, 0.120000, 0, 0};
  4. scar_LRecoilProne = {0, 0.005000, 0.004000, 0.010000, 0.005000, 0.004000, 0.070000, 0.004000, 0.001000, 0.160000, 0, 0};
  5. scar_HRecoil = {0, 0.014000, 0.015000, 0.020000, 0.014000, 0.015000, 0.070000, 0.005000, 0.018000, 0.130000, 0, 0};
  6. scar_HRecoilProne = {0, 0.010000, 0.006000, 0.013000, 0.010000, 0.006000, 0.100000, 0.008000, 0.001000, 0.120000, 0, 0};
  7. };
  8.  
  9. class CfgMagazines {
  10. /*extern*/ class CA_Magazine;
  11. /*extern*/ class 30Rnd_556x45_Stanag;
  12.  
  13. class STI_8Rnd_12g_slug: CA_Magazine {
  14. scope = 2;
  15. displayName = "8Rnd 12gauge Slug";
  16. ammo = "B_12Gauge_Slug";
  17. count = 8;
  18. initSpeed = 396;
  19. picture = "\a3\weapons_f\data\ui\m_12gauge_slugs_ca.paa";
  20. };
  21.  
  22. class STI_8Rnd_12g_buck: STI_8Rnd_12g_slug {
  23. scope = 2;
  24. displayName = "8Rnd 12gauge 00buck";
  25. ammo = "B_12Gauge_Pellets";
  26. count = 8;
  27. initSpeed = 396;
  28. picture = "\a3\weapons_f\data\ui\m_12gauge_ca.paa";
  29. };
  30.  
  31. class STI_20Rnd_556x45_Stanag: 30Rnd_556x45_Stanag {
  32. scope = 2;
  33. displayName = "5.56mm 20Rnd Magazine";
  34. picture = "\A3\weapons_f\data\ui\m_20stanag_CA.paa";
  35. count = 20;
  36. };
  37. };
  38. /*extern*/ class Mode_SemiAuto;
  39. /*extern*/ class Mode_Burst;
  40. /*extern*/ class Mode_FullAuto;
  41. /*extern*/ class SlotInfo;
  42. /*extern*/ class CowsSlot;
  43. /*extern*/ class PointerSlot;
  44. /*extern*/ class ItemCore;
  45. /*extern*/ class WeaponSlotsInfo;
  46. /*extern*/ class InventoryMuzzleItem_Base_F;
  47.  
  48. class cfgWeapons {
  49. /*extern*/ class Rifle;
  50.  
  51. class Rifle_Base_F: Rifle {
  52. /*extern*/ class WeaponSlotsInfo;
  53. /*extern*/ class GunParticles;
  54. };
  55. /*extern*/ class UGL_F;
  56.  
  57. class SCAR_L_Base: Rifle_Base_F {
  58. magazines = {"30Rnd_556x45_Stanag", "30Rnd_556x45_Stanag_Tracer_Red", "30Rnd_556x45_Stanag_Tracer_Green", "30Rnd_556x45_Stanag_Tracer_Yellow"};
  59. reloadAction = "GestureReloadSMG_02";
  60. maxRecoilSway = 0.012500;
  61. swayDecaySpeed = 1.250000;
  62. opticsZoomMin = 0.375000;
  63. opticsZoomMax = 1.100000;
  64. opticsZoomInit = 0.750000;
  65. distanceZoomMin = 300;
  66. distanceZoomMax = 300;
  67. aiDispersionCoefY = 6.000000;
  68. aiDispersionCoefX = 4.000000;
  69. dexterity = 1.800000;
  70. descriptionShort = "Assault Rifle <br />Cartridge: 5.56×45mm NATO<br />Action: Gas-operated, rotating bolt<br />Rate of fire: 625 rounds/min<br />Muzzle velocity: 870 m/s<br />Effective range: 300 m<br />Feed system: Various STANAG magazines";
  71.  
  72. class Library {
  73. libTextDesc = "The Special Operations Forces Combat Assault Rifle (SCAR) is a modular rifle made by FN Herstal (FNH) for the United States Special Operations Command (SOCOM) to satisfy the requirements of the SCAR competition. This family of rifles consist of two main types. The SCAR-L is chambered in the 5.56×45mm NATO cartridge and the SCAR-H fires 7.62×51mm NATO. Both are available in Long Barrel and Close Quarters Combat variants.";
  74. };
  75.  
  76. class ItemInfo {
  77. priority = 1;
  78. RMBhint = "SCARL";
  79. onHoverText = "TODO SCARL DSS";
  80. };
  81.  
  82. class WeaponSlotsInfo: WeaponSlotsInfo {
  83.  
  84. class MuzzleSlot: SlotInfo {
  85. linkProxy = "\A3\data_f\proxies\weapon_slots\MUZZLE";
  86. compatibleItems = {"sti_aac"};
  87. };
  88.  
  89. class asdg_FrontSideRail_SCAR: asdg_FrontSideRail {
  90. };
  91.  
  92. class asdg_OpticRail_SCAR: asdg_OpticRail1913 {
  93. };
  94. };
  95. bullet1 = {"A3\sounds_f\weapons\shells\5_56\metal_556_01.wav", 0.100000, 1, 15};
  96. bullet2 = {"A3\sounds_f\weapons\shells\5_56\metal_556_02.wav", 0.100000, 1, 15};
  97. bullet3 = {"A3\sounds_f\weapons\shells\5_56\metal_556_03.wav", 0.177828, 1, 15};
  98. bullet4 = {"A3\sounds_f\weapons\shells\5_56\metal_556_04.wav", 0.177828, 1, 15};
  99. bullet5 = {"A3\sounds_f\weapons\shells\5_56\asphlat_556_01.wav", 0.100000, 1, 15};
  100. bullet6 = {"A3\sounds_f\weapons\shells\5_56\asphlat_556_02.wav", 0.100000, 1, 15};
  101. bullet7 = {"A3\sounds_f\weapons\shells\5_56\asphlat_556_03.wav", 0.100000, 1, 15};
  102. bullet8 = {"A3\sounds_f\weapons\shells\5_56\asphlat_556_04.wav", 0.100000, 1, 15};
  103. bullet9 = {"A3\sounds_f\weapons\shells\5_56\grass_556_01.wav", 0.010000, 1, 15};
  104. bullet10 = {"A3\sounds_f\weapons\shells\5_56\grass_556_02.wav", 0.010000, 1, 15};
  105. bullet11 = {"A3\sounds_f\weapons\shells\5_56\grass_556_03.wav", 0.010000, 1, 15};
  106. bullet12 = {"A3\sounds_f\weapons\shells\5_56\grass_556_04.wav", 0.010000, 1, 15};
  107. soundBullet = {"bullet1", 0.083000, "bullet2", 0.083000, "bullet3", 0.083000, "bullet4", 0.083000, "bullet5", 0.083000, "bullet6", 0.083000, "bullet7", 0.083000, "bullet8", 0.083000, "bullet9", 0.083000, "bullet10", 0.083000, "bullet11", 0.083000, "bullet12", 0.083000};
  108. reloadMagazineSound = {"sti_weap_rifles_a3\scar\sound\Reload", 0.031623, 1};
  109. drySound = {"A3\sounds_f\weapons\Other\dry_1", 0.562341, 1, 10};
  110. changeFiremodeSound = {"\a3\sounds_f\weapons\Closure\firemode_changer_2", 0.562341, 1, 30};
  111. modes = {"Single", "FullAuto_medium", "FullAuto", "single_medium_optics1", "single_far_optics2"};
  112.  
  113. class Single: Mode_SemiAuto {
  114. sounds = {"StandardSound", "SilencedSound"};
  115.  
  116. class BaseSoundModeType {
  117. weaponSoundEffect = "DefaultRifle";
  118. closure1 = {"A3\sounds_f\weapons\closure\closure_rifle_2", 0.501187, 1, 10};
  119. closure2 = {"A3\sounds_f\weapons\closure\closure_rifle_3", 0.501187, 1, 10};
  120. soundClosure = {"closure1", 0.500000, "closure2", 0.500000};
  121. };
  122.  
  123. class StandardSound: BaseSoundModeType {
  124. begin1 = {"A3\sounds_f\weapons\Trg20\trg_single_1", 1.000000, 1, 1200};
  125. begin2 = {"A3\sounds_f\weapons\Trg20\trg_single_2", 1.000000, 1, 1200};
  126. begin3 = {"A3\sounds_f\weapons\Trg20\trg_single_3", 1.000000, 1, 1200};
  127. soundBegin = {"begin1", 0.333000, "begin2", 0.333000, "begin3", 0.333000};
  128. };
  129.  
  130. class SilencedSound: BaseSoundModeType {
  131. begin1 = {"A3\sounds_f\weapons\silenced\silent-18", 1.000000, 1, 240};
  132. begin2 = {"A3\sounds_f\weapons\silenced\silent-19", 1.000000, 1, 240};
  133. begin3 = {"A3\sounds_f\weapons\silenced\silent-11", 1.000000, 1, 240};
  134. soundBegin = {"begin1", 0.333000, "begin2", 0.333000, "begin3", 0.333000};
  135. };
  136. reloadTime = 0.075000;
  137. recoil = "scar_LRecoil";
  138. recoilProne = "scar_LRecoilprone";
  139. dispersion = 0.000870;
  140. minRange = 2;
  141. minRangeProbab = 0.500000;
  142. midRange = 200;
  143. midRangeProbab = 0.700000;
  144. maxRange = 400;
  145. maxRangeProbab = 0.300000;
  146. };
  147.  
  148. class FullAuto: Mode_FullAuto {
  149. sounds = {"StandardSound", "SilencedSound"};
  150.  
  151. class BaseSoundModeType {
  152. weaponSoundEffect = "DefaultRifle";
  153. closure1 = {"A3\sounds_f\weapons\closure\closure_rifle_2", 0.501187, 1, 10};
  154. closure2 = {"A3\sounds_f\weapons\closure\closure_rifle_3", 0.501187, 1, 10};
  155. soundClosure = {"closure1", 0.500000, "closure2", 0.500000};
  156. };
  157.  
  158. class StandardSound: BaseSoundModeType {
  159. begin1 = {"A3\sounds_f\weapons\Trg20\trg_single_1", 1.000000, 1, 1200};
  160. begin2 = {"A3\sounds_f\weapons\Trg20\trg_single_2", 1.000000, 1, 1200};
  161. begin3 = {"A3\sounds_f\weapons\Trg20\trg_single_3", 1.000000, 1, 1200};
  162. soundBegin = {"begin1", 0.333000, "begin2", 0.333000, "begin3", 0.333000};
  163. };
  164.  
  165. class SilencedSound: BaseSoundModeType {
  166. begin1 = {"A3\sounds_f\weapons\silenced\silent-18", 1.000000, 1, 240};
  167. begin2 = {"A3\sounds_f\weapons\silenced\silent-19", 1.000000, 1, 240};
  168. begin3 = {"A3\sounds_f\weapons\silenced\silent-11", 1.000000, 1, 240};
  169. soundBegin = {"begin1", 0.333000, "begin2", 0.333000, "begin3", 0.333000};
  170. };
  171. reloadTime = 0.075000;
  172. dispersion = 0.000870;
  173. recoil = "scar_LRecoil";
  174. recoilProne = "scar_LRecoilprone";
  175. minRange = 0;
  176. minRangeProbab = 0.900000;
  177. midRange = 15;
  178. midRangeProbab = 0.700000;
  179. maxRange = 30;
  180. maxRangeProbab = 0.100000;
  181. aiRateOfFire = 0.000001;
  182. };
  183.  
  184. class FullAuto_medium: FullAuto {
  185. showToPlayer = 0;
  186. burst = 3;
  187. minRange = 2;
  188. minRangeProbab = 0.500000;
  189. midRange = 75;
  190. midRangeProbab = 0.700000;
  191. maxRange = 150;
  192. maxRangeProbab = 0.050000;
  193. aiRateOfFire = 2.000000;
  194. aiRateOfFireDistance = 200;
  195. };
  196.  
  197. class single_medium_optics1: Single {
  198. requiredOpticType = 1;
  199. showToPlayer = 0;
  200. minRange = 2;
  201. minRangeProbab = 0.200000;
  202. midRange = 450;
  203. midRangeProbab = 0.700000;
  204. maxRange = 600;
  205. maxRangeProbab = 0.200000;
  206. aiRateOfFire = 6;
  207. aiRateOfFireDistance = 600;
  208. };
  209.  
  210. class single_far_optics2: single_medium_optics1 {
  211. requiredOpticType = 2;
  212. showToPlayer = 0;
  213. minRange = 100;
  214. minRangeProbab = 0.100000;
  215. midRange = 500;
  216. midRangeProbab = 0.600000;
  217. maxRange = 700;
  218. maxRangeProbab = 0.050000;
  219. aiRateOfFire = 8;
  220. aiRateOfFireDistance = 700;
  221. };
  222.  
  223. class GL_3GL_F: UGL_F {
  224. displayName = "EGLM";
  225. descriptionShort = "$STR_A3_cfgweapons_3gl1";
  226. useModelOptics = 0;
  227. useExternalOptic = 0;
  228. magazines = {"1Rnd_HE_Grenade_shell", "UGL_FlareWhite_F", "UGL_FlareGreen_F", "UGL_FlareRed_F", "UGL_FlareYellow_F", "UGL_FlareCIR_F", "1Rnd_Smoke_Grenade_shell", "1Rnd_SmokeRed_Grenade_shell", "1Rnd_SmokeGreen_Grenade_shell", "1Rnd_SmokeYellow_Grenade_shell", "1Rnd_SmokePurple_Grenade_shell", "1Rnd_SmokeBlue_Grenade_shell", "1Rnd_SmokeOrange_Grenade_shell", "3Rnd_HE_Grenade_shell", "3Rnd_UGL_FlareWhite_F", "3Rnd_UGL_FlareGreen_F", "3Rnd_UGL_FlareRed_F", "3Rnd_UGL_FlareYellow_F", "3Rnd_UGL_FlareCIR_F", "3Rnd_Smoke_Grenade_shell", "3Rnd_SmokeRed_Grenade_shell", "3Rnd_SmokeGreen_Grenade_shell", "3Rnd_SmokeYellow_Grenade_shell", "3Rnd_SmokePurple_Grenade_shell", "3Rnd_SmokeBlue_Grenade_shell", "3Rnd_SmokeOrange_Grenade_shell"};
  229. cameraDir = "OP_look";
  230. discreteDistance = {100, 200, 300, 400};
  231. discreteDistanceCameraPoint = {"OP_eye", "OP_eye2", "OP_eye3", "OP_eye4"};
  232. discreteDistanceInitIndex = 1;
  233. };
  234. };
  235.  
  236. class STI_SCAR_L_CQC: SCAR_L_Base {
  237. scope = 2;
  238. displayName = "SCAR-L CQC";
  239. picture = "\sti_weap_rifles_a3\SCAR\data\UI\scarl_cqc_x_ca.paa";
  240. UiPicture = "\A3\weapons_f\data\UI\icon_regular_CA.paa";
  241. model = "\sti_weap_rifles_a3\SCAR\mk16_short";
  242. handAnim = {"OFP2_ManSkeleton", "\sti_weap_rifles_a3\scar\data\anim\SCAR.rtm"};
  243.  
  244. class WeaponSlotsInfo: WeaponSlotsInfo {
  245. mass = 30;
  246. };
  247.  
  248. class ItemInfo {
  249. priority = 1;
  250. RMBhint = "SCARL_CQC";
  251. onHoverText = "TODO SCARL_CQC DSS";
  252. };
  253. };
  254.  
  255. class STI_SCAR_L_CQC_EGLM: STI_SCAR_L_CQC {
  256. scope = 2;
  257. displayName = "SCAR-L CQC EGLM";
  258. picture = "\sti_weap_rifles_a3\SCAR\data\UI\scarl_cqc_eglm_x_ca.paa";
  259. UiPicture = "\A3\weapons_f\data\UI\icon_regular_CA.paa";
  260. model = "\sti_weap_rifles_a3\SCAR\mk16_short_eglm";
  261. handAnim = {"OFP2_ManSkeleton", "\sti_weap_rifles_a3\scar\data\anim\SCAR_EGLM.rtm"};
  262.  
  263. class WeaponSlotsInfo: WeaponSlotsInfo {
  264. mass = 45;
  265. };
  266.  
  267. class ItemInfo {
  268. priority = 1;
  269. RMBhint = "SCARL_CQC_EGLM";
  270. onHoverText = "TODO SCARL_CQC_EGLM DSS";
  271. };
  272. muzzles = {"this", "GL_3GL_F"};
  273. };
  274.  
  275. class STI_SCAR_L: SCAR_L_Base {
  276. scope = 2;
  277. displayName = "SCAR-L";
  278. picture = "\sti_weap_rifles_a3\SCAR\data\UI\scarl_cqc_x_ca.paa";
  279. UiPicture = "\A3\weapons_f\data\UI\icon_regular_CA.paa";
  280. model = "\sti_weap_rifles_a3\SCAR\mk16_std";
  281. handAnim = {"OFP2_ManSkeleton", "\sti_weap_rifles_a3\scar\data\anim\SCAR.rtm"};
  282.  
  283. class WeaponSlotsInfo: WeaponSlotsInfo {
  284. mass = 33;
  285. };
  286.  
  287. class ItemInfo {
  288. priority = 1;
  289. RMBhint = "SCARL";
  290. onHoverText = "TODO SCARL DSS";
  291. };
  292. descriptionShort = "Assault Rifle <br />Cartridge: 5.56×45mm NATO<br />Action: Gas-operated, rotating bolt<br />Rate of fire: 625 rounds/min<br />Muzzle velocity: 870 m/s<br />Effective range: 500 m<br />Feed system: Various STANAG magazines";
  293. };
  294.  
  295. class STI_SCAR_H: SCAR_L_Base {
  296. scope = 2;
  297. displayName = "SCAR-H";
  298. picture = "\sti_weap_rifles_a3\SCAR\data\UI\scarh_x_ca.paa";
  299. UiPicture = "\A3\weapons_f\data\UI\icon_regular_CA.paa";
  300. model = "\sti_weap_rifles_a3\SCAR\mk17_short";
  301. handAnim = {"OFP2_ManSkeleton", "\sti_weap_rifles_a3\scar\data\anim\SCAR.rtm"};
  302.  
  303. class WeaponSlotsInfo: WeaponSlotsInfo {
  304. mass = 35;
  305. };
  306.  
  307. class ItemInfo {
  308. priority = 1;
  309. RMBhint = "SCARH";
  310. onHoverText = "TODO SCARH DSS";
  311. };
  312. descriptionShort = "Assault Rifle <br />Cartridge: 7.62×51mm NATO<br />Action: Gas-operated, rotating bolt<br />Rate of fire: 625 rounds/min<br />Muzzle velocity: 714 m/s<br />Effective range: 600 m<br />Feed system: Various STANAG magazines";
  313. magazines = {"20Rnd_762x51_Mag"};
  314. bullet1 = {"A3\sounds_f\weapons\shells\5_56\metal_556_01.wav", 0.100000, 1, 15};
  315. bullet2 = {"A3\sounds_f\weapons\shells\5_56\metal_556_02.wav", 0.100000, 1, 15};
  316. bullet3 = {"A3\sounds_f\weapons\shells\5_56\metal_556_03.wav", 0.177828, 1, 15};
  317. bullet4 = {"A3\sounds_f\weapons\shells\5_56\metal_556_04.wav", 0.177828, 1, 15};
  318. bullet5 = {"A3\sounds_f\weapons\shells\5_56\asphlat_556_01.wav", 0.100000, 1, 15};
  319. bullet6 = {"A3\sounds_f\weapons\shells\5_56\asphlat_556_02.wav", 0.100000, 1, 15};
  320. bullet7 = {"A3\sounds_f\weapons\shells\5_56\asphlat_556_03.wav", 0.100000, 1, 15};
  321. bullet8 = {"A3\sounds_f\weapons\shells\5_56\asphlat_556_04.wav", 0.100000, 1, 15};
  322. bullet9 = {"A3\sounds_f\weapons\shells\5_56\grass_556_01.wav", 0.010000, 1, 15};
  323. bullet10 = {"A3\sounds_f\weapons\shells\5_56\grass_556_02.wav", 0.010000, 1, 15};
  324. bullet11 = {"A3\sounds_f\weapons\shells\5_56\grass_556_03.wav", 0.010000, 1, 15};
  325. bullet12 = {"A3\sounds_f\weapons\shells\5_56\grass_556_04.wav", 0.010000, 1, 15};
  326. soundBullet = {"bullet1", 0.083000, "bullet2", 0.083000, "bullet3", 0.083000, "bullet4", 0.083000, "bullet5", 0.083000, "bullet6", 0.083000, "bullet7", 0.083000, "bullet8", 0.083000, "bullet9", 0.083000, "bullet10", 0.083000, "bullet11", 0.083000, "bullet12", 0.083000};
  327. reloadMagazineSound = {"sti_weap_rifles_a3\scar\sound\Reload", 0.031623, 1};
  328. drySound = {"A3\sounds_f\weapons\Other\dry_1", 0.562341, 1, 10};
  329. modes = {"Single", "FullAuto_medium", "FullAuto", "single_medium_optics1", "single_far_optics2"};
  330.  
  331. class Single: Mode_SemiAuto {
  332. sounds = {"StandardSound", "SilencedSound"};
  333.  
  334. class BaseSoundModeType {
  335. weaponSoundEffect = "DefaultRifle";
  336. closure1 = {"A3\sounds_f\weapons\closure\ebr-3", 1.122020, 1.200000, 30};
  337. closure2 = {"A3\sounds_f\weapons\closure\ebr-3", 1.122020, 1, 30};
  338. soundClosure = {"closure1", 0.500000, "closure2", 0.500000};
  339. };
  340.  
  341. class StandardSound: BaseSoundModeType {
  342. begin1 = {"A3\sounds_f\weapons\EBR\EBR_st_4", 1.000000, 1, 1200};
  343. begin2 = {"A3\sounds_f\weapons\EBR\EBR_st_5", 1.000000, 1, 1200};
  344. begin3 = {"A3\sounds_f\weapons\EBR\EBR_st_6", 1.000000, 1, 1200};
  345. soundBegin = {"begin1", 0.340000, "begin2", 0.330000, "begin3", 0.330000};
  346. };
  347.  
  348. class SilencedSound: BaseSoundModeType {
  349. begin1 = {"A3\sounds_f\weapons\silenced\silent-23", 1.000000, 1, 200};
  350. begin2 = {"A3\sounds_f\weapons\silenced\silent-24", 1.000000, 1, 200};
  351. soundBegin = {"begin1", 0.500000, "begin2", 0.500000};
  352. };
  353. reloadTime = 0.075000;
  354. recoil = "scar_HRecoil";
  355. recoilProne = "scar_HRecoilprone";
  356. dispersion = 0.000870;
  357. minRange = 2;
  358. minRangeProbab = 0.500000;
  359. midRange = 200;
  360. midRangeProbab = 0.700000;
  361. maxRange = 400;
  362. maxRangeProbab = 0.300000;
  363. };
  364.  
  365. class FullAuto: Mode_FullAuto {
  366. sounds = {"StandardSound", "SilencedSound"};
  367.  
  368. class BaseSoundModeType {
  369. weaponSoundEffect = "DefaultRifle";
  370. closure1 = {"A3\sounds_f\weapons\closure\ebr-3", 1.122020, 1.200000, 30};
  371. closure2 = {"A3\sounds_f\weapons\closure\ebr-3", 1.122020, 1, 30};
  372. soundClosure = {"closure1", 0.500000, "closure2", 0.500000};
  373. };
  374.  
  375. class StandardSound: BaseSoundModeType {
  376. begin1 = {"A3\sounds_f\weapons\EBR\EBR_st_4", 1.000000, 1, 1200};
  377. begin2 = {"A3\sounds_f\weapons\EBR\EBR_st_5", 1.000000, 1, 1200};
  378. begin3 = {"A3\sounds_f\weapons\EBR\EBR_st_6", 1.000000, 1, 1200};
  379. soundBegin = {"begin1", 0.340000, "begin2", 0.330000, "begin3", 0.330000};
  380. };
  381.  
  382. class SilencedSound: BaseSoundModeType {
  383. begin1 = {"A3\sounds_f\weapons\silenced\silent-23", 1.000000, 1, 200};
  384. begin2 = {"A3\sounds_f\weapons\silenced\silent-24", 1.000000, 1, 200};
  385. soundBegin = {"begin1", 0.500000, "begin2", 0.500000};
  386. };
  387. reloadTime = 0.075000;
  388. dispersion = 0.000870;
  389. recoil = "scar_HRecoil";
  390. recoilProne = "scar_HRecoilprone";
  391. minRange = 0;
  392. minRangeProbab = 0.900000;
  393. midRange = 15;
  394. midRangeProbab = 0.700000;
  395. maxRange = 30;
  396. maxRangeProbab = 0.100000;
  397. aiRateOfFire = 0.000001;
  398. };
  399.  
  400. class FullAuto_medium: FullAuto {
  401. showToPlayer = 0;
  402. burst = 3;
  403. minRange = 2;
  404. minRangeProbab = 0.500000;
  405. midRange = 75;
  406. midRangeProbab = 0.700000;
  407. maxRange = 150;
  408. maxRangeProbab = 0.050000;
  409. aiRateOfFire = 2.000000;
  410. aiRateOfFireDistance = 200;
  411. };
  412.  
  413. class single_medium_optics1: Single {
  414. requiredOpticType = 1;
  415. showToPlayer = 0;
  416. minRange = 2;
  417. minRangeProbab = 0.200000;
  418. midRange = 450;
  419. midRangeProbab = 0.700000;
  420. maxRange = 600;
  421. maxRangeProbab = 0.200000;
  422. aiRateOfFire = 6;
  423. aiRateOfFireDistance = 600;
  424. };
  425.  
  426. class single_far_optics2: single_medium_optics1 {
  427. requiredOpticType = 2;
  428. showToPlayer = 0;
  429. minRange = 100;
  430. minRangeProbab = 0.100000;
  431. midRange = 500;
  432. midRangeProbab = 0.600000;
  433. maxRange = 700;
  434. maxRangeProbab = 0.050000;
  435. aiRateOfFire = 8;
  436. aiRateOfFireDistance = 700;
  437. };
  438. };
  439.  
  440. class STI_M16_Base: Rifle_Base_F {
  441. magazines = {"30Rnd_556x45_Stanag", "30Rnd_556x45_Stanag_Tracer_Red", "30Rnd_556x45_Stanag_Tracer_Green", "30Rnd_556x45_Stanag_Tracer_Yellow"};
  442. reloadAction = "GestureReloadSMG_02";
  443. maxRecoilSway = 0.012500;
  444. swayDecaySpeed = 1.250000;
  445. opticsZoomMin = 0.375000;
  446. opticsZoomMax = 1.100000;
  447. opticsZoomInit = 0.750000;
  448. distanceZoomMin = 300;
  449. distanceZoomMax = 300;
  450. aiDispersionCoefY = 6.000000;
  451. aiDispersionCoefX = 4.000000;
  452. dexterity = 1.800000;
  453. descriptionShort = "Assault Rifle <br />Cartridge: 5.56×45mm NATO<br />Action: Gas-operated, rotating bolt<br />Rate of fire: 700 rounds/min<br />Muzzle velocity: 948 m/s<br />Effective range: 550 m<br />Feed system: Various STANAG magazines";
  454.  
  455. class Library {
  456. libTextDesc = "The M16A4 is the fourth generation of the M16 series. It is equipped with a removable carrying handle and a full length quad Picatinny rail for mounting optics and other ancillary devices. The FN M16A4, using safe/semi/burst selective fire, is now the standard issue for all U.S. Marine Corps and is the current issue to Marine Corps";
  457. };
  458.  
  459. class ItemInfo {
  460. priority = 1;
  461. RMBhint = "M16A4";
  462. onHoverText = "TODO M16A4 DSS";
  463. };
  464.  
  465. class WeaponSlotsInfo: WeaponSlotsInfo {
  466.  
  467. class MuzzleSlot: SlotInfo {
  468. linkProxy = "\A3\data_f\proxies\weapon_slots\MUZZLE";
  469. compatibleItems = {"sti_kac_nt4"};
  470. };
  471.  
  472. class asdg_FrontSideRail_M16: asdg_FrontSideRail {
  473. };
  474.  
  475. class asdg_OpticRail_M16: asdg_OpticRail1913_short {
  476. };
  477. };
  478. bullet1 = {"A3\sounds_f\weapons\shells\5_56\metal_556_01.wav", 0.100000, 1, 15};
  479. bullet2 = {"A3\sounds_f\weapons\shells\5_56\metal_556_02.wav", 0.100000, 1, 15};
  480. bullet3 = {"A3\sounds_f\weapons\shells\5_56\metal_556_03.wav", 0.177828, 1, 15};
  481. bullet4 = {"A3\sounds_f\weapons\shells\5_56\metal_556_04.wav", 0.177828, 1, 15};
  482. bullet5 = {"A3\sounds_f\weapons\shells\5_56\asphlat_556_01.wav", 0.100000, 1, 15};
  483. bullet6 = {"A3\sounds_f\weapons\shells\5_56\asphlat_556_02.wav", 0.100000, 1, 15};
  484. bullet7 = {"A3\sounds_f\weapons\shells\5_56\asphlat_556_03.wav", 0.100000, 1, 15};
  485. bullet8 = {"A3\sounds_f\weapons\shells\5_56\asphlat_556_04.wav", 0.100000, 1, 15};
  486. bullet9 = {"A3\sounds_f\weapons\shells\5_56\grass_556_01.wav", 0.010000, 1, 15};
  487. bullet10 = {"A3\sounds_f\weapons\shells\5_56\grass_556_02.wav", 0.010000, 1, 15};
  488. bullet11 = {"A3\sounds_f\weapons\shells\5_56\grass_556_03.wav", 0.010000, 1, 15};
  489. bullet12 = {"A3\sounds_f\weapons\shells\5_56\grass_556_04.wav", 0.010000, 1, 15};
  490. soundBullet = {"bullet1", 0.083000, "bullet2", 0.083000, "bullet3", 0.083000, "bullet4", 0.083000, "bullet5", 0.083000, "bullet6", 0.083000, "bullet7", 0.083000, "bullet8", 0.083000, "bullet9", 0.083000, "bullet10", 0.083000, "bullet11", 0.083000, "bullet12", 0.083000};
  491. reloadMagazineSound = {"sti_weap_rifles_a3\scar\sound\Reload", 0.031623, 1};
  492. drySound = {"A3\sounds_f\weapons\Other\dry_1", 0.562341, 1, 10};
  493. changeFiremodeSound = {"\a3\sounds_f\weapons\Closure\firemode_changer_2", 0.562341, 1, 30};
  494. modes = {"Single", "FullAuto_medium", "Burst", "single_medium_optics1", "single_far_optics2"};
  495.  
  496. class Single: Mode_SemiAuto {
  497. sounds = {"StandardSound", "SilencedSound"};
  498.  
  499. class BaseSoundModeType {
  500. weaponSoundEffect = "DefaultRifle";
  501. closure1 = {"A3\sounds_f\weapons\closure\closure_rifle_2", 0.501187, 1, 10};
  502. closure2 = {"A3\sounds_f\weapons\closure\closure_rifle_3", 0.501187, 1, 10};
  503. soundClosure = {"closure1", 0.500000, "closure2", 0.500000};
  504. };
  505.  
  506. class StandardSound: BaseSoundModeType {
  507. begin1 = {"A3\sounds_f\weapons\Trg20\trg_single_1", 1.000000, 1, 1200};
  508. begin2 = {"A3\sounds_f\weapons\Trg20\trg_single_2", 1.000000, 1, 1200};
  509. begin3 = {"A3\sounds_f\weapons\Trg20\trg_single_3", 1.000000, 1, 1200};
  510. soundBegin = {"begin1", 0.333000, "begin2", 0.333000, "begin3", 0.333000};
  511. };
  512.  
  513. class SilencedSound: BaseSoundModeType {
  514. begin1 = {"A3\sounds_f\weapons\silenced\silent-18", 1.000000, 1, 240};
  515. begin2 = {"A3\sounds_f\weapons\silenced\silent-19", 1.000000, 1, 240};
  516. begin3 = {"A3\sounds_f\weapons\silenced\silent-11", 1.000000, 1, 240};
  517. soundBegin = {"begin1", 0.333000, "begin2", 0.333000, "begin3", 0.333000};
  518. };
  519. reloadTime = 0.075000;
  520. recoil = "scar_LRecoil";
  521. recoilProne = "scar_LRecoilprone";
  522. dispersion = 0.000870;
  523. minRange = 2;
  524. minRangeProbab = 0.500000;
  525. midRange = 200;
  526. midRangeProbab = 0.700000;
  527. maxRange = 400;
  528. maxRangeProbab = 0.300000;
  529. };
  530.  
  531. class Burst: Mode_Burst {
  532. sounds = {"StandardSound", "SilencedSound"};
  533.  
  534. class BaseSoundModeType {
  535. weaponSoundEffect = "DefaultRifle";
  536. closure1 = {"A3\sounds_f\weapons\closure\closure_rifle_2", 0.501187, 1, 10};
  537. closure2 = {"A3\sounds_f\weapons\closure\closure_rifle_3", 0.501187, 1, 10};
  538. soundClosure = {"closure1", 0.500000, "closure2", 0.500000};
  539. };
  540.  
  541. class StandardSound: BaseSoundModeType {
  542. begin1 = {"A3\sounds_f\weapons\Trg20\trg_single_1", 1.000000, 1, 1200};
  543. begin2 = {"A3\sounds_f\weapons\Trg20\trg_single_2", 1.000000, 1, 1200};
  544. begin3 = {"A3\sounds_f\weapons\Trg20\trg_single_3", 1.000000, 1, 1200};
  545. soundBegin = {"begin1", 0.333000, "begin2", 0.333000, "begin3", 0.333000};
  546. };
  547.  
  548. class SilencedSound: BaseSoundModeType {
  549. begin1 = {"A3\sounds_f\weapons\silenced\silent-18", 1.000000, 1, 240};
  550. begin2 = {"A3\sounds_f\weapons\silenced\silent-19", 1.000000, 1, 240};
  551. begin3 = {"A3\sounds_f\weapons\silenced\silent-11", 1.000000, 1, 240};
  552. soundBegin = {"begin1", 0.333000, "begin2", 0.333000, "begin3", 0.333000};
  553. };
  554. reloadTime = 0.075000;
  555. dispersion = 0.000870;
  556. recoil = "scar_LRecoil";
  557. recoilProne = "scar_LRecoilprone";
  558. minRange = 0;
  559. minRangeProbab = 0.900000;
  560. midRange = 15;
  561. midRangeProbab = 0.700000;
  562. maxRange = 30;
  563. maxRangeProbab = 0.100000;
  564. aiRateOfFire = 0.000001;
  565. burst = 3;
  566. };
  567.  
  568. class FullAuto_medium: Burst {
  569. showToPlayer = 0;
  570. burst = 3;
  571. minRange = 2;
  572. minRangeProbab = 0.500000;
  573. midRange = 75;
  574. midRangeProbab = 0.700000;
  575. maxRange = 150;
  576. maxRangeProbab = 0.050000;
  577. aiRateOfFire = 2.000000;
  578. aiRateOfFireDistance = 200;
  579. };
  580.  
  581. class single_medium_optics1: Single {
  582. requiredOpticType = 1;
  583. showToPlayer = 0;
  584. minRange = 2;
  585. minRangeProbab = 0.200000;
  586. midRange = 450;
  587. midRangeProbab = 0.700000;
  588. maxRange = 600;
  589. maxRangeProbab = 0.200000;
  590. aiRateOfFire = 6;
  591. aiRateOfFireDistance = 600;
  592. };
  593.  
  594. class single_far_optics2: single_medium_optics1 {
  595. requiredOpticType = 2;
  596. showToPlayer = 0;
  597. minRange = 100;
  598. minRangeProbab = 0.100000;
  599. midRange = 500;
  600. midRangeProbab = 0.600000;
  601. maxRange = 700;
  602. maxRangeProbab = 0.050000;
  603. aiRateOfFire = 8;
  604. aiRateOfFireDistance = 700;
  605. };
  606.  
  607. class GL_3GL_F: UGL_F {
  608. displayName = "EGLM";
  609. descriptionShort = "$STR_A3_cfgweapons_3gl1";
  610. useModelOptics = 0;
  611. useExternalOptic = 0;
  612. magazines = {"1Rnd_HE_Grenade_shell", "UGL_FlareWhite_F", "UGL_FlareGreen_F", "UGL_FlareRed_F", "UGL_FlareYellow_F", "UGL_FlareCIR_F", "1Rnd_Smoke_Grenade_shell", "1Rnd_SmokeRed_Grenade_shell", "1Rnd_SmokeGreen_Grenade_shell", "1Rnd_SmokeYellow_Grenade_shell", "1Rnd_SmokePurple_Grenade_shell", "1Rnd_SmokeBlue_Grenade_shell", "1Rnd_SmokeOrange_Grenade_shell", "3Rnd_HE_Grenade_shell", "3Rnd_UGL_FlareWhite_F", "3Rnd_UGL_FlareGreen_F", "3Rnd_UGL_FlareRed_F", "3Rnd_UGL_FlareYellow_F", "3Rnd_UGL_FlareCIR_F", "3Rnd_Smoke_Grenade_shell", "3Rnd_SmokeRed_Grenade_shell", "3Rnd_SmokeGreen_Grenade_shell", "3Rnd_SmokeYellow_Grenade_shell", "3Rnd_SmokePurple_Grenade_shell", "3Rnd_SmokeBlue_Grenade_shell", "3Rnd_SmokeOrange_Grenade_shell"};
  613. cameraDir = "OP_look";
  614. discreteDistance = {100, 200, 300, 400};
  615. discreteDistanceCameraPoint = {"OP_eye", "OP_eye2", "OP_eye3", "OP_eye4"};
  616. discreteDistanceInitIndex = 1;
  617. };
  618. };
  619.  
  620. class STI_M16A4: STI_M16_Base {
  621. scope = 2;
  622. displayName = "M16A4";
  623. picture = "\sti_weap_rifles_a3\SCAR\data\UI\scarl_cqc_x_ca.paa";
  624. UiPicture = "\A3\weapons_f\data\UI\icon_regular_CA.paa";
  625. model = "\sti_weap_rifles_a3\m16\m16a4";
  626. handAnim = {"OFP2_ManSkeleton", "\sti_weap_rifles_a3\m16\data\anim\m16a4.rtm"};
  627.  
  628. class WeaponSlotsInfo: WeaponSlotsInfo {
  629. mass = 72;
  630. };
  631. };
  632.  
  633. class STI_M16A4_RIS: STI_M16A4 {
  634. scope = 2;
  635. displayName = "M16A4";
  636. picture = "\sti_weap_rifles_a3\SCAR\data\UI\scarl_cqc_x_ca.paa";
  637. model = "\sti_weap_rifles_a3\m16\m16a4_vert";
  638. handAnim = {"OFP2_ManSkeleton", "\sti_weap_rifles_a3\m16\data\anim\m16a4_vert.rtm"};
  639. };
  640.  
  641. class STI_MK12_SPR: STI_M16A4 {
  642. magazines = {"STI_20Rnd_556x45_Stanag", "30Rnd_556x45_Stanag", "30Rnd_556x45_Stanag_Tracer_Red", "30Rnd_556x45_Stanag_Tracer_Green", "30Rnd_556x45_Stanag_Tracer_Yellow"};
  643. scope = 2;
  644. displayName = "Mk12 SPR Mod0";
  645. picture = "\sti_weap_rifles_a3\SCAR\data\UI\scarl_cqc_x_ca.paa";
  646. model = "\sti_weap_rifles_a3\m16\mk12_spr";
  647. handAnim = {"OFP2_ManSkeleton", "\sti_weap_rifles_a3\m16\data\anim\m16a4.rtm"};
  648. };
  649.  
  650. class STI_M4_Base: Rifle_Base_F {
  651. magazines = {"30Rnd_556x45_Stanag", "30Rnd_556x45_Stanag_Tracer_Red", "30Rnd_556x45_Stanag_Tracer_Green", "30Rnd_556x45_Stanag_Tracer_Yellow"};
  652. reloadAction = "GestureReloadSMG_02";
  653. maxRecoilSway = 0.012500;
  654. swayDecaySpeed = 1.250000;
  655. opticsZoomMin = 0.375000;
  656. opticsZoomMax = 1.100000;
  657. opticsZoomInit = 0.750000;
  658. distanceZoomMin = 300;
  659. distanceZoomMax = 300;
  660. aiDispersionCoefY = 6.000000;
  661. aiDispersionCoefX = 4.000000;
  662. dexterity = 1.800000;
  663. descriptionShort = "Assault Rifle <br />Cartridge: 5.56×45mm NATO<br />Action: Gas-operated, rotating bolt<br />Rate of fire: 700 rounds/min<br />Muzzle velocity: 948 m/s<br />Effective range: 550 m<br />Feed system: Various STANAG magazines";
  664.  
  665. class Library {
  666. libTextDesc = "The M4 has selective fire options including semi-automatic and three-round burst (like the M16A2 and M16A4), while the M4A1 has the capability to fire fully automatic instead of three-round burst (like the M16A1 and M16A3).";
  667. };
  668.  
  669. class ItemInfo {
  670. priority = 1;
  671. RMBhint = "M4A1";
  672. onHoverText = "TODO M4A1 DSS";
  673. };
  674.  
  675. class WeaponSlotsInfo: WeaponSlotsInfo {
  676.  
  677. class MuzzleSlot: SlotInfo {
  678. linkProxy = "\A3\data_f\proxies\weapon_slots\MUZZLE";
  679. compatibleItems = {"sti_kac_nt4"};
  680. };
  681.  
  682. class asdg_FrontSideRail_M16: asdg_FrontSideRail {
  683. };
  684.  
  685. class asdg_OpticRail_M16: asdg_OpticRail1913_short {
  686. };
  687. };
  688. bullet1 = {"A3\sounds_f\weapons\shells\5_56\metal_556_01.wav", 0.100000, 1, 15};
  689. bullet2 = {"A3\sounds_f\weapons\shells\5_56\metal_556_02.wav", 0.100000, 1, 15};
  690. bullet3 = {"A3\sounds_f\weapons\shells\5_56\metal_556_03.wav", 0.177828, 1, 15};
  691. bullet4 = {"A3\sounds_f\weapons\shells\5_56\metal_556_04.wav", 0.177828, 1, 15};
  692. bullet5 = {"A3\sounds_f\weapons\shells\5_56\asphlat_556_01.wav", 0.100000, 1, 15};
  693. bullet6 = {"A3\sounds_f\weapons\shells\5_56\asphlat_556_02.wav", 0.100000, 1, 15};
  694. bullet7 = {"A3\sounds_f\weapons\shells\5_56\asphlat_556_03.wav", 0.100000, 1, 15};
  695. bullet8 = {"A3\sounds_f\weapons\shells\5_56\asphlat_556_04.wav", 0.100000, 1, 15};
  696. bullet9 = {"A3\sounds_f\weapons\shells\5_56\grass_556_01.wav", 0.010000, 1, 15};
  697. bullet10 = {"A3\sounds_f\weapons\shells\5_56\grass_556_02.wav", 0.010000, 1, 15};
  698. bullet11 = {"A3\sounds_f\weapons\shells\5_56\grass_556_03.wav", 0.010000, 1, 15};
  699. bullet12 = {"A3\sounds_f\weapons\shells\5_56\grass_556_04.wav", 0.010000, 1, 15};
  700. soundBullet = {"bullet1", 0.083000, "bullet2", 0.083000, "bullet3", 0.083000, "bullet4", 0.083000, "bullet5", 0.083000, "bullet6", 0.083000, "bullet7", 0.083000, "bullet8", 0.083000, "bullet9", 0.083000, "bullet10", 0.083000, "bullet11", 0.083000, "bullet12", 0.083000};
  701. reloadMagazineSound = {"sti_weap_rifles_a3\scar\sound\Reload", 0.031623, 1};
  702. drySound = {"A3\sounds_f\weapons\Other\dry_1", 0.562341, 1, 10};
  703. changeFiremodeSound = {"\a3\sounds_f\weapons\Closure\firemode_changer_2", 0.562341, 1, 30};
  704. modes = {"Single", "FullAuto_medium", "Burst", "single_medium_optics1", "single_far_optics2"};
  705.  
  706. class Single: Mode_SemiAuto {
  707. sounds = {"StandardSound", "SilencedSound"};
  708.  
  709. class BaseSoundModeType {
  710. weaponSoundEffect = "DefaultRifle";
  711. closure1 = {"A3\sounds_f\weapons\closure\closure_rifle_2", 0.501187, 1, 10};
  712. closure2 = {"A3\sounds_f\weapons\closure\closure_rifle_3", 0.501187, 1, 10};
  713. soundClosure = {"closure1", 0.500000, "closure2", 0.500000};
  714. };
  715.  
  716. class StandardSound: BaseSoundModeType {
  717. begin1 = {"A3\sounds_f\weapons\Trg20\trg_single_1", 1.000000, 1, 1200};
  718. begin2 = {"A3\sounds_f\weapons\Trg20\trg_single_2", 1.000000, 1, 1200};
  719. begin3 = {"A3\sounds_f\weapons\Trg20\trg_single_3", 1.000000, 1, 1200};
  720. soundBegin = {"begin1", 0.333000, "begin2", 0.333000, "begin3", 0.333000};
  721. };
  722.  
  723. class SilencedSound: BaseSoundModeType {
  724. begin1 = {"A3\sounds_f\weapons\silenced\silent-18", 1.000000, 1, 240};
  725. begin2 = {"A3\sounds_f\weapons\silenced\silent-19", 1.000000, 1, 240};
  726. begin3 = {"A3\sounds_f\weapons\silenced\silent-11", 1.000000, 1, 240};
  727. soundBegin = {"begin1", 0.333000, "begin2", 0.333000, "begin3", 0.333000};
  728. };
  729. reloadTime = 0.075000;
  730. recoil = "scar_LRecoil";
  731. recoilProne = "scar_LRecoilprone";
  732. dispersion = 0.000870;
  733. minRange = 2;
  734. minRangeProbab = 0.500000;
  735. midRange = 200;
  736. midRangeProbab = 0.700000;
  737. maxRange = 400;
  738. maxRangeProbab = 0.300000;
  739. };
  740.  
  741. class Burst: Mode_FullAuto {
  742. sounds = {"StandardSound", "SilencedSound"};
  743.  
  744. class BaseSoundModeType {
  745. weaponSoundEffect = "DefaultRifle";
  746. closure1 = {"A3\sounds_f\weapons\closure\closure_rifle_2", 0.501187, 1, 10};
  747. closure2 = {"A3\sounds_f\weapons\closure\closure_rifle_3", 0.501187, 1, 10};
  748. soundClosure = {"closure1", 0.500000, "closure2", 0.500000};
  749. };
  750.  
  751. class StandardSound: BaseSoundModeType {
  752. begin1 = {"A3\sounds_f\weapons\Trg20\trg_single_1", 1.000000, 1, 1200};
  753. begin2 = {"A3\sounds_f\weapons\Trg20\trg_single_2", 1.000000, 1, 1200};
  754. begin3 = {"A3\sounds_f\weapons\Trg20\trg_single_3", 1.000000, 1, 1200};
  755. soundBegin = {"begin1", 0.333000, "begin2", 0.333000, "begin3", 0.333000};
  756. };
  757.  
  758. class SilencedSound: BaseSoundModeType {
  759. begin1 = {"A3\sounds_f\weapons\silenced\silent-18", 1.000000, 1, 240};
  760. begin2 = {"A3\sounds_f\weapons\silenced\silent-19", 1.000000, 1, 240};
  761. begin3 = {"A3\sounds_f\weapons\silenced\silent-11", 1.000000, 1, 240};
  762. soundBegin = {"begin1", 0.333000, "begin2", 0.333000, "begin3", 0.333000};
  763. };
  764. reloadTime = 0.075000;
  765. dispersion = 0.000870;
  766. recoil = "scar_LRecoil";
  767. recoilProne = "scar_LRecoilprone";
  768. minRange = 0;
  769. minRangeProbab = 0.900000;
  770. midRange = 15;
  771. midRangeProbab = 0.700000;
  772. maxRange = 30;
  773. maxRangeProbab = 0.100000;
  774. aiRateOfFire = 0.000001;
  775. };
  776.  
  777. class FullAuto_medium: Burst {
  778. showToPlayer = 0;
  779. burst = 3;
  780. minRange = 2;
  781. minRangeProbab = 0.500000;
  782. midRange = 75;
  783. midRangeProbab = 0.700000;
  784. maxRange = 150;
  785. maxRangeProbab = 0.050000;
  786. aiRateOfFire = 2.000000;
  787. aiRateOfFireDistance = 200;
  788. };
  789.  
  790. class single_medium_optics1: Single {
  791. requiredOpticType = 1;
  792. showToPlayer = 0;
  793. minRange = 2;
  794. minRangeProbab = 0.200000;
  795. midRange = 450;
  796. midRangeProbab = 0.700000;
  797. maxRange = 600;
  798. maxRangeProbab = 0.200000;
  799. aiRateOfFire = 6;
  800. aiRateOfFireDistance = 600;
  801. };
  802.  
  803. class single_far_optics2: single_medium_optics1 {
  804. requiredOpticType = 2;
  805. showToPlayer = 0;
  806. minRange = 100;
  807. minRangeProbab = 0.100000;
  808. midRange = 500;
  809. midRangeProbab = 0.600000;
  810. maxRange = 700;
  811. maxRangeProbab = 0.050000;
  812. aiRateOfFire = 8;
  813. aiRateOfFireDistance = 700;
  814. };
  815.  
  816. class GL_3GL_F: UGL_F {
  817. displayName = "EGLM";
  818. descriptionShort = "$STR_A3_cfgweapons_3gl1";
  819. useModelOptics = 0;
  820. useExternalOptic = 0;
  821. magazines = {"1Rnd_HE_Grenade_shell", "UGL_FlareWhite_F", "UGL_FlareGreen_F", "UGL_FlareRed_F", "UGL_FlareYellow_F", "UGL_FlareCIR_F", "1Rnd_Smoke_Grenade_shell", "1Rnd_SmokeRed_Grenade_shell", "1Rnd_SmokeGreen_Grenade_shell", "1Rnd_SmokeYellow_Grenade_shell", "1Rnd_SmokePurple_Grenade_shell", "1Rnd_SmokeBlue_Grenade_shell", "1Rnd_SmokeOrange_Grenade_shell", "3Rnd_HE_Grenade_shell", "3Rnd_UGL_FlareWhite_F", "3Rnd_UGL_FlareGreen_F", "3Rnd_UGL_FlareRed_F", "3Rnd_UGL_FlareYellow_F", "3Rnd_UGL_FlareCIR_F", "3Rnd_Smoke_Grenade_shell", "3Rnd_SmokeRed_Grenade_shell", "3Rnd_SmokeGreen_Grenade_shell", "3Rnd_SmokeYellow_Grenade_shell", "3Rnd_SmokePurple_Grenade_shell", "3Rnd_SmokeBlue_Grenade_shell", "3Rnd_SmokeOrange_Grenade_shell"};
  822. cameraDir = "OP_look";
  823. discreteDistance = {100, 200, 300, 400};
  824. discreteDistanceCameraPoint = {"OP_eye", "OP_eye2", "OP_eye3", "OP_eye4"};
  825. discreteDistanceInitIndex = 1;
  826. };
  827. };
  828.  
  829. class STI_M4A1: STI_M4_Base {
  830. scope = 2;
  831. displayName = "M4A1";
  832. picture = "\sti_weap_rifles_a3\SCAR\data\UI\scarl_cqc_x_ca.paa";
  833. UiPicture = "\A3\weapons_f\data\UI\icon_regular_CA.paa";
  834. model = "\sti_weap_rifles_a3\m4\m4a1";
  835. handAnim = {"OFP2_ManSkeleton", "\sti_weap_rifles_a3\m16\data\anim\m16a4.rtm"};
  836.  
  837. class WeaponSlotsInfo: WeaponSlotsInfo {
  838. mass = 72;
  839. };
  840. initspeed = 880;
  841. };
  842.  
  843. class STI_MK18MOD0: STI_M4_Base {
  844. scope = 2;
  845. displayName = "Mk18 Mod 0";
  846. picture = "\sti_weap_rifles_a3\SCAR\data\UI\scarl_cqc_x_ca.paa";
  847. UiPicture = "\A3\weapons_f\data\UI\icon_regular_CA.paa";
  848. model = "\sti_weap_rifles_a3\m4\mk18_mod0";
  849. handAnim = {"OFP2_ManSkeleton", "\sti_weap_rifles_a3\m16\data\anim\M16A4_vert.rtm"};
  850.  
  851. class WeaponSlotsInfo: WeaponSlotsInfo {
  852. mass = 65;
  853. };
  854. initspeed = 900;
  855.  
  856. class Library {
  857. libTextDesc = "The Close Quarter Battle Receiver (CQBR) is a replacement upper receiver for the M4A1 Carbine, developed by the US Navy. The CQBR replaces the M4 with a barrel 10.3 in (262 mm) length, making it the modern equivalent of the Colt Commando short-barrel M16 variants of the past. The complete CQBR-equipped carbine has been type-classified as the Mk 18 Mod 0.";
  858. };
  859. };
  860.  
  861. class sti_kac_nt4: ItemCore {
  862. htMin = 1;
  863. htMax = 600;
  864. afMax = 0;
  865. mfMax = 0;
  866. mFact = 1;
  867. tBody = 100;
  868. scope = 2;
  869. displayName = "KAC NT4 Suppressor";
  870. picture = "\A3\weapons_F\Data\UI\gear_acca_snds_h_CA.paa";
  871. model = "\sti_weap_rifles_a3\ACC\kac_nt4";
  872.  
  873. class ItemInfo: InventoryMuzzleItem_Base_F {
  874. mass = 6;
  875.  
  876. class MagazineCoef {
  877. initSpeed = 1.100000;
  878. };
  879.  
  880. class AmmoCoef {
  881. hit = 1;
  882. typicalSpeed = 1;
  883. airFriction = 1;
  884. visibleFire = 0.500000;
  885. audibleFire = 0.300000;
  886. visibleFireTime = 0.500000;
  887. audibleFireTime = 0.500000;
  888. cost = 1;
  889. };
  890. soundTypeIndex = 1;
  891. muzzleEnd = "zaslehPoint";
  892. alternativeFire = "Zasleh2";
  893.  
  894. class MuzzleCoef {
  895. dispersionCoef = "0.8f";
  896. artilleryDispersionCoef = "1.0f";
  897. fireLightCoef = "0.1f";
  898. recoilCoef = "1.0f";
  899. recoilProneCoef = "1.0f";
  900. minRangeCoef = "1.0f";
  901. minRangeProbabCoef = "1.0f";
  902. midRangeCoef = "1.0f";
  903. midRangeProbabCoef = "1.0f";
  904. maxRangeCoef = "1.0f";
  905. maxRangeProbabCoef = "1.0f";
  906. };
  907. };
  908. inertia = 0.100000;
  909. };
  910.  
  911. class sti_aac: ItemCore {
  912. htMin = 1;
  913. htMax = 600;
  914. afMax = 0;
  915. mfMax = 0;
  916. mFact = 1;
  917. tBody = 100;
  918. scope = 2;
  919. displayName = "AAC Suppressor";
  920. picture = "\A3\weapons_F\Data\UI\gear_acca_snds_h_CA.paa";
  921. model = "\sti_weap_rifles_a3\acc\aac";
  922.  
  923. class ItemInfo: InventoryMuzzleItem_Base_F {
  924. mass = 8;
  925.  
  926. class MagazineCoef {
  927. initSpeed = 1.100000;
  928. };
  929.  
  930. class AmmoCoef {
  931. hit = 1;
  932. typicalSpeed = 1;
  933. airFriction = 1;
  934. visibleFire = 0.500000;
  935. audibleFire = 0.300000;
  936. visibleFireTime = 0.500000;
  937. audibleFireTime = 0.500000;
  938. cost = 1;
  939. };
  940. soundTypeIndex = 1;
  941. muzzleEnd = "zaslehPoint";
  942. alternativeFire = "Zasleh2";
  943.  
  944. class MuzzleCoef {
  945. dispersionCoef = "0.8f";
  946. artilleryDispersionCoef = "1.0f";
  947. fireLightCoef = "0.1f";
  948. recoilCoef = "1.0f";
  949. recoilProneCoef = "1.0f";
  950. minRangeCoef = "1.0f";
  951. minRangeProbabCoef = "1.0f";
  952. midRangeCoef = "1.0f";
  953. midRangeProbabCoef = "1.0f";
  954. maxRangeCoef = "1.0f";
  955. maxRangeProbabCoef = "1.0f";
  956. };
  957. };
  958. inertia = 0.100000;
  959. };
  960. };
  961.  
  962. class cfgVehicles {
  963. /*extern*/ class NATO_Box_Base;
  964.  
  965. class STI_Rifles_ammobox: NATO_Box_Base {
  966. author = "Stiltman [STI]";
  967. scope = 2;
  968. vehicleClass = "Ammo";
  969. displayName = "[STI] Rifles";
  970. model = "\A3\weapons_F\AmmoBoxes\WpnsBox_F";
  971. icon = "iconCrateWpns";
  972.  
  973. class TransportMagazines {
  974.  
  975. class _xx_30rnd_556x45_STANAG {
  976. magazine = "30rnd_556x45_STANAG";
  977. count = 200;
  978. };
  979.  
  980. class _xx_STI_20Rnd_556x45_Stanag {
  981. magazine = "STI_20Rnd_556x45_Stanag";
  982. count = 50;
  983. };
  984.  
  985. class _xx_20Rnd_762x51_Mag {
  986. magazine = "20Rnd_762x51_Mag";
  987. count = 50;
  988. };
  989.  
  990. class _xx_1Rnd_HE_Grenade_shell {
  991. magazine = "1Rnd_HE_Grenade_shell";
  992. count = 50;
  993. };
  994. };
  995.  
  996. class TransportItems {
  997. };
  998.  
  999. class TransportWeapons {
  1000.  
  1001. class _xx_STI_M4A1 {
  1002. weapon = "STI_M4A1";
  1003. count = 5;
  1004. };
  1005.  
  1006. class _xx_STI_MK18MOD0 {
  1007. weapon = "STI_MK18MOD0";
  1008. count = 5;
  1009. };
  1010.  
  1011. class _xx_STI_M16A4 {
  1012. weapon = "STI_M16A4";
  1013. count = 5;
  1014. };
  1015.  
  1016. class _xx_STI_M16A4_RIS {
  1017. weapon = "STI_M16A4_RIS";
  1018. count = 5;
  1019. };
  1020.  
  1021. class _xx_STI_MK12_SPR {
  1022. weapon = "STI_MK12_SPR";
  1023. count = 5;
  1024. };
  1025.  
  1026. class _xx_STI_SCAR_L_CQC {
  1027. weapon = "STI_SCAR_L_CQC";
  1028. count = 5;
  1029. };
  1030.  
  1031. class _xx_STI_SCAR_L_CQC_EGLM {
  1032. weapon = "STI_SCAR_L_CQC_EGLM";
  1033. count = 5;
  1034. };
  1035.  
  1036. class _xx_STI_SCAR_L {
  1037. weapon = "STI_SCAR_L";
  1038. count = 5;
  1039. };
  1040.  
  1041. class _xx_STI_SCAR_H {
  1042. weapon = "STI_SCAR_H";
  1043. count = 5;
  1044. };
  1045. };
  1046. };
  1047. };
  1048.  
  1049. enum {
  1050. = 2,
  1051. destructengine = 2,
  1052. destructdefault = 6,
  1053. destructwreck = 7,
  1054. destructtree = 3,
  1055. destructtent = 4,
  1056. stabilizedinaxisx = 1,
  1057. stabilizedinaxesxyz = 4,
  1058. stabilizedinaxisy = 2,
  1059. stabilizedinaxesboth = 3,
  1060. destructno = 0,
  1061. stabilizedinaxesnone = 0,
  1062. destructman = 5,
  1063. destructbuilding = 1
  1064. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement