|
@@ -1,49 +1,214 @@
|
|
|
+#include "../../RD501_main/config_macros.hpp"
|
|
|
|
|
|
-
|
|
|
-class CfgCloudlets
|
|
|
+class CfgPatches
|
|
|
{
|
|
|
- class Dioxis_Smoke;
|
|
|
-
|
|
|
- class BlueShadowVirus: Dioxis_Smoke
|
|
|
- {
|
|
|
- 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}};
|
|
|
+ class macro_patch_name(grenades)
|
|
|
+ {
|
|
|
+ units[] = {};
|
|
|
+ weapons[] = {};
|
|
|
+ requiredVersion = 0.1;
|
|
|
+ requiredAddons[] = {
|
|
|
+ macro_patch_name(weapons)
|
|
|
};
|
|
|
-
|
|
|
+ author = "SWOP";
|
|
|
+ magazines[] = {"RD501_BlueShadow_Grenade"};
|
|
|
+ ammo[] = {"SWOP_SCAR_Shadow"};
|
|
|
+ };
|
|
|
+};
|
|
|
+class CfgCloudlets
|
|
|
+{
|
|
|
+ class Default;
|
|
|
+ class Shadow_Fire: Default
|
|
|
+ {
|
|
|
+ interval = 0.1;
|
|
|
+ circleRadius = 0;
|
|
|
+ circleVelocity[] = {0,0,0};
|
|
|
+ particleFSNtieth = 16;
|
|
|
+ particleFSIndex = 10;
|
|
|
+ particleFSFrameCount = 32;
|
|
|
+ particleFSLoop = 1;
|
|
|
+ angleVar = 0.1;
|
|
|
+ particleShape = "\A3\data_f\ParticleEffects\Universal\Universal";
|
|
|
+ animationName = "";
|
|
|
+ particleType = "Billboard";
|
|
|
+ timerPeriod = 1;
|
|
|
+ lifeTime = 0.2;
|
|
|
+ moveVelocity[] = {0,1.5,0};
|
|
|
+ rotationVelocity = 0;
|
|
|
+ weight = 0.045;
|
|
|
+ volume = 0.04;
|
|
|
+ rubbing = 0.1;
|
|
|
+ size[] = {0.2,0.02};
|
|
|
+ color[] = {{0.2125,0.8258,0.3891,-1}};
|
|
|
+ animationSpeed[] = {0.5,1};
|
|
|
+ randomDirectionPeriod = 0;
|
|
|
+ randomDirectionIntensity = 0;
|
|
|
+ onTimerScript = "";
|
|
|
+ beforeDestroyScript = "";
|
|
|
+ lifeTimeVar = 0.3;
|
|
|
+ positionVar[] = {0.1,0.3,0.1};
|
|
|
+ moveVelocityVar[] = {0.3,0.5,0.3};
|
|
|
+ rotationVelocityVar = 10;
|
|
|
+ sizeVar = 0.5;
|
|
|
+ colorVar[] = {0.1,0.1,0.1,0};
|
|
|
+ randomDirectionPeriodVar = 0;
|
|
|
+ randomDirectionIntensityVar = 0;
|
|
|
+ coreIntensity = 1;
|
|
|
+ coreDistance = 5;
|
|
|
+ damageTime = 0.25;
|
|
|
+ constantDistance = 1.5;
|
|
|
+ damageType = "Fire";
|
|
|
+ };
|
|
|
+ class Shadow_Smoke: Default
|
|
|
+ {
|
|
|
+ animationSpeedCoef = 1;
|
|
|
+ colorCoef[] = {"colorR","colorG","colorB","colorA"};
|
|
|
+ sizeCoef = 1;
|
|
|
+ position[] = {0,0,0};
|
|
|
+ interval = 0.03;
|
|
|
+ circleRadius = 0;
|
|
|
+ circleVelocity[] = {0,0,0};
|
|
|
+ particleShape = "\A3\data_f\ParticleEffects\Universal\Universal";
|
|
|
+ particleFSNtieth = 16;
|
|
|
+ particleFSIndex = 7;
|
|
|
+ particleFSFrameCount = 48;
|
|
|
+ particleFSLoop = 1;
|
|
|
+ angleVar = 0.1;
|
|
|
+ animationName = "";
|
|
|
+ particleType = "Billboard";
|
|
|
+ timerPeriod = 1;
|
|
|
+ lifeTime = 20;
|
|
|
+ moveVelocity[] = {0.2,0.1,0.1};
|
|
|
+ rotationVelocity = 1;
|
|
|
+ weight = 1.2777;
|
|
|
+ volume = 1;
|
|
|
+ rubbing = 0.015;
|
|
|
+ size[] = {0.12,2.1,7};
|
|
|
+ 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}};
|
|
|
+ animationSpeed[] = {1.5,0.5};
|
|
|
+ randomDirectionPeriod = 1;
|
|
|
+ randomDirectionIntensity = 0.04;
|
|
|
+ onTimerScript = "";
|
|
|
+ beforeDestroyScript = "";
|
|
|
+ destroyOnWaterSurface = 1;
|
|
|
+ destroyOnWaterSurfaceOffset = -0.6;
|
|
|
+ lifeTimeVar = 2;
|
|
|
+ positionVar[] = {0,0,0};
|
|
|
+ MoveVelocityVar[] = {0.25,0.25,0.25};
|
|
|
+ rotationVelocityVar = 1;
|
|
|
+ sizeVar = 0.7;
|
|
|
+ colorVar[] = {0,0,0,0.35};
|
|
|
+ randomDirectionPeriodVar = 0;
|
|
|
+ randomDirectionIntensityVar = 0;
|
|
|
+ };
|
|
|
+};
|
|
|
+class Shadow_Smoke
|
|
|
+{
|
|
|
+ class Shadow_Smoke
|
|
|
+ {
|
|
|
+ simulation = "particles";
|
|
|
+ type = "Shadow_Smoke";
|
|
|
+ position[] = {0,0,0};
|
|
|
+ intensity = 1;
|
|
|
+ interval = 1;
|
|
|
+ lifeTime = 20;
|
|
|
+ };
|
|
|
+ class Fire
|
|
|
+ {
|
|
|
+ simulation = "particles";
|
|
|
+ type = "Shadow_Fire";
|
|
|
+ position[] = {0,0,0};
|
|
|
+ intensity = 1;
|
|
|
+ interval = 1;
|
|
|
+ start = 0.5;
|
|
|
+ lifeTime = 25;
|
|
|
+ };
|
|
|
};
|
|
|
class CfgAmmo
|
|
|
{
|
|
|
- class SWOP_SCAR_Dioxis;
|
|
|
- class RD501_BlueShadowVirus: SWOP_SCAR_Dioxis
|
|
|
+ class SmokeShell;
|
|
|
+ class SWOP_SCAR_Shadow: SmokeShell
|
|
|
+ {
|
|
|
+ model = "\thermalD\Dioxis.p3d";
|
|
|
+ hit = 4;
|
|
|
+ class NVGMarkers
|
|
|
{
|
|
|
- effectsSmoke = "BlueShadowVirus";
|
|
|
+ class Blinking1
|
|
|
+ {
|
|
|
+ name = "blinkpos1";
|
|
|
+ color[] = {0.01,0.01,0.01,1};
|
|
|
+ ambient[] = {0.005,0.005,0.005,1};
|
|
|
+ blinking = 1;
|
|
|
+ brightness = 0.002;
|
|
|
+ onlyInNvg = 1;
|
|
|
+ };
|
|
|
+ class Blinking2
|
|
|
+ {
|
|
|
+ color[] = {0.9,0.1,0.1};
|
|
|
+ ambient[] = {0.1,0.1,0.1};
|
|
|
+ name = "blinkpos2";
|
|
|
+ blinking = 1;
|
|
|
+ blinkingStartsOn = 1;
|
|
|
+ blinkingPattern[] = {0.1,0.9};
|
|
|
+ blinkingPatternGuarantee = 1;
|
|
|
+ drawLightSize = 0.35;
|
|
|
+ drawLightCenterSize = 0.05;
|
|
|
+ brightness = 0.002;
|
|
|
+ dayLight = 1;
|
|
|
+ onlyInNvg = 0;
|
|
|
+ intensity = 75;
|
|
|
+ drawLight = 1;
|
|
|
+ activeLight = 0;
|
|
|
+ useFlare = 0;
|
|
|
+ };
|
|
|
};
|
|
|
+ indirectHit = 2;
|
|
|
+ indirectHitRange = 1.1;
|
|
|
+ explosionTime = 5;
|
|
|
+ aiAmmoUsageFlags = "64 + 1";
|
|
|
+ timeToLive = 35;
|
|
|
+ deflecting = 20;
|
|
|
+ whistleOnFire = 0;
|
|
|
+ ace_frag_enabled = 0;
|
|
|
+ ace_frag_skip = 1;
|
|
|
+ ace_frag_force = 0;
|
|
|
+ suppressionRadiusHit = 18;
|
|
|
+ dangerRadiusHit = 50;
|
|
|
+ allowAgainstInfantry = 1;
|
|
|
+ soundFly[] = {"\thermalD\diox1.ogg",1,1,60};
|
|
|
+ smokeColor[] = {0.2125,0.6258,0.48909998,1};
|
|
|
+ effectsSmoke = "Shadow_Smoke";
|
|
|
+ };
|
|
|
};
|
|
|
class CfgMagazines
|
|
|
{
|
|
|
class SmokeShell;
|
|
|
- class SWOP_SCAR_DioxisGM;
|
|
|
- class RD501_BlueShadowVirusGM : SWOP_SCAR_DioxisGM
|
|
|
- { scope = 2;
|
|
|
- displayName = "Blue Shadow Virus";
|
|
|
- displayNameShort = "Blue Shadow Virus Grenade";
|
|
|
- descriptionShort = "Blue Shadow Virus Grenade";
|
|
|
- ammo = "RD501_BlueShadowVirus";
|
|
|
- mass = 3;
|
|
|
- class Library
|
|
|
- {
|
|
|
- libTextDesc = "";
|
|
|
- };
|
|
|
+ class RD501_BlueShadow_Grenade: SmokeShell
|
|
|
+ {
|
|
|
+ model = "\thermalD\Dioxis.p3d";
|
|
|
+ displayName = "1Rnd Blue Shadow Grenade";
|
|
|
+ picture = "\thermalD\dioxisgp_x_ca.paa";
|
|
|
+ displayNameShort = "Blue Shadow Grenade";
|
|
|
+ descriptionShort = "Blue Shadow Grenade";
|
|
|
+ ammo = "SWOP_SCAR_Shadow";
|
|
|
+ mass = 3;
|
|
|
+ class Library
|
|
|
+ {
|
|
|
+ libTextDesc = "";
|
|
|
};
|
|
|
+ };
|
|
|
};
|
|
|
class CfgWeapons
|
|
|
{
|
|
|
- class Dioxis_Muzzle;
|
|
|
- class RD501_Dioxis_Muzzle: Dioxis_Muzzle
|
|
|
+ class Default;
|
|
|
+ class GrenadeLauncher: Default{};
|
|
|
+ class Throw: GrenadeLauncher
|
|
|
+ {
|
|
|
+ muzzles[] += {"Shadow_Muzzle"};
|
|
|
+ class ThrowMuzzle;
|
|
|
+ class Shadow_Muzzle: ThrowMuzzle
|
|
|
{
|
|
|
- magazines[] = {"RD501_BlueShadowVirusGM"};
|
|
|
+ magazines[] = {"RD501_BlueShadow_Grenade"};
|
|
|
};
|
|
|
-};
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
+ };
|
|
|
+};
|