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.
This commit is contained in:
icomrade
2016-09-02 12:24:39 -04:00
parent ab6fa80697
commit 413e86b521
2 changed files with 60 additions and 0 deletions

View File

@@ -67,3 +67,61 @@ class 50Rnd_127x107_DSHKM : CA_Magazine {
nameSound = "mgun"; nameSound = "mgun";
weight = 4; weight = 4;
}; };
//Pook stuff
class pook_1300Rnd_762x51_M60: CA_Magazine
{
scope = 2;
displayName = "Pook 1300Rnd. 7.62";
descriptionShort = "Caliber: 7.62x51mm <br/>Rounds: 1300 <br/>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 <br/>Rounds: 250 <br/>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";
};

View File

@@ -12,6 +12,7 @@ class CfgPatches
requiredAddons[] = requiredAddons[] =
{ {
"csj_gyroac", "csj_gyroac",
"pook_h13",
"map_eu", "map_eu",
//dayz_anim references all CA addons //dayz_anim references all CA addons
@@ -68,6 +69,7 @@ class CfgAddons
list[] = list[] =
{ {
"csj_gyroac", // do not move down! "csj_gyroac", // do not move down!
"pook_h13", // do not move down!
"dayz_code", "dayz_code",
"dayz", "dayz",
"dayz_equip", "dayz_equip",