audiocustoms

GAU-19B config

Jun 9th, 2015
318
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  
  2. class Mode_SemiAuto;
  3. class Mode_Burst;
  4. class Mode_FullAuto;
  5. class Burst;
  6. class cfgWeapons
  7. {
  8. class Default;
  9. class gatling_20mm;
  10. class TF47_gau19b: gatling_20mm
  11. {
  12. scope = 1;
  13. displayName = "GAU-19/B";
  14. nameSound = "cannon";
  15. cursor = "EmptyCursor";
  16. cursorAim = "EmptyCursor";
  17. magazines[] = {"2000Rnd_HEIAP_red","1000Rnd_HEIAP_ir"};
  18. canLock = 2;
  19. magazineReloadTime = 10;
  20. modes[] = {"low","high","close","short","medium","far"};
  21. class GunParticles
  22. {
  23. class FirstEffect
  24. {
  25. effectName = "MachineGun1";
  26. positionName = "z_gunL_muzzle";
  27. directionName = "z_gunL_chamber";
  28. };
  29. class SecondEffect
  30. {
  31. effectName = "MachineGun1";
  32. positionName = "z_gunR_muzzle";
  33. directionName = "z_gunR_chamber";
  34. };
  35. class effect1
  36. {
  37. positionName = "machinegun_eject_pos";
  38. directionName = "machinegun_eject_dir";
  39. effectName = "MachineGunCartridge";
  40. };
  41. class effect2
  42. {
  43. positionName = "machinegun_eject_2_pos";
  44. directionName = "machinegun_eject_2_dir";
  45. effectName = "MachineGunCartridge";
  46. };
  47. };
  48.  
  49. class low: Mode_FullAuto
  50. {
  51. displayName = "Low";
  52. displayNameMagazine = "LOW";
  53. shortNameMagazine = "LOW";
  54. textureType = "burst";
  55. sounds[] = {"StandardSound"};
  56. class StandardSound
  57. {
  58. begin1[] = {"A3\Sounds_F\weapons\Gatling\gatling2",1,1,2000};
  59. soundBegin[] = {"begin1",1};
  60. weaponSoundEffect = "DefaultRifle";
  61. };
  62. soundContinuous = 0;
  63. flash = "gunfire";
  64. flashSize = 0.1;
  65. recoil = "Empty";
  66. aiDispersionCoefX = 10;
  67. aiDispersionCoefY = 10;
  68. ffMagnitude = 0.5;
  69. ffFrequency = 11;
  70. ffCount = 6;
  71. reloadTime = 0.03;
  72. dispersion = 0.015;
  73. minRange = 1;
  74. minRangeProbab = 0.06;
  75. midRange = 2;
  76. midRangeProbab = 0.06;
  77. maxRange = 3;
  78. maxRangeProbab = 0.004;
  79. showToPlayer = 1;
  80. multiplier = 1;
  81. };
  82. class high: Mode_FullAuto
  83. {
  84. displayName = "High";
  85. displayNameMagazine = "HIGH";
  86. shortNameMagazine = "HIGH";
  87. textureType = "fullAuto";
  88. sounds[] = {"StandardSound"};
  89. class StandardSound
  90. {
  91. begin1[] = {"A3\Sounds_F\weapons\Gatling\gatling2",1,1,2000};
  92. soundBegin[] = {"begin1",1};
  93. weaponSoundEffect = "DefaultRifle";
  94. };
  95. soundContinuous = 0;
  96. flash = "gunfire";
  97. flashSize = 0.1;
  98. recoil = "Empty";
  99. aiDispersionCoefX = 10;
  100. aiDispersionCoefY = 10;
  101. ffMagnitude = 0.5;
  102. ffFrequency = 11;
  103. ffCount = 6;
  104. dispersion = 0.015;
  105. minRange = 1;
  106. minRangeProbab = 0.08;
  107. midRange = 2;
  108. midRangeProbab = 0.058;
  109. maxRange = 3;
  110. maxRangeProbab = 0.004;
  111. reloadTime = 0.015;
  112. showToPlayer = 1;
  113. multiplier = 2;
  114. };
  115. };
  116. class mastersafe: Default
  117. {
  118. scope = 2;
  119. displayName = "Mastersafe";
  120. cursor = "EmptyCursor";
  121. cursorAim = "EmptyCursor";
  122. };
  123. };
  124.  
  125.  
  126. class cfgAmmo
  127. {
  128. class BulletBase;
  129. class HEIAP_50cal_red: BulletBase // 12.7mm Armor-Piercing-Incendiary-Tracer, Mk 300 Mod 0
  130. {
  131. hit = 31.5;
  132. indirectHit = 12;
  133. indirectHitRange = 3;
  134. explosive = 0.3;
  135. explosionEffects = "";
  136. cartridge = "FxCartridge_127";
  137. visibleFire = 32;
  138. audibleFire = 32;
  139. cost = 5;
  140. airLock = 1;
  141. caliber = 5.2;
  142. typicalSpeed = 1030;
  143. timeToLive = 10;
  144. model = "\A3\Weapons_f\Data\bullettracer\tracer_red";
  145. tracerScale = 1.2;
  146. tracerStartTime = 0.075;
  147. tracerEndTime = 1;
  148. airFriction = -0.00086;
  149. class CamShakeExplode
  150. {
  151. power = "(13^0.5)";
  152. duration = "((round (13^0.5))*0.2 max 0.2)";
  153. frequency = 20;
  154. distance = "((13^0.5)*3)";
  155. };
  156. class CamShakeHit
  157. {
  158. power = 13;
  159. duration = "((round (13^0.25))*0.2 max 0.2)";
  160. frequency = 20;
  161. distance = 1;
  162. };
  163. };
  164. class HEIAP_50cal_ir: HEIAP_50cal_red
  165. {
  166. nvgOnly = 1;
  167. };
  168. };
  169.  
  170. class CfgMagazines
  171. {
  172. class 1000Rnd_20mm_shells;
  173. class 2000Rnd_HEIAP_red: 1000Rnd_20mm_shells
  174. {
  175. scope = 2;
  176. displayName = "Mk 300 Red";
  177. displayNameShort = "Mk 300 Red";
  178. ammo = "HEIAP_50cal_red";
  179. count = 2000;
  180. initSpeed = 1030;
  181. maxLeadSpeed = 300;
  182. tracersEvery = 1;
  183. nameSound = "cannon";
  184. };
  185. class 1000Rnd_HEIAP_ir: 1000Rnd_20mm_shells
  186. {
  187. scope = 2;
  188. displayName = "Mk 300 IR";
  189. displayNameShort = "Mk 300 IR";
  190. ammo = "HEIAP_50cal_ir";
  191. count = 1000;
  192. initSpeed = 1030;
  193. maxLeadSpeed = 300;
  194. tracersEvery = 1;
  195. nameSound = "cannon";
  196. };
  197. };
RAW Paste Data