Add AKS-74 _DZ versions with attachment support

This commit is contained in:
A Man
2021-06-26 12:23:20 +02:00
parent 4ba6fa326a
commit db1ed4c017
3 changed files with 160 additions and 0 deletions

View File

@@ -527,4 +527,122 @@ class AK74_GL_PSO1_SD_DZ : AK74_GL_Kobra_SD_DZ
script = "; ['Attachment_Sup545',_id,'AK74_GL_PSO1_DZ'] call player_removeAttachment";
};
};
};
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";
};
};
};

View File

@@ -2293,4 +2293,24 @@ class SCAR_H_AK_HOLO_DZ
class SCAR_H_AK_ACOG_DZ
{
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;
};

View File

@@ -16003,6 +16003,28 @@
<English>AK-74 GP-25 PSO-1 SD</English>
<Russian>АК-74 ГП-25 ПСО-1 ПБС</Russian>
</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 -->
<Key ID="STR_DZ_WPN_AKS74U_NAME">