2016-06-08 18:35:33 +00:00
|
|
|
class CfgAmmo {
|
|
|
|
class GrenadeHand;
|
|
|
|
|
|
|
|
// - Smoke hand grenades --------------------------------------------------
|
|
|
|
class SmokeShell: GrenadeHand {
|
|
|
|
smokeColor[] = {1, 1, 1, 1};
|
2016-06-19 21:48:23 +00:00
|
|
|
timeToLive = 90;
|
2016-06-08 18:35:33 +00:00
|
|
|
};
|
|
|
|
class SmokeShellRed: SmokeShell {
|
2016-06-19 21:48:23 +00:00
|
|
|
smokeColor[] = SMOKE_COLOR_RED;
|
|
|
|
timeToLive = 60;
|
2016-06-08 18:35:33 +00:00
|
|
|
};
|
|
|
|
class SmokeShellGreen: SmokeShell {
|
2016-06-19 21:48:23 +00:00
|
|
|
smokeColor[] = SMOKE_COLOR_GREEN;
|
|
|
|
timeToLive = 60;
|
2016-06-08 18:35:33 +00:00
|
|
|
};
|
|
|
|
class SmokeShellYellow: SmokeShell {
|
2016-06-19 21:48:23 +00:00
|
|
|
smokeColor[] = SMOKE_COLOR_YELLOW;
|
|
|
|
timeToLive = 60;
|
2016-06-08 18:35:33 +00:00
|
|
|
};
|
|
|
|
class SmokeShellPurple: SmokeShell {
|
2016-06-19 21:48:23 +00:00
|
|
|
smokeColor[] = SMOKE_COLOR_PURPLE;
|
|
|
|
timeToLive = 60;
|
2016-06-08 18:35:33 +00:00
|
|
|
};
|
|
|
|
class SmokeShellBlue: SmokeShell {
|
2016-06-19 21:48:23 +00:00
|
|
|
smokeColor[] = SMOKE_COLOR_BLUE;
|
|
|
|
timeToLive = 60;
|
2016-06-08 18:35:33 +00:00
|
|
|
};
|
|
|
|
class SmokeShellOrange: SmokeShell {
|
2016-06-19 21:48:23 +00:00
|
|
|
smokeColor[] = SMOKE_COLOR_ORANGE;
|
|
|
|
timeToLive = 60;
|
2016-06-08 18:35:33 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
// - 40mm smoke grenades --------------------------------------------------
|
|
|
|
class G_40mm_Smoke: SmokeShell {
|
|
|
|
smokeColor[] = {1, 1, 1, 1};
|
2016-06-19 21:48:23 +00:00
|
|
|
timeToLive = 40;
|
2016-06-08 18:35:33 +00:00
|
|
|
};
|
|
|
|
class G_40mm_SmokeRed: G_40mm_Smoke {
|
2016-06-19 21:48:23 +00:00
|
|
|
smokeColor[] = SMOKE_COLOR_RED;
|
|
|
|
timeToLive = 40;
|
2016-06-08 18:35:33 +00:00
|
|
|
};
|
|
|
|
class G_40mm_SmokeGreen: G_40mm_Smoke {
|
2016-06-19 21:48:23 +00:00
|
|
|
smokeColor[] = SMOKE_COLOR_GREEN;
|
|
|
|
timeToLive = 40;
|
2016-06-08 18:35:33 +00:00
|
|
|
};
|
|
|
|
class G_40mm_SmokeYellow: G_40mm_Smoke {
|
2016-06-19 21:48:23 +00:00
|
|
|
smokeColor[] = SMOKE_COLOR_YELLOW;
|
|
|
|
timeToLive = 40;
|
2016-06-08 18:35:33 +00:00
|
|
|
};
|
|
|
|
class G_40mm_SmokePurple: G_40mm_Smoke {
|
2016-06-19 21:48:23 +00:00
|
|
|
smokeColor[] = SMOKE_COLOR_PURPLE;
|
|
|
|
timeToLive = 40;
|
2016-06-08 18:35:33 +00:00
|
|
|
};
|
|
|
|
class G_40mm_SmokeBlue: G_40mm_Smoke {
|
2016-06-19 21:48:23 +00:00
|
|
|
smokeColor[] = SMOKE_COLOR_BLUE;
|
|
|
|
timeToLive = 40;
|
2016-06-08 18:35:33 +00:00
|
|
|
};
|
|
|
|
class G_40mm_SmokeOrange: G_40mm_Smoke {
|
2016-06-19 21:48:23 +00:00
|
|
|
smokeColor[] = SMOKE_COLOR_ORANGE;
|
|
|
|
timeToLive = 40;
|
2016-06-08 18:35:33 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
// - Artillery smoke submunition ------------------------------------------
|
|
|
|
class SmokeShellArty: SmokeShell {
|
2016-12-15 17:28:39 +00:00
|
|
|
explosionTime = 0.1;
|
2016-06-08 18:35:33 +00:00
|
|
|
effectsSmoke = "ACE_ArtillerySmoke";
|
|
|
|
};
|
|
|
|
|
|
|
|
// - 120mm/155mm artillery smoke ------------------------------------------
|
|
|
|
class SubmunitionBase;
|
|
|
|
class Smoke_120mm_AMOS_White: SubmunitionBase {
|
|
|
|
submunitionConeAngle = 10;
|
|
|
|
};
|
|
|
|
};
|