Added NLAW disposable

This commit is contained in:
SAM 2015-06-04 14:57:43 +02:00
parent c6f0dd465d
commit 885fe3ea1b
2 changed files with 29 additions and 2 deletions

View File

@ -1,11 +1,13 @@
class CfgMagazines { class CfgMagazines {
class CUP_M136_M; class CUP_M136_M;
class CUP_RPG18_M; class CUP_RPG18_M;
class CUP_NLAW_M;
class ACE_PreloadedMissileDummy_CUP: CUP_M136_M { // The dummy magazine class ACE_PreloadedMissileDummy_CUP: CUP_M136_M { // The dummy magazine
author = "$STR_ACE_Common_ACETeam"; author = "$STR_ACE_Common_ACETeam";
scope = 1; scope = 1;
scopeArsenal = 1; scopeArsenal = 1;
displayName = "$STR_ACE_Disposable_PreloadedMissileDummy"; displayName = "Preloaded Missle";
//displayName = "$STR_ACE_Disposable_PreloadedMissileDummy";
picture = PATHTOEF(common,UI\blank_CO.paa); picture = PATHTOEF(common,UI\blank_CO.paa);
weaponPoolAvailable = 0; weaponPoolAvailable = 0;
mass = 0; mass = 0;
@ -23,7 +25,17 @@ class CfgMagazines {
modelSpecial = ""; modelSpecial = "";
mass = 0; mass = 0;
}; };
class ACE_UsedTube_RPG18_M_F: CUP_RPG18_M { 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"; author = "$STR_ACE_Common_ACETeam";
displayName = "$STR_ACE_Disposable_UsedTube"; displayName = "$STR_ACE_Disposable_UsedTube";
descriptionShort = "$STR_ACE_Disposable_UsedTubeDescription"; descriptionShort = "$STR_ACE_Disposable_UsedTubeDescription";

View File

@ -565,6 +565,21 @@ class CfgWeapons
EGVAR(overpressure,angle) = 30; EGVAR(overpressure,angle) = 30;
EGVAR(overpressure,range) = 2; EGVAR(overpressure,range) = 2;
EGVAR(overpressure,damage) = 0.5; 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 { class CUP_launch_RPG18: Launcher_Base_F {
EGVAR(overpressure,angle) = 40; EGVAR(overpressure,angle) = 40;