From 413e86b521600b4b8b916a94e4aa2482eddc23bf Mon Sep 17 00:00:00 2001 From: icomrade Date: Fri, 2 Sep 2016 12:24:39 -0400 Subject: [PATCH] Reconfigure pook and autogyro magazines This allows players to carry the magazines, without modification to ammo.sqf the side guns of the pook transport are supported to be rearmed. Modification will be required to allow turrets assigned to the pilot to be rearmed, such as the pook H13 gunship and mozzie grenades. --- .../Configs/CfgMagazines/VehicleAmmo.hpp | 58 +++++++++++++++++++ SQF/dayz_code/config.cpp | 2 + 2 files changed, 60 insertions(+) diff --git a/SQF/dayz_code/Configs/CfgMagazines/VehicleAmmo.hpp b/SQF/dayz_code/Configs/CfgMagazines/VehicleAmmo.hpp index 0e3419837..246cc8580 100644 --- a/SQF/dayz_code/Configs/CfgMagazines/VehicleAmmo.hpp +++ b/SQF/dayz_code/Configs/CfgMagazines/VehicleAmmo.hpp @@ -66,4 +66,62 @@ class 50Rnd_127x107_DSHKM : CA_Magazine { lastRoundsTracer = 5; nameSound = "mgun"; weight = 4; +}; +//Pook stuff +class pook_1300Rnd_762x51_M60: CA_Magazine +{ + scope = 2; + displayName = "Pook 1300Rnd. 7.62"; + descriptionShort = "Caliber: 7.62x51mm
Rounds: 1300
Used in: Pook H13 Gunship"; + ammo = "pook_762x51_M60"; + count = 1300; + tracersEvery = 5; + maxLeadSpeed = 200; + nameSound = "mgun"; + picture = "\z\addons\dayz_epoch\pictures\equip_m134_mag_ca.paa"; + model = "\z\addons\dayz_epoch\models\m134_mag.p3d"; + type = "256"; + weight = 20; + +}; +class pook_250Rnd_762x51: CA_Magazine +{ + scope = 2; + displayName = "Pook 250Rnd. M240"; + picture = "\CA\weapons\data\equip\m_m240_ca.paa"; + count = 250; + type = "256"; + ammo = "B_762x51_Ball"; + initSpeed = 900; + tracersEvery = 4; + lastRoundsTracer = 4; + nameSound = "mgun"; + descriptionShort = "Caliber: 7.62x51mm NATO
Rounds: 250
Used in: Pook H13 Transport"; + model = "\ca\CommunityConfigurationProject_E\Gameplay_ActualModelsOfWeaponMagazinesVisibleOnTheGround\p3d\100Rnd_762x51_M240.p3d"; + weight = 8; +}; +class pook_12Rnd_Grenade_Camel: CA_Magazine +{ + scope = 2; + ammo = "pook_camel_HE"; + count = 12; + displayName = "12Rnd. Pook Grenade"; + initSpeed = 3; + maxLeadSpeed = 200; + nameSound = "grenade"; + type = "256"; + picture = "\CA\weapons_E\Data\icons\m_6x40mmHP_CA.paa"; +}; +//mozzie +class 3Rnd_GyroGrenade: CA_Magazine +{ + scope = 2; + displayName = "3Rnd. Autogyro Grenade"; + ammo = "GyroGrenade"; + count = 3; + initSpeed = 3; + maxLeadSpeed = 200; + nameSound = "grenade"; + type = "256"; + picture = "\CA\weapons_E\Data\icons\m_6x40mmHP_CA.paa"; }; \ No newline at end of file diff --git a/SQF/dayz_code/config.cpp b/SQF/dayz_code/config.cpp index b54847b8e..c073778e3 100644 --- a/SQF/dayz_code/config.cpp +++ b/SQF/dayz_code/config.cpp @@ -12,6 +12,7 @@ class CfgPatches requiredAddons[] = { "csj_gyroac", + "pook_h13", "map_eu", //dayz_anim references all CA addons @@ -68,6 +69,7 @@ class CfgAddons list[] = { "csj_gyroac", // do not move down! + "pook_h13", // do not move down! "dayz_code", "dayz", "dayz_equip",