config.cpp 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139
  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 Shadow_Smoke: Default
  26. {
  27. animationSpeedCoef = 1;
  28. colorCoef[] = {"colorR","colorG","colorB","colorA"};
  29. sizeCoef = 1;
  30. position[] = {0,0,0};
  31. interval = 0.03;
  32. circleRadius = 0;
  33. circleVelocity[] = {0,0,0};
  34. particleShape = "\A3\data_f\ParticleEffects\Universal\Universal";
  35. particleFSNtieth = 16;
  36. particleFSIndex = 7;
  37. particleFSFrameCount = 48;
  38. particleFSLoop = 1;
  39. angleVar = 0.1;
  40. animationName = "";
  41. particleType = "Billboard";
  42. timerPeriod = 1;
  43. lifeTime = 20;
  44. moveVelocity[] = {0.2,0.1,0.1};
  45. rotationVelocity = 1;
  46. weight = 1.2777;
  47. volume = 1;
  48. rubbing = 0.015;
  49. size[] = {0.12,2.1,7};
  50. 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}};
  51. animationSpeed[] = {1.5,0.5};
  52. randomDirectionPeriod = 1;
  53. randomDirectionIntensity = 0.04;
  54. onTimerScript = "";
  55. beforeDestroyScript = "";
  56. destroyOnWaterSurface = 1;
  57. destroyOnWaterSurfaceOffset = -0.6;
  58. lifeTimeVar = 2;
  59. positionVar[] = {0,0,0};
  60. MoveVelocityVar[] = {0.25,0.25,0.25};
  61. rotationVelocityVar = 1;
  62. sizeVar = 0.7;
  63. colorVar[] = {0,0,0,0.35};
  64. randomDirectionPeriodVar = 0;
  65. randomDirectionIntensityVar = 0;
  66. };
  67. };
  68. class Shadow_Smoke
  69. {
  70. class Shadow_Smoke
  71. {
  72. simulation = "particles";
  73. type = "Shadow_Smoke";
  74. position[] = {0,0,0};
  75. intensity = 1;
  76. interval = 1;
  77. lifeTime = 20;
  78. };
  79. class Fire
  80. {
  81. simulation = "particles";
  82. type = "Shadow_Fire";
  83. position[] = {0,0,0};
  84. intensity = 1;
  85. interval = 1;
  86. start = 0.5;
  87. lifeTime = 25;
  88. };
  89. };
  90. class CfgAmmo
  91. {
  92. class SmokeShell;
  93. class SWOP_SCAR_Dioxis;
  94. class RD501_ShadowMag: SWOP_SCAR_Dioxis
  95. {
  96. model = "\thermalD\Dioxis.p3d";
  97. hit = 4;
  98. class NVGMarkers
  99. {
  100. class Blinking1;
  101. class Blinking2;
  102. };
  103. smokeColor[] = {0.2125,0.6258,0.48909998,1};
  104. effectsSmoke = "Shadow_Smoke";
  105. };
  106. };
  107. class CfgMagazines
  108. {
  109. class SmokeShell;
  110. class RD501_BlueShadow_Grenade: SmokeShell
  111. {
  112. model = "\thermalD\Dioxis.p3d";
  113. displayName = "1Rnd Blue Shadow Grenade";
  114. picture = "\thermalD\dioxisgp_x_ca.paa";
  115. displayNameShort = "Blue Shadow Grenade";
  116. descriptionShort = "Blue Shadow Grenade";
  117. ammo = "RD501_ShadowMag";
  118. mass = 3;
  119. class Library
  120. {
  121. libTextDesc = "";
  122. };
  123. };
  124. };
  125. class CfgWeapons
  126. {
  127. class Default;
  128. class GrenadeLauncher: Default{};
  129. class Throw: GrenadeLauncher
  130. {
  131. muzzles[] += {"Shadow_Muzzle"};
  132. class ThrowMuzzle;
  133. class Shadow_Muzzle: ThrowMuzzle
  134. {
  135. magazines[] = {"RD501_BlueShadow_Grenade"};
  136. };
  137. };
  138. };