Guest User

configcpp

a guest
Apr 20th, 2017
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 1.86 KB | None | 0 0
  1.  
  2. class CfgPatches
  3. {
  4.     class WHweapons
  5.     {
  6.         units[] = {};
  7.         weapons[] ={};
  8.         requiredVersion = 1.0;
  9.         requiredAddons[] = {};
  10.     };
  11. };
  12.  
  13. #include "Ammo.hpp"
  14. #include "Magazines.hpp"
  15. #include "cfgRecoils.hpp" /// specific recoil patterns for this rifle
  16.  
  17. class Mode_SemiAuto;
  18. class Mode_Burst;
  19. class Mode_FullAuto;
  20. class SlotInfo;
  21. class MuzzleSlot;
  22. class CowsSlot;
  23. class PointerSlot;
  24. class UnderBarrelSlot;
  25.  
  26. class cfgWeapons
  27. {
  28.     class Default;
  29.     class PistolCore;
  30.     class RifleCore;
  31.     class MGunCore;
  32.     class LauncherCore;
  33.     class GrenadeCore;
  34.     class CannonCore;
  35.     class FakeWeapon;  
  36.     class HMG_127;
  37.     class cannon_120mm;
  38.     class Rifle;
  39.     class Rifle_Base_F: Rifle
  40.     {
  41.         class WeaponSlotsInfo;
  42.         class GunParticles;
  43.     };
  44.     class UGL_F;   
  45.     class MGun : MGunCore {
  46.         class StandardSound {
  47.             soundsetshot[] = {"HMG050_Shot_SoundSet", "HMG050_Tail_SoundSet"};
  48.             begin1[] = {"A3\Sounds_F\arsenal\weapons_vehicles\HMG_050\HMG_050_01", 1.58489, 1, 2100};
  49.             begin2[] = {"A3\Sounds_F\arsenal\weapons_vehicles\HMG_050\HMG_050_02", 1.58489, 1, 2100};
  50.             begin3[] = {"A3\Sounds_F\arsenal\weapons_vehicles\HMG_050\HMG_050_03", 1.58489, 1, 2100};
  51.             soundBegin[] = {"begin1", 0.33, "begin2", 0.33, "begin3", 0.34};
  52.         };
  53.         type = 65536;
  54.         cursor = "EmptyCursor";
  55.         cursoraim = "mg";
  56.         displayName = "";
  57.         nameSound = "mgun";
  58.         reloadTime = 0.25;
  59.         autoFire = 1;
  60.         reloadAction = "ManActReloadMagazine";
  61.         reloadMagazineSound[] = {"A3\Sounds_F\arsenal\weapons_static\Static_HMG\reload_static_HMG", 10, 1, 20};
  62.         sounds[] = {"StandardSound"};
  63.         soundContinuous = 0;
  64.         initSpeed = 900;
  65.         flash = "gunfire";
  66.         flashSize = 0.5;
  67.         optics = 0;
  68.         textureType = "fullAuto";
  69.     };
  70.     #include "Weapons.hpp"
  71. };
Add Comment
Please, Sign In to add comment