Add HK417

This commit is contained in:
A Man
2020-03-04 16:46:04 +01:00
parent bf5dbbf721
commit 171fe9eb50
12 changed files with 739 additions and 16 deletions

View File

@@ -120,7 +120,9 @@ weaponsEU[] =
{Loot_WEAPON, 1, L115A3_DZ}, // Tan Lapua {Loot_WEAPON, 1, L115A3_DZ}, // Tan Lapua
{Loot_WEAPON, 1, L115A3_2_DZ}, // Green Lapua {Loot_WEAPON, 1, L115A3_2_DZ}, // Green Lapua
{Loot_WEAPON, 4, SCAR_H_LNG_Sniper_SD}, {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, 1, RSASS_DZ},
{Loot_WEAPON, 4, FNFAL_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 {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, Famas_DZ},
{Loot_WEAPON, 5, HK416_DZ}, {Loot_WEAPON, 5, HK416_DZ},
{Loot_WEAPON, 5, HK416C_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_CCO_SD},
{Loot_WEAPON, 5, SCAR_L_CQC}, {Loot_WEAPON, 5, SCAR_L_CQC},
{Loot_WEAPON, 5, SCAR_L_CQC_Holo}, {Loot_WEAPON, 5, SCAR_L_CQC_Holo},

View File

@@ -18,10 +18,12 @@
#include "Sup9.hpp" #include "Sup9.hpp"
#include "Sup10.hpp" #include "Sup10.hpp"
#include "Sup45.hpp"
#include "Sup57.hpp" #include "Sup57.hpp"
#include "Sup68.hpp" #include "Sup68.hpp"
#include "Sup556.hpp" #include "Sup556.hpp"
#include "Sup545.hpp" #include "Sup545.hpp"
#include "Sup762.hpp"
#include "SupMakarov.hpp" #include "SupMakarov.hpp"
#include "SupBizon.hpp" #include "SupBizon.hpp"
@@ -33,6 +35,4 @@
#include "Laser.hpp" #include "Laser.hpp"
#include "NSPU.hpp" #include "NSPU.hpp"
#include "NV.hpp" #include "NV.hpp"
#include "TWS.hpp" #include "TWS.hpp"
#include "Sup762.hpp"
#include "Sup45.hpp"

View File

@@ -4,8 +4,8 @@ class Attachment_Sup762 : CA_Magazine {
type = 256; type = 256;
model = "\z\addons\dayz_communityweapons\attachments\suppressor556\suppressor556.p3d"; model = "\z\addons\dayz_communityweapons\attachments\suppressor556\suppressor556.p3d";
picture = "\z\addons\dayz_communityweapons\attachments\suppressor556\data\m_suppressor556_ca.paa"; picture = "\z\addons\dayz_communityweapons\attachments\suppressor556\data\m_suppressor556_ca.paa";
displayName = $STR_DZE_ATTACHMENT_762SUP_NAME; displayName = $STR_DZ_ATT_SUP762_NAME;
descriptionShort = $STR_DZE_ATTACHMENT_762SUP_DESC; descriptionShort = $STR_DZ_ATT_SUP762_DESC;
class ItemActions class ItemActions
{ {
class AttachToPrimary class AttachToPrimary

View File

@@ -138,9 +138,33 @@ class 20Rnd_762x51_RSASS: CA_Magazine
class 20Rnd_762x51_RSASS_SD: 20Rnd_762x51_RSASS class 20Rnd_762x51_RSASS_SD: 20Rnd_762x51_RSASS
{ {
picture = "\FHQ_Remington\ammo\ui\i_20rndpmag.paa";
initSpeed = 850; initSpeed = 850;
displayName = $STR_DZ_MAG_20RND_RSASSSD_NAME; displayName = $STR_DZ_MAG_20RND_RSASSSD_NAME;
descriptionShort = $STR_DZ_MAG_20RND_RSASSSD_DESC; descriptionShort = $STR_DZ_MAG_20RND_RSASSSD_DESC;
cartridgeName = "762x51_SD"; cartridgeName = "762x51_SD";
ammo = "Rem_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";
};

View File

@@ -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}; 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}; 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};
}; };

View File

@@ -81,6 +81,8 @@ class Category_22 {
class 20Rnd_762x51_DMR {type = "trade_items";buy[] = {8,"ItemGoldBar"};sell[] = {4,"ItemGoldBar"};}; 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_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_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 //Sniper Rifle Ammo

View File

@@ -147,6 +147,8 @@ class Category_8 {
class M110_NVG_EP1 {type = "trade_weapons";buy[] = {7,"ItemGoldBar10oz"};sell[] = {4,"ItemGoldBar10oz"};}; 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_DZ {type = "trade_weapons";buy[] = {6,"ItemGoldBar10oz"};sell[] = {3,"ItemGoldBar10oz"};};
class RSASS_SD_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_DZ {type = "trade_weapons";buy[] = {6,"ItemGoldBar10oz"};sell[] = {3,"ItemGoldBar10oz"};};
class DMR_Gh_DZ {type = "trade_weapons";buy[] = {-1,"ItemGoldBar"};sell[] = {31,"ItemGoldBar"};}; 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"};}; class M21_DZ {type = "trade_weapons";buy[] = {5,"ItemGoldBar10oz"};sell[] = {3,"ItemGoldBar10oz"};};

View File

@@ -147,6 +147,8 @@ class Category_3 {
class M110_NVG_EP1 {type = "trade_weapons";buy[] = {7,"ItemGoldBar10oz"};sell[] = {4,"ItemGoldBar10oz"};}; 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_DZ {type = "trade_weapons";buy[] = {6,"ItemGoldBar10oz"};sell[] = {3,"ItemGoldBar10oz"};};
class RSASS_SD_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_DZ {type = "trade_weapons";buy[] = {6,"ItemGoldBar10oz"};sell[] = {3,"ItemGoldBar10oz"};};
class DMR_Gh_DZ {type = "trade_weapons";buy[] = {-1,"ItemGoldBar"};sell[] = {31,"ItemGoldBar"};}; 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"};}; class M21_DZ {type = "trade_weapons";buy[] = {5,"ItemGoldBar10oz"};sell[] = {3,"ItemGoldBar10oz"};};

View File

@@ -22,6 +22,7 @@ class Category_12 {
class Attachment_Sup45 {type = "trade_items";buy[] = {4,"ItemGoldBar"};sell[] = {2,"ItemGoldBar"};}; 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_Sup545 {type = "trade_items";buy[] = {6,"ItemGoldBar"};sell[] = {3,"ItemGoldBar"};};
class Attachment_Sup556 {type = "trade_items";buy[] = {8,"ItemGoldBar"};sell[] = {4,"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_Sup68 {type = "trade_items";buy[] = {8,"ItemGoldBar"};sell[] = {4,"ItemGoldBar"};};
class Attachment_Sup57 {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"};}; 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_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 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 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 //ACR Woodland
class ACR_WDL_DZ {type = "trade_weapons";buy[] = {2,"ItemGoldBar10oz"};sell[] = {1,"ItemGoldBar10oz"};}; 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"};}; class ACR_WDL_SD_DZ {type = "trade_weapons";buy[] = {-1,"ItemGoldBar10oz"};sell[] = {14,"ItemGoldBar"};};

View File

@@ -94,6 +94,7 @@ class CfgWeapons
#include "Rifles\M14.hpp" #include "Rifles\M14.hpp"
#include "Rifles\M1ASC.hpp" #include "Rifles\M1ASC.hpp"
#include "Rifles\M21.hpp" #include "Rifles\M21.hpp"
#include "Rifles\HK417.hpp"
//CZ 805 //CZ 805
#include "Rifles\CZ805.hpp" #include "Rifles\CZ805.hpp"

View File

@@ -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

View File

@@ -12557,6 +12557,88 @@
<Key ID="STR_DZ_WPN_HK416C_GL_ACOG_NAME"> <Key ID="STR_DZ_WPN_HK416C_GL_ACOG_NAME">
<English>HK416C M203 ACOG</English> <English>HK416C M203 ACOG</English>
</Key> </Key>
<!-- HK417 -->
<Key ID="STR_DZ_WPN_HK417_NAME">
<English>HK417</English>
</Key>
<Key ID="STR_DZ_WPN_HK417_SD_NAME">
<English>HK417 SD</English>
<Russian>HK417 ПБС</Russian>
</Key>
<Key ID="STR_DZ_WPN_HK417_GL_NAME">
<English>HK417 M203</English>
</Key>
<Key ID="STR_DZ_WPN_HK417_GL_SD_NAME">
<English>HK417 M203 SD</English>
<Russian>HK417 M203 ПБС</Russian>
</Key>
<Key ID="STR_DZ_WPN_HK417_CCO_NAME">
<English>HK417 CCO</English>
</Key>
<Key ID="STR_DZ_WPN_HK417_CCO_SD_NAME">
<English>HK417 CCO SD</English>
<Russian>HK417 CCO ПБС</Russian>
</Key>
<Key ID="STR_DZ_WPN_HK417_GL_CCO_NAME">
<English>HK417 M203 CCO</English>
</Key>
<Key ID="STR_DZ_WPN_HK417_GL_CCO_SD_NAME">
<English>HK417 M203 CCO SD</English>
<Russian>HK417 M203 CCO ПБС</Russian>
</Key>
<Key ID="STR_DZ_WPN_HK417_HOLO_NAME">
<English>HK417 Holo</English>
</Key>
<Key ID="STR_DZ_WPN_HK417_HOLO_SD_NAME">
<English>HK417 Holo SD</English>
<Russian>HK417 Holo ПБС</Russian>
</Key>
<Key ID="STR_DZ_WPN_HK417_GL_HOLO_NAME">
<English>HK417 M203 Holo</English>
</Key>
<Key ID="STR_DZ_WPN_HK417_GL_HOLO_SD_NAME">
<English>HK417 M203 Holo SD</English>
<Russian>HK417 M203 Holo ПБС</Russian>
</Key>
<Key ID="STR_DZ_WPN_HK417_ACOG_NAME">
<English>HK417 ACOG</English>
</Key>
<Key ID="STR_DZ_WPN_HK417_ACOG_SD_NAME">
<English>HK417 ACOG SD</English>
<Russian>HK417 ACOG ПБС</Russian>
</Key>
<Key ID="STR_DZ_WPN_HK417C_NAME">
<English>HK417C</English>
</Key>
<Key ID="STR_DZ_WPN_HK417C_GL_NAME">
<English>HK417C M203</English>
</Key>
<Key ID="STR_DZ_WPN_HK417C_CCO_NAME">
<English>HK417C CCO</English>
</Key>
<Key ID="STR_DZ_WPN_HK417C_GL_CCO_NAME">
<English>HK417C M203 CCO</English>
</Key>
<Key ID="STR_DZ_WPN_HK417C_HOLO_NAME">
<English>HK417C Holo</English>
</Key>
<Key ID="STR_DZ_WPN_HK417C_GL_HOLO_NAME">
<English>HK417C M203 Holo</English>
</Key>
<Key ID="STR_DZ_WPN_HK417C_GL_ACOG_NAME">
<English>HK417C M203 ACOG</English>
</Key>
<Key ID="STR_DZ_WPN_HK417C_ACOG_NAME">
<English>HK417C ACOG</English>
</Key>
<Key ID="STR_DZ_WPN_HK417_SNIPER_NAME">
<English>HK417 Sniper</English>
</Key>
<Key ID="STR_DZ_WPN_HK417_SNIPER_SD_NAME">
<English>HK417 Sniper SD</English>
<Russian>HK417 Sniper ПБС</Russian>
</Key>
<!-- **** MAGAZINES **** --> <!-- **** MAGAZINES **** -->
@@ -13646,7 +13728,36 @@
<Polish>Kaliber: 5.7x28mm SD&lt;br/&gt;Naboje: 50 &lt;br/&gt;Używane w: P90 SD</Polish> <Polish>Kaliber: 5.7x28mm SD&lt;br/&gt;Naboje: 50 &lt;br/&gt;Używane w: P90 SD</Polish>
<Hungarian>Kaliber: 5.7x28mm SD&lt;br/&gt; Töltények: 50 &lt;br/&gt; Hozzá tartozó fegyver: P90 SD</Hungarian> <Hungarian>Kaliber: 5.7x28mm SD&lt;br/&gt; Töltények: 50 &lt;br/&gt; Hozzá tartozó fegyver: P90 SD</Hungarian>
</Key> </Key>
<Key ID="STR_DZ_MAG_20RND_HK417_NAME">
<English>30Rnd. HK417 mag.</English>
<Russian>30п. HK417 маг.</Russian>
</Key>
<Key ID="STR_DZ_MAG_20RND_HK417SD_NAME">
<English>30Rnd. HK417 SD mag.</English>
<Russian>30п. HK417 SD маг.</Russian>
</Key>
<Key ID="STR_DZ_MAG_20RND_HK417_DESC">
<English>Caliber: 7.62x51mm&lt;br/&gt;Rounds: 20&lt;br/&gt;Used in: HK417</English>
<French>Calibre : 7.62x51mm&lt;br/&gt;Munitions : 20&lt;br/&gt;Utilisé avec: HK417</French>
<Spanish>Calibre: 7.62x51mm&lt;br/&gt;Cartuchos: 20&lt;br/&gt;Usado en: HK417</Spanish>
<Italian>Calibro: 7.62x51mm&lt;br/&gt;Munizioni: 20&lt;br/&gt;Usato in: HK417</Italian>
<Polish>Kaliber: 7.62x51mm&lt;br/&gt;Naboje: 20&lt;br/&gt;Uzywany w: HK417</Polish>
<Russian>Патрон: 7.62x51 мм&lt;br/&gt;Количество: 20&lt;br/&gt;Исп. в: HK417</Russian>
<German>Kaliber: 7.62x51mm&lt;br/&gt;Patronen: 20&lt;br/&gt;Eingesetzt in: HK417</German>
<Czech>Kalibr: 7.62x51mm&lt;br/&gt;Nábojů: 20&lt;br/&gt;Pro: HK417</Czech>
<Hungarian>Kaliber: 7.62x51mm&lt;br/&gt; Töltények: 20 &lt;br/&gt; Hozzá tartozó fegyver: HK417</Hungarian>
</Key>
<Key ID="STR_DZ_MAG_20RND_HK417SD_DESC">
<English>Caliber: 7.62x51mm SD&lt;br/&gt;Rounds: 20&lt;br/&gt;Used in: HK417 SD</English>
<French>Calibre : 7.62x51mm SD&lt;br/&gt;Munitions : 20&lt;br/&gt;Utilisé avec: HK417 SD</French>
<Spanish>Calibre: 7.62x51mm SD&lt;br/&gt;Cartuchos: 20&lt;br/&gt;Usado en: HK417 SD</Spanish>
<Italian>Calibro: 7.62x51mm SD&lt;br/&gt;Munizioni: 20&lt;br/&gt;Usato in: HK417 SD</Italian>
<Polish>Kaliber: 7.62x51mm SD&lt;br/&gt;Naboje: 20&lt;br/&gt;Uzywany w: HK417 SD</Polish>
<Russian>Патрон: 7.62x51 мм SD&lt;br/&gt;Количество: 20&lt;br/&gt;Исп. в: HK417 SD</Russian>
<German>Kaliber: 7.62x51mm SD&lt;br/&gt;Patronen: 20&lt;br/&gt;Eingesetzt in: HK417 SD</German>
<Czech>Kalibr: 7.62x51mm SD&lt;br/&gt;Nábojů: 20&lt;br/&gt;Pro: HK417 SD</Czech>
<Hungarian>Kaliber: 7.62x51mm SD &lt;br/&gt; Töltények: 20 &lt;br/&gt; Hozzá tartozó fegyver: HK417 SD</Hungarian>
</Key>
<!-- **** ATTACHMENTS **** --> <!-- **** ATTACHMENTS **** -->
@@ -13755,6 +13866,18 @@
<German>5.45mm Schalldämpfer</German> <German>5.45mm Schalldämpfer</German>
</Key> </Key>
<!-- 7.62mm Suppressor -->
<Key ID="STR_DZ_ATT_SUP762_NAME">
<English>[A] 7.62mm Suppressor</English>
<Russian>[М] 7.62мм глушитель</Russian>
<German>[E] 7.62mm Schalldämpfer</German>
</Key>
<Key ID="STR_DZ_ATT_SUP762_DESC">
<English>7.62mm Sound suppressor</English>
<Russian>ПБС для калибра 7.62мм</Russian>
<German>7.62mm Schalldämpfer</German>
</Key>
<!-- CCO --> <!-- CCO -->
<Key ID="STR_DZ_ATT_CCO_NAME"> <Key ID="STR_DZ_ATT_CCO_NAME">
<English>[A] M68 CCO</English> <English>[A] M68 CCO</English>
@@ -14072,15 +14195,6 @@
<English>A silencer that can be attached to .45 caliber weapons.</English> <English>A silencer that can be attached to .45 caliber weapons.</English>
<German>Ein Schalldämpfer, der an Kaliber .45 Waffen angebracht werden kann.</German> <German>Ein Schalldämpfer, der an Kaliber .45 Waffen angebracht werden kann.</German>
</Key> </Key>
<Key ID="STR_DZE_ATTACHMENT_762SUP_NAME">
<English>[A] 7.62mm Suppressor</English>
<Russian>[М] 7.62мм глушитель</Russian>
<German>[E] 7.62mm Schalldämpfer</German>
</Key>
<Key ID="STR_DZE_ATTACHMENT_762SUP_DESC">
<English>A silencer that can be attached to 7.62x51mm caliber rifles.</English>
<German>Ein Schalldämpfer, der an Kaliber 7.62x51mm Gewehre angebracht werden kann.</German>
</Key>
</Package> </Package>
<Package name="dayz_epoch"> <Package name="dayz_epoch">
<Key ID="STR_EPOCH_REMOVE"> <Key ID="STR_EPOCH_REMOVE">