config.cpp 6.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264
  1. #include "../../RD501_main/config_macros.hpp"
  2. class CfgPatches
  3. {
  4. class macro_patch_name(jumppack_particle_effects)
  5. {
  6. addonRootClass = macro_patch_name(particle_effects)
  7. units[] = {};
  8. weapons[] = {};
  9. requiredVersion = 0.1;
  10. requiredAddons[] = {
  11. macro_patch_name(particle_effects)
  12. };
  13. version = 1;
  14. author[] = {"RD501"};
  15. };
  16. };
  17. class CfgCloudlets
  18. {
  19. class Default;
  20. class macro_new_cloudlet(jumppack_fire): Default
  21. {
  22. interval = 0.003;
  23. circleRadius = 0;
  24. circleVelocity[] = {0, 0, 0};
  25. particleShape = "\A3\data_f\ParticleEffects\Universal\Universal";
  26. particleFSNtieth = 16;
  27. particleFSIndex = 10;
  28. particleFSFrameCount = 32;
  29. particleFSLoop = 1;
  30. angleVar = 1;
  31. animationName = "";
  32. particleType = "Billboard";
  33. timerPeriod = 3;
  34. lifeTime = 0.3;
  35. moveVelocity[] = {0, 0.15, 0};
  36. rotationVelocity = 0;
  37. weight = .5;
  38. volume = 1;
  39. rubbing = 0.17;
  40. // weight = 0.05;
  41. // volume = 0.04;
  42. // rubbing = 0.16;
  43. size[] = {0.1, 0};
  44. sizeCoef = 1;
  45. color[] = {{.3, 0.3, 1, -6.5}, {.3, 0.3, 1, -6}, {.3, 0.3, 1, -5.5}, {.3, 0.3, 1, -4.5}};//{{1, 0.6, 0.6, -80}, {1, 0.6, 0.6, -80}, {0, 0, 0, 0}};
  46. colorCoef[] = {1, 1, 1, 1};
  47. animationSpeed[] = {1};
  48. animationSpeedCoef = 1;
  49. randomDirectionPeriod = 0;
  50. randomDirectionIntensity = 0;
  51. onTimerScript = "";
  52. beforeDestroyScript = "";
  53. lifeTimeVar = 0.15;
  54. position[] = {0, 0, 0};
  55. positionVar[] = {0.018, 0.08, 0.018};
  56. moveVelocityVar[] = {0.03, 0.09, 0.03};
  57. rotationVelocityVar = 0;
  58. sizeVar = 0.06;
  59. colorVar[] = {0.0, 0.1, 0.1, 0};
  60. randomDirectionPeriodVar = 0;
  61. randomDirectionIntensityVar = 0;
  62. };
  63. class macro_new_cloudlet(jumppack_spark): Default
  64. {
  65. interval = 0.01;
  66. circleRadius = 0;
  67. circleVelocity[] = {0, 0, 0};
  68. particleShape = "\A3\data_f\ParticleEffects\Universal\Universal";
  69. particleFSNtieth = 16;
  70. particleFSIndex = 13;
  71. particleFSFrameCount = 2;
  72. particleFSLoop = 0;
  73. angleVar = 360;
  74. animationName = "";
  75. particleType = "Billboard";
  76. timerPeriod = 1;
  77. lifeTime = 3.5;
  78. moveVelocity[] = {0, 1.5, 0};
  79. rotationVelocity = 1;
  80. weight = 1.05;
  81. volume = 1;
  82. rubbing = 0.17;
  83. size[] = {0.1, 0.1, 0.1, 0.1, 0.1, 0.08, 0.08, 0.08, 0.08, 0};
  84. color[] = {{.2, 0.2, 1, -6.5}, {.2, 0.2, 1, -6}, {.2, 0.2, 1, -5.5}, {.2, 0.2, 1, -4.5}};
  85. animationSpeed[] = {1000};
  86. randomDirectionPeriod = 0.5;
  87. randomDirectionIntensity = 0.55;
  88. onTimerScript = "";
  89. beforeDestroyScript = "";
  90. destroyOnWaterSurface = 1;
  91. blockAIVisibility = 0;
  92. sizeCoef = 1;
  93. colorCoef[] = {1, 1, 1, 1};
  94. animationSpeedCoef = 1;
  95. lifeTimeVar = 2.5;
  96. positionVar[] = {0, 0.2, 0};
  97. MoveVelocityVar[] = {0.2, 1, 0.2};
  98. rotationVelocityVar = 2;
  99. sizeVar = 0.04;
  100. colorVar[] = {0, 0.15, 0.15, 0};
  101. randomDirectionPeriodVar = 0.3;
  102. randomDirectionIntensityVar = 0.15;
  103. };
  104. class macro_new_cloudlet(jumppack_smoke): Default
  105. {
  106. interval = 0.02;
  107. circleRadius = 0;
  108. circleVelocity[] = {0, 0, 0};
  109. particleShape = "\A3\data_f\ParticleEffects\Universal\Universal";
  110. particleFSNtieth = 16;
  111. particleFSIndex = 12;
  112. particleFSFrameCount = 8;
  113. particleFSLoop = 1;
  114. angleVar = 0.5;
  115. animationName = "";
  116. particleType = "Billboard";
  117. timerPeriod = 1;
  118. lifeTime = 0.8;
  119. moveVelocity[] = {0, 1.5, 0};
  120. rotationVelocity = 1;
  121. weight = 1.05;
  122. volume = 1;
  123. rubbing = 0.17;
  124. size[] = {0.3, 0.7, 1, 1.2, 1.4, 1.6, 1.8};
  125. color[] = {{0.9, 0.9, 0.9, 0.08}, {0.9, 0.9, 0.9, 0.036}, {0.9, 0.9, 0.9, 0.012}, {0.9, 0.9, 0.9, 0.001}};
  126. animationSpeed[] = {1.2};
  127. randomDirectionPeriod = 0.1;
  128. randomDirectionIntensity = 0.05;
  129. onTimerScript = "";
  130. beforeDestroyScript = "";
  131. destroyOnWaterSurface = 1;
  132. blockAIVisibility = 0;
  133. sizeCoef = 1.2;
  134. colorCoef[] = {1, 1, 1, 1};
  135. animationSpeedCoef = 1;
  136. position[] = {0,0,0};
  137. lifeTimeVar = 0;
  138. positionVar[] = {0, 0, 0};
  139. MoveVelocityVar[] = {1, 1, 1};
  140. rotationVelocityVar = 20;
  141. sizeVar = 0;
  142. colorVar[] = {0, 0, 0, 0};
  143. randomDirectionPeriodVar = 0;
  144. randomDirectionIntensityVar = 0;
  145. };
  146. //
  147. class macro_new_cloudlet(jumppack_fire_blue):macro_new_cloudlet(jumppack_fire)
  148. {
  149. interval = 0.02;
  150. circleRadius = 0;
  151. circleVelocity[] = {0, 0, 0};
  152. angleVar = 0;
  153. size[] ={0.2,0.4,0.1};
  154. color[] = {{0,0,1,-1},{0,0,1,-1},{0.154776,0.145711,1,-1}};
  155. particleFSLoop = 0;
  156. particleShape = "\A3\data_f\cl_exp";
  157. particleFSNtieth = 1;
  158. particleFSIndex = 0;
  159. particleFSFrameCount = 1;
  160. animationName = "";
  161. particleType = "Billboard";
  162. };
  163. class macro_new_cloudlet(jumppack_blue_pulse):macro_new_cloudlet(jumppack_fire)
  164. {
  165. interval = 0.003;
  166. circleRadius = .1;
  167. circleVelocity[] = {0, 0, 2};
  168. angleVar = 0;
  169. size[] ={.5};
  170. color[] = {{0,0,1,-1},{0,0,1,-1},{0,0.145711,1,-1}};
  171. particleFSLoop = 0;
  172. particleShape = "\A3\data_f\cl_exp";
  173. particleFSNtieth = 1;
  174. particleFSIndex = 0;
  175. particleFSFrameCount = 1;
  176. animationName = "";
  177. particleType = "Billboard";
  178. weight = 1.15;//1.25;
  179. };
  180. };
  181. class CfgLights
  182. {
  183. class RocketLight;
  184. class macro_new_light(jumppack_pulse):RocketLight
  185. {
  186. // diffuse[] = {1, 0.55, 0.05};
  187. color[] = {.15, 0.45, 1};
  188. ambient[] = {0, 0, 0};
  189. diffuse[] = {.05,0.28,1};
  190. brightness = "1";
  191. };
  192. };
  193. class macro_new_complex_effect(jumppack_pulse)
  194. {
  195. class pulse_effect
  196. {
  197. simulation = "particles";
  198. type = macro_new_cloudlet(jumppack_blue_pulse);
  199. position[] = {0, 0, 0};
  200. intensity = 1;
  201. interval = 3 * 1;
  202. lifeTime = 1;
  203. };
  204. class pulse_light
  205. {
  206. simulation = "light";
  207. type = macro_new_light(jumppack_pulse)
  208. position[] = {0, 0, 0};
  209. intensity = 0.01;
  210. interval = 1;
  211. lifeTime = 1;
  212. };
  213. };
  214. class macro_new_complex_effect(jumppack_blue_trail)
  215. {
  216. class smoke_trial
  217. {
  218. simulation = "particles";
  219. type =macro_new_cloudlet(jumppack_smoke)
  220. position[] = {0, 0, 0};
  221. intensity = 1;
  222. interval = 3 * 1;
  223. lifeTime = 6;
  224. };
  225. class spark_trial:smoke_trial
  226. {
  227. type =macro_new_cloudlet(jumppack_spark)
  228. };
  229. class spark_trial:smoke_trial
  230. {
  231. type =macro_new_cloudlet(jumppack_fire_blue)
  232. };
  233. class trial_light
  234. {
  235. simulation = "light";
  236. type = macro_new_light(jumppack_pulse)
  237. position[] = {0, 0, 0};
  238. intensity = 0.01;
  239. interval = 1;
  240. lifeTime = 2;
  241. };
  242. };