Add HK416

Thx Robert Hammer
This commit is contained in:
A Man
2020-03-02 15:27:42 +01:00
parent 7304131f10
commit bf5dbbf721
7 changed files with 731 additions and 20 deletions

View File

@@ -49,6 +49,7 @@ Included Custom Addons
* RH M14 pack by Robert Hammer - http://www.armaholic.com/page.php?id=11374
* RH Pistol Pack Remake by Robert Hammer - http://www.armaholic.com/page.php?id=12800
* RH SMG pack by Robert Hammer - http://www.armaholic.com/page.php?id=13788
* RH HK416 Pack by Robert Hammer - http://www.armaholic.com/page.php?id=11789
--------------------------
Included Custom Islands

View File

@@ -151,6 +151,8 @@ weaponsEU[] =
{Loot_WEAPON, 5, L85A2_DZ},
{Loot_WEAPON, 5, HK53A3_DZ},
{Loot_WEAPON, 5, Famas_DZ},
{Loot_WEAPON, 5, HK416_DZ},
{Loot_WEAPON, 5, HK416C_DZ},
{Loot_WEAPON, 5, SCAR_L_CQC_CCO_SD},
{Loot_WEAPON, 5, SCAR_L_CQC},
{Loot_WEAPON, 5, SCAR_L_CQC_Holo},

View File

@@ -177,6 +177,10 @@ class Category_15 {
//Assault Rifles
class Category_16 {
class KAC_PDW_DZ {type = "trade_weapons";buy[] = {4,"ItemGoldBar"};sell[] = {2,"ItemGoldBar"};};
class KAC_PDW_CCO_DZ {type = "trade_weapons";buy[] = {-1,"ItemGoldBar"};sell[] = {4,"ItemGoldBar"};};
class KAC_PDW_Holo_DZ {type = "trade_weapons";buy[] = {-1,"ItemGoldBar"};sell[] = {4,"ItemGoldBar"};};
class KAC_PDW_ACOG_DZ {type = "trade_weapons";buy[] = {-1,"ItemGoldBar"};sell[] = {6,"ItemGoldBar"};};
class m8_compact {type = "trade_weapons";buy[] = {4,"ItemGoldBar"};sell[] = {2,"ItemGoldBar"};};
class m8_sharpshooter {type = "trade_weapons";buy[] = {8,"ItemGoldBar"};sell[] = {4,"ItemGoldBar"};};
class m8_holo_sd {type = "trade_weapons";buy[] = {8,"ItemGoldBar"};sell[] = {4,"ItemGoldBar"};};
@@ -281,6 +285,26 @@ class Category_16 {
class M4A1_GL_ACOG_SD_DZ {type = "trade_weapons";buy[] = {-1,"ItemGoldBar"};sell[] = {12,"ItemGoldBar"};};
class M4A1_GL_ACOG_SD_FL_DZ {type = "trade_weapons";buy[] = {-1,"ItemGoldBar"};sell[] = {13,"ItemGoldBar"};};
class M4A1_GL_ACOG_SD_MFL_DZ {type = "trade_weapons";buy[] = {-1,"ItemGoldBar"};sell[] = {14,"ItemGoldBar"};};
class HK416_DZ {type = "trade_weapons";buy[] = {4,"ItemGoldBar"};sell[] = {2,"ItemGoldBar"};};
class HK416_CCO_DZ {type = "trade_weapons";buy[] = {-1,"ItemGoldBar"};sell[] = {4,"ItemGoldBar"};};
class HK416_Holo_DZ {type = "trade_weapons";buy[] = {-1,"ItemGoldBar"};sell[] = {4,"ItemGoldBar"};};
class HK416_SD_DZ {type = "trade_weapons";buy[] = {-1,"ItemGoldBar"};sell[] = {6,"ItemGoldBar"};};
class HK416_CCO_SD_DZ {type = "trade_weapons";buy[] = {-1,"ItemGoldBar"};sell[] = {8,"ItemGoldBar"};};
class HK416_Holo_SD_DZ {type = "trade_weapons";buy[] = {-1,"ItemGoldBar"};sell[] = {8,"ItemGoldBar"};};
class HK416_GL_DZ {type = "trade_weapons";buy[] = {-1,"ItemGoldBar"};sell[] = {4,"ItemGoldBar"};};
class HK416_GL_SD_DZ {type = "trade_weapons";buy[] = {-1,"ItemGoldBar"};sell[] = {8,"ItemGoldBar"};};
class HK416_GL_CCO_DZ {type = "trade_weapons";buy[] = {-1,"ItemGoldBar"};sell[] = {6,"ItemGoldBar"};};
class HK416_GL_CCO_SD_DZ {type = "trade_weapons";buy[] = {-1,"ItemGoldBar"};sell[] = {1,"ItemGoldBar10oz"};};
class HK416_GL_Holo_DZ {type = "trade_weapons";buy[] = {-1,"ItemGoldBar"};sell[] = {6,"ItemGoldBar"};};
class HK416_GL_Holo_SD_DZ {type = "trade_weapons";buy[] = {-1,"ItemGoldBar"};sell[] = {1,"ItemGoldBar10oz"};};
class HK416C_DZ {type = "trade_weapons";buy[] = {4,"ItemGoldBar"};sell[] = {2,"ItemGoldBar"};};
class HK416C_CCO_DZ {type = "trade_weapons";buy[] = {-1,"ItemGoldBar"};sell[] = {4,"ItemGoldBar"};};
class HK416C_Holo_DZ {type = "trade_weapons";buy[] = {-1,"ItemGoldBar"};sell[] = {4,"ItemGoldBar"};};
class HK416C_GL_DZ {type = "trade_weapons";buy[] = {-1,"ItemGoldBar"};sell[] = {4,"ItemGoldBar"};};
class HK416C_GL_CCO_DZ {type = "trade_weapons";buy[] = {-1,"ItemGoldBar"};sell[] = {6,"ItemGoldBar"};};
class HK416C_GL_Holo_DZ {type = "trade_weapons";buy[] = {-1,"ItemGoldBar"};sell[] = {6,"ItemGoldBar"};};
class HK416C_ACOG_DZ {type = "trade_weapons";buy[] = {-1,"ItemGoldBar"};sell[] = {6,"ItemGoldBar"};};
class HK416C_GL_ACOG_DZ {type = "trade_weapons";buy[] = {-1,"ItemGoldBar"};sell[] = {8,"ItemGoldBar"};};
class SCAR_L_CQC {type = "trade_weapons";buy[] = {7,"ItemGoldBar"};sell[] = {3,"ItemGoldBar"};};
class SCAR_L_CQC_CCO_SD {type = "trade_weapons";buy[] = {2,"ItemGoldBar10oz"};sell[] = {8,"ItemGoldBar"};};
class SCAR_L_CQC_Holo {type = "trade_weapons";buy[] = {8,"ItemGoldBar"};sell[] = {4,"ItemGoldBar"};};
@@ -485,10 +509,6 @@ class Category_16 {
class ACR_SNOW_NV_GL_DZ {type = "trade_weapons";buy[] = {-1,"ItemGoldBar10oz"};sell[] = {16,"ItemGoldBar"};};
class ACR_SNOW_NV_SD_DZ {type = "trade_weapons";buy[] = {-1,"ItemGoldBar10oz"};sell[] = {18,"ItemGoldBar"};};
class ACR_SNOW_NV_GL_SD_DZ {type = "trade_weapons";buy[] = {-1,"ItemGoldBar10oz"};sell[] = {2,"ItemGoldBar10oz"};};
class KAC_PDW_DZ {type = "trade_weapons";buy[] = {4,"ItemGoldBar"};sell[] = {2,"ItemGoldBar"};};
class KAC_PDW_CCO_DZ {type = "trade_weapons";buy[] = {-1,"ItemGoldBar"};sell[] = {4,"ItemGoldBar"};};
class KAC_PDW_Holo_DZ {type = "trade_weapons";buy[] = {-1,"ItemGoldBar"};sell[] = {4,"ItemGoldBar"};};
class KAC_PDW_ACOG_DZ {type = "trade_weapons";buy[] = {-1,"ItemGoldBar"};sell[] = {6,"ItemGoldBar"};};
};
//Sniper Rifles

View File

@@ -80,6 +80,7 @@ class CfgWeapons
class M4A1_AIM_SD_camo;
#include "Rifles\M4A1.hpp"
#include "Rifles\M4A3.hpp"
#include "Rifles\HK416.hpp"
//HK53
#include "Rifles\HK53.hpp"
//Magpul PDR
@@ -87,7 +88,7 @@ class CfgWeapons
//Famas
#include "Rifles\Famas.hpp"
#include "Rifles\ACR.hpp"
#include "Rifles\KACPDW.hpp"
#include "Rifles\KACPDW.hpp"
class M14_EP1;
#include "Rifles\M14.hpp"

View File

@@ -0,0 +1,619 @@
#define HK416_M203 muzzles[] = {this, M203Muzzle};\
handAnim[]={"OFP2_ManSkeleton","\Ca\weapons\data\Anim\M16GL.rtm"}
#define HK416C_ACOG modelOptics = "\Ca\weapons_E\SCAR\ACOG_TA31_optic_4x.p3d";\
class OpticsModes\
{\
class ACOG\
{\
opticsID = 1;\
useModelOptics = true;\
opticsFlare = true;\
opticsDisablePeripherialVision = true;\
opticsZoomMin = 0.0623;\
opticsZoomMax = 0.0623;\
opticsZoomInit = 0.0623;\
distanceZoomMin = 300;\
distanceZoomMax = 300;\
memoryPointCamera = "opticView";\
visionMode[] = {"Normal"};\
opticsPPEffects[] = {"OpticsCHAbera3","OpticsBlur3"};\
cameraDir = "";\
};\
\
class Iron\
{\
opticsID = 2;\
useModelOptics = false;\
opticsFlare = false;\
opticsDisablePeripherialVision = false;\
opticsZoomMin = 0.25;\
opticsZoomMax = 1.1;\
opticsZoomInit = 0.5;\
distanceZoomMin = 100;\
distanceZoomMax = 100;\
memoryPointCamera = "eye";\
visionMode[] = {};\
opticsPPEffects[] = {};\
cameraDir = "";\
};\
}
//Iron sights
class HK416_DZ : M4A1
{
model = "\RH_hk416\RH_hk416.p3d";
picture = "\RH_hk416\inv\hk416.paa";
displayName = $STR_DZ_WPN_HK416_NAME;
handAnim[] = {"OFP2_ManSkeleton","\RH_hk416\Anim\Hk416_anim.rtm"};
reloadMagazineSound[] = {"\RH_hk416\sound\Hk416_Reload.wss",0.056234,1,20};
modes[] = {"Single","FullAuto"};
class Single: Mode_SemiAuto
{
begin1[] = {"\RH_hk416\sound\hk416.wss",1.778279,1,800};
soundBegin[] = {"begin1",1};
reloadtime = 0.071;
dispersion = 0.0025;
minRange = 2;
minRangeProbab = 0.1;
midRange = 250;
midRangeProbab = 0.7;
maxRange = 400;
maxRangeProbab = 0.05;
};
class FullAuto: Mode_FullAuto
{
begin1[] = {"\RH_hk416\sound\hk416.wss",1.778279,1,800};
soundBegin[] = {"begin1",1};
reloadtime = 0.071;
dispersion = 0.0025;
minRange = 2;
minRangeProbab = 0.1;
midRange = 60;
midRangeProbab = 0.7;
maxRange = 90;
maxRangeProbab = 0.05;
};
magazines[] =
{
30Rnd_556x45_Stanag,
30Rnd_556x45_G36,
100Rnd_556x45_BetaCMag,
20Rnd_556x45_Stanag,
60Rnd_556x45_Stanag_tape_ice_DZE
};
class Attachments
{
Attachment_CCO = "HK416_CCO_DZ";
Attachment_Holo = "HK416_Holo_DZ";
Attachment_M203 = "HK416_GL_DZ";
Attachment_Sup556 = "HK416_SD_DZ";
};
};
class HK416_SD_DZ : M4A1_AIM_SD_camo
{
model = "\RH_hk416\RH_hk416sd.p3d";
picture = "\RH_hk416\inv\hk416sd.paa";
displayName = $STR_DZ_WPN_HK416_SD_NAME;
handAnim[] = {"OFP2_ManSkeleton","\RH_hk416\Anim\Hk416_anim.rtm"};
reloadMagazineSound[] = {"\RH_hk416\sound\Hk416_Reload.wss",0.056234,1,20};
modes[] = {"Single","FullAuto"};
class Single: Mode_SemiAuto
{
begin1[] = {"\RH_hk416\sound\hk416sd.wss",1.0,1,80};
soundBegin[] = {"begin1",1};
reloadtime = 0.071;
dispersion = 0.0025;
minRange = 2;
minRangeProbab = 0.1;
midRange = 250;
midRangeProbab = 0.7;
maxRange = 400;
maxRangeProbab = 0.05;
};
class FullAuto: Mode_FullAuto
{
begin1[] = {"\RH_hk416\sound\hk416sd.wss",1.0,1,80};
soundBegin[] = {"begin1",1};
reloadtime = 0.071;
dispersion = 0.0025;
minRange = 2;
minRangeProbab = 0.1;
midRange = 60;
midRangeProbab = 0.7;
maxRange = 90;
maxRangeProbab = 0.05;
};
magazines[] =
{
30Rnd_556x45_StanagSD,
30Rnd_556x45_G36SD
};
class Attachments
{
Attachment_CCO = "HK416_CCO_SD_DZ";
Attachment_Holo = "HK416_Holo_SD_DZ";
Attachment_M203 = "HK416_GL_SD_DZ";
};
class ItemActions
{
class RemoveSuppressor
{
text = $STR_ATTACHMENT_RMVE_Silencer;
script = "; ['Attachment_Sup556',_id,'HK416_DZ'] call player_removeAttachment";
};
};
};
//Grenade launcher
class HK416_GL_DZ : HK416_DZ
{
model = "\RH_hk416\RH_hk416gl.p3d";
picture = "\RH_hk416\inv\hk416gl.paa";
displayName = $STR_DZ_WPN_HK416_GL_NAME;
HK416_M203;
class Attachments
{
Attachment_CCO = "HK416_GL_CCO_DZ";
Attachment_Holo = "HK416_GL_Holo_DZ";
Attachment_Sup556 = "HK416_GL_SD_DZ";
};
class ItemActions
{
class RemoveGL
{
text = $STR_DZ_ATT_M203_RMVE;
script = "; ['Attachment_M203',_id,'HK416_DZ'] call player_removeAttachment";
};
};
};
class HK416_GL_SD_DZ : HK416_SD_DZ
{
model = "\RH_hk416\RH_hk416sdgl.p3d";
picture = "\RH_hk416\inv\hk416sdgl.paa";
displayName = $STR_DZ_WPN_HK416_GL_SD_NAME;
HK416_M203;
class Attachments
{
Attachment_CCO = "HK416_GL_CCO_SD_DZ";
Attachment_Holo = "HK416_GL_Holo_SD_DZ";
Attachment_ACOG = "HK416_GL_ACOG_SD_DZ";
};
class ItemActions
{
class RemoveGL
{
text = $STR_DZ_ATT_M203_RMVE;
script = "; ['Attachment_M203',_id,'HK416_SD_DZ'] call player_removeAttachment";
};
class RemoveSuppressor
{
text = $STR_ATTACHMENT_RMVE_Silencer;
script = "; ['Attachment_Sup556',_id,'HK416_GL_DZ'] call player_removeAttachment";
};
};
};
//CCO
class HK416_CCO_DZ : HK416_DZ
{
model = "\RH_hk416\RH_hk416aim.p3d";
picture = "\RH_hk416\inv\hk416aim.paa";
displayName = $STR_DZ_WPN_HK416_CCO_NAME;
class Attachments
{
Attachment_M203 = "HK416_GL_CCO_DZ";
Attachment_Sup556 = "HK416_CCO_SD_DZ";
};
class ItemActions
{
class RemoveCCO
{
text = $STR_DZ_ATT_CCO_RMVE;
script = "; ['Attachment_CCO',_id,'HK416_DZ'] call player_removeAttachment";
};
};
};
class HK416_CCO_SD_DZ : HK416_SD_DZ
{
model = "\RH_hk416\RH_hk416sdaim.p3d";
picture = "\RH_hk416\inv\hk416sdaim.paa";
displayName = $STR_DZ_WPN_HK416_CCO_SD_NAME;
class Attachments
{
Attachment_M203 = "HK416_GL_CCO_SD_DZ";
};
class ItemActions
{
class RemoveCCO
{
text = $STR_DZ_ATT_CCO_RMVE;
script = "; ['Attachment_CCO',_id,'HK416_SD_DZ'] call player_removeAttachment";
};
class RemoveSuppressor
{
text = $STR_ATTACHMENT_RMVE_Silencer;
script = "; ['Attachment_Sup556',_id,'HK416_CCO_DZ'] call player_removeAttachment";
};
};
};
//Grenade launcher
class HK416_GL_CCO_DZ : HK416_GL_DZ
{
model = "\RH_hk416\RH_hk416glaim.p3d";
picture = "\RH_hk416\inv\hk416glaim.paa";
displayName = $STR_DZ_WPN_HK416_GL_CCO_NAME;
class Attachments
{
Attachment_Sup556 = "HK416_GL_CCO_SD_DZ";
};
class ItemActions
{
class RemoveCCO
{
text = $STR_DZ_ATT_CCO_RMVE;
script = "; ['Attachment_CCO',_id,'HK416_GL_DZ'] call player_removeAttachment";
};
class RemoveGL
{
text = $STR_DZ_ATT_M203_RMVE;
script = "; ['Attachment_M203',_id,'HK416_CCO_DZ'] call player_removeAttachment";
};
};
};
class HK416_GL_CCO_SD_DZ : HK416_GL_SD_DZ
{
model = "\RH_hk416\RH_hk416sdglaim.p3d";
picture = "\RH_hk416\inv\hk416sdglaim.paa";
displayName = $STR_DZ_WPN_HK416_GL_CCO_SD_NAME;
class Attachments {};
class ItemActions
{
class RemoveCCO
{
text = $STR_DZ_ATT_CCO_RMVE;
script = "; ['Attachment_CCO',_id,'HK416_GL_SD_DZ'] call player_removeAttachment";
};
class RemoveGL
{
text = $STR_DZ_ATT_M203_RMVE;
script = "; ['Attachment_M203',_id,'HK416_CCO_SD_DZ'] call player_removeAttachment";
};
class RemoveSuppressor
{
text = $STR_ATTACHMENT_RMVE_Silencer;
script = "; ['Attachment_Sup556',_id,'HK416_GL_CCO_DZ'] call player_removeAttachment";
};
};
};
//Holo
class HK416_Holo_DZ : HK416_DZ
{
model = "\RH_hk416\RH_hk416eotech.p3d";
picture = "\RH_hk416\inv\hk416eotech.paa";
displayName = $STR_DZ_WPN_HK416_HOLO_NAME;
class Attachments
{
Attachment_M203 = "HK416_GL_Holo_DZ";
Attachment_Sup556 = "HK416_Holo_SD_DZ";
};
class ItemActions
{
class RemoveHolo
{
text = $STR_DZ_ATT_HOLO_RMVE;
script = "; ['Attachment_Holo',_id,'HK416_DZ'] call player_removeAttachment";
};
};
};
class HK416_Holo_SD_DZ : HK416_SD_DZ
{
model = "\RH_hk416\RH_hk416sdeotech.p3d";
picture = "\RH_hk416\inv\hk416sdeotech.paa";
displayName = $STR_DZ_WPN_HK416_HOLO_SD_NAME;
class Attachments
{
Attachment_M203 = "HK416_GL_Holo_SD_DZ";
};
class ItemActions
{
class RemoveHolo
{
text = $STR_DZ_ATT_HOLO_RMVE;
script = "; ['Attachment_Holo',_id,'HK416_SD_DZ'] call player_removeAttachment";
};
class RemoveSuppressor
{
text = $STR_ATTACHMENT_RMVE_Silencer;
script = "; ['Attachment_Sup556',_id,'HK416_Holo_DZ'] call player_removeAttachment";
};
};
};
//Grenade launcher
class HK416_GL_Holo_DZ : HK416_GL_DZ
{
model = "\RH_hk416\RH_hk416gleotech.p3d";
picture = "\RH_hk416\inv\Hk416gleotech.paa";
displayName = $STR_DZ_WPN_HK416_GL_HOLO_NAME;
class Attachments
{
Attachment_Sup556 = "HK416_GL_Holo_SD_DZ";
};
class ItemActions
{
class RemoveHolo
{
text = $STR_DZ_ATT_HOLO_RMVE;
script = "; ['Attachment_Holo',_id,'HK416_GL_DZ'] call player_removeAttachment";
};
class RemoveGL
{
text = $STR_DZ_ATT_M203_RMVE;
script = "; ['Attachment_M203',_id,'HK416_Holo_DZ'] call player_removeAttachment";
};
};
};
class HK416_GL_Holo_SD_DZ : HK416_GL_SD_DZ
{
model = "\RH_hk416\RH_hk416sdgleotech.p3d";
picture = "\RH_hk416\inv\hk416sdgleotech.paa";
displayName = $STR_DZ_WPN_HK416_GL_HOLO_SD_NAME;
class Attachments {};
class ItemActions
{
class RemoveHolo
{
text = $STR_DZ_ATT_HOLO_RMVE;
script = "; ['Attachment_Holo',_id,'HK416_GL_SD_DZ'] call player_removeAttachment";
};
class RemoveGL
{
text = $STR_DZ_ATT_M203_RMVE;
script = "; ['Attachment_M203',_id,'HK416_Holo_SD_DZ'] call player_removeAttachment";
};
class RemoveSuppressor
{
text = $STR_ATTACHMENT_RMVE_Silencer;
script = "; ['Attachment_Sup556',_id,'HK416_GL_Holo_DZ'] call player_removeAttachment";
};
};
};
class HK416C_DZ : HK416_DZ
{
model = "\RH_hk416\RH_hk416s.p3d";
picture = "\RH_hk416\inv\hk416s.paa";
handAnim[] = {"OFP2_ManSkeleton","\RH_hk416\Anim\hk416cqb_anim.rtm"};
displayName = $STR_DZ_WPN_HK416C_NAME;
class Attachments
{
Attachment_CCO = "HK416C_CCO_DZ";
Attachment_Holo = "HK416C_Holo_DZ";
Attachment_M203 = "HK416C_GL_DZ";
Attachment_ACOG = "HK416C_ACOG_DZ";
};
};
//Grenade launcher
class HK416C_GL_DZ : HK416C_DZ
{
model = "\RH_hk416\RH_hk416sgl.p3d";
picture = "\RH_hk416\inv\hk416sgl.paa";
displayName = $STR_DZ_WPN_HK416C_GL_NAME;
HK416_M203;
class Attachments
{
Attachment_CCO = "HK416C_GL_CCO_DZ";
Attachment_Holo = "HK416C_GL_Holo_DZ";
Attachment_ACOG = "HK416C_GL_ACOG_DZ";
};
class ItemActions
{
class RemoveGL
{
text = $STR_DZ_ATT_M203_RMVE;
script = "; ['Attachment_M203',_id,'HK416C_DZ'] call player_removeAttachment";
};
};
};
//CCO
class HK416C_CCO_DZ : HK416C_DZ
{
model = "\RH_hk416\RH_hk416saim.p3d";
picture = "\RH_hk416\inv\hk416saim.paa";
displayName = $STR_DZ_WPN_HK416C_CCO_NAME;
class Attachments
{
Attachment_M203 = "HK416C_GL_CCO_DZ";
};
class ItemActions
{
class RemoveCCO
{
text = $STR_DZ_ATT_CCO_RMVE;
script = "; ['Attachment_CCO',_id,'HK416C_DZ'] call player_removeAttachment";
};
};
};
//Grenade launcher
class HK416C_GL_CCO_DZ : HK416C_GL_DZ
{
model = "\RH_hk416\RH_hk416sglaim.p3d";
picture = "\RH_hk416\inv\hk416sglaim.paa";
displayName = $STR_DZ_WPN_HK416C_GL_CCO_NAME;
class Attachments {};
class ItemActions
{
class RemoveCCO
{
text = $STR_DZ_ATT_CCO_RMVE;
script = "; ['Attachment_CCO',_id,'HK416C_GL_DZ'] call player_removeAttachment";
};
class RemoveGL
{
text = $STR_DZ_ATT_M203_RMVE;
script = "; ['Attachment_M203',_id,'HK416C_CCO_DZ'] call player_removeAttachment";
};
};
};
//Holo
class HK416C_Holo_DZ : HK416C_DZ
{
model = "\RH_hk416\RH_hk416seotech.p3d";
picture = "\RH_hk416\inv\hk416seotech.paa";
displayName = $STR_DZ_WPN_HK416C_HOLO_NAME;
class Attachments
{
Attachment_M203 = "HK416C_GL_Holo_DZ";
};
class ItemActions
{
class RemoveHolo
{
text = $STR_DZ_ATT_HOLO_RMVE;
script = "; ['Attachment_Holo',_id,'HK416C_DZ'] call player_removeAttachment";
};
};
};
//Grenade launcher
class HK416C_GL_Holo_DZ : HK416C_GL_DZ
{
model = "\RH_hk416\RH_hk416sgleotech.p3d";
picture = "\RH_hk416\inv\Hk416sgleotech.paa";
displayName = $STR_DZ_WPN_HK416C_GL_HOLO_NAME;
class Attachments {};
class ItemActions
{
class RemoveHolo
{
text = $STR_DZ_ATT_HOLO_RMVE;
script = "; ['Attachment_Holo',_id,'HK416C_GL_DZ'] call player_removeAttachment";
};
class RemoveGL
{
text = $STR_DZ_ATT_M203_RMVE;
script = "; ['Attachment_M203',_id,'HK416C_Holo_DZ'] call player_removeAttachment";
};
};
};
class HK416C_ACOG_DZ : HK416C_DZ
{
model = "\RH_hk416\RH_hk416sacog.p3d";
picture = "\RH_hk416\inv\hk416sacog.paa";
displayName = $STR_DZ_WPN_HK416C_ACOG_NAME;
HK416C_ACOG;
class Attachments
{
Attachment_M203 = "HK416C_GL_ACOG_DZ";
};
class ItemActions
{
class RemoveACOG
{
text = $STR_DZ_ATT_ACOG_RMVE;
script = "; ['Attachment_ACOG',_id,'HK416C_DZ'] call player_removeAttachment";
};
};
};
class HK416C_GL_ACOG_DZ : HK416C_GL_DZ
{
model = "\RH_hk416\RH_hk416sglacog.p3d";
picture = "\RH_hk416\inv\hk416sglacog.paa";
displayName = $STR_DZ_WPN_HK416C_GL_ACOG_NAME;
HK416_M203;
HK416C_ACOG;
class Attachments {};
class ItemActions
{
class RemoveACOG
{
text = $STR_DZ_ATT_ACOG_RMVE;
script = "; ['Attachment_ACOG',_id,'HK416C_GL_DZ'] call player_removeAttachment";
};
class RemoveGL
{
text = $STR_DZ_ATT_M203_RMVE;
script = "; ['Attachment_M203',_id,'HK416C_ACOG_DZ'] call player_removeAttachment";
};
};
};
#undef HK416_M203
#undef HK416C_ACOG

View File

@@ -168,8 +168,8 @@ class M4A1_SD_DZ : M4A1_AIM_SD_camo
magazines[] =
{
30Rnd_556x45_G36SD,
30Rnd_556x45_StanagSD
30Rnd_556x45_StanagSD,
30Rnd_556x45_G36SD
};
class Attachments

View File

@@ -11892,7 +11892,7 @@
<English>ACR ACOG</English>
</Key>
<Key ID="STR_DZ_WPN_ACR_GL_NAME">
<English>ACR GL</English>
<English>ACR M203</English>
</Key>
<Key ID="STR_DZ_WPN_ACR_TWS_NAME">
<English>ACR TWS</English>
@@ -11901,16 +11901,16 @@
<English>ACR TWS SD</English>
</Key>
<Key ID="STR_DZ_WPN_ACR_TWS_GL_NAME">
<English>ACR TWS GL</English>
<English>ACR TWS M203</English>
</Key>
<Key ID="STR_DZ_WPN_ACR_TWS_GL_SD_NAME">
<English>ACR TWS GL SD</English>
<English>ACR TWS M203 SD</English>
</Key>
<Key ID="STR_DZ_WPN_ACR_CCO_GL_NAME">
<English>ACR CCO GL</English>
<English>ACR CCO M203</English>
</Key>
<Key ID="STR_DZ_WPN_ACR_HOLO_GL_NAME">
<English>ACR Holo GL</English>
<English>ACR Holo M203</English>
</Key>
<Key ID="STR_DZ_WPN_ACR_SD_NAME">
<English>ACR SD</English>
@@ -11922,35 +11922,35 @@
<English>ACR ACOG SD</English>
</Key>
<Key ID="STR_DZ_WPN_ACR_ACOG_GL_NAME">
<English>ACR ACOG GL</English>
<English>ACR ACOG M203</English>
</Key>
<Key ID="STR_DZ_WPN_ACR_ACOG_GL_SD_NAME">
<English>ACR ACOG GL SD</English>
<English>ACR ACOG M203 SD</English>
</Key>
<Key ID="STR_DZ_WPN_ACR_GL_SD_NAME">
<English>ACR GL SD</English>
<English>ACR M203 SD</English>
</Key>
<Key ID="STR_DZ_WPN_ACR_CCO_GL_SD_NAME">
<English>ACR CCO GL SD</English>
<English>ACR CCO M203 SD</English>
</Key>
<Key ID="STR_DZ_WPN_ACR_HOLO_SD_NAME">
<English>ACR Holo SD</English>
</Key>
<Key ID="STR_DZ_WPN_ACR_HOLO_GL_SD_NAME">
<English>ACR Holo GL SD</English>
<English>ACR Holo M203 SD</English>
</Key>
<Key ID="STR_DZ_WPN_ACR_NV_GL_NAME">
<English>ACR NV GL</English>
<English>ACR NV M203</English>
</Key>
<Key ID="STR_DZ_WPN_ACR_NV_GL_SD_NAME">
<English>ACR NV GL SD</English>
<English>ACR NV M203 SD</English>
</Key>
<Key ID="STR_DZ_WPN_ACR_NV_SD_NAME">
<English>ACR NV SD</English>
</Key>
<Key ID="STR_DZ_WPN_ACR_NV_NAME">
<English>ACR NV</English>
</Key>
</Key>
<!-- RSASS -->
<Key ID="STR_DZ_WPN_RSASS_NAME">
@@ -12490,6 +12490,74 @@
<Hungarian>Hangtompítós géppisztoly &lt;br/&gt; Kaliber: 5.7x28mm SD</Hungarian>
</Key>
<!-- HK416 -->
<Key ID="STR_DZ_WPN_HK416_NAME">
<English>HK416</English>
</Key>
<Key ID="STR_DZ_WPN_HK416_SD_NAME">
<English>HK416 SD</English>
<Russian>HK416 ПБС</Russian>
</Key>
<Key ID="STR_DZ_WPN_HK416_GL_NAME">
<English>HK416 M203</English>
</Key>
<Key ID="STR_DZ_WPN_HK416_GL_SD_NAME">
<English>HK416 M203 SD</English>
<Russian>HK416 M203 ПБС</Russian>
</Key>
<Key ID="STR_DZ_WPN_HK416_CCO_NAME">
<English>HK416 CCO</English>
</Key>
<Key ID="STR_DZ_WPN_HK416_CCO_SD_NAME">
<English>HK416 CCO SD</English>
<Russian>HK416 CCO ПБС</Russian>
</Key>
<Key ID="STR_DZ_WPN_HK416_GL_CCO_NAME">
<English>HK416 M203 CCO</English>
</Key>
<Key ID="STR_DZ_WPN_HK416_GL_CCO_SD_NAME">
<English>HK416 M203 CCO SD</English>
<Russian>HK416 M203 CCO ПБС</Russian>
</Key>
<Key ID="STR_DZ_WPN_HK416_HOLO_NAME">
<English>HK416 Holo</English>
</Key>
<Key ID="STR_DZ_WPN_HK416_HOLO_SD_NAME">
<English>HK416 Holo SD</English>
<Russian>HK416 Holo ПБС</Russian>
</Key>
<Key ID="STR_DZ_WPN_HK416_GL_HOLO_NAME">
<English>HK416 M203 Holo</English>
</Key>
<Key ID="STR_DZ_WPN_HK416_GL_HOLO_SD_NAME">
<English>HK416 M203 Holo SD</English>
<Russian>HK416 M203 Holo ПБС</Russian>
</Key>
<Key ID="STR_DZ_WPN_HK416C_NAME">
<English>HK416C</English>
</Key>
<Key ID="STR_DZ_WPN_HK416C_GL_NAME">
<English>HK416C M203</English>
</Key>
<Key ID="STR_DZ_WPN_HK416C_CCO_NAME">
<English>HK416C CCO</English>
</Key>
<Key ID="STR_DZ_WPN_HK416C_GL_CCO_NAME">
<English>HK416C M203 CCO</English>
</Key>
<Key ID="STR_DZ_WPN_HK416C_HOLO_NAME">
<English>HK416C Holo</English>
</Key>
<Key ID="STR_DZ_WPN_HK416C_GL_HOLO_NAME">
<English>HK416C M203 Holo</English>
</Key>
<Key ID="STR_DZ_WPN_HK416C_ACOG_NAME">
<English>HK416C ACOG</English>
</Key>
<Key ID="STR_DZ_WPN_HK416C_GL_ACOG_NAME">
<English>HK416C M203 ACOG</English>
</Key>
<!-- **** MAGAZINES **** -->
<Key ID="STR_DZ_MAG_17RND_9X19_GLOCK17SD_NAME">