Guest User

Untitled

a guest
May 5th, 2020
129
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.15 KB | None | 0 0
  1. class CfgAmmo
  2. {
  3. class RocketBase;
  4. class ShellBase;
  5. class vil_73mm_HE: RocketBase
  6. {
  7. model = "\A3\Weapons_F_Exp\Launchers\RPG7\rocket_rpg7.p3d";
  8. hit = 80;
  9. indirectHit = 50;
  10. indirectHitRange = 4;
  11. warheadName = "HE";
  12. cost = 200;
  13. airFriction = 0.65;
  14. sideAirFriction = 0.15;
  15. maxSpeed = 300;
  16. initTime = 0.1;
  17. thrustTime = 0.05;
  18. thrust = 4000;
  19. fuseDistance = 5;
  20. CraterEffects = "ATMissileCrater";
  21. explosionEffects = "ATMissileExplosion";
  22. effectsMissileInit = "";
  23. effectsMissile = "EmptyEffect";
  24. simulationStep = 0.02;
  25. airLock = 0;
  26. aiAmmoUsageFlags = "128 + 512";
  27. irLock = 0;
  28. timeToLive = 6.1;
  29. maneuvrability = 0;
  30. allowAgainstInfantry = 1;
  31. explosive = 1;
  32. };
  33.  
  34. class vil_73mm_HEAT: vil_73mm_HE
  35. {
  36. hit = 250;
  37. indirectHit = 10;
  38. indirectHitRange = 0.2;
  39. warheadName = "HEAT";
  40. dangerRadiusHit = 100;
  41. suppressionRadiusHit = 20;
  42. typicalSpeed = 400;
  43. explosive = 1;
  44. allowAgainstInfantry = 0;
  45. };
  46. class M_Titan_AT;
  47. class M_vil_AT3_rocket: M_Titan_AT
  48. {
  49. proxyShape = "\vil_PL_veh\tank\at3_proxy";
  50. flightProfiles[] = {"Direct"};
  51. maxControlRange = 3000;
  52. initTime = 0.05;
  53. thrust = 50;
  54. thrust = 20;
  55. trackOversteer = 0;
  56. trackLead = 0;
  57. manualControl = 1;
  58. missileManualControlCone = 30;
  59. maxControlRange = 3000;
  60. };
  61.  
  62. };
  63.  
  64. class CfgMagazines
  65. {
  66.  
  67. class VehicleMagazine;
  68. class 20Rnd_vil_OG15W: VehicleMagazine
  69. {
  70. scope = 2;
  71. count = 20;
  72. ammo = "vil_73mm_HE";
  73. initSpeed = 200;
  74. maxLeadSpeed = 20;
  75. tracersEvery = 5;
  76. nameSound = "mgun";
  77. displayName = "OG15W";
  78. descriptionShort = "OG15W";
  79. };
  80. class 20Rnd_vil_PG15W: VehicleMagazine
  81. {
  82. scope = 2;
  83. count = 20;
  84. ammo = "vil_73mm_HEAT";
  85. initSpeed = 400;
  86. maxLeadSpeed = 20;
  87. tracersEvery = 5;
  88. nameSound = "mgun";
  89. displayName = "PG15W";
  90. descriptionShort = "PG15W";
  91. };
  92.  
  93. class 1Rnd_VIL_AT3_BMP1 : VehicleMagazine {
  94. scope = 2;
  95. displayName = "AT-3/9M14";
  96. descriptionShort = "AT-3/9M14";
  97. ammo = M_vil_AT3_rocket;
  98. count = 1;
  99. nameSound = "missiles";
  100. pylonWeapon = "vil_AT3_BMP_Launcher";
  101. maverickWeaponIndexOffset = 3;
  102. initSpeed = 50;
  103. maxLeadSpeed = 20;
  104.  
  105. };
  106. };
  107.  
  108. class Mode_SemiAuto;
  109. class CfgWeapons
  110. {
  111. class CannonCore;
  112. class vil_2A28_canon: CannonCore
  113. {
  114. scope = 1;
  115. displayName = "2A28";
  116. cursor = "EmptyCursor";
  117. cursorAim = "cannon";
  118. showAimCursorInternal = 0;
  119. nameSound = "cannon";
  120. reloadSound[] = {"A3\Sounds_F\arsenal\weapons_vehicles\cannon_105mm\Cannon_105mm_Reload_01",2.5118864,1,10};
  121. reloadMagazineSound[] = {"A3\Sounds_F\arsenal\weapons_vehicles\cannon_105mm\Cannon_105mm_Reload_01",2.5118864,1,10};
  122. magazines[] = {"20Rnd_vil_PG15W","20Rnd_vil_OG15W"};
  123. reloadTime = 6;
  124. magazineReloadTime = 5;
  125. autoReload = 1;
  126. canLock = 0;
  127. ballisticsComputer = "2 + 16";
  128. distanceZoomMin = 300;
  129. distanceZoomMax = 300;
  130. FCSMaxLeadSpeed = 25;
  131. FCSZeroingDelay = 1;
  132. aiDispersionCoefY = 2;
  133. aiDispersionCoefX = 2;
  134. autoFire = 0;
  135. modes[] = {"player","close","short","medium"};
  136. class GunParticles
  137. {
  138. class FirstEffect
  139. {
  140. effectName = "CannonFired";
  141. positionName = "Usti hlavne";
  142. directionName = "Konec hlavne";
  143. };
  144. };
  145. class player: Mode_SemiAuto
  146. {
  147. sounds[] = {"StandardSound"};
  148. class StandardSound
  149. {
  150. begin1[] = {"A3\Sounds_F\arsenal\weapons_vehicles\cannon_105mm\slammer_105mm_distant",2,1,800};
  151. soundBegin[] = {"begin1",1};
  152. };
  153. soundContinuous = 0;
  154. reloadTime = 5;
  155. magazineReloadTime = 5;
  156. autoReload = 1;
  157. autoFire = 0;
  158. dispersion = 0.0006;
  159. aiRateOfFire = 1;
  160. aiRateOfFireDistance = 10;
  161. minRange = 0;
  162. minRangeProbab = 0.01;
  163. midRange = 1;
  164. midRangeProbab = 0.01;
  165. maxRange = 2;
  166. maxRangeProbab = 0.01;
  167. };
  168. class close: player
  169. {
  170. showToPlayer = 0;
  171. burst = 1;
  172. burstRangeMax = 1;
  173. aiRateOfFire = 6;
  174. aiRateOfFireDispersion = 0.5;
  175. aiRateOfFireDistance = 500;
  176. minRange = 5;
  177. minRangeProbab = 0.1;
  178. midRange = 500;
  179. midRangeProbab = 0.8;
  180. maxRange = 1000;
  181. maxRangeProbab = 0.85;
  182. };
  183. class short: close
  184. {
  185. showToPlayer = 0;
  186. burst = 1;
  187. burstRangeMax = 1;
  188. aiRateOfFire = 6;
  189. aiRateOfFireDispersion = 1;
  190. aiRateOfFireDistance = 1000;
  191. minRange = 500;
  192. minRangeProbab = 0.3;
  193. midRange = 1000;
  194. midRangeProbab = 0.85;
  195. maxRange = 1500;
  196. maxRangeProbab = 0.85;
  197. };
  198. class medium: close
  199. {
  200. dispersion = 0.00075;
  201. showToPlayer = 0;
  202. burst = 1;
  203. burstRangeMax = 1;
  204. aiRateOfFire = 8;
  205. aiRateOfFireDispersion = 4;
  206. aiRateOfFireDistance = 1250;
  207. minRange = 1000;
  208. minRangeProbab = 0.6;
  209. midRange = 1500;
  210. midRangeProbab = 0.85;
  211. maxRange = 2000;
  212. maxRangeProbab = 0.8;
  213. };
  214.  
  215. };
  216.  
  217. class cannon_125mm;
  218. class vil_tank_2A46 : cannon_125mm
  219. {
  220. displayName = "2A46";
  221. displaynameshort = "2A46";
  222. };
  223. class LMG_coax;
  224. class vil_tank_PKT : LMG_coax
  225. {
  226. displayName = "PKT";
  227. displaynameshort = "PKT";
  228. magazines[] = {"1000Rnd_762x51_Belt"};
  229. class GunParticles
  230. {
  231. class FirstEffect
  232. {
  233. effectName = "MachineGun1";
  234. positionName = "kulas";
  235. directionName = "kulas_dir";
  236. };
  237. };
  238. };
  239. class HMG_NSVT;
  240. class vil_tank_NSV : HMG_NSVT
  241. {
  242. displayName = "NSV";
  243. displaynameshort = "NSV";
  244. magazines[] = {"50Rnd_127x108_Ball"};
  245. class GunParticles
  246. {
  247. class FirstEffect
  248. {
  249. effectName = "MachineGun1";
  250. positionName = "usti hlavne_2";
  251. directionName = "usti hlavne_2_dir";
  252. };
  253. class ejecteffect
  254. {
  255. effectName = "MachineGunCartridge2";
  256. positionName = "eject";
  257. directionName = "eject_dir";
  258. };
  259.  
  260. };
  261. };
  262. class missiles_titan;
  263. class vil_AT3_BMP_Launcher : missiles_titan {
  264. displayName = "Launcher";
  265. reloadTime = 5;
  266. magazineReloadTime = 30;
  267. magazines[] = {"1Rnd_VIL_AT3_BMP1"};
  268. modes[] = {"Player"};
  269. distanceZoomMin = 500;
  270. distanceZoomMax = 500;
  271. };
  272. };
Add Comment
Please, Sign In to add comment