Adding AK-107 to attachment system, loot, trader

This adds 6 AK-107 versions to the dayz attachment system. There is no SD version at the moment.

The RPK-74 magazine could only be used with the AK-74 SD. This was unintentional. All AK-74 versions support the RPK-74 magazine now.

The RPK-74 and the AK-74 magazine description needed a few adjustments.
This commit is contained in:
A Man
2019-10-23 09:25:20 +02:00
parent ba8ff32cd7
commit 82485ea0c6
9 changed files with 278 additions and 6 deletions

View File

@@ -5,13 +5,14 @@ class AK74_Kobra_DZ : AK_74
model = "z\addons\dayz_communityweapons\ak74\ak74_kobra.p3d";
picture = "\z\addons\dayz_communityweapons\ak74\data\w_ak74_kobra_ca.paa";
displayName = $STR_DZ_WPN_AK74_KOBRA_NAME;
/* //Allow default A2 mags
magazines[] =
{
30Rnd_545x39_AK,
30Rnd_545x39_AKSD
30Rnd_545x39_AKSD, //Allow both SD and non-SD
75Rnd_545x39_RPK
};
*/
class Attachments
{
Attachment_GP25 = "AK74_GL_Kobra_DZ";

View File

@@ -7,7 +7,8 @@ class AKS74U_Kobra_DZ : AKS_74_U
magazines[] =
{
30Rnd_545x39_AK,
30Rnd_545x39_AKSD
30Rnd_545x39_AKSD, //Allow both SD and non-SD
75Rnd_545x39_RPK
};
class Attachments
@@ -34,7 +35,8 @@ class AKS74U_Kobra_SD_DZ : AKS_74_UN_kobra
magazines[] =
{
30Rnd_545x39_AKSD,
30Rnd_545x39_AK //Allow both SD and non-SD
30Rnd_545x39_AK, //Allow both SD and non-SD
75Rnd_545x39_RPK
};
class ItemActions