diff --git a/SQF/dayz_code/Configs/CfgLoot/Groups/Weapons.hpp b/SQF/dayz_code/Configs/CfgLoot/Groups/Weapons.hpp
index a447c24ef..aa249ee5b 100644
--- a/SQF/dayz_code/Configs/CfgLoot/Groups/Weapons.hpp
+++ b/SQF/dayz_code/Configs/CfgLoot/Groups/Weapons.hpp
@@ -120,7 +120,9 @@ weaponsEU[] =
{Loot_WEAPON, 1, L115A3_DZ}, // Tan Lapua
{Loot_WEAPON, 1, L115A3_2_DZ}, // Green Lapua
{Loot_WEAPON, 4, SCAR_H_LNG_Sniper_SD},
- {Loot_WEAPON, 4, SCAR_H_LNG_Sniper},
+ {Loot_WEAPON, 4, SCAR_H_LNG_Sniper},
+ {Loot_WEAPON, 2, HK417_Sniper_SD_DZ},
+ {Loot_WEAPON, 2, HK417_Sniper_DZ},
{Loot_WEAPON, 1, RSASS_DZ},
{Loot_WEAPON, 4, FNFAL_DZ},
{Loot_WEAPON, 3, FN_FAL_ANPVS4_DZE}, //FNFAL_ANPVS4_DZ is NV only _DZE is toggleable with attachment support
@@ -153,6 +155,8 @@ weaponsEU[] =
{Loot_WEAPON, 5, Famas_DZ},
{Loot_WEAPON, 5, HK416_DZ},
{Loot_WEAPON, 5, HK416C_DZ},
+ {Loot_WEAPON, 5, HK417_DZ},
+ {Loot_WEAPON, 5, HK417C_DZ},
{Loot_WEAPON, 5, SCAR_L_CQC_CCO_SD},
{Loot_WEAPON, 5, SCAR_L_CQC},
{Loot_WEAPON, 5, SCAR_L_CQC_Holo},
diff --git a/SQF/dayz_code/Configs/CfgMagazines/Attachments/Attachments.hpp b/SQF/dayz_code/Configs/CfgMagazines/Attachments/Attachments.hpp
index 4bbde10e4..a60fe28af 100644
--- a/SQF/dayz_code/Configs/CfgMagazines/Attachments/Attachments.hpp
+++ b/SQF/dayz_code/Configs/CfgMagazines/Attachments/Attachments.hpp
@@ -18,10 +18,12 @@
#include "Sup9.hpp"
#include "Sup10.hpp"
+#include "Sup45.hpp"
#include "Sup57.hpp"
#include "Sup68.hpp"
#include "Sup556.hpp"
#include "Sup545.hpp"
+#include "Sup762.hpp"
#include "SupMakarov.hpp"
#include "SupBizon.hpp"
@@ -33,6 +35,4 @@
#include "Laser.hpp"
#include "NSPU.hpp"
#include "NV.hpp"
-#include "TWS.hpp"
-#include "Sup762.hpp"
-#include "Sup45.hpp"
\ No newline at end of file
+#include "TWS.hpp"
\ No newline at end of file
diff --git a/SQF/dayz_code/Configs/CfgMagazines/Attachments/Sup762.hpp b/SQF/dayz_code/Configs/CfgMagazines/Attachments/Sup762.hpp
index 621d15d02..22b0e904a 100644
--- a/SQF/dayz_code/Configs/CfgMagazines/Attachments/Sup762.hpp
+++ b/SQF/dayz_code/Configs/CfgMagazines/Attachments/Sup762.hpp
@@ -4,8 +4,8 @@ class Attachment_Sup762 : CA_Magazine {
type = 256;
model = "\z\addons\dayz_communityweapons\attachments\suppressor556\suppressor556.p3d";
picture = "\z\addons\dayz_communityweapons\attachments\suppressor556\data\m_suppressor556_ca.paa";
- displayName = $STR_DZE_ATTACHMENT_762SUP_NAME;
- descriptionShort = $STR_DZE_ATTACHMENT_762SUP_DESC;
+ displayName = $STR_DZ_ATT_SUP762_NAME;
+ descriptionShort = $STR_DZ_ATT_SUP762_DESC;
class ItemActions
{
class AttachToPrimary
diff --git a/SQF/dayz_code/Configs/CfgMagazines/Magazines/762x51.hpp b/SQF/dayz_code/Configs/CfgMagazines/Magazines/762x51.hpp
index 55ef37637..fc4beac92 100644
--- a/SQF/dayz_code/Configs/CfgMagazines/Magazines/762x51.hpp
+++ b/SQF/dayz_code/Configs/CfgMagazines/Magazines/762x51.hpp
@@ -138,9 +138,33 @@ class 20Rnd_762x51_RSASS: CA_Magazine
class 20Rnd_762x51_RSASS_SD: 20Rnd_762x51_RSASS
{
+ picture = "\FHQ_Remington\ammo\ui\i_20rndpmag.paa";
initSpeed = 850;
displayName = $STR_DZ_MAG_20RND_RSASSSD_NAME;
descriptionShort = $STR_DZ_MAG_20RND_RSASSSD_DESC;
cartridgeName = "762x51_SD";
ammo = "Rem_762x51_SD";
};
+
+class 20Rnd_762x51_HK417: 20Rnd_762x51_RSASS
+{
+ picture = "\RH_hk416\inv\m_hk417.paa";
+ displayName = $STR_DZ_MAG_20RND_HK417_NAME;
+ descriptionShort = $STR_DZ_MAG_20RND_HK417_DESC;
+ count = 20;
+ cartridgeName = "762x51";
+ ammo = "Rem_762x51_Ball";
+
+
+};
+
+class 20Rnd_762x51_HK417SD: 20Rnd_762x51_HK417
+{
+ initSpeed = 850;
+ displayName = $STR_DZ_MAG_20RND_HK417SD_NAME;
+ descriptionShort = $STR_DZ_MAG_20RND_HK417SD_DESC;
+ cartridgeName = "762x51_SD";
+ ammo = "Rem_762x51_SD";
+};
+
+
diff --git a/SQF/dayz_code/Configs/CfgRecoils.hpp b/SQF/dayz_code/Configs/CfgRecoils.hpp
index 4a33a238a..f0e6f383b 100644
--- a/SQF/dayz_code/Configs/CfgRecoils.hpp
+++ b/SQF/dayz_code/Configs/CfgRecoils.hpp
@@ -19,4 +19,7 @@ class CfgRecoils
ColtAnaconda_Recoil[] = {0,0,0,0.1,0.1,0.1,0.1,-0.02,-0.03,0.05,0,0};
ColtPython_Recoil[] = {0,0,0,0.15,0.12,0.13,0.14,-0.02,-0.03,0.07,0,0};
+
+ HK417_Recoil[] = {0,0.014,0.015,0.02,0.014,0.015,0.07,0.005,0.018,0.13,0,0};
+ HK417_RecoilProne[] = {0,0.01,0.006,0.013,0.01,0.006,0.1,0.008,0.001,0.12,0,0};
};
\ No newline at end of file
diff --git a/SQF/dayz_code/Configs/CfgServerTrader/Category/Ammunition.hpp b/SQF/dayz_code/Configs/CfgServerTrader/Category/Ammunition.hpp
index beda8c697..1f40f998d 100644
--- a/SQF/dayz_code/Configs/CfgServerTrader/Category/Ammunition.hpp
+++ b/SQF/dayz_code/Configs/CfgServerTrader/Category/Ammunition.hpp
@@ -81,6 +81,8 @@ class Category_22 {
class 20Rnd_762x51_DMR {type = "trade_items";buy[] = {8,"ItemGoldBar"};sell[] = {4,"ItemGoldBar"};};
class 20Rnd_762x51_B_SCAR {type = "trade_items";buy[] = {6,"ItemGoldBar"};sell[] = {3,"ItemGoldBar"};};
class 20Rnd_762x51_SB_SCAR {type = "trade_items";buy[] = {1,"ItemGoldBar"};sell[] = {5,"ItemSilverBar10oz"};};
+ class 20Rnd_762x51_HK417 {type = "trade_items";buy[] = {6,"ItemGoldBar"};sell[] = {3,"ItemGoldBar"};};
+ class 20Rnd_762x51_HK417SD {type = "trade_items";buy[] = {1,"ItemGoldBar"};sell[] = {5,"ItemSilverBar10oz"};};
};
//Sniper Rifle Ammo
diff --git a/SQF/dayz_code/Configs/CfgServerTrader/Category/Bandit.hpp b/SQF/dayz_code/Configs/CfgServerTrader/Category/Bandit.hpp
index ddde3d21a..465ac0daf 100644
--- a/SQF/dayz_code/Configs/CfgServerTrader/Category/Bandit.hpp
+++ b/SQF/dayz_code/Configs/CfgServerTrader/Category/Bandit.hpp
@@ -147,6 +147,8 @@ class Category_8 {
class M110_NVG_EP1 {type = "trade_weapons";buy[] = {7,"ItemGoldBar10oz"};sell[] = {4,"ItemGoldBar10oz"};};
class RSASS_DZ {type = "trade_weapons";buy[] = {6,"ItemGoldBar10oz"};sell[] = {3,"ItemGoldBar10oz"};};
class RSASS_SD_DZ {type = "trade_weapons";buy[] = {-6,"ItemGoldBar10oz"};sell[] = {3,"ItemGoldBar10oz"};};
+ class HK417_Sniper_DZ {type = "trade_weapons";buy[] = {6,"ItemGoldBar10oz"};sell[] = {3,"ItemGoldBar10oz"};};
+ class HK417_Sniper_SD_DZ {type = "trade_weapons";buy[] = {-6,"ItemGoldBar10oz"};sell[] = {3,"ItemGoldBar10oz"};};
class DMR_DZ {type = "trade_weapons";buy[] = {6,"ItemGoldBar10oz"};sell[] = {3,"ItemGoldBar10oz"};};
class DMR_Gh_DZ {type = "trade_weapons";buy[] = {-1,"ItemGoldBar"};sell[] = {31,"ItemGoldBar"};};
class M21_DZ {type = "trade_weapons";buy[] = {5,"ItemGoldBar10oz"};sell[] = {3,"ItemGoldBar10oz"};};
diff --git a/SQF/dayz_code/Configs/CfgServerTrader/Category/Hero.hpp b/SQF/dayz_code/Configs/CfgServerTrader/Category/Hero.hpp
index b4b8cb3bc..7b08ce84a 100644
--- a/SQF/dayz_code/Configs/CfgServerTrader/Category/Hero.hpp
+++ b/SQF/dayz_code/Configs/CfgServerTrader/Category/Hero.hpp
@@ -147,6 +147,8 @@ class Category_3 {
class M110_NVG_EP1 {type = "trade_weapons";buy[] = {7,"ItemGoldBar10oz"};sell[] = {4,"ItemGoldBar10oz"};};
class RSASS_DZ {type = "trade_weapons";buy[] = {6,"ItemGoldBar10oz"};sell[] = {3,"ItemGoldBar10oz"};};
class RSASS_SD_DZ {type = "trade_weapons";buy[] = {-6,"ItemGoldBar10oz"};sell[] = {3,"ItemGoldBar10oz"};};
+ class HK417_Sniper_DZ {type = "trade_weapons";buy[] = {6,"ItemGoldBar10oz"};sell[] = {3,"ItemGoldBar10oz"};};
+ class HK417_Sniper_SD_DZ {type = "trade_weapons";buy[] = {-6,"ItemGoldBar10oz"};sell[] = {3,"ItemGoldBar10oz"};};
class DMR_DZ {type = "trade_weapons";buy[] = {6,"ItemGoldBar10oz"};sell[] = {3,"ItemGoldBar10oz"};};
class DMR_Gh_DZ {type = "trade_weapons";buy[] = {-1,"ItemGoldBar"};sell[] = {31,"ItemGoldBar"};};
class M21_DZ {type = "trade_weapons";buy[] = {5,"ItemGoldBar10oz"};sell[] = {3,"ItemGoldBar10oz"};};
diff --git a/SQF/dayz_code/Configs/CfgServerTrader/Category/Weapons.hpp b/SQF/dayz_code/Configs/CfgServerTrader/Category/Weapons.hpp
index 9f02bb145..38605d619 100644
--- a/SQF/dayz_code/Configs/CfgServerTrader/Category/Weapons.hpp
+++ b/SQF/dayz_code/Configs/CfgServerTrader/Category/Weapons.hpp
@@ -22,6 +22,7 @@ class Category_12 {
class Attachment_Sup45 {type = "trade_items";buy[] = {4,"ItemGoldBar"};sell[] = {2,"ItemGoldBar"};};
class Attachment_Sup545 {type = "trade_items";buy[] = {6,"ItemGoldBar"};sell[] = {3,"ItemGoldBar"};};
class Attachment_Sup556 {type = "trade_items";buy[] = {8,"ItemGoldBar"};sell[] = {4,"ItemGoldBar"};};
+ class Attachment_Sup762 {type = "trade_items";buy[] = {1,"ItemGoldBar10oz"};sell[] = {5,"ItemGoldBar"};};
class Attachment_Sup68 {type = "trade_items";buy[] = {8,"ItemGoldBar"};sell[] = {4,"ItemGoldBar"};};
class Attachment_Sup57 {type = "trade_items";buy[] = {8,"ItemGoldBar"};sell[] = {4,"ItemGoldBar"};};
class Attachment_GP25 {type = "trade_items";buy[] = {4,"ItemGoldBar"};sell[] = {2,"ItemGoldBar"};};
@@ -409,6 +410,22 @@ class Category_16 {
class SCAR_H_CQC_CCO_SD {type = "trade_weapons";buy[] = {2,"ItemGoldBar10oz"};sell[] = {1,"ItemGoldBar10oz"};};
class SCAR_H_STD_EGLM_Spect {type = "trade_weapons";buy[] = {2,"ItemGoldBar10oz"};sell[] = {1,"ItemGoldBar10oz"};};
class CZ805_B_GL_DZ {type = "trade_weapons";buy[] = {2,"ItemGoldBar10oz"};sell[] = {1,"ItemGoldBar10oz"};};
+ class HK417_DZ {type = "trade_weapons";buy[] = {2,"ItemGoldBar10oz"};sell[] = {1,"ItemGoldBar10oz"};};
+ class HK417_CCO_DZ {type = "trade_weapons";buy[] = {-1,"ItemGoldBar"};sell[] = {12,"ItemGoldBar"};};
+ class HK417_Holo_DZ {type = "trade_weapons";buy[] = {-1,"ItemGoldBar"};sell[] = {12,"ItemGoldBar"};};
+ class HK417_SD_DZ {type = "trade_weapons";buy[] = {-1,"ItemGoldBar"};sell[] = {15,"ItemGoldBar"};};
+ class HK417_CCO_SD_DZ {type = "trade_weapons";buy[] = {-1,"ItemGoldBar"};sell[] = {17,"ItemGoldBar"};};
+ class HK417_Holo_SD_DZ {type = "trade_weapons";buy[] = {-1,"ItemGoldBar"};sell[] = {17,"ItemGoldBar"};};
+ class HK417_ACOG_DZ {type = "trade_weapons";buy[] = {-1,"ItemGoldBar"};sell[] = {14,"ItemGoldBar"};};
+ class HK417_ACOG_SD_DZ {type = "trade_weapons";buy[] = {-1,"ItemGoldBar"};sell[] = {19,"ItemGoldBar"};};
+ class HK417C_DZ {type = "trade_weapons";buy[] = {2,"ItemGoldBar10oz"};sell[] = {1,"ItemGoldBar10oz"};};
+ class HK417C_CCO_DZ {type = "trade_weapons";buy[] = {-1,"ItemGoldBar"};sell[] = {12,"ItemGoldBar"};};
+ class HK417C_Holo_DZ {type = "trade_weapons";buy[] = {-1,"ItemGoldBar"};sell[] = {12,"ItemGoldBar"};};
+ class HK417C_GL_DZ {type = "trade_weapons";buy[] = {-1,"ItemGoldBar"};sell[] = {12,"ItemGoldBar"};};
+ class HK417C_GL_CCO_DZ {type = "trade_weapons";buy[] = {-1,"ItemGoldBar"};sell[] = {14,"ItemGoldBar"};};
+ class HK417C_GL_Holo_DZ {type = "trade_weapons";buy[] = {-1,"ItemGoldBar"};sell[] = {14,"ItemGoldBar"};};
+ class HK417C_ACOG_DZ {type = "trade_weapons";buy[] = {-1,"ItemGoldBar"};sell[] = {14,"ItemGoldBar"};};
+ class HK417C_GL_ACOG_DZ {type = "trade_weapons";buy[] = {-1,"ItemGoldBar"};sell[] = {16,"ItemGoldBar"};};
//ACR Woodland
class ACR_WDL_DZ {type = "trade_weapons";buy[] = {2,"ItemGoldBar10oz"};sell[] = {1,"ItemGoldBar10oz"};};
class ACR_WDL_SD_DZ {type = "trade_weapons";buy[] = {-1,"ItemGoldBar10oz"};sell[] = {14,"ItemGoldBar"};};
diff --git a/SQF/dayz_code/Configs/CfgWeapons/CfgWeapons.hpp b/SQF/dayz_code/Configs/CfgWeapons/CfgWeapons.hpp
index a0753d7af..b0ad5fde6 100644
--- a/SQF/dayz_code/Configs/CfgWeapons/CfgWeapons.hpp
+++ b/SQF/dayz_code/Configs/CfgWeapons/CfgWeapons.hpp
@@ -94,6 +94,7 @@ class CfgWeapons
#include "Rifles\M14.hpp"
#include "Rifles\M1ASC.hpp"
#include "Rifles\M21.hpp"
+ #include "Rifles\HK417.hpp"
//CZ 805
#include "Rifles\CZ805.hpp"
diff --git a/SQF/dayz_code/Configs/CfgWeapons/Rifles/HK417.hpp b/SQF/dayz_code/Configs/CfgWeapons/Rifles/HK417.hpp
new file mode 100644
index 000000000..c22d3c119
--- /dev/null
+++ b/SQF/dayz_code/Configs/CfgWeapons/Rifles/HK417.hpp
@@ -0,0 +1,554 @@
+#define HK417_M203 muzzles[] = {this, M203Muzzle};\
+handAnim[]={"OFP2_ManSkeleton","\Ca\weapons\data\Anim\M16GL.rtm"}
+
+#define HK417C_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 HK417_DZ : M14_EP1
+{
+ model = "\RH_hk416\RH_hk417.p3d";
+ picture = "\RH_hk416\inv\hk417.paa";
+ displayName = $STR_DZ_WPN_HK417_NAME;
+
+ handAnim[] = {"OFP2_ManSkeleton"};
+ reloadMagazineSound[] = {"\RH_hk416\sound\Hk416_Reload.wss",0.056234,1,20};
+
+ modes[] = {"Single","FullAuto"};
+ class Single: Mode_SemiAuto
+ {
+ begin1[] = {"\RH_hk416\sound\hk417.wss",1.778279,1,1000};
+ soundBegin[] = {"begin1",1};
+ dispersion = 0.0015;
+ reloadTime = 0.1;
+ recoil = "HK417_Recoil";
+ recoilProne = "HK417_RecoilProne";
+ minRange = 2;
+ minRangeProbab = 0.1;
+ midRange = 250;
+ midRangeProbab = 0.7;
+ maxRange = 400;
+ maxRangeProbab = 0.5;
+ };
+ class FullAuto: Mode_FullAuto
+ {
+ begin1[] = {"\RH_hk416\sound\hk417.wss",1.778279,1,1000};
+ soundBegin[] = {"begin1",1};
+ dispersion = 0.004;
+ reloadTime = 0.1;
+ recoil = "HK417_Recoil";
+ recoilProne = "HK417_RecoilProne";
+ minRange = 2;
+ minRangeProbab = 0.1;
+ midRange = 50;
+ midRangeProbab = 0.58;
+ maxRange = 100;
+ maxRangeProbab = 0.04;
+ };
+
+ magazines[] =
+ {
+ 20Rnd_762x51_HK417
+ };
+
+ class Attachments
+ {
+ Attachment_CCO = "HK417_CCO_DZ";
+ Attachment_Holo = "HK417_Holo_DZ";
+ Attachment_ACOG = "HK417_ACOG_DZ";
+ Attachment_Sup762 = "HK417_SD_DZ";
+ };
+};
+
+class HK417_SD_DZ : HK417_DZ
+{
+ model = "\RH_hk416\RH_hk416sd.p3d";
+ picture = "\RH_hk416\inv\hk416sd.paa";
+ displayName = $STR_DZ_WPN_HK417_SD_NAME;
+
+ handAnim[] = {"OFP2_ManSkeleton"};
+ reloadMagazineSound[] = {"\RH_hk416\sound\Hk416_Reload.wss",0.056234,1,20};
+
+ modes[] = {"Single","FullAuto"};
+ class Single: Mode_SemiAuto
+ {
+ begin1[] = {"\RH_hk416\sound\hk417sd.wss",1.0,1,200};
+ soundBegin[] = {"begin1",1};
+ dispersion = 0.0015;
+ reloadTime = 0.1;
+ recoil = "HK417_Recoil";
+ recoilProne = "HK417_RecoilProne";
+ minRange = 2;
+ minRangeProbab = 0.1;
+ midRange = 250;
+ midRangeProbab = 0.7;
+ maxRange = 400;
+ maxRangeProbab = 0.5;
+ };
+ class FullAuto: Mode_FullAuto
+ {
+ begin1[] = {"\RH_hk416\sound\hk417sd.wss",1.0,1,200};
+ soundBegin[] = {"begin1",1};
+ dispersion = 0.004;
+ reloadTime = 0.1;
+ recoil = "HK417_Recoil";
+ recoilProne = "HK417_RecoilProne";
+ minRange = 2;
+ minRangeProbab = 0.1;
+ midRange = 50;
+ midRangeProbab = 0.58;
+ maxRange = 100;
+ maxRangeProbab = 0.04;
+ };
+
+ magazines[] =
+ {
+ 20Rnd_762x51_HK417SD
+ };
+
+ class Attachments
+ {
+ Attachment_CCO = "HK417_CCO_SD_DZ";
+ Attachment_Holo = "HK417_Holo_SD_DZ";
+ Attachment_ACOG = "HK417_ACOG_SD_DZ";
+ };
+
+ class ItemActions
+ {
+ class RemoveSuppressor
+ {
+ text = $STR_ATTACHMENT_RMVE_Silencer;
+ script = "; ['Attachment_Sup762',_id,'HK417_DZ'] call player_removeAttachment";
+ };
+ };
+};
+
+//CCO
+class HK417_CCO_DZ : HK417_DZ
+{
+ model = "\RH_hk416\RH_hk417aim.p3d";
+ picture = "\RH_hk416\inv\hk417aim.paa";
+ displayName = $STR_DZ_WPN_HK417_CCO_NAME;
+
+ class Attachments
+ {
+ Attachment_Sup762 = "HK417_CCO_SD_DZ";
+ };
+
+ class ItemActions
+ {
+ class RemoveCCO
+ {
+ text = $STR_DZ_ATT_CCO_RMVE;
+ script = "; ['Attachment_CCO',_id,'HK417_DZ'] call player_removeAttachment";
+ };
+ };
+};
+
+class HK417_CCO_SD_DZ : HK417_SD_DZ
+{
+ model = "\RH_hk416\RH_hk417sdaim.p3d";
+ picture = "\RH_hk416\inv\hk417sdaim.paa";
+ displayName = $STR_DZ_WPN_HK417_CCO_SD_NAME;
+
+ class Attachments {};
+
+ class ItemActions
+ {
+ class RemoveCCO
+ {
+ text = $STR_DZ_ATT_CCO_RMVE;
+ script = "; ['Attachment_CCO',_id,'HK417_SD_DZ'] call player_removeAttachment";
+ };
+ class RemoveSuppressor
+ {
+ text = $STR_ATTACHMENT_RMVE_Silencer;
+ script = "; ['Attachment_Sup762',_id,'HK417_CCO_DZ'] call player_removeAttachment";
+ };
+ };
+};
+
+
+//Holo
+
+class HK417_Holo_DZ : HK417_DZ
+{
+ model = "\RH_hk416\RH_hk417eotech.p3d";
+ picture = "\RH_hk416\inv\hk417eotech.paa";
+ displayName = $STR_DZ_WPN_HK417_HOLO_NAME;
+
+ class Attachments
+ {
+ Attachment_Sup762 = "HK417_Holo_SD_DZ";
+ };
+
+ class ItemActions
+ {
+ class RemoveHolo
+ {
+ text = $STR_DZ_ATT_HOLO_RMVE;
+ script = "; ['Attachment_Holo',_id,'HK417_DZ'] call player_removeAttachment";
+ };
+ };
+};
+
+class HK417_Holo_SD_DZ : HK417_SD_DZ
+{
+ model = "\RH_hk416\RH_hk417sdeotech.p3d";
+ picture = "\RH_hk416\inv\hk417sdeotech.paa";
+ displayName = $STR_DZ_WPN_HK417_HOLO_SD_NAME;
+
+ class Attachments {};
+
+ class ItemActions
+ {
+ class RemoveHolo
+ {
+ text = $STR_DZ_ATT_HOLO_RMVE;
+ script = "; ['Attachment_Holo',_id,'HK417_SD_DZ'] call player_removeAttachment";
+ };
+ class RemoveSuppressor
+ {
+ text = $STR_ATTACHMENT_RMVE_Silencer;
+ script = "; ['Attachment_Sup762',_id,'HK417_Holo_DZ'] call player_removeAttachment";
+ };
+ };
+};
+
+class HK417_ACOG_DZ : HK417_DZ
+{
+ model = "\RH_hk416\RH_hk417acog.p3d";
+ picture = "\RH_hk416\inv\hk417acog.paa";
+ displayName = $STR_DZ_WPN_HK417_ACOG_NAME;
+
+ HK417C_ACOG;
+
+ class Attachments
+ {
+ Attachment_Sup762 = "HK417_ACOG_SD_DZ";
+ };
+
+ class ItemActions
+ {
+ class RemoveACOG
+ {
+ text = $STR_DZ_ATT_ACOG_RMVE;
+ script = "; ['Attachment_ACOG',_id,'HK417_DZ'] call player_removeAttachment";
+ };
+ };
+};
+
+class HK417_ACOG_SD_DZ : HK417_SD_DZ
+{
+ model = "\RH_hk416\RH_hk417sdacog.p3d";
+ picture = "\RH_hk416\inv\hk417sdacog.paa";
+ displayName = $STR_DZ_WPN_HK417_ACOG_SD_NAME;
+
+ HK417C_ACOG;
+
+ class Attachments {};
+
+ class ItemActions
+ {
+ class RemoveACOG
+ {
+ text = $STR_DZ_ATT_ACOG_RMVE;
+ script = "; ['Attachment_ACOG',_id,'HK417_SD_DZ'] call player_removeAttachment";
+ };
+ class RemoveSuppressor
+ {
+ text = $STR_ATTACHMENT_RMVE_Silencer;
+ script = "; ['Attachment_Sup762',_id,'HK417_ACOG_DZ'] call player_removeAttachment";
+ };
+ };
+};
+
+class HK417C_DZ : HK417_DZ
+{
+ model = "\RH_hk416\RH_hk417s.p3d";
+ picture = "\RH_hk416\inv\hk417s.paa";
+ handAnim[] = {"OFP2_ManSkeleton"};
+ displayName = $STR_DZ_WPN_HK417C_NAME;
+
+ class Attachments
+ {
+ Attachment_CCO = "HK417C_CCO_DZ";
+ Attachment_Holo = "HK417C_Holo_DZ";
+ Attachment_M203 = "HK417C_GL_DZ";
+ Attachment_ACOG = "HK417C_ACOG_DZ";
+ };
+};
+
+//Grenade launcher
+
+class HK417C_GL_DZ : HK417C_DZ
+{
+ model = "\RH_hk416\RH_hk417sgl.p3d";
+ picture = "\RH_hk416\inv\hk417sgl.paa";
+ displayName = $STR_DZ_WPN_HK417C_GL_NAME;
+
+ HK417_M203;
+
+ class Attachments
+ {
+ Attachment_CCO = "HK417C_GL_CCO_DZ";
+ Attachment_Holo = "HK417C_GL_Holo_DZ";
+ Attachment_ACOG = "HK417C_GL_ACOG_DZ";
+ };
+
+ class ItemActions
+ {
+ class RemoveGL
+ {
+ text = $STR_DZ_ATT_M203_RMVE;
+ script = "; ['Attachment_M203',_id,'HK417C_DZ'] call player_removeAttachment";
+ };
+ };
+};
+
+
+//CCO
+
+class HK417C_CCO_DZ : HK417C_DZ
+{
+ model = "\RH_hk416\RH_hk417saim.p3d";
+ picture = "\RH_hk416\inv\hk417saim.paa";
+ displayName = $STR_DZ_WPN_HK417C_CCO_NAME;
+
+ class Attachments
+ {
+ Attachment_M203 = "HK417C_GL_CCO_DZ";
+ };
+
+ class ItemActions
+ {
+ class RemoveCCO
+ {
+ text = $STR_DZ_ATT_CCO_RMVE;
+ script = "; ['Attachment_CCO',_id,'HK417C_DZ'] call player_removeAttachment";
+ };
+ };
+};
+
+//Grenade launcher
+
+class HK417C_GL_CCO_DZ : HK417C_GL_DZ
+{
+ model = "\RH_hk416\RH_hk417sglaim.p3d";
+ picture = "\RH_hk416\inv\hk417sglaim.paa";
+ displayName = $STR_DZ_WPN_HK417C_GL_CCO_NAME;
+
+ class Attachments {};
+
+ class ItemActions
+ {
+ class RemoveCCO
+ {
+ text = $STR_DZ_ATT_CCO_RMVE;
+ script = "; ['Attachment_CCO',_id,'HK417C_GL_DZ'] call player_removeAttachment";
+ };
+ class RemoveGL
+ {
+ text = $STR_DZ_ATT_M203_RMVE;
+ script = "; ['Attachment_M203',_id,'HK417C_CCO_DZ'] call player_removeAttachment";
+ };
+ };
+};
+
+//Holo
+
+class HK417C_Holo_DZ : HK417C_DZ
+{
+ model = "\RH_hk416\RH_hk417seotech.p3d";
+ picture = "\RH_hk416\inv\hk417seotech.paa";
+ displayName = $STR_DZ_WPN_HK417C_HOLO_NAME;
+
+ class Attachments
+ {
+ Attachment_M203 = "HK417C_GL_Holo_DZ";
+ };
+
+ class ItemActions
+ {
+ class RemoveHolo
+ {
+ text = $STR_DZ_ATT_HOLO_RMVE;
+ script = "; ['Attachment_Holo',_id,'HK417C_DZ'] call player_removeAttachment";
+ };
+ };
+};
+
+//Grenade launcher
+
+class HK417C_GL_Holo_DZ : HK417C_GL_DZ
+{
+ model = "\RH_hk416\RH_hk417sgleotech.p3d";
+ picture = "\RH_hk416\inv\hk417sgleotech.paa";
+ displayName = $STR_DZ_WPN_HK417C_GL_HOLO_NAME;
+
+ class Attachments {};
+
+ class ItemActions
+ {
+ class RemoveHolo
+ {
+ text = $STR_DZ_ATT_HOLO_RMVE;
+ script = "; ['Attachment_Holo',_id,'HK417C_GL_DZ'] call player_removeAttachment";
+ };
+ class RemoveGL
+ {
+ text = $STR_DZ_ATT_M203_RMVE;
+ script = "; ['Attachment_M203',_id,'HK417C_Holo_DZ'] call player_removeAttachment";
+ };
+ };
+};
+
+class HK417C_ACOG_DZ : HK417C_DZ
+{
+ model = "\RH_hk416\RH_hk417sacog.p3d";
+ picture = "\RH_hk416\inv\hk417sacog.paa";
+ displayName = $STR_DZ_WPN_HK417C_ACOG_NAME;
+
+ HK417C_ACOG;
+
+ class Attachments
+ {
+ Attachment_M203 = "HK417C_GL_ACOG_DZ";
+ };
+
+ class ItemActions
+ {
+ class RemoveACOG
+ {
+ text = $STR_DZ_ATT_ACOG_RMVE;
+ script = "; ['Attachment_ACOG',_id,'HK417C_DZ'] call player_removeAttachment";
+ };
+ };
+};
+
+class HK417C_GL_ACOG_DZ : HK417C_GL_DZ
+{
+ model = "\RH_hk416\RH_hk417sglacog.p3d";
+ picture = "\RH_hk416\inv\hk417sglacog.paa";
+ displayName = $STR_DZ_WPN_HK417C_GL_ACOG_NAME;
+
+ HK417_M203;
+ HK417C_ACOG;
+
+ class Attachments {};
+
+ class ItemActions
+ {
+ class RemoveACOG
+ {
+ text = $STR_DZ_ATT_ACOG_RMVE;
+ script = "; ['Attachment_ACOG',_id,'HK417C_GL_DZ'] call player_removeAttachment";
+ };
+ class RemoveGL
+ {
+ text = $STR_DZ_ATT_M203_RMVE;
+ script = "; ['Attachment_M203',_id,'HK417C_ACOG_DZ'] call player_removeAttachment";
+ };
+ };
+};
+
+class HK417_Sniper_DZ: HK417_DZ
+{
+ displayName = $STR_DZ_WPN_HK417_SNIPER_NAME;
+ model = "\RH_hk416\RH_hk417sp.p3d";
+ picture = "\RH_hk416\inv\hk417sp.paa";
+ modelOptics = "\RH_hk416\fnc_875x_illum_round_mildot.p3d";
+ optics = 1;
+ weaponInfoType = "RscWeaponZeroing";
+ class OpticsModes
+ {
+ class StepScope
+ {
+ opticsID = 1;
+ useModelOptics = 1;
+ opticsPPEffects[] = {"OpticsCHAbera1","OpticsBlur1"};
+ opticsZoomMin = 0.033574;
+ opticsZoomMax = 0.087666;
+ opticsZoomInit = 0.087666;
+ memoryPointCamera = "eye";
+ opticsFlare = "true";
+ opticsDisablePeripherialVision = "true";
+ distanceZoomMin = 325;
+ distanceZoomMax = 325;
+ cameraDir = "";
+ visionMode[] = {"Normal"};
+ discreteDistance[] = {100,200,300,400,500,600,700,800};
+ discreteDistanceInitIndex = 2;
+ };
+ };
+};
+
+class HK417_Sniper_SD_DZ: HK417_SD_DZ
+{
+ displayName = $STR_DZ_WPN_HK417_SNIPER_SD_NAME;
+ model = "\RH_hk416\RH_hk417sdsp.p3d";
+ picture = "\RH_hk416\inv\hk417sdsp.paa";
+ modelOptics = "\RH_hk416\fnc_875x_illum_round_mildot.p3d";
+ optics = 1;
+ weaponInfoType = "RscWeaponZeroing";
+ class OpticsModes
+ {
+ class StepScope
+ {
+ opticsID = 1;
+ useModelOptics = 1;
+ opticsPPEffects[] = {"OpticsCHAbera1","OpticsBlur1"};
+ opticsZoomMin = 0.033574;
+ opticsZoomMax = 0.087666;
+ opticsZoomInit = 0.087666;
+ memoryPointCamera = "eye";
+ opticsFlare = "true";
+ opticsDisablePeripherialVision = "true";
+ distanceZoomMin = 325;
+ distanceZoomMax = 325;
+ cameraDir = "";
+ visionMode[] = {"Normal"};
+ discreteDistance[] = {100,200,300,400,500,600,700,800};
+ discreteDistanceInitIndex = 2;
+ };
+ };
+};
+
+#undef HK417_M203
+#undef HK417C_ACOG
diff --git a/SQF/dayz_code/stringtable.xml b/SQF/dayz_code/stringtable.xml
index f06928d49..5b81906fb 100644
--- a/SQF/dayz_code/stringtable.xml
+++ b/SQF/dayz_code/stringtable.xml
@@ -12557,6 +12557,88 @@
HK416C M203 ACOG
+
+
+
+ HK417
+
+
+ HK417 SD
+ HK417 ПБС
+
+
+ HK417 M203
+
+
+ HK417 M203 SD
+ HK417 M203 ПБС
+
+
+ HK417 CCO
+
+
+ HK417 CCO SD
+ HK417 CCO ПБС
+
+
+ HK417 M203 CCO
+
+
+ HK417 M203 CCO SD
+ HK417 M203 CCO ПБС
+
+
+ HK417 Holo
+
+
+ HK417 Holo SD
+ HK417 Holo ПБС
+
+
+ HK417 M203 Holo
+
+
+ HK417 M203 Holo SD
+ HK417 M203 Holo ПБС
+
+
+ HK417 ACOG
+
+
+ HK417 ACOG SD
+ HK417 ACOG ПБС
+
+
+ HK417C
+
+
+ HK417C M203
+
+
+ HK417C CCO
+
+
+ HK417C M203 CCO
+
+
+ HK417C Holo
+
+
+ HK417C M203 Holo
+
+
+ HK417C M203 ACOG
+
+
+ HK417C ACOG
+
+
+ HK417 Sniper
+
+
+ HK417 Sniper SD
+ HK417 Sniper ПБС
+
@@ -13646,7 +13728,36 @@
Kaliber: 5.7x28mm SD<br/>Naboje: 50 <br/>Używane w: P90 SD
Kaliber: 5.7x28mm SD<br/> Töltények: 50 <br/> Hozzá tartozó fegyver: P90 SD
-
+
+ 30Rnd. HK417 mag.
+ 30п. HK417 маг.
+
+
+ 30Rnd. HK417 SD mag.
+ 30п. HK417 SD маг.
+
+
+ Caliber: 7.62x51mm<br/>Rounds: 20<br/>Used in: HK417
+ Calibre : 7.62x51mm<br/>Munitions : 20<br/>Utilisé avec: HK417
+ Calibre: 7.62x51mm<br/>Cartuchos: 20<br/>Usado en: HK417
+ Calibro: 7.62x51mm<br/>Munizioni: 20<br/>Usato in: HK417
+ Kaliber: 7.62x51mm<br/>Naboje: 20<br/>Uzywany w: HK417
+ Патрон: 7.62x51 мм<br/>Количество: 20<br/>Исп. в: HK417
+ Kaliber: 7.62x51mm<br/>Patronen: 20<br/>Eingesetzt in: HK417
+ Kalibr: 7.62x51mm<br/>Nábojů: 20<br/>Pro: HK417
+ Kaliber: 7.62x51mm<br/> Töltények: 20 <br/> Hozzá tartozó fegyver: HK417
+
+
+ Caliber: 7.62x51mm SD<br/>Rounds: 20<br/>Used in: HK417 SD
+ Calibre : 7.62x51mm SD<br/>Munitions : 20<br/>Utilisé avec: HK417 SD
+ Calibre: 7.62x51mm SD<br/>Cartuchos: 20<br/>Usado en: HK417 SD
+ Calibro: 7.62x51mm SD<br/>Munizioni: 20<br/>Usato in: HK417 SD
+ Kaliber: 7.62x51mm SD<br/>Naboje: 20<br/>Uzywany w: HK417 SD
+ Патрон: 7.62x51 мм SD<br/>Количество: 20<br/>Исп. в: HK417 SD
+ Kaliber: 7.62x51mm SD<br/>Patronen: 20<br/>Eingesetzt in: HK417 SD
+ Kalibr: 7.62x51mm SD<br/>Nábojů: 20<br/>Pro: HK417 SD
+ Kaliber: 7.62x51mm SD <br/> Töltények: 20 <br/> Hozzá tartozó fegyver: HK417 SD
+
@@ -13755,6 +13866,18 @@
5.45mm Schalldämpfer
+
+
+ [A] 7.62mm Suppressor
+ [М] 7.62мм глушитель
+ [E] 7.62mm Schalldämpfer
+
+
+ 7.62mm Sound suppressor
+ ПБС для калибра 7.62мм
+ 7.62mm Schalldämpfer
+
+
[A] M68 CCO
@@ -14072,15 +14195,6 @@
A silencer that can be attached to .45 caliber weapons.
Ein Schalldämpfer, der an Kaliber .45 Waffen angebracht werden kann.
-
- [A] 7.62mm Suppressor
- [М] 7.62мм глушитель
- [E] 7.62mm Schalldämpfer
-
-
- A silencer that can be attached to 7.62x51mm caliber rifles.
- Ein Schalldämpfer, der an Kaliber 7.62x51mm Gewehre angebracht werden kann.
-