Guest User

Untitled

a guest
Apr 24th, 2018
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 1.56 KB | None | 0 0
  1. class CfgAmmo
  2. {
  3.     class Default;
  4.     class BulletCore;
  5.     class BulletBase: BulletCore {};
  6.     class RKSL_20mm_Phalanx: BulletBase
  7.     {
  8.         hit = 57;
  9.         indirectHit = 20;
  10.         indirectHitRange = 0.400000;
  11.         visibleFire = 32;
  12.         audibleFire = 32;
  13.         visibleFireTime = 4;
  14.         soundHit[] = {"\ca\Weapons\Data\Sound\AZP85_explosion1", 17.782795, 1};
  15.         explosive = 0.600000;
  16.         airLock = 1;
  17.         cost = 15;
  18.         CraterEffects = "ExploAmmoCrater";
  19.         explosionEffects = "ExploAmmoExplosion";
  20.         tracerColor[] = {0.800000, 0.100000, 0.100000, 0.040000};
  21.         tracerColorR[] = {0.800000, 0.100000, 0.100000, 0.040000};
  22.     };
  23. };
  24.  
  25. class CfgMagazines
  26. {
  27.     class Default;
  28.     class CA_Magazine: Default {};
  29.     class VehicleMagazine: CA_Magazine {};
  30.     class 1550Rnd_20mm_phalanx: VehicleMagazine
  31.     {
  32.         scope = 2;
  33.         displayName = "20mm Phalanx 1550";
  34.         ammo = "RKSL_20mm_Phalanx";
  35.         count = 1550;
  36.         initSpeed = 1536;
  37.         maxLeadSpeed = 1200;
  38.     };
  39. }
  40.  
  41. class CfgWeapons
  42. {
  43.     class CannonCore;
  44.     class RKSL_Phalanx: CannonCore
  45.     {
  46.         scope = 1;
  47.         cursorAim = "\ca\Weapons\Data\clear_empty";
  48.         multiplier = 6;
  49.         autoFire = 1;
  50.         flashSize = 1.200000;
  51.     reloadTime = 0.060000;
  52.  
  53.         displayName = "Phalanx";
  54.         dispersion = 0.001500;
  55.         minRange = 1;
  56.         minRangeProbab = 0.990000;
  57.         midRange = 2400;
  58.         midRangeProbab = 0.990000;
  59.         maxRange = 5000;
  60.         maxRangeProbab = 0.600000;
  61.         sound[] = {"\ca\Weapons\Data\Sound\M197_5shots_rotation_end", 17.782795, 1};
  62.         aiRateOfFire = 0.300000;
  63.         aiRateOfFireDistance = 3000;
  64.         magazines[] = {"1550Rnd_20mm_phalanx"};
  65.         maxLeadSpeed = 1200;
  66.         canLock = 2;
  67.     };
  68. };
Add Comment
Please, Sign In to add comment