config.cpp 3.7 KB

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