westar_pistol.hpp 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. class macro_new_weapon(westar,35):SWOP_Westar35Pistol
  2. {
  3. scopeArsenal=2;
  4. dlc = "RD501";
  5. author= "RD501";
  6. baseWeapon = macro_new_weapon(westar,35);
  7. modes[] = {"Single","Full", "close", "short", "medium"};
  8. magazines[] = {macro_new_mag(westar_35,20)};
  9. class Single:Single
  10. {
  11. class BaseSoundModeType
  12. {
  13. weaponSoundEffect = "DefaultRifle";
  14. closure1[] = {};
  15. closure2[] = {};
  16. soundClosure[] = {};
  17. };
  18. class StandardSound: BaseSoundModeType
  19. {
  20. weaponSoundEffect = "DefaultRifle";
  21. begin1[] = {"sw_extraweapons\SW_Westar35\westar35.ogg", 1.5, .5, 1200};
  22. begin2[] = {"sw_extraweapons\SW_Westar35\westar35.ogg", 1.5, .5, 1200};
  23. soundBegin[] = {"begin1", 0.5, "begin2", 0.5};
  24. };
  25. //autoFire=1;
  26. dispersion = westar_35_accuracy;
  27. reloadTime = wester_35_reloadtime
  28. };
  29. class Full:Single
  30. {
  31. autoFire=1;
  32. textureType="fullAuto"
  33. };
  34. recoil = macro_new_recoil(westar_pistol)
  35. };