config.cpp 9.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516
  1. #include "../RD501_main/config_macros.hpp"
  2. class CfgPatches
  3. {
  4. class macro_patch_name(particle_effects)
  5. {
  6. author="RD501";
  7. requiredAddons[]=
  8. {
  9. //macro_root_req
  10. macro_patch_name(main)
  11. };
  12. requiredVersion=0.1;
  13. units[]={};
  14. weapons[]={
  15. macro_quote(macro_new_cloudlet(jumppack_spark))
  16. };
  17. };
  18. };
  19. class CfgAmmo
  20. {
  21. class Default;
  22. class RD501_BlueFuelExplosion: Default
  23. {
  24. hit=1300;
  25. indirectHit=1100;
  26. indirectHitRange=10
  27. model="";
  28. simulation="";
  29. cost=1;
  30. SoundSetExplosion[]=
  31. {
  32. "ExplosiveCharge_Exp_SoundSet",
  33. "ExplosiveCharge_Tail_SoundSet",
  34. "Explosion_Debris_SoundSet"
  35. };
  36. explosionSoundEffect="DefaultExplosion";
  37. soundFly[]=
  38. {
  39. "",
  40. 1,
  41. 1
  42. };
  43. soundEngine[]=
  44. {
  45. "",
  46. 1,
  47. 4
  48. };
  49. explosionEffects="RD501_BlueFuelExplosionEffects";
  50. };
  51. };
  52. class CfgCloudlets
  53. {
  54. class Default;
  55. class RD501_BlueFireBallBrightSmall: Default
  56. {
  57. interval="0.05 * interval + 0.05";
  58. circleRadius=0;
  59. circleVelocity[]={0,0,0};
  60. particleShape="\RD501_Particle_Effects\particle_effects\universal_blue";
  61. particleFSNtieth=16;
  62. particleFSIndex=0;
  63. particleFSFrameCount=32;
  64. particleFSLoop=0;
  65. angleVar=360;
  66. animationName="";
  67. particleType="Billboard";
  68. timerPeriod=1;
  69. lifeTime=0.80000001;
  70. moveVelocity[]={0,0.5,0};
  71. rotationVelocity=0;
  72. weight=0.039999999;
  73. volume=0.039999999;
  74. rubbing=0.1;
  75. size[]=
  76. {
  77. "0.0125 * intensity + 2",
  78. "0.0125 * intensity + 6"
  79. };
  80. color[]=
  81. {
  82. {1,1,1,-4},
  83. {1,1,1,-3},
  84. {1,1,1,-2},
  85. {1,1,1,-1},
  86. {1,1,1,0}
  87. };
  88. animationSpeed[]={0.5};
  89. randomDirectionPeriod=0.2;
  90. randomDirectionIntensity=0.2;
  91. onTimerScript="";
  92. beforeDestroyScript="";
  93. lifeTimeVar=0.5;
  94. positionVar[]={0.60000002,1,0.60000002};
  95. MoveVelocityVar[]={1,1,1};
  96. rotationVelocityVar=0;
  97. sizeVar=0.2;
  98. colorVar[]={0,0,0,2};
  99. randomDirectionPeriodVar=0;
  100. randomDirectionIntensityVar=0;
  101. };
  102. class RD501_SuperSmoke: Default
  103. {
  104. animationSpeedCoef=1;
  105. colorCoef[]=
  106. {
  107. "colorR",
  108. "colorG",
  109. "colorB",
  110. "colorA"
  111. };
  112. sizeCoef=1;
  113. position[]={0,0,0};
  114. interval=0.029999999;
  115. circleRadius=0;
  116. circleVelocity[]={0,0,0};
  117. particleShape="\A3\data_f\ParticleEffects\Universal\Universal";
  118. particleFSNtieth=16;
  119. particleFSIndex=7;
  120. particleFSFrameCount=48;
  121. particleFSLoop=1;
  122. angleVar=0.1;
  123. animationName="";
  124. particleType="Billboard";
  125. timerPeriod=1;
  126. lifeTime=20;
  127. moveVelocity[]={0.2,0.2,0};
  128. rotationVelocity=1;
  129. weight=1.26;
  130. volume=1;
  131. rubbing=0.05;
  132. size[]={0.5, 8, 12, 15};
  133. color[]=
  134. {
  135. {1, 1, 1, 0.7},
  136. {1, 1, 1, 0.5},
  137. {1, 1, 1, 0.25},
  138. {1, 1, 1, 0}
  139. };
  140. animationSpeed[]={1.5,0.5};
  141. randomDirectionPeriod=1;
  142. randomDirectionIntensity=0.04;
  143. onTimerScript="";
  144. beforeDestroyScript="";
  145. destroyOnWaterSurface=1;
  146. destroyOnWaterSurfaceOffset=-0.60000002;
  147. lifeTimeVar=2;
  148. positionVar[]={0,0,0};
  149. MoveVelocityVar[]={1.2,0.34999999,1.2};
  150. rotationVelocityVar=20;
  151. sizeVar=0.5;
  152. colorVar[]={0,0,0,0.34999999};
  153. randomDirectionPeriodVar=0;
  154. randomDirectionIntensityVar=0;
  155. };
  156. class RD501_Dioxis:RD501_SuperSmoke
  157. {
  158. moveVelocity[]={0.2,0.3,0};
  159. size[]={0.4, 5, 12};
  160. damageType="Fire"; // damage type, only available option is "Fire" so far
  161. coreIntensity = 5; // damage coeficient in the center of fire
  162. coreDistance = 5.0; // how far can unit get damage
  163. damageTime = 0.1; // how often is unit getting damage
  164. }
  165. class RD501_BlueVehExplosionParticlesSmall: Default
  166. {
  167. interval="0.03 * interval + 0.03";
  168. circleRadius=0;
  169. circleVelocity[]={0,0,0};
  170. particleShape="\RD501_Particle_Effects\particle_effects\universal_blue";
  171. particleFSNtieth=16;
  172. particleFSIndex=2;
  173. particleFSFrameCount=80;
  174. particleFSLoop=0;
  175. angleVar=360;
  176. animationName="";
  177. particleType="Billboard";
  178. timerPeriod=1;
  179. lifeTime=0.25;
  180. moveVelocity[]={0,4,0};
  181. rotationVelocity=0;
  182. weight=0.056000002;
  183. volume=0.039999999;
  184. rubbing=0.1;
  185. size[]={3,4.5};
  186. color[]=
  187. {
  188. {1,1,1,-4},
  189. {1,1,1,-3},
  190. {1,1,1,-2},
  191. {1,1,1,-1},
  192. {1,1,1,0}
  193. };
  194. animationSpeed[]={0.33000001};
  195. randomDirectionPeriod=0.5;
  196. randomDirectionIntensity=0.1;
  197. onTimerScript="";
  198. beforeDestroyScript="";
  199. lifeTimeVar=0;
  200. positionVar[]={2,1,2};
  201. MoveVelocityVar[]={3,3,3};
  202. rotationVelocityVar=25;
  203. sizeVar=0.2;
  204. colorVar[]={0,0,0,2};
  205. randomDirectionPeriodVar=0;
  206. randomDirectionIntensityVar=0;
  207. };
  208. class RD501_BlueExploLight
  209. {
  210. name="$STR_A3_CfgLights_ExploLight0";
  211. diffuse[]={0.031,0.573,0.816};
  212. color[]={0.031,0.573,0.816};
  213. ambient[]={0,0,0,0};
  214. brightness=200;
  215. size=1;
  216. intensity=100000;
  217. drawLight=0;
  218. blinking=0;
  219. class Attenuation
  220. {
  221. start=4;
  222. constant=0;
  223. linear=0;
  224. quadratic=0.2;
  225. hardLimitStart=1000;
  226. hardLimitEnd=2000;
  227. };
  228. position[]={0,4.5,0};
  229. };
  230. class RD501_BlueObjectDestructionFire1Small: Default
  231. {
  232. interval=0.0099999998;
  233. circleRadius=0;
  234. circleVelocity[]={0,0,0};
  235. particleFSNtieth=16;
  236. particleFSIndex=10;
  237. particleFSFrameCount=32;
  238. particleFSLoop=1;
  239. angleVar=0.1;
  240. particleShape="\RD501_Particle_Effects\particle_effects\universal_blue";
  241. animationName="";
  242. particleType="Billboard";
  243. timerPeriod=1;
  244. lifeTime=1.5;
  245. moveVelocity[]={0,1,0};
  246. rotationVelocity=0;
  247. weight=0.045000002;
  248. volume=0.039999999;
  249. rubbing=0.050000001;
  250. size[]=
  251. {
  252. "1.2 * intensity + 1",
  253. "0.1 * intensity + 0.2"
  254. };
  255. color[]=
  256. {
  257. {1,1,1,-1}
  258. };
  259. animationSpeed[]={0.5,1};
  260. randomDirectionPeriod=0;
  261. randomDirectionIntensity=0;
  262. onTimerScript="";
  263. beforeDestroyScript="";
  264. lifeTimeVar=0.40000001;
  265. positionVar[]={0.1,0.30000001,0.1};
  266. moveVelocityVar[]={0.1,0.5,0.1};
  267. rotationVelocityVar=10;
  268. sizeVar=0.5;
  269. colorVar[]={0.1,0.1,0.1,0};
  270. randomDirectionPeriodVar=0;
  271. randomDirectionIntensityVar=0;
  272. coreIntensity=1.25;
  273. coreDistance=1;
  274. damageTime=0.1;
  275. constantDistance=1;
  276. damageType="Fire";
  277. };
  278. };
  279. class RD501_BlueFuelExplosionEffects
  280. {
  281. class ExpSparks
  282. {
  283. simulation="particles";
  284. type="ExpSparks";
  285. position[]={0,0,0};
  286. intensity=1;
  287. interval=1;
  288. lifeTime=0.5;
  289. };
  290. class Shards
  291. {
  292. simulation="particles";
  293. type="ObjectDestructionShardsSmall";
  294. position="";
  295. intensity=1;
  296. interval=1;
  297. lifeTime=1;
  298. };
  299. class Shards1
  300. {
  301. simulation="particles";
  302. type="ObjectDestructionShardsSmall1";
  303. position="";
  304. intensity=1;
  305. interval=1;
  306. lifeTime=1;
  307. };
  308. class Shards2
  309. {
  310. simulation="particles";
  311. type="ObjectDestructionShardsSmall2";
  312. position="";
  313. intensity=1;
  314. interval=1;
  315. lifeTime=1;
  316. };
  317. class Shards3
  318. {
  319. simulation="particles";
  320. type="ObjectDestructionShardsSmall3";
  321. position="";
  322. intensity=1;
  323. interval=1;
  324. lifeTime=1;
  325. };
  326. class ShardsBurn
  327. {
  328. simulation="particles";
  329. type="ObjectDestructionShardsBurningSmall";
  330. position="";
  331. intensity=1;
  332. interval=1;
  333. lifeTime=1;
  334. };
  335. class ShardsBurn1
  336. {
  337. simulation="particles";
  338. type="ObjectDestructionShardsBurningSmall1";
  339. position="";
  340. intensity=1;
  341. interval=1;
  342. lifeTime=1;
  343. };
  344. class ShardsBurn2
  345. {
  346. simulation="particles";
  347. type="ObjectDestructionShardsBurningSmall2";
  348. position="";
  349. intensity=1;
  350. interval=1;
  351. lifeTime=1;
  352. };
  353. class ShardsBurn3
  354. {
  355. simulation="particles";
  356. type="ObjectDestructionShardsBurningSmall3";
  357. position="";
  358. intensity=1;
  359. interval=1;
  360. lifeTime=1;
  361. };
  362. class Shards2_0
  363. {
  364. simulation="particles";
  365. type="ObjectDestructionShards";
  366. position="";
  367. intensity=1;
  368. interval=1;
  369. lifeTime=1;
  370. };
  371. class Shards2_1
  372. {
  373. simulation="particles";
  374. type="ObjectDestructionShards1";
  375. position="";
  376. intensity=1;
  377. interval=1;
  378. lifeTime=1;
  379. };
  380. class Shards2_2
  381. {
  382. simulation="particles";
  383. type="ObjectDestructionShards2";
  384. position="";
  385. intensity=1;
  386. interval=1;
  387. lifeTime=1;
  388. };
  389. class Shards2_3
  390. {
  391. simulation="particles";
  392. type="ObjectDestructionShards3";
  393. position="";
  394. intensity=1;
  395. interval=1;
  396. lifeTime=1;
  397. };
  398. class LightExp
  399. {
  400. simulation="light";
  401. type="RD501_BlueExploLight";
  402. position[]={0,1.5,0};
  403. intensity=0.001;
  404. interval=1;
  405. lifeTime=0.5;
  406. };
  407. class Explosion1
  408. {
  409. simulation="particles";
  410. type="RD501_BlueVehExplosionParticlesSmall";
  411. position[]={0,0,0};
  412. intensity=1;
  413. interval=1;
  414. lifeTime=0.2;
  415. };
  416. class Explosion2
  417. {
  418. simulation="particles";
  419. type="RD501_BlueFireBallBrightSmall";
  420. position[]={0,0,0};
  421. intensity=1;
  422. interval=1;
  423. lifeTime=0.30000001;
  424. };
  425. class Smoke1
  426. {
  427. simulation="particles";
  428. type="VehExpSmokeSmall";
  429. position[]={0,0,0};
  430. intensity=1;
  431. interval=1;
  432. lifeTime=1;
  433. };
  434. class SmallSmoke1
  435. {
  436. simulation="particles";
  437. type="VehExpSmoke2Small";
  438. position[]={0,0,0};
  439. intensity=1;
  440. interval=1;
  441. lifeTime=1;
  442. };
  443. };
  444. class RD501_ThickSmokeShellWhiteEffect
  445. {
  446. class SmokeShell
  447. {
  448. simulation="particles";
  449. type="RD501_SuperSmoke";
  450. position[]={0,0,0};
  451. intensity=1;
  452. interval=1;
  453. };
  454. /*class SmokeShell2
  455. {
  456. simulation="particles";
  457. type="SmokeShellWhite2";
  458. position[]={0,0,0};
  459. intensity=1;
  460. interval=1;
  461. };
  462. class SmokeShellUW
  463. {
  464. simulation="particles";
  465. type="SmokeShellWhiteUW";
  466. position[]={0,0,0};
  467. intensity=1;
  468. interval=1;
  469. };
  470. class SmokeShell2UW
  471. {
  472. simulation="particles";
  473. type="SmokeShellWhite2UW";
  474. position[]={0,0,0};
  475. intensity=1;
  476. interval=1;
  477. };*/
  478. };
  479. class RD501_DioxisSmokeShellEffect
  480. {
  481. class SmokeShell
  482. {
  483. simulation="particles";
  484. type="RD501_Dioxis";
  485. position[]={0,0,0};
  486. intensity=1;
  487. interval=1;
  488. };
  489. /*class SmokeShell2
  490. {
  491. simulation="particles";
  492. type="SmokeShellWhite2";
  493. position[]={0,0,0};
  494. intensity=1;
  495. interval=1;
  496. };
  497. class SmokeShellUW
  498. {
  499. simulation="particles";
  500. type="SmokeShellWhiteUW";
  501. position[]={0,0,0};
  502. intensity=1;
  503. interval=1;
  504. };
  505. class SmokeShell2UW
  506. {
  507. simulation="particles";
  508. type="SmokeShellWhite2UW";
  509. position[]={0,0,0};
  510. intensity=1;
  511. interval=1;
  512. };*/
  513. };