config.cpp 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214
  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[] = {"SWOP_SCAR_Shadow"};
  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_Shadow: SmokeShell
  130. {
  131. model = "\thermalD\Dioxis.p3d";
  132. hit = 4;
  133. class NVGMarkers
  134. {
  135. class Blinking1
  136. {
  137. name = "blinkpos1";
  138. color[] = {0.01,0.01,0.01,1};
  139. ambient[] = {0.005,0.005,0.005,1};
  140. blinking = 1;
  141. brightness = 0.002;
  142. onlyInNvg = 1;
  143. };
  144. class Blinking2
  145. {
  146. color[] = {0.9,0.1,0.1};
  147. ambient[] = {0.1,0.1,0.1};
  148. name = "blinkpos2";
  149. blinking = 1;
  150. blinkingStartsOn = 1;
  151. blinkingPattern[] = {0.1,0.9};
  152. blinkingPatternGuarantee = 1;
  153. drawLightSize = 0.35;
  154. drawLightCenterSize = 0.05;
  155. brightness = 0.002;
  156. dayLight = 1;
  157. onlyInNvg = 0;
  158. intensity = 75;
  159. drawLight = 1;
  160. activeLight = 0;
  161. useFlare = 0;
  162. };
  163. };
  164. indirectHit = 2;
  165. indirectHitRange = 1.1;
  166. explosionTime = 5;
  167. aiAmmoUsageFlags = "64 + 1";
  168. timeToLive = 35;
  169. deflecting = 20;
  170. whistleOnFire = 0;
  171. ace_frag_enabled = 0;
  172. ace_frag_skip = 1;
  173. ace_frag_force = 0;
  174. suppressionRadiusHit = 18;
  175. dangerRadiusHit = 50;
  176. allowAgainstInfantry = 1;
  177. soundFly[] = {"\thermalD\diox1.ogg",1,1,60};
  178. smokeColor[] = {0.2125,0.6258,0.48909998,1};
  179. effectsSmoke = "Shadow_Smoke";
  180. };
  181. };
  182. class CfgMagazines
  183. {
  184. class SmokeShell;
  185. class RD501_BlueShadow_Grenade: SmokeShell
  186. {
  187. model = "\thermalD\Dioxis.p3d";
  188. displayName = "1Rnd Blue Shadow Grenade";
  189. picture = "\thermalD\dioxisgp_x_ca.paa";
  190. displayNameShort = "Blue Shadow Grenade";
  191. descriptionShort = "Blue Shadow Grenade";
  192. ammo = "SWOP_SCAR_Shadow";
  193. mass = 3;
  194. class Library
  195. {
  196. libTextDesc = "";
  197. };
  198. };
  199. };
  200. class CfgWeapons
  201. {
  202. class Default;
  203. class GrenadeLauncher: Default{};
  204. class Throw: GrenadeLauncher
  205. {
  206. muzzles[] += {"Shadow_Muzzle"};
  207. class ThrowMuzzle;
  208. class Shadow_Muzzle: ThrowMuzzle
  209. {
  210. magazines[] = {"RD501_BlueShadow_Grenade"};
  211. };
  212. };
  213. };