config.cpp 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105
  1. #include "../../RD501_main/config_macros.hpp"
  2. class CfgPatches
  3. {
  4. class macro_patch_name(grenades)
  5. {
  6. units[] = {};
  7. weapons[] = {};
  8. requiredVersion = 0.1;
  9. requiredAddons[] = {
  10. macro_patch_name(weapons)
  11. };
  12. author = "SWOP";
  13. magazines[] = {"RD501_BlueShadow_Grenade"};
  14. ammo[] = {"RD501_ShadowMag"};
  15. };
  16. };
  17. class CfgCloudlets
  18. {
  19. class Default;
  20. class DIOXIS_Fire;
  21. class Shadow_Fire: DIOXIS_Fire
  22. {
  23. damageType = "Fire";
  24. };
  25. class Dioxis_Smoke;
  26. class Shadow_Smoke: Dioxis_Smoke
  27. {
  28. color[] = {{0.2125,0.3,0.8,0.2},{0.2125,0.3,0.8,0.4},{0.2125,0.3,0.8,0.6}};
  29. };
  30. };
  31. class Shadow_Smoke
  32. {
  33. class Shadow_Smoke
  34. {
  35. simulation = "particles";
  36. type = "Shadow_Smoke";
  37. position[] = {0,0,0};
  38. intensity = 1;
  39. interval = 1;
  40. lifeTime = 20;
  41. };
  42. class Fire
  43. {
  44. simulation = "particles";
  45. type = "Shadow_Fire";
  46. position[] = {0,0,0};
  47. intensity = 1;
  48. interval = 1;
  49. start = 0.5;
  50. lifeTime = 25;
  51. };
  52. };
  53. class CfgAmmo
  54. {
  55. class SmokeShell;
  56. class SWOP_SCAR_Dioxis;
  57. class GrenadeHand_stone;
  58. class RD501_ShadowMag: SWOP_SCAR_Dioxis
  59. {
  60. model = "\thermalD\Dioxis.p3d";
  61. hit = 4;
  62. class NVGMarkers
  63. {
  64. class Blinking1;
  65. class Blinking2;
  66. };
  67. smokeColor[] = {0.2125,0.6258,0.48909998,1};
  68. effectsSmoke = "Shadow_Smoke";
  69. };
  70. };
  71. class CfgMagazines
  72. {
  73. class SmokeShell;
  74. class EGLM;
  75. class RD501_BlueShadow_Grenade: SmokeShell
  76. {
  77. model = "\thermalD\Dioxis.p3d";
  78. displayName = "1Rnd Blue Shadow Grenade";
  79. picture = "\thermalD\dioxisgp_x_ca.paa";
  80. displayNameShort = "Blue Shadow Grenade";
  81. descriptionShort = "Blue Shadow Grenade";
  82. ammo = "RD501_ShadowMag";
  83. mass = 3;
  84. class Library
  85. {
  86. libTextDesc = "";
  87. };
  88. };
  89. };
  90. class CfgWeapons
  91. {
  92. class Default;
  93. class GrenadeLauncher: Default{};
  94. class Throw: GrenadeLauncher
  95. {
  96. muzzles[] += {"Shadow_Muzzle"};
  97. class ThrowMuzzle;
  98. class Shadow_Muzzle: ThrowMuzzle
  99. {
  100. magazines[] = {"RD501_BlueShadow_Grenade"};
  101. };
  102. };
  103. };