123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264 |
- #include "../../RD501_main/config_macros.hpp"
- class CfgPatches
- {
- class RD501_patch_jumppack_particle_effects
- {
- addonRootClass = MACRO_QUOTE(RD501_patch_particle_effects);
- units[] = {};
- weapons[] = {};
- requiredVersion = 0.1;
- requiredAddons[] = {
- MACRO_QUOTE(RD501_patch_particle_effects)
- };
- version = 1;
- author[] = {"RD501"};
- };
- };
- class CfgCloudlets
- {
- class Default;
- class macro_new_cloudlet(jumppack_fire): Default
- {
- interval = 0.003;
- circleRadius = 0;
- circleVelocity[] = {0, 0, 0};
- particleShape = "\A3\data_f\ParticleEffects\Universal\Universal";
- particleFSNtieth = 16;
- particleFSIndex = 10;
- particleFSFrameCount = 32;
- particleFSLoop = 1;
- angleVar = 1;
- animationName = "";
- particleType = "Billboard";
- timerPeriod = 3;
- lifeTime = 0.3;
- moveVelocity[] = {0, 0.15, 0};
- rotationVelocity = 0;
- weight = .5;
- volume = 1;
- rubbing = 0.17;
- // weight = 0.05;
- // volume = 0.04;
- // rubbing = 0.16;
- size[] = {0.1, 0};
- sizeCoef = 1;
- 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}};
- colorCoef[] = {1, 1, 1, 1};
- animationSpeed[] = {1};
- animationSpeedCoef = 1;
- randomDirectionPeriod = 0;
- randomDirectionIntensity = 0;
- onTimerScript = "";
- beforeDestroyScript = "";
- lifeTimeVar = 0.15;
- position[] = {0, 0, 0};
- positionVar[] = {0.018, 0.08, 0.018};
- moveVelocityVar[] = {0.03, 0.09, 0.03};
- rotationVelocityVar = 0;
- sizeVar = 0.06;
- colorVar[] = {0.0, 0.1, 0.1, 0};
- randomDirectionPeriodVar = 0;
- randomDirectionIntensityVar = 0;
- };
- class macro_new_cloudlet(jumppack_spark): Default
- {
- interval = 0.01;
- circleRadius = 0;
- circleVelocity[] = {0, 0, 0};
- particleShape = "\A3\data_f\ParticleEffects\Universal\Universal";
- particleFSNtieth = 16;
- particleFSIndex = 13;
- particleFSFrameCount = 2;
- particleFSLoop = 0;
- angleVar = 360;
- animationName = "";
- particleType = "Billboard";
- timerPeriod = 1;
- lifeTime = 3.5;
- moveVelocity[] = {0, 1.5, 0};
- rotationVelocity = 1;
- weight = 1.05;
- volume = 1;
- rubbing = 0.17;
- size[] = {0.1, 0.1, 0.1, 0.1, 0.1, 0.08, 0.08, 0.08, 0.08, 0};
- color[] = {{.2, 0.2, 1, -6.5}, {.2, 0.2, 1, -6}, {.2, 0.2, 1, -5.5}, {.2, 0.2, 1, -4.5}};
- animationSpeed[] = {1000};
- randomDirectionPeriod = 0.5;
- randomDirectionIntensity = 0.55;
- onTimerScript = "";
- beforeDestroyScript = "";
- destroyOnWaterSurface = 1;
- blockAIVisibility = 0;
- sizeCoef = 1;
- colorCoef[] = {1, 1, 1, 1};
- animationSpeedCoef = 1;
- lifeTimeVar = 2.5;
- positionVar[] = {0, 0.2, 0};
- MoveVelocityVar[] = {0.2, 1, 0.2};
- rotationVelocityVar = 2;
- sizeVar = 0.04;
- colorVar[] = {0, 0.15, 0.15, 0};
- randomDirectionPeriodVar = 0.3;
- randomDirectionIntensityVar = 0.15;
- };
- class macro_new_cloudlet(jumppack_smoke): Default
- {
- interval = 0.02;
- circleRadius = 0;
- circleVelocity[] = {0, 0, 0};
- particleShape = "\A3\data_f\ParticleEffects\Universal\Universal";
- particleFSNtieth = 16;
- particleFSIndex = 12;
- particleFSFrameCount = 8;
- particleFSLoop = 1;
- angleVar = 0.5;
- animationName = "";
- particleType = "Billboard";
- timerPeriod = 1;
- lifeTime = 0.8;
- moveVelocity[] = {0, 1.5, 0};
- rotationVelocity = 1;
- weight = 1.05;
- volume = 1;
- rubbing = 0.17;
- size[] = {0.3, 0.7, 1, 1.2, 1.4, 1.6, 1.8};
- 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}};
- animationSpeed[] = {1.2};
- randomDirectionPeriod = 0.1;
- randomDirectionIntensity = 0.05;
- onTimerScript = "";
- beforeDestroyScript = "";
- destroyOnWaterSurface = 1;
- blockAIVisibility = 0;
- sizeCoef = 1.2;
- colorCoef[] = {1, 1, 1, 1};
- animationSpeedCoef = 1;
- position[] = {0,0,0};
- lifeTimeVar = 0;
- positionVar[] = {0, 0, 0};
- MoveVelocityVar[] = {1, 1, 1};
- rotationVelocityVar = 20;
- sizeVar = 0;
- colorVar[] = {0, 0, 0, 0};
- randomDirectionPeriodVar = 0;
- randomDirectionIntensityVar = 0;
- };
- //
- class macro_new_cloudlet(jumppack_fire_blue):macro_new_cloudlet(jumppack_fire)
- {
- interval = 0.02;
- circleRadius = 0;
- circleVelocity[] = {0, 0, 0};
- angleVar = 0;
- size[] ={0.2,0.4,0.1};
- color[] = {{0,0,1,-1},{0,0,1,-1},{0.154776,0.145711,1,-1}};
- particleFSLoop = 0;
- particleShape = "\A3\data_f\cl_exp";
- particleFSNtieth = 1;
- particleFSIndex = 0;
- particleFSFrameCount = 1;
- animationName = "";
- particleType = "Billboard";
- };
- class macro_new_cloudlet(jumppack_blue_pulse):macro_new_cloudlet(jumppack_fire)
- {
- interval = 0.003;
- circleRadius = .1;
- circleVelocity[] = {0, 0, 2};
- angleVar = 0;
- size[] ={.5};
- color[] = {{0,0,1,-1},{0,0,1,-1},{0,0.145711,1,-1}};
- particleFSLoop = 0;
- particleShape = "\A3\data_f\cl_exp";
- particleFSNtieth = 1;
- particleFSIndex = 0;
- particleFSFrameCount = 1;
- animationName = "";
- particleType = "Billboard";
- weight = 1.15;//1.25;
- };
- };
- class CfgLights
- {
- class RocketLight;
- class macro_new_light(jumppack_pulse):RocketLight
- {
- // diffuse[] = {1, 0.55, 0.05};
- color[] = {.15, 0.45, 1};
- ambient[] = {0, 0, 0};
- diffuse[] = {.05,0.28,1};
- brightness = "1";
- };
- };
- class macro_new_complex_effect(jumppack_pulse)
- {
- class pulse_effect
- {
- simulation = "particles";
- type = macro_new_cloudlet(jumppack_blue_pulse);
- position[] = {0, 0, 0};
- intensity = 1;
- interval = 3 * 1;
- lifeTime = 1;
- };
- class pulse_light
- {
- simulation = "light";
- type = MACRO_QUOTE(macro_new_light(jumppack_pulse));
- position[] = {0, 0, 0};
- intensity = 0.01;
- interval = 1;
- lifeTime = 1;
- };
- };
- class macro_new_complex_effect(jumppack_blue_trail)
- {
- class smoke_trial
- {
- simulation = "particles";
- type = MACRO_QUOTE(macro_new_cloudlet(jumppack_smoke));
- position[] = {0, 0, 0};
- intensity = 1;
- interval = 3 * 1;
- lifeTime = 6;
- };
- class spark_trial : smoke_trial
- {
- type = MACRO_QUOTE(macro_new_cloudlet(jumppack_spark));
- };
- class spark_trial2 : smoke_trial
- {
- type = MACRO_QUOTE(macro_new_cloudlet(jumppack_fire_blue));
- };
- class trial_light
- {
- simulation = "light";
- type = MACRO_QUOTE(macro_new_light(jumppack_pulse));
- position[] = {0, 0, 0};
- intensity = 0.01;
- interval = 1;
- lifeTime = 2;
- };
- };
|