From 2e23154eb4fb79373598d420121cb4bc1ac52629 Mon Sep 17 00:00:00 2001 From: A Man Date: Mon, 6 Apr 2020 16:35:44 +0200 Subject: [PATCH] Add Steyr Aug A3 Thx to SyNcRoNiCzZ --- README.md | 1 + SQF/dayz_code/Configs/CfgLoot/Groups/Ammo.hpp | 1 + .../Configs/CfgLoot/Groups/Weapons.hpp | 3 + .../Configs/CfgMagazines/Magazines/556x45.hpp | 36 +- .../CfgServerTrader/Category/Ammunition.hpp | 1 + .../CfgServerTrader/Category/Weapons.hpp | 18 + .../Configs/CfgWeapons/CfgWeapons.hpp | 38 +-- .../Configs/CfgWeapons/Rifles/SteyrAug.hpp | 308 ++++++++++++++++++ SQF/dayz_code/stringtable.xml | 41 ++- 9 files changed, 409 insertions(+), 38 deletions(-) create mode 100644 SQF/dayz_code/Configs/CfgWeapons/Rifles/SteyrAug.hpp diff --git a/README.md b/README.md index 049c75648..e5953a3a4 100644 --- a/README.md +++ b/README.md @@ -56,6 +56,7 @@ Included Custom Addons * German Firefighters Pack by Marseille77 - http://www.armaholic.com/page.php?id=20391 * German Civil Pack by Marseille77 - http://www.armaholic.com/page.php?id=9793 * Sahrani Rearmed: Sahrani Civilians by Marseille77 - http://www.armaholic.com/page.php?id=24325 +* Modern Irish Defence Forces - Steyr Aug A3 Pack by SyNcRoNiCzZ - http://www.armaholic.com/page.php?id=9505 -------------------------- Included Custom Islands diff --git a/SQF/dayz_code/Configs/CfgLoot/Groups/Ammo.hpp b/SQF/dayz_code/Configs/CfgLoot/Groups/Ammo.hpp index b583df845..f0f209d09 100644 --- a/SQF/dayz_code/Configs/CfgLoot/Groups/Ammo.hpp +++ b/SQF/dayz_code/Configs/CfgLoot/Groups/Ammo.hpp @@ -192,6 +192,7 @@ AmmoEU[] = {Loot_MAGAZINE, 8, 30Rnd_556x45_G36SD}, {Loot_MAGAZINE, 6, 30Rnd_556x45_Stanag}, {Loot_MAGAZINE, 3, 30Rnd_556x45_StanagSD}, + {Loot_MAGAZINE, 6, 30Rnd_556x45_Aug}, // Battle rifles {Loot_MAGAZINE, 4, 20Rnd_762x51_FNFAL}, diff --git a/SQF/dayz_code/Configs/CfgLoot/Groups/Weapons.hpp b/SQF/dayz_code/Configs/CfgLoot/Groups/Weapons.hpp index 36223fcc4..509ad1893 100644 --- a/SQF/dayz_code/Configs/CfgLoot/Groups/Weapons.hpp +++ b/SQF/dayz_code/Configs/CfgLoot/Groups/Weapons.hpp @@ -188,6 +188,9 @@ weaponsEU[] = {Loot_WEAPON, 3, MK17_CCO_SD_DZ}, {Loot_WEAPON, 3, MK17_Holo_SD_DZ}, {Loot_WEAPON, 3, MK17_ACOG_SD_DZ}, + {Loot_WEAPON, 3, SteyrAug_A3_Green_DZ}, + {Loot_WEAPON, 3, SteyrAug_A3_ACOG_Green_DZ}, + {Loot_WEAPON, 3, SteyrAug_A3_Holo_Green_DZ}, // Machine Guns {Loot_WEAPON, 6, XM8_SAW_DZ}, diff --git a/SQF/dayz_code/Configs/CfgMagazines/Magazines/556x45.hpp b/SQF/dayz_code/Configs/CfgMagazines/Magazines/556x45.hpp index e6af89fd6..7b85160f5 100644 --- a/SQF/dayz_code/Configs/CfgMagazines/Magazines/556x45.hpp +++ b/SQF/dayz_code/Configs/CfgMagazines/Magazines/556x45.hpp @@ -153,17 +153,29 @@ class 30Rnd_556x45_G36SD : 30Rnd_556x45_G36 }; }; -//ice apo resistance mod new 60rnd stanag mag -class 60Rnd_556x45_Stanag_tape_ice_DZE : CA_Magazine { - scope = public; - displayName = $STR_DZE_MAG_60RND_556x45_STANAG_NAME; - cartridgeName = "556x45"; - ammo = "B_556x45_Ball"; - count = 60; - initSpeed = 930; - //type = 2* 256; - type = 256; - tracersEvery = 0; +class 60Rnd_556x45_Stanag_Taped : 30Rnd_556x45_Stanag { + displayName = $STR_DZE_MAG_60RND_556x45_STANAG_NAME; descriptionShort = $STR_DZE_MAG_60RND_556x45_STANAG_DESC; - picture = "\ice_apo_weapons\data\double_ca.paa"; + count = 60; + //picture = "\ice_apo_weapons\data\double_ca.paa"; - will be replaced soon + class ItemActions + { + COMBINE_MAG + + class ReloadMag {}; + }; +}; + +class 30Rnd_556x45_Aug : 30Rnd_556x45_Stanag { + displayName = $STR_DZ_MAG_30RND_556x45_AUG_NAME; + descriptionShort = $STR_DZ_MAG_30RND_AUG_DESC; + picture = "\MIDF_Weapons\aug_a3\pictures\aug_a3_mag.paa"; + model = "\MIDF_Weapons\aug_a3\aug_a3_mag.p3d"; + + class ItemActions + { + COMBINE_MAG + + class ReloadMag {}; + }; }; \ 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 c698c87f2..cb2886dc2 100644 --- a/SQF/dayz_code/Configs/CfgServerTrader/Category/Ammunition.hpp +++ b/SQF/dayz_code/Configs/CfgServerTrader/Category/Ammunition.hpp @@ -69,6 +69,7 @@ class Category_21 { //Assault Rifle Ammo class Category_22 { class 30Rnd_6x35_KAC {type = "trade_items";buy[] = {4,"ItemSilverBar"};sell[] = {2,"ItemSilverBar"};}; + class 30Rnd_556x45_Aug {type = "trade_items";buy[] = {4,"ItemSilverBar"};sell[] = {2,"ItemSilverBar"};}; class 30Rnd_556x45_Stanag {type = "trade_items";buy[] = {4,"ItemSilverBar"};sell[] = {2,"ItemSilverBar"};}; class 30Rnd_556x45_StanagSD {type = "trade_items";buy[] = {4,"ItemSilverBar10oz"};sell[] = {2,"ItemSilverBar10oz"};}; class 30Rnd_556x45_G36 {type = "trade_items";buy[] = {4,"ItemSilverBar"};sell[] = {2,"ItemSilverBar"};}; diff --git a/SQF/dayz_code/Configs/CfgServerTrader/Category/Weapons.hpp b/SQF/dayz_code/Configs/CfgServerTrader/Category/Weapons.hpp index c3db1aef2..205ffd178 100644 --- a/SQF/dayz_code/Configs/CfgServerTrader/Category/Weapons.hpp +++ b/SQF/dayz_code/Configs/CfgServerTrader/Category/Weapons.hpp @@ -237,6 +237,24 @@ class Category_16 { class Famas_SD_DZ {type = "trade_weapons";buy[] = {-1,"ItemGoldBar"};sell[] = {6,"ItemGoldBar"};}; class Famas_CCO_SD_DZ {type = "trade_weapons";buy[] = {-1,"ItemGoldBar"};sell[] = {8,"ItemGoldBar"};}; class Famas_Holo_SD_DZ {type = "trade_weapons";buy[] = {-1,"ItemGoldBar"};sell[] = {8,"ItemGoldBar"};}; + class SteyrAug_A3_Green_DZ {type = "trade_weapons";buy[] = {8,"ItemGoldBar"};sell[] = {4,"ItemGoldBar"};}; + class SteyrAug_A3_Black_DZ {type = "trade_weapons";buy[] = {8,"ItemGoldBar"};sell[] = {4,"ItemGoldBar"};}; + class SteyrAug_A3_Blue_DZ {type = "trade_weapons";buy[] = {8,"ItemGoldBar"};sell[] = {4,"ItemGoldBar"};}; + class SteyrAug_A3_Holo_Green_DZ {type = "trade_weapons";buy[] = {8,"ItemGoldBar"};sell[] = {4,"ItemGoldBar"};}; + class SteyrAug_A3_Holo_Black_DZ {type = "trade_weapons";buy[] = {8,"ItemGoldBar"};sell[] = {4,"ItemGoldBar"};}; + class SteyrAug_A3_Holo_Blue_DZ {type = "trade_weapons";buy[] = {8,"ItemGoldBar"};sell[] = {4,"ItemGoldBar"};}; + class SteyrAug_A3_ACOG_Green_DZ {type = "trade_weapons";buy[] = {12,"ItemGoldBar"};sell[] = {6,"ItemGoldBar"};}; + class SteyrAug_A3_ACOG_Black_DZ {type = "trade_weapons";buy[] = {12,"ItemGoldBar"};sell[] = {6,"ItemGoldBar"};}; + class SteyrAug_A3_ACOG_Blue_DZ {type = "trade_weapons";buy[] = {12,"ItemGoldBar"};sell[] = {6,"ItemGoldBar"};}; + class SteyrAug_A3_GL_Green_DZ {type = "trade_weapons";buy[] = {-1,"ItemGoldBar"};sell[] = {4,"ItemGoldBar"};}; + class SteyrAug_A3_GL_Black_DZ {type = "trade_weapons";buy[] = {-1,"ItemGoldBar"};sell[] = {4,"ItemGoldBar"};}; + class SteyrAug_A3_GL_Blue_DZ {type = "trade_weapons";buy[] = {-1,"ItemGoldBar"};sell[] = {4,"ItemGoldBar"};}; + class SteyrAug_A3_Holo_GL_Green_DZ {type = "trade_weapons";buy[] = {-8,"ItemGoldBar"};sell[] = {6,"ItemGoldBar"};}; + class SteyrAug_A3_Holo_GL_Black_DZ {type = "trade_weapons";buy[] = {-8,"ItemGoldBar"};sell[] = {6,"ItemGoldBar"};}; + class SteyrAug_A3_Holo_GL_Blue_DZ {type = "trade_weapons";buy[] = {-8,"ItemGoldBar"};sell[] = {6,"ItemGoldBar"};}; + class SteyrAug_A3_ACOG_GL_Green_DZ {type = "trade_weapons";buy[] = {-12,"ItemGoldBar"};sell[] = {8,"ItemGoldBar"};}; + class SteyrAug_A3_ACOG_GL_Black_DZ {type = "trade_weapons";buy[] = {-12,"ItemGoldBar"};sell[] = {8,"ItemGoldBar"};}; + class SteyrAug_A3_ACOG_GL_Blue_DZ {type = "trade_weapons";buy[] = {-12,"ItemGoldBar"};sell[] = {8,"ItemGoldBar"};}; class G36C_DZ {type = "trade_weapons";buy[] = {4,"ItemGoldBar"};sell[] = {2,"ItemGoldBar"};}; class G36C_CCO_DZ {type = "trade_weapons";buy[] = {-1,"ItemGoldBar"};sell[] = {4,"ItemGoldBar"};}; class G36C_Holo_DZ {type = "trade_weapons";buy[] = {-1,"ItemGoldBar"};sell[] = {4,"ItemGoldBar"};}; diff --git a/SQF/dayz_code/Configs/CfgWeapons/CfgWeapons.hpp b/SQF/dayz_code/Configs/CfgWeapons/CfgWeapons.hpp index 5a6052f47..0860f6b1c 100644 --- a/SQF/dayz_code/Configs/CfgWeapons/CfgWeapons.hpp +++ b/SQF/dayz_code/Configs/CfgWeapons/CfgWeapons.hpp @@ -13,24 +13,11 @@ class CfgWeapons class ItemCore; class Rifle; class Pistol; - class GrenadeLauncher; - - + class GrenadeLauncher; /* Dummy weapons */ #include "Throw.hpp" - #include "Loot.hpp" - - //Sniper Rifles - #include "Rifles\Anzio_20.hpp" - #include "Rifles\AS50.hpp" - #include "Rifles\M107.hpp" - #include "Rifles\KSVK.hpp" - #include "Rifles\M4SPR.hpp" - #include "Rifles\CZ750.hpp" - - //Ak107 - #include "Rifles\AK107.hpp" + #include "Loot.hpp" //each include is preceded by its required external references. @@ -39,6 +26,7 @@ class CfgWeapons class AK_74; class AKS_74_UN_kobra; #include "Rifles\AK74.hpp" + #include "Rifles\AK107.hpp" #include "Rifles\AN94.hpp" class AKS_74_U; @@ -52,10 +40,6 @@ class CfgWeapons #include "Rifles\RPK.hpp" - //VSS - #include "Rifles\VSSVintorez.hpp" - #include "Rifles\VAL.hpp" - class DMR : Rifle { class Single; @@ -88,15 +72,12 @@ class CfgWeapons #include "Rifles\M4A1.hpp" #include "Rifles\M4A3.hpp" #include "Rifles\HK416.hpp" - //HK53 + #include "Rifles\SteyrAug.hpp" #include "Rifles\HK53.hpp" - //Magpul PDR #include "Rifles\PDR.hpp" - //Famas #include "Rifles\Famas.hpp" #include "Rifles\ACR.hpp" #include "Rifles\KACPDW.hpp" - //CTAR-21 #include "Rifles\CTAR21.hpp" #include "Rifles\Masada.hpp" #include "Rifles\MK16.hpp" @@ -111,7 +92,6 @@ class CfgWeapons #include "Rifles\MK17.hpp" #include "Rifles\M110.hpp" - //CZ 805 #include "Rifles\CZ805.hpp" class M24 : Rifle @@ -125,6 +105,7 @@ class CfgWeapons class M40A3; #include "Rifles\M40A3.hpp" + #include "Rifles\CZ750.hpp" class M249; #include "Rifles\M249.hpp" @@ -171,6 +152,11 @@ class CfgWeapons #include "Rifles\SVD.hpp" #include "Rifles\SVU.hpp" + #include "Rifles\VSSVintorez.hpp" + #include "Rifles\VAL.hpp" + + #include "Rifles\KSVK.hpp" + #include "Rifles\Mosin.hpp" class MP5A5; @@ -212,6 +198,10 @@ class CfgWeapons #include "Rifles\L115A3.hpp" #include "Rifles\MSR.hpp" #include "Rifles\XM2010.hpp" + #include "Rifles\Anzio_20.hpp" + #include "Rifles\AS50.hpp" + #include "Rifles\M107.hpp" + #include "Rifles\M4SPR.hpp" /* PISTOLS */ diff --git a/SQF/dayz_code/Configs/CfgWeapons/Rifles/SteyrAug.hpp b/SQF/dayz_code/Configs/CfgWeapons/Rifles/SteyrAug.hpp new file mode 100644 index 000000000..7b9ce8d38 --- /dev/null +++ b/SQF/dayz_code/Configs/CfgWeapons/Rifles/SteyrAug.hpp @@ -0,0 +1,308 @@ +#define Steyr_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 SteyrAug_A3_base: Rifle +{ + scope = private; + displayName = ""; + descriptionShort = $STR_DZ_WPN_AUGA3_DESC; + model = "\MIDF_Weapons\Aug_a3\Aug_a3.p3d"; + UiPicture = "\CA\weapons\data\Ico\i_regular_CA.paa"; + cursoraim = "Foresight"; + value = 2; + optics = 0; + dexterity = 1.8; + opticsDisablePeripherialVision = 0; + handAnim[] = {"OFP2_ManSkeleton","\MIDF_Weapons\data\anim\A3_fgrip.rtm"}; + reloadMagazineSound[] = {"\MIDF_Weapons\sound\auga3_reload.wss",1.77828,1,20}; + drySound[] = {"\ca\Weapons\Data\Sound\G36_dry_v1",0.01,1}; + magazines[] = {30Rnd_556x45_Aug,100Rnd_556x45_BetaCMag}; + modes[] = {"Single","FullAuto"}; + + class Single: Mode_SemiAuto + { + begin1[] = {"\MIDF_Weapons\Sound\auga3.wss",1.77828,1,1000}; + begin2[] = {"\MIDF_Weapons\Sound\auga3.wss",1.77828,1,1000}; + soundBegin[] = {"begin1",0.5,"begin2",0.5}; + reloadTime = 0.075; + recoil = "recoil_single_primary_3outof10"; + recoilProne = "recoil_single_primary_prone_3outof10"; + dispersion = 0.001; + minRange = 2; + minRangeProbab = 0.3; + midRange = 250; + midRangeProbab = 0.7; + maxRange = 450; + maxRangeProbab = 0.05; + }; + class FullAuto: Mode_FullAuto + { + begin1[] = {"\MIDF_Weapons\Sound\auga3.wss",1.77828,1,1000}; + begin2[] = {"\MIDF_Weapons\Sound\auga3.wss",1.77828,1,1000}; + soundBegin[] = {"begin1",0.5,"begin2",0.5}; + reloadTime = 0.09; + recoil = "recoil_auto_primary_3outof10"; + recoilProne = "recoil_auto_primary_prone_3outof10"; + dispersion = 0.00175; + minRange = 0; + minRangeProbab = 0.1; + midRange = 30; + midRangeProbab = 0.7; + maxRange = 150; + maxRangeProbab = 0.05; + }; +}; + +class SteyrAug_A3_Green_DZ: SteyrAug_A3_base { + scope = public; + displayName = $STR_DZ_WPN_AUGA3_NAME; + modelOptics = "\MIDF_Weapons\optic\leupold_cqt.p3d"; + picture = "\MIDF_Weapons\Aug_a3\pictures\aug_a3_green.paa"; + opticsPPEffects[] = {"OpticsCHAbera1","OpticsBlur1"}; + opticsFlare = 1; + opticsDisablePeripherialVision = 1; + opticsZoomInit = 0.5; + opticsZoomMin = 0.12787; + opticsZoomMax = 0.383612; + distanceZoomMin = 300; + distanceZoomMax = 300; + + class Attachments + { + Attachment_M203 = "SteyrAug_A3_GL_Green_DZ"; + }; +}; + +class SteyrAug_A3_Black_DZ: SteyrAug_A3_Green_DZ { + model = "\MIDF_Weapons\Aug_a3\Aug_a3_black.p3d"; + picture = "\MIDF_Weapons\Aug_a3\pictures\aug_a3_black.paa"; + + class Attachments + { + Attachment_M203 = "SteyrAug_A3_GL_Black_DZ"; + }; +}; + +class SteyrAug_A3_Blue_DZ: SteyrAug_A3_Green_DZ { + model = "\MIDF_Weapons\Aug_a3\Aug_a3_blue.p3d"; + picture = "\MIDF_Weapons\Aug_a3\pictures\aug_a3_blue.paa"; + + class Attachments + { + Attachment_M203 = "SteyrAug_A3_GL_Blue_DZ"; + }; +}; + +class SteyrAug_A3_ACOG_Green_DZ: SteyrAug_A3_Green_DZ { + displayName = $STR_DZ_WPN_AUGA3_ACOG_NAME; + model = "\MIDF_Weapons\Aug_a3\Aug_a3_acog.p3d"; + picture = "\MIDF_Weapons\Aug_a3\pictures\aug_a3_acog_green.paa"; + Steyr_ACOG; + + class Attachments + { + Attachment_M203 = "SteyrAug_A3_ACOG_GL_Green_DZ"; + }; +}; + +class SteyrAug_A3_ACOG_Black_DZ: SteyrAug_A3_ACOG_Green_DZ { + model = "\MIDF_Weapons\Aug_a3\Aug_a3_acog_black.p3d"; + picture = "\MIDF_Weapons\Aug_a3\pictures\aug_a3_acog_black.paa"; + + class Attachments + { + Attachment_M203 = "SteyrAug_A3_ACOG_GL_Black_DZ"; + }; +}; +class SteyrAug_A3_ACOG_Blue_DZ: SteyrAug_A3_ACOG_Green_DZ { + model = "\MIDF_Weapons\Aug_a3\Aug_a3_acog_blue.p3d"; + picture = "\MIDF_Weapons\Aug_a3\pictures\aug_a3_acog_blue.paa"; + + class Attachments + { + Attachment_M203 = "SteyrAug_A3_ACOG_GL_Blue_DZ"; + }; +}; + +class SteyrAug_A3_Holo_Green_DZ: SteyrAug_A3_base { + scope = public; + displayName = $STR_DZ_WPN_AUGA3_HOLO_NAME; + model = "\MIDF_Weapons\Aug_a3\Aug_a3_eotech.p3d"; + picture = "\MIDF_Weapons\Aug_a3\pictures\aug_a3_eotech_green.paa"; + + class Attachments + { + Attachment_M203 = "SteyrAug_A3_Holo_GL_Green_DZ"; + }; +}; +class SteyrAug_A3_Holo_Black_DZ: SteyrAug_A3_Holo_Green_DZ { + model = "\MIDF_Weapons\Aug_a3\Aug_a3_eotech_black.p3d"; + picture = "\MIDF_Weapons\Aug_a3\pictures\aug_a3_eotech_black.paa"; + + class Attachments + { + Attachment_M203 = "SteyrAug_A3_Holo_GL_Black_DZ"; + }; +}; +class SteyrAug_A3_Holo_Blue_DZ: SteyrAug_A3_Holo_Green_DZ { + model = "\MIDF_Weapons\Aug_a3\Aug_a3_eotech_blue.p3d"; + picture = "\MIDF_Weapons\Aug_a3\pictures\aug_a3_eotech_blue.paa"; + + class Attachments + { + Attachment_M203 = "SteyrAug_A3_Holo_GL_Blue_DZ"; + }; +}; + +class SteyrAug_A3_GL_Green_DZ: SteyrAug_A3_base { + scope = public; + displayName = $STR_DZ_WPN_AUGA3_GL_NAME; + picture = "\MIDF_Weapons\Aug_a3\pictures\aug_a3_gl_green.paa"; + model = "\MIDF_Weapons\Aug_a3\aug_a3_gl.p3d"; + muzzles[] = {this, M203Muzzle}; + handAnim[] = {"OFP2_ManSkeleton","\MIDF_Weapons\data\anim\A3_GL.rtm"}; + + class ItemActions + { + class RemoveGL + { + text = $STR_DZ_ATT_M203_RMVE; + script = "; ['Attachment_M203',_id,'SteyrAug_A3_Green_DZ'] call player_removeAttachment"; + }; + }; +}; +class SteyrAug_A3_GL_Black_DZ: SteyrAug_A3_GL_Green_DZ { + picture = "\MIDF_Weapons\Aug_a3\pictures\aug_a3_gl_black.paa"; + model = "\MIDF_Weapons\Aug_a3\aug_a3_gl_black.p3d"; + + class ItemActions + { + class RemoveGL + { + text = $STR_DZ_ATT_M203_RMVE; + script = "; ['Attachment_M203',_id,'SteyrAug_A3_Black_DZ'] call player_removeAttachment"; + }; + }; +}; +class SteyrAug_A3_GL_Blue_DZ: SteyrAug_A3_GL_Green_DZ { + picture = "\MIDF_Weapons\Aug_a3\pictures\aug_a3_gl_blue.paa"; + model = "\MIDF_Weapons\Aug_a3\aug_a3_gl_blue.p3d"; + + class ItemActions + { + class RemoveGL + { + text = $STR_DZ_ATT_M203_RMVE; + script = "; ['Attachment_M203',_id,'SteyrAug_A3_Blue_DZ'] call player_removeAttachment"; + }; + }; +}; + +class SteyrAug_A3_ACOG_GL_Green_DZ: SteyrAug_A3_ACOG_Green_DZ { + displayName = $STR_DZ_WPN_AUGA3_ACOG_GL_NAME; + picture = "\MIDF_Weapons\Aug_a3\pictures\aug_a3_acog_gl_green.paa"; + model = "\MIDF_Weapons\Aug_a3\aug_a3_acog_gl.p3d"; + muzzles[] = {this, M203Muzzle}; + handAnim[] = {"OFP2_ManSkeleton","\MIDF_Weapons\data\anim\A3_GL.rtm"}; + + class Attachments {}; + + class ItemActions + { + class RemoveGL + { + text = $STR_DZ_ATT_M203_RMVE; + script = "; ['Attachment_M203',_id,'SteyrAug_A3_ACOG_Green_DZ'] call player_removeAttachment"; + }; + }; +}; +class SteyrAug_A3_ACOG_GL_Black_DZ: SteyrAug_A3_ACOG_GL_Green_DZ { + picture = "\MIDF_Weapons\Aug_a3\pictures\aug_a3_acog_gl_black.paa"; + model = "\MIDF_Weapons\Aug_a3\aug_a3_acog_gl_black.p3d"; + + class ItemActions + { + class RemoveGL + { + text = $STR_DZ_ATT_M203_RMVE; + script = "; ['Attachment_M203',_id,'SteyrAug_A3_ACOG_Black_DZ'] call player_removeAttachment"; + }; + }; +}; +class SteyrAug_A3_ACOG_GL_Blue_DZ: SteyrAug_A3_ACOG_GL_Green_DZ { + picture = "\MIDF_Weapons\Aug_a3\pictures\aug_a3_acog_gl_blue.paa"; + model = "\MIDF_Weapons\Aug_a3\aug_a3_acog_gl_blue.p3d"; + + class ItemActions + { + class RemoveGL + { + text = $STR_DZ_ATT_M203_RMVE; + script = "; ['Attachment_M203',_id,'SteyrAug_A3_ACOG_Blue_DZ'] call player_removeAttachment"; + }; + }; +}; + +class SteyrAug_A3_Holo_GL_Green_DZ: SteyrAug_A3_base { + scope = public; + displayName = $STR_DZ_WPN_AUGA3_HOLO_GL_NAME; + picture = "\MIDF_Weapons\Aug_a3\pictures\aug_a3_eotech_gl_green.paa"; + model = "\MIDF_Weapons\Aug_a3\aug_a3_eotech_gl.p3d"; + muzzles[] = {this, M203Muzzle}; + handAnim[] = {"OFP2_ManSkeleton","\MIDF_Weapons\data\anim\A3_GL.rtm"}; + + class ItemActions + { + class RemoveGL + { + text = $STR_DZ_ATT_M203_RMVE; + script = "; ['Attachment_M203',_id,'SteyrAug_A3_Holo_Green_DZ'] call player_removeAttachment"; + }; + }; +}; +class SteyrAug_A3_Holo_GL_Black_DZ: SteyrAug_A3_Holo_Green_DZ { + picture = "\MIDF_Weapons\Aug_a3\pictures\aug_a3_eotech_gl_black.paa"; + model = "\MIDF_Weapons\Aug_a3\aug_a3_eotech_gl_black.p3d"; + + class ItemActions + { + class RemoveGL + { + text = $STR_DZ_ATT_M203_RMVE; + script = "; ['Attachment_M203',_id,'SteyrAug_A3_Holo_Black_DZ'] call player_removeAttachment"; + }; + }; +}; +class SteyrAug_A3_Holo_GL_Blue_DZ: SteyrAug_A3_Holo_Green_DZ { + picture = "\MIDF_Weapons\Aug_a3\pictures\aug_a3_eotech_gl_blue.paa"; + model = "\MIDF_Weapons\Aug_a3\aug_a3_eotech_gl_blue.p3d"; + + class ItemActions + { + class RemoveGL + { + text = $STR_DZ_ATT_M203_RMVE; + script = "; ['Attachment_M203',_id,'SteyrAug_A3_Holo_Blue_DZ'] call player_removeAttachment"; + }; + }; +}; + +#undef Steyr_ACOG \ No newline at end of file diff --git a/SQF/dayz_code/stringtable.xml b/SQF/dayz_code/stringtable.xml index 99bb469f0..c3ba3b5dd 100644 --- a/SQF/dayz_code/stringtable.xml +++ b/SQF/dayz_code/stringtable.xml @@ -13060,7 +13060,31 @@ Mk43 M145 - + + + + + Steyr Aug A3 + + + Steyr Aug A3 Holo + + + Steyr Aug A3 ACOG + + + Steyr Aug A3 M203 + + + Steyr Aug A3 Holo M203 + + + Steyr Aug A3 ACOG M203 + + + Assault Rifle <br/>Caliber: 5.56x45mm + Sturmgewehr <br/>Kaliber: 5.56x45mm + @@ -14390,7 +14414,20 @@ Kalibr: 7.62x51mm SD<br/>Nábojů: 20<br/>Pro: MK 14 SD, M21A5 SD Kaliber: 7.62x51mm SD <br/> Töltények: 20 <br/> Hozzá tartozó fegyver: MK 14 SD, M21A5 SD - + + 30Rnd. Steyr Aug mag + + + Kaliber: 5.56x45mm <br/>Patronen: 30 <br/>Eingesetzt in: Steyr Aug A3 + Caliber: 5.56x45mm <br/>Rounds: 30 <br/>Used in: Steyr Aug A3 + Calibro: 5.56x45mm <br/>Munizioni: 30 <br/>Si usa in: Steyr Aug A3 + Calibre: 5.56x45mm <br/>Cargas: 30 <br/>Uso: Steyr Aug A3 + Calibre: 5.56x45mm <br/>Munitions: 30 <br/>Utilisé avec: Steyr Aug A3 + Kalibr: 5.56x45mm <br/>Nábojů: 30 <br/>Pro: Steyr Aug A3 + Патрон: 5.56x45мм <br/>Количество: 30 <br/>Используется в: Steyr Aug A3 + Kaliber: 5.56x45mm <br/>Naboje: 30 <br/>Używane w: Steyr Aug A3 + Kaliber: 5.56x45mm <br/> Töltények: 30 <br/> Hozzá tartozó fegyver: Steyr Aug A3 +