mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-14 04:02:37 +03:00
Add HK53A3
Thx Robert Hammer
This commit is contained in:
@@ -48,6 +48,7 @@ Included Custom Addons
|
||||
* RH PDW pack by Robert Hammer - http://www.armaholic.com/page.php?id=12214
|
||||
* 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
|
||||
|
||||
--------------------------
|
||||
Included Custom Islands
|
||||
|
||||
@@ -139,6 +139,7 @@ weaponsEU[] =
|
||||
{Loot_WEAPON, 5, m8_holo_sd},
|
||||
{Loot_WEAPON, 5, m8_carbine},
|
||||
{Loot_WEAPON, 5, L85A2_DZ},
|
||||
{Loot_WEAPON, 5, HK53A3_DZ},
|
||||
{Loot_WEAPON, 5, Famas_DZ},
|
||||
{Loot_WEAPON, 5, SCAR_L_CQC_CCO_SD},
|
||||
{Loot_WEAPON, 5, SCAR_L_CQC},
|
||||
|
||||
@@ -159,6 +159,9 @@ class Category_16 {
|
||||
class CZ805_A1_GL_DZ {type = "trade_weapons";buy[] = {6,"ItemGoldBar"};sell[] = {3,"ItemGoldBar"};};
|
||||
class CZ805_A2_DZ {type = "trade_weapons";buy[] = {4,"ItemGoldBar"};sell[] = {2,"ItemGoldBar"};};
|
||||
class CZ805_A2_SD_DZ {type = "trade_weapons";buy[] = {8,"ItemGoldBar"};sell[] = {4,"ItemGoldBar"};};
|
||||
class HK53A3_DZ {type = "trade_weapons";buy[] = {4,"ItemGoldBar"};sell[] = {2,"ItemGoldBar"};};
|
||||
class HK53A3_CCO_DZ {type = "trade_weapons";buy[] = {-1,"ItemGoldBar"};sell[] = {4,"ItemGoldBar"};};
|
||||
class HK53A3_Holo_DZ {type = "trade_weapons";buy[] = {-1,"ItemGoldBar"};sell[] = {4,"ItemGoldBar"};};
|
||||
class Famas_DZ {type = "trade_weapons";buy[] = {4,"ItemGoldBar"};sell[] = {2,"ItemGoldBar"};};
|
||||
class Famas_CCO_DZ {type = "trade_weapons";buy[] = {-1,"ItemGoldBar"};sell[] = {4,"ItemGoldBar"};};
|
||||
class Famas_Holo_DZ {type = "trade_weapons";buy[] = {-1,"ItemGoldBar"};sell[] = {4,"ItemGoldBar"};};
|
||||
|
||||
@@ -80,6 +80,10 @@ class CfgWeapons
|
||||
class M4A1_AIM_SD_camo;
|
||||
#include "Rifles\M4A1.hpp"
|
||||
#include "Rifles\M4A3.hpp"
|
||||
|
||||
//HK53
|
||||
#include "Rifles\HK53.hpp"
|
||||
|
||||
//Famas
|
||||
#include "Rifles\Famas.hpp"
|
||||
#include "Rifles\ACR.hpp"
|
||||
|
||||
99
SQF/dayz_code/Configs/CfgWeapons/Rifles/HK53.hpp
Normal file
99
SQF/dayz_code/Configs/CfgWeapons/Rifles/HK53.hpp
Normal file
@@ -0,0 +1,99 @@
|
||||
class HK53A3_DZ: M4A1
|
||||
{
|
||||
scope = public;
|
||||
model = "\RH_smg\RH_HK53.p3d";
|
||||
displayName = $STR_DZ_WPN_HK53A3_NAME;
|
||||
UiPicture = "\CA\weapons\data\Ico\i_regular_CA.paa";
|
||||
picture = "\RH_smg\inv\hk53.paa";
|
||||
reloadMagazineSound[] = {"\RH_smg\sound\HK53_reload.wss",0.056234,1,25};
|
||||
handAnim[] = {"OFP2_ManSkeleton"};
|
||||
modes[] = {"Single","FullAuto"};
|
||||
|
||||
magazines[] =
|
||||
{
|
||||
30Rnd_556x45_Stanag,
|
||||
30Rnd_556x45_G36,
|
||||
100Rnd_556x45_BetaCMag,
|
||||
20Rnd_556x45_Stanag,
|
||||
60Rnd_556x45_Stanag_tape_ice_DZE
|
||||
};
|
||||
|
||||
class Single: Mode_SemiAuto
|
||||
{
|
||||
begin1[] = {"\RH_smg\sound\HK53.wss",1.778279,1,1000};
|
||||
soundBegin[] = {"begin1",1};
|
||||
reloadTime = 0.09;
|
||||
recoil = "recoil_single_primary_3outof10";
|
||||
recoilProne = "recoil_single_primary_prone_3outof10";
|
||||
dispersion = 0.0025;
|
||||
minRange = 2;
|
||||
minRangeProbab = 0.1;
|
||||
midRange = 150;
|
||||
midRangeProbab = 0.7;
|
||||
maxRange = 400;
|
||||
maxRangeProbab = 0.05;
|
||||
};
|
||||
class FullAuto: Mode_FullAuto
|
||||
{
|
||||
begin1[] = {"\RH_smg\sound\HK53.wss",1.778279,1,1000};
|
||||
soundBegin[] = {"begin1",1};
|
||||
reloadTime = 0.09;
|
||||
recoil = "recoil_auto_primary_3outof10";
|
||||
recoilProne = "recoil_auto_primary_prone_3outof10";
|
||||
dispersion = 0.004;
|
||||
minRange = 2;
|
||||
minRangeProbab = 0.1;
|
||||
midRange = 30;
|
||||
midRangeProbab = 0.7;
|
||||
maxRange = 60;
|
||||
maxRangeProbab = 0.05;
|
||||
};
|
||||
|
||||
class Attachments
|
||||
{
|
||||
Attachment_CCO = "HK53A3_CCO_DZ";
|
||||
Attachment_Holo = "HK53A3_Holo_DZ";
|
||||
};
|
||||
};
|
||||
|
||||
class HK53A3_CCO_DZ: HK53A3_DZ
|
||||
{
|
||||
displayName = $STR_DZ_WPN_HK53A3_CCO_NAME;
|
||||
model = "\RH_smg\RH_HK53aim.p3d";
|
||||
picture = "\RH_smg\inv\HK53aim.paa";
|
||||
opticsDisablePeripherialVision = 1;
|
||||
distanceZoomMin = 100;
|
||||
distanceZoomMax = 100;
|
||||
|
||||
class Attachments {};
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class RemoveCCO
|
||||
{
|
||||
text = $STR_DZ_ATT_CCO_RMVE;
|
||||
script = "; ['Attachment_CCO',_id,'HK53A3_DZ'] call player_removeAttachment";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class HK53A3_Holo_DZ: HK53A3_DZ
|
||||
{
|
||||
displayName = $STR_DZ_WPN_HK53A3_HOLO_NAME;
|
||||
model = "\RH_smg\RH_HK53eot.p3d";
|
||||
picture = "\RH_smg\inv\HK53eot.paa";
|
||||
opticsDisablePeripherialVision = 1;
|
||||
distanceZoomMin = 100;
|
||||
distanceZoomMax = 100;
|
||||
|
||||
class Attachments {};
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class RemoveHolo
|
||||
{
|
||||
text = $STR_DZ_ATT_HOLO_RMVE;
|
||||
script = "; ['Attachment_Holo',_id,'HK53A3_DZ'] call player_removeAttachment";
|
||||
};
|
||||
};
|
||||
};
|
||||
@@ -12317,6 +12317,17 @@
|
||||
<German>MG36 Tarn</German>
|
||||
</Key>
|
||||
|
||||
<!-- HK53A3 -->
|
||||
<Key ID="STR_DZ_WPN_HK53A3_NAME">
|
||||
<English>HK53A3</English>
|
||||
</Key>
|
||||
<Key ID="STR_DZ_WPN_HK53A3_CCO_NAME">
|
||||
<English>HK53A3 CCO</English>
|
||||
</Key>
|
||||
<Key ID="STR_DZ_WPN_HK53A3_HOLO_NAME">
|
||||
<English>HK53A3 Holo</English>
|
||||
</Key>
|
||||
|
||||
<!-- **** MAGAZINES **** -->
|
||||
|
||||
<Key ID="STR_DZ_MAG_17RND_9X19_GLOCK17SD_NAME">
|
||||
|
||||
Reference in New Issue
Block a user