Skip to content

Commit

Permalink
improve training smoke
Browse files Browse the repository at this point in the history
  • Loading branch information
BrettMayson committed Jan 15, 2025
1 parent 2e9e6ce commit bd0b128
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 14 deletions.
14 changes: 7 additions & 7 deletions addons/training/CfgAmmo.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -61,36 +61,36 @@ class CfgAmmo {

class SmokeShell;
class CLASS(SmokeShell_Training_Ammo): SmokeShell {
timeToLive = 2;
timeToLive = 5;
};

class SmokeShellRed;
class CLASS(SmokeShellRed_Training_Ammo): SmokeShellRed {
timeToLive = 2;
timeToLive = 5;
};

class SmokeShellGreen;
class CLASS(SmokeShellGreen_Training_Ammo): SmokeShellGreen {
timeToLive = 2;
timeToLive = 5;
};

class SmokeShellYellow;
class CLASS(SmokeShellYellow_Training_Ammo): SmokeShellYellow {
timeToLive = 2;
timeToLive = 5;
};

class SmokeShellPurple;
class CLASS(SmokeShellPurple_Training_Ammo): SmokeShellPurple {
timeToLive = 2;
timeToLive = 5;
};

class SmokeShellBlue;
class CLASS(SmokeShellBlue_Training_Ammo): SmokeShellBlue {
timeToLive = 2;
timeToLive = 5;
};

class SmokeShellOrange;
class CLASS(SmokeShellOrange_Training_Ammo): SmokeShellOrange {
timeToLive = 2;
timeToLive = 5;
};
};
21 changes: 14 additions & 7 deletions addons/training/CfgMagazines.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -43,43 +43,50 @@ class CfgMagazines {

class SmokeShell;
class CLASS(SmokeShell_Training): SmokeShell {
displayName = "M83 Smoke Shell (White, Training)";
displayName = "M83T Smoke Grenade (White)";
displayNameShort = "White (Training)";
ammo = QCLASS(SmokeShell_Training_Ammo);
};

class SmokeShellGreen;
class CLASS(SmokeShellGreen_Training): SmokeShellGreen {
displayName = "M18 Smoke Shell (Green, Training)";
displayName = "M18T Smoke Grenade (Green)";
displayNameShort = "Green (Training)";
ammo = QCLASS(SmokeShellGreen_Training_Ammo);
};

class SmokeShellRed;
class CLASS(SmokeShellRed_Training): SmokeShellRed {
displayName = "M18 Smoke Shell (Red, Training)";
displayName = "M18T Smoke Grenade (Red)";
displayNameShort = "Red (Training)";
ammo = QCLASS(SmokeShellRed_Training_Ammo);
};

class SmokeShellYellow;
class CLASS(SmokeShellYellow_Training): SmokeShellYellow {
displayName = "M18 Smoke Shell (Yellow, Training)";
displayName = "M18T Smoke Grenade (Yellow)";
displayNameShort = "Yellow (Training)";
ammo = QCLASS(SmokeShellYellow_Training_Ammo);
};

class SmokeShellPurple;
class CLASS(SmokeShellPurple_Training): SmokeShellPurple {
displayName = "M18 Smoke Shell (Purple, Training)";
displayName = "M18T Smoke Grenade (Purple)";
displayNameShort = "Purple (Training)";
ammo = QCLASS(SmokeShellPurple_Training_Ammo);
};

class SmokeShellBlue;
class CLASS(SmokeShellBlue_Training): SmokeShellBlue {
displayName = "M18 Smoke Shell (Blue, Training)";
displayName = "M18T Smoke Grenade (Blue)";
displayNameShort = "Blue (Training)";
ammo = QCLASS(SmokeShellBlue_Training_Ammo);
};

class SmokeShellOrange;
class CLASS(SmokeShellOrange_Training): SmokeShellOrange {
displayName = "M18 Smoke Shell (Orange, Training)";
displayName = "M18T Smoke Grenade (Orange)";
displayNameShort = "Orange (Training)";
ammo = QCLASS(SmokeShellOrange_Training_Ammo);
};
};

0 comments on commit bd0b128

Please sign in to comment.