mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Merge pull request #1502 from Winter259/CUP-backblast-disposable
CUP Launchers Backblast + Disposable
This commit is contained in:
commit
b5544ad390
48
optionals/compat_cup/CfgMagazines.hpp
Normal file
48
optionals/compat_cup/CfgMagazines.hpp
Normal file
@ -0,0 +1,48 @@
|
||||
class CfgMagazines {
|
||||
class CUP_M136_M;
|
||||
class CUP_RPG18_M;
|
||||
class CUP_NLAW_M;
|
||||
class ACE_PreloadedMissileDummy_CUP: CUP_M136_M { // The dummy magazine
|
||||
author = "$STR_ACE_Common_ACETeam";
|
||||
scope = 1;
|
||||
scopeArsenal = 1;
|
||||
displayName = "Preloaded Missle";
|
||||
//displayName = "$STR_ACE_Disposable_PreloadedMissileDummy";
|
||||
picture = PATHTOEF(common,UI\blank_CO.paa);
|
||||
weaponPoolAvailable = 0;
|
||||
mass = 0;
|
||||
};
|
||||
class ACE_FiredMissileDummy_CUP: ACE_PreloadedMissileDummy_CUP {
|
||||
count = 0;
|
||||
};
|
||||
class ACE_UsedTube_M136_F: CUP_M136_M {
|
||||
author = "$STR_ACE_Common_ACETeam";
|
||||
displayName = "$STR_ACE_Disposable_UsedTube";
|
||||
descriptionShort = "$STR_ACE_Disposable_UsedTubeDescription";
|
||||
displayNameShort = "-";
|
||||
count = 0;
|
||||
weaponPoolAvailable = 0;
|
||||
modelSpecial = "";
|
||||
mass = 0;
|
||||
};
|
||||
class ACE_UsedTube_RPG18_F: CUP_RPG18_M {
|
||||
author = "$STR_ACE_Common_ACETeam";
|
||||
displayName = "$STR_ACE_Disposable_UsedTube";
|
||||
descriptionShort = "$STR_ACE_Disposable_UsedTubeDescription";
|
||||
displayNameShort = "-";
|
||||
count = 0;
|
||||
weaponPoolAvailable = 0;
|
||||
modelSpecial = "";
|
||||
mass = 0;
|
||||
};
|
||||
class ACE_UsedTube_NLAW_F: CUP_NLAW_M {
|
||||
author = "$STR_ACE_Common_ACETeam";
|
||||
displayName = "$STR_ACE_Disposable_UsedTube";
|
||||
descriptionShort = "$STR_ACE_Disposable_UsedTubeDescription";
|
||||
displayNameShort = "-";
|
||||
count = 0;
|
||||
weaponPoolAvailable = 0;
|
||||
modelSpecial = "";
|
||||
mass = 0;
|
||||
};
|
||||
};
|
@ -3,6 +3,7 @@ class CfgWeapons
|
||||
class Pistol_Base_F;
|
||||
class Rifle_Base_F;
|
||||
class Rifle_Long_Base_F;
|
||||
class Launcher_Base_F;
|
||||
class CUP_hgun_Colt1911 : Pistol_Base_F {
|
||||
ACE_barrelTwist=406.4;
|
||||
ACE_barrelLength=127.0;
|
||||
@ -496,4 +497,108 @@ class CfgWeapons
|
||||
};
|
||||
};
|
||||
};
|
||||
// Non Disposable launchers
|
||||
class CUP_launch_Igla: Launcher_Base_F {
|
||||
EGVAR(overpressure,angle) = 30;
|
||||
EGVAR(overpressure,range) = 2;
|
||||
EGVAR(overpressure,damage) = 0.5;
|
||||
};
|
||||
class CUP_launch_M47: Launcher_Base_F {
|
||||
EGVAR(overpressure,angle) = 45;
|
||||
EGVAR(overpressure,range) = 30;
|
||||
EGVAR(overpressure,damage) = 0.7;
|
||||
};
|
||||
class CUP_launch_MAAWS: Launcher_Base_F {
|
||||
EGVAR(overpressure,angle) = 60;
|
||||
EGVAR(overpressure,range) = 28;
|
||||
EGVAR(overpressure,damage) = 0.7;
|
||||
};
|
||||
class CUP_launch_MAAWS_Scope: CUP_launch_MAAWS {};
|
||||
class CUP_launch_Metis: Launcher_Base_F {
|
||||
EGVAR(overpressure,angle) = 45;
|
||||
EGVAR(overpressure,range) = 30;
|
||||
EGVAR(overpressure,damage) = 0.5;
|
||||
};
|
||||
class CUP_launch_RPG7V: Launcher_Base_F {
|
||||
EGVAR(overpressure,angle) = 45;
|
||||
EGVAR(overpressure,range) = 20;
|
||||
EGVAR(overpressure,damage) = 1;
|
||||
};
|
||||
class CUP_launch_Mk153Mod0: Launcher_Base_F {
|
||||
EGVAR(overpressure,angle) = 30;
|
||||
EGVAR(overpressure,range) = 30;
|
||||
EGVAR(overpressure,damage) = 1;
|
||||
};
|
||||
class CUP_launch_Mk153Mod0_SMAWOptics: CUP_launch_Mk153Mod0 {};
|
||||
class CUP_launch_FIM92Stinger: Launcher_Base_F {
|
||||
EGVAR(overpressure,angle) = 45;
|
||||
EGVAR(overpressure,range) = 15;
|
||||
EGVAR(overpressure,damage) = 0.3; // Main damage arises from debris rather than the actual backblast
|
||||
};
|
||||
class CUP_launch_9K32Strela: Launcher_Base_F {
|
||||
EGVAR(overpressure,angle) = 30;
|
||||
EGVAR(overpressure,range) = 2;
|
||||
EGVAR(overpressure,damage) = 0.5;
|
||||
};
|
||||
// Disposable launchers under this line
|
||||
class CUP_launch_M136: Launcher_Base_F {
|
||||
EGVAR(overpressure,angle) = 45;
|
||||
EGVAR(overpressure,range) = 100;
|
||||
EGVAR(overpressure,damage) = 0.7;
|
||||
ACE_UsedTube = "ACE_launch_M136_Used_F"; // The class name of the used tube.
|
||||
magazines[] = {"ACE_PreloadedMissileDummy_CUP"}; // The dummy magazine
|
||||
};
|
||||
class ACE_launch_M136_Used_F: CUP_launch_M136 {
|
||||
scope = 1;
|
||||
ACE_isUsedLauncher = 1;
|
||||
author = "$STR_ACE_Common_ACETeam";
|
||||
//displayName = "$STR_ACE_Disposable_UsedTube";
|
||||
//descriptionShort = "$STR_ACE_Disposable_UsedTubeDescription";
|
||||
displayName = "M136 (Used)";
|
||||
descriptionShort = "Used M136 Tube";
|
||||
magazines[] = {"ACE_FiredMissileDummy_CUP"};
|
||||
//picture = ""; @todo
|
||||
//model = ""; @todo
|
||||
weaponPoolAvailable = 0;
|
||||
};
|
||||
class CUP_launch_NLAW: Launcher_Base_F {
|
||||
EGVAR(overpressure,angle) = 30;
|
||||
EGVAR(overpressure,range) = 2;
|
||||
EGVAR(overpressure,damage) = 0.5;
|
||||
ACE_UsedTube = "ACE_launch_NLAW_Used_F"; // The class name of the used tube.
|
||||
magazines[] = {"ACE_PreloadedMissileDummy_CUP"}; // The dummy magazine
|
||||
};
|
||||
class ACE_launch_NLAW_Used_F: CUP_launch_NLAW {
|
||||
scope = 1;
|
||||
ACE_isUsedLauncher = 1;
|
||||
author = "$STR_ACE_Common_ACETeam";
|
||||
//displayName = "$STR_ACE_Disposable_UsedTube";
|
||||
//descriptionShort = "$STR_ACE_Disposable_UsedTubeDescription";
|
||||
displayName = "NLAW (Used)";
|
||||
descriptionShort = "Used NLAW Tube";
|
||||
magazines[] = {"ACE_FiredMissileDummy_CUP"};
|
||||
//picture = ""; @todo
|
||||
//model = ""; @todo
|
||||
weaponPoolAvailable = 0;
|
||||
};
|
||||
class CUP_launch_RPG18: Launcher_Base_F {
|
||||
EGVAR(overpressure,angle) = 40;
|
||||
EGVAR(overpressure,range) = 15;
|
||||
EGVAR(overpressure,damage) = 1;
|
||||
ACE_UsedTube = "ACE_launch_RPG18_Used_F"; // The class name of the used tube.
|
||||
magazines[] = {"ACE_PreloadedMissileDummy_CUP"}; // The dummy magazine
|
||||
};
|
||||
class ACE_launch_RPG18_Used_F: CUP_launch_RPG18 {
|
||||
scope = 1;
|
||||
ACE_isUsedLauncher = 1;
|
||||
author = "$STR_ACE_Common_ACETeam";
|
||||
//displayName = "$STR_ACE_Disposable_UsedTube";
|
||||
//descriptionShort = "$STR_ACE_Disposable_UsedTubeDescription";
|
||||
displayName = "RPG18 (Used)";
|
||||
descriptionShort = "Used RPG18 Tube";
|
||||
magazines[] = {"ACE_FiredMissileDummy_CUP"};
|
||||
//picture = ""; @todo
|
||||
//model = ""; @todo
|
||||
weaponPoolAvailable = 0;
|
||||
};
|
||||
};
|
@ -13,3 +13,4 @@ class CfgPatches {
|
||||
|
||||
#include "CfgAmmo.hpp"
|
||||
#include "CfgWeapons.hpp"
|
||||
#include "CfgMagazines.hpp"
|
Loading…
Reference in New Issue
Block a user