mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2026-02-26 17:51:51 +03:00
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:
@@ -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";
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user