DC_15a_rifle.hpp 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. class macro_new_weapon(DC,15a_base):SWOP_DC15ABlasterRifle // RD501_DC_15a_base
  2. {
  3. weaponPoolAvailable = 1;
  4. displayName="rd501 DC15A base";
  5. scope=0;
  6. scopeArsenal=0;
  7. dlc = "RD501";
  8. author= "RD501";
  9. baseWeapon = macro_new_weapon(DC,15a_base);
  10. //DC_Family_Flashlight
  11. ACE_Overheating_Dispersion = DC15a_Overheat_Dispersion
  12. ACE_Overheating_SlowdownFactor = DC15a_Overheat_SlowdownFactor
  13. ACE_Overheating_JamChance = DC15a_Overheat_JamChance
  14. ACE_overheating_mrbs = DC15a_Overheat_mrbs
  15. ACE_overheating_allowSwapBarrel = 1;
  16. ACE_clearJamAction = "ReloadMagazine";
  17. canShootInWater = 1;
  18. magazines[] = {};
  19. magazineWell[] += {macro_new_magwell(DC_15a_energy)};
  20. class Single:Single
  21. {
  22. reloadTime = DC15A_reloadtime_single
  23. dispersion = DC15A_accuracy
  24. recoil = "recoil_single_mx";
  25. recoilProne = "recoil_single_prone_mx";
  26. };
  27. class Burst:Burst
  28. {
  29. reloadTime = DC15A_reloadtime_burst
  30. dispersion = DC15A_accuracy
  31. recoil = "recoil_auto_primary_3outof10";
  32. recoilProne = "recoil_auto_primary_prone_3outof10";
  33. };
  34. class FullAuto:FullAuto
  35. {
  36. reloadTime = DC15A_reloadtime_full
  37. dispersion = DC15A_accuracy
  38. };
  39. class WeaponSlotsInfo: WeaponSlotsInfo
  40. {
  41. mass = 30;
  42. class CowsSlot: CowsSlot
  43. {
  44. compatibleItems[] = {
  45. macro_new_weapon(scope,dc_15a_acog)
  46. };
  47. };
  48. };
  49. };
  50. class macro_new_weapon(DC,15a):macro_new_weapon(DC,15a_base)
  51. {
  52. displayname = "DC-15A Rifle";
  53. scope=2;
  54. scopeArsenal=2;
  55. baseWeapon = macro_new_weapon(DC,15a);
  56. // class Secondary:Secondary
  57. // {
  58. // };
  59. };