config.cpp 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. #define COMPONENT E5
  2. #include "../../../RD501_main/config_macros.hpp"
  3. #include "../../_common/common.hpp"
  4. class CfgPatches
  5. {
  6. class macro_patch_name(e5)
  7. {
  8. author=DANKAUTHORS;
  9. addonRootClass= macro_patch_name(weapons)
  10. requiredAddons[]=
  11. {
  12. macro_patch_name(weapons)
  13. };
  14. requiredVersion=0.1;
  15. units[]={};
  16. weapons[]={
  17. macro_new_weapon(e5,special)
  18. };
  19. };
  20. };
  21. class Mode_SemiAuto;
  22. class Mode_FullAuto;
  23. class cfgWeapons
  24. {
  25. class Rifle_Base_F;
  26. class arifle_MX_Base_F: Rifle_Base_F
  27. { };
  28. class JLTS_E5: arifle_MX_Base_F
  29. {
  30. class Single: Mode_SemiAuto
  31. {};
  32. class FullAuto: Mode_FullAuto
  33. {};
  34. };
  35. class macro_new_weapon(e5,special): JLTS_E5
  36. {
  37. scope=2;
  38. scopeArsenal=2;
  39. JLTS_hasElectronics=0;
  40. recoil="recoil_mxm"
  41. baseWeapon=macro_new_weapon(e5,special)
  42. displayName="CIS E5 Special";
  43. ACE_Overheating_mrbs = 450000;
  44. class Single: Single
  45. {
  46. reloadTime=0.055;
  47. recoil="recoil_single_mx";
  48. recoilProne="recoil_single_prone_mx";
  49. dispersion=0.0010000001;
  50. minRange=2;
  51. minRangeProbab=0.5;
  52. midRange=200;
  53. midRangeProbab=0.69999999;
  54. maxRange=400;
  55. maxRangeProbab=0.30000001;
  56. };
  57. class FullAuto: FullAuto
  58. {
  59. reloadTime=0.07;
  60. dispersion=0.0010000001;
  61. recoil="recoil_auto_mx";
  62. recoilProne="recoil_auto_prone_mx";
  63. minRange=0;
  64. minRangeProbab=0.89999998;
  65. midRange=15;
  66. midRangeProbab=0.69999999;
  67. maxRange=30;
  68. maxRangeProbab=0.1;
  69. aiRateOfFire=1e-006;
  70. };
  71. };
  72. };