Advertisement
Guest User

magazineshpp

a guest
Apr 20th, 2017
115
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 2.04 KB | None | 0 0
  1. class CfgMagazines
  2. {
  3.     class Default;
  4.     class CA_Magazine : Default{};
  5.     class VehicleMagazine: CA_Magazine{};
  6.    
  7.     class m36_mag: CA_Magazine
  8.     {
  9.         scope = public; /// or 2, to be precise
  10.         displayName = "M36 Lascarbine Magazine";
  11.         picture = "\a40K_MK4\icons\lasmag_ca.paa"; /// just some icon
  12.         ammo = "m36_ammo";
  13.         count = 200; /// 30 rounds is enough
  14.         initSpeed = 100000; /// standard muzzle speed
  15.         tracersEvery = 0; /// disable tracers by default
  16.         lastRoundsTracer = 999; /// tracers to track low ammo
  17.         descriptionShort = "M36 LasCarbine PowerPack."; /// on mouse-over in Inventory
  18.         magazineGroup[] = {"LasCarbine_Mags"}; /// all magazines in the same group may be used in weapon that has the group defined as compatible
  19.     };
  20.    
  21.     class m39_mag: CA_Magazine
  22.     {
  23.         scope = public; /// or 2, to be precise
  24.         displayName = "M39 Lasgun Magazine";
  25.         picture = "\a40K_MK4\icons\lasmag_ca.paa"; /// just some icon
  26.         ammo = "m39_ammo";
  27.         count = 150; /// 30 rounds is enough
  28.         initSpeed = 100000; /// standard muzzle speed
  29.         tracersEvery = 0; /// disable tracers by default
  30.         lastRoundsTracer = 999; /// tracers to track low ammo
  31.         descriptionShort = "M39 Lasgun PowerPack, also usable in M36 LasCarbines."; /// on mouse-over in Inventory
  32.         magazineGroup[] = {"Lasgun_Mags","LasCarbine_Mags"}; /// all magazines in the same group may be used in weapon that has the group defined as compatible
  33.     }; 
  34.    
  35.     class hotshot_mag: CA_Magazine
  36.     {
  37.         scope = public; /// or 2, to be precise
  38.         displayName = "Hotshot Long-Las Magazine";
  39.         picture = "\a40K_MK4\icons\lasmag_ca.paa"; /// just some icon
  40.         ammo = "hotshot_magammo";
  41.         count = 20; /// 30 rounds is enough
  42.         initSpeed = 100000; /// standard muzzle speed
  43.         tracersEvery = 0; /// disable tracers by default
  44.         lastRoundsTracer = 999; /// tracers to track low ammo
  45.         descriptionShort = "Hotshot PowerPack for a Long-Las."; /// on mouse-over in Inventory
  46.         magazineGroup[] = {"Hotshot_Mags"}; /// all magazines in the same group may be used in weapon that has the group defined as compatible
  47.     };     
  48. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement