Added RPG18 disposable config

This commit is contained in:
SAM 2015-06-04 13:47:10 +02:00
parent 3f4182d066
commit c6f0dd465d
2 changed files with 27 additions and 1 deletions

View File

@ -1,5 +1,6 @@
class CfgMagazines {
class CUP_M136_M;
class CUP_RPG18_M;
class ACE_PreloadedMissileDummy_CUP: CUP_M136_M { // The dummy magazine
author = "$STR_ACE_Common_ACETeam";
scope = 1;
@ -12,7 +13,17 @@ class CfgMagazines {
class ACE_FiredMissileDummy_CUP: ACE_PreloadedMissileDummy_CUP {
count = 0;
};
class ACE_UsedTube_F: CUP_M136_M {
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_M_F: CUP_RPG18_M {
author = "$STR_ACE_Common_ACETeam";
displayName = "$STR_ACE_Disposable_UsedTube";
descriptionShort = "$STR_ACE_Disposable_UsedTubeDescription";

View File

@ -570,5 +570,20 @@ class CfgWeapons
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;
};
};