mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-14 04:02:37 +03:00
Add AKS-74 _DZ versions with attachment support
This commit is contained in:
@@ -528,3 +528,121 @@ class AK74_GL_PSO1_SD_DZ : AK74_GL_Kobra_SD_DZ
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
class AKS_74;
|
||||||
|
class AKS74_DZ: AKS_74 {
|
||||||
|
displayName = $STR_DZ_WPN_AKS74_NAME;
|
||||||
|
modes[] = {"Single","Burst","FullAuto"};
|
||||||
|
|
||||||
|
magazines[] =
|
||||||
|
{
|
||||||
|
30Rnd_545x39_AK,
|
||||||
|
60Rnd_545x39_AK_Taped,
|
||||||
|
75Rnd_545x39_RPK
|
||||||
|
};
|
||||||
|
class Attachments
|
||||||
|
{
|
||||||
|
Attachment_Kobra = "AKS74_Kobra_DZ";
|
||||||
|
Attachment_PSO1 = "AKS74_PSO1_DZ";
|
||||||
|
Attachment_NSPU = "AKS74_NSPU_DZ";
|
||||||
|
Attachment_Tws = "AKS74_TWS_DZ";
|
||||||
|
};
|
||||||
|
|
||||||
|
class ItemActions {};
|
||||||
|
};
|
||||||
|
|
||||||
|
class AKS_74_kobra;
|
||||||
|
class AKS74_Kobra_DZ: AKS_74_kobra {
|
||||||
|
displayName = $STR_DZ_WPN_AKS74_KOBRA_NAME;
|
||||||
|
modes[] = {"Single","Burst","FullAuto"};
|
||||||
|
|
||||||
|
magazines[] =
|
||||||
|
{
|
||||||
|
30Rnd_545x39_AK,
|
||||||
|
60Rnd_545x39_AK_Taped,
|
||||||
|
75Rnd_545x39_RPK
|
||||||
|
};
|
||||||
|
|
||||||
|
class Attachments {};
|
||||||
|
|
||||||
|
class ItemActions
|
||||||
|
{
|
||||||
|
class RemoveKobra
|
||||||
|
{
|
||||||
|
text = $STR_DZ_ATT_KOBRA_RMVE;
|
||||||
|
script = "; ['Attachment_Kobra',_id,'AKS74_DZ'] call player_removeAttachment";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
class AKS_74_pso;
|
||||||
|
class AKS74_PSO1_DZ: AKS_74_pso {
|
||||||
|
displayName = $STR_DZ_WPN_AKS74_PSO1_NAME;
|
||||||
|
modes[] = {"Single","Burst","FullAuto"};
|
||||||
|
|
||||||
|
magazines[] =
|
||||||
|
{
|
||||||
|
30Rnd_545x39_AK,
|
||||||
|
60Rnd_545x39_AK_Taped,
|
||||||
|
75Rnd_545x39_RPK
|
||||||
|
};
|
||||||
|
|
||||||
|
class Attachments {};
|
||||||
|
|
||||||
|
class ItemActions
|
||||||
|
{
|
||||||
|
class RemovePSO1
|
||||||
|
{
|
||||||
|
text = $STR_DZ_ATT_PSO1_RMVE;
|
||||||
|
script = "; ['Attachment_PSO1',_id,'AKS74_DZ'] call player_removeAttachment";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
class AKS_74_NSPU;
|
||||||
|
class AKS74_NSPU_DZ: AKS_74_NSPU {
|
||||||
|
displayName = $STR_DZ_WPN_AKS74_NSPU_NAME;
|
||||||
|
modes[] = {"Single","Burst","FullAuto"};
|
||||||
|
|
||||||
|
magazines[] =
|
||||||
|
{
|
||||||
|
30Rnd_545x39_AK,
|
||||||
|
60Rnd_545x39_AK_Taped,
|
||||||
|
75Rnd_545x39_RPK
|
||||||
|
};
|
||||||
|
|
||||||
|
class Attachments {};
|
||||||
|
|
||||||
|
class ItemActions
|
||||||
|
{
|
||||||
|
class RemoveNSPU
|
||||||
|
{
|
||||||
|
text = $STR_DZ_ATT_NSPU_RMVE;
|
||||||
|
script = "; ['Attachment_NSPU',_id,'AKS74_DZ'] call player_removeAttachment";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
class AKS_74_GOSHAWK;
|
||||||
|
class AKS74_TWS_DZ: AKS_74_GOSHAWK {
|
||||||
|
displayName = $STR_DZ_WPN_AKS74_TWS_NAME;
|
||||||
|
modes[] = {"Single","Burst","FullAuto"};
|
||||||
|
|
||||||
|
magazines[] =
|
||||||
|
{
|
||||||
|
30Rnd_545x39_AK,
|
||||||
|
60Rnd_545x39_AK_Taped,
|
||||||
|
75Rnd_545x39_RPK
|
||||||
|
};
|
||||||
|
|
||||||
|
class Attachments {};
|
||||||
|
|
||||||
|
class ItemActions
|
||||||
|
{
|
||||||
|
class RemoveNSPU
|
||||||
|
{
|
||||||
|
text = $STR_ATTACHMENT_RMVE_TWS;
|
||||||
|
script = "; ['Attachment_Tws',_id,'AKS74_DZ'] call player_removeAttachment";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
@@ -2294,3 +2294,23 @@ class SCAR_H_AK_ACOG_DZ
|
|||||||
{
|
{
|
||||||
weight = 4.7;
|
weight = 4.7;
|
||||||
};
|
};
|
||||||
|
class AKS74_DZ
|
||||||
|
{
|
||||||
|
weight = 2.7;
|
||||||
|
};
|
||||||
|
class AKS74_Kobra_DZ
|
||||||
|
{
|
||||||
|
weight = 3;
|
||||||
|
};
|
||||||
|
class AKS74_PSO1_DZ
|
||||||
|
{
|
||||||
|
weight = 3.6;
|
||||||
|
};
|
||||||
|
class AKS74_NSPU_DZ
|
||||||
|
{
|
||||||
|
weight = 3.5;
|
||||||
|
};
|
||||||
|
class AKS74_TWS_DZ
|
||||||
|
{
|
||||||
|
weight = 3.5;
|
||||||
|
};
|
||||||
@@ -16004,6 +16004,28 @@
|
|||||||
<Russian>АК-74 ГП-25 ПСО-1 ПБС</Russian>
|
<Russian>АК-74 ГП-25 ПСО-1 ПБС</Russian>
|
||||||
</Key>
|
</Key>
|
||||||
|
|
||||||
|
<!-- AKS74 -->
|
||||||
|
<Key ID="STR_DZ_WPN_AKS74_NAME">
|
||||||
|
<English>AKS-74</English>
|
||||||
|
<Russian>АКС-74</Russian>
|
||||||
|
</Key>
|
||||||
|
<Key ID="STR_DZ_WPN_AKS74_KOBRA_NAME">
|
||||||
|
<English>AKS-74 Kobra</English>
|
||||||
|
<Russian>АКС-74 Кобра</Russian>
|
||||||
|
</Key>
|
||||||
|
<Key ID="STR_DZ_WPN_AKS74_PSO1_NAME">
|
||||||
|
<English>AKS-74 PSO-1</English>
|
||||||
|
<Russian>АКС-74 ПСО-1</Russian>
|
||||||
|
</Key>
|
||||||
|
<Key ID="STR_DZ_WPN_AKS74_NSPU_NAME">
|
||||||
|
<English>AKS-74 NSPU</English>
|
||||||
|
<Russian>АКС-74 НСПУ</Russian>
|
||||||
|
</Key>
|
||||||
|
<Key ID="STR_DZ_WPN_AKS74_TWS_NAME">
|
||||||
|
<English>AKS-74 TWS</English>
|
||||||
|
<Russian>АКС-74 TWS</Russian>
|
||||||
|
</Key>
|
||||||
|
|
||||||
<!-- AKS74U -->
|
<!-- AKS74U -->
|
||||||
<Key ID="STR_DZ_WPN_AKS74U_NAME">
|
<Key ID="STR_DZ_WPN_AKS74U_NAME">
|
||||||
<English>AKS-74U</English>
|
<English>AKS-74U</English>
|
||||||
|
|||||||
Reference in New Issue
Block a user