Add new attachments

made by @seelenapparat and @DeVloek
This commit is contained in:
A Man
2020-01-15 22:43:17 +01:00
parent acb2938653
commit e4a9bc1800
10 changed files with 213 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
class Attachment_ANPVS4 : CA_Magazine {
scope = public;
count = 1;
type = 256;
model = "\z\addons\dayz_communityweapons\attachments\acog\acog.p3d";
picture = "\dayz_epoch_c\icons\attachments\attachment_anpvs4.paa";
displayName = $STR_DZE_ATTACHMENT_ANPVS4_NAME;
descriptionShort = $STR_DZE_ATTACHMENT_ANPVS4_DESC;
class ItemActions
{
class AttachToPrimary
{
text = $STR_DZ_ATT_ACT_TO_PRIMARY;
script = "; [_id,1] call player_attachAttachment";
};
};
};

View File

@@ -25,3 +25,11 @@
#include "Ghillie.hpp"
#include "SA58RIS.hpp"
#include "ANPVS4.hpp"
#include "Laser.hpp"
#include "NSPU.hpp"
#include "NV.hpp"
#include "TWS.hpp"
#include "Sup762.hpp"
#include "Sup_45.hpp"

View File

@@ -24,4 +24,19 @@ class Attachment_Ghillie : CA_Magazine
script = "; [_id,0] call player_attachAttachment";
};*/
};
};
class Attachment_Ghillie_Desert : Attachment_Ghillie
{
picture = "\dayz_epoch_c\icons\attachments\attachment_netting_desert.paa";
displayName = $STR_DZE_ATTACHMENT_GHIL_DES_NAME;
};
class Attachment_Ghillie_Snow : Attachment_Ghillie
{
picture = "\dayz_epoch_c\icons\attachments\attachment_netting_snow.paa";
displayName = $STR_DZE_ATTACHMENT_GHIL_SNOW_NAME;
};
class Attachment_Ghillie_Urban : Attachment_Ghillie
{
picture = "\dayz_epoch_c\icons\attachments\attachment_netting_urban.paa";
displayName = $STR_DZE_ATTACHMENT_GHIL_URB_NAME;
};

View File

@@ -0,0 +1,17 @@
class Attachment_Laser : CA_Magazine {
scope = public;
count = 1;
type = 256;
model = "\z\addons\dayz_communityweapons\attachments\flashlight_rifle\flashlight_rifle.p3d";
picture = "\dayz_epoch_c\icons\attachments\attachment_laser.paa";
displayName = $STR_DZE_ATTACHMENT_LASER_NAME;
descriptionShort = $STR_DZE_ATTACHMENT_LASER_DESC;
class ItemActions
{
class AttachToPrimary
{
text = $STR_DZ_ATT_ACT_TO_PRIMARY;
script = "; [_id,1] call player_attachAttachment";
};
};
};

View File

@@ -0,0 +1,17 @@
class Attachment_NSPU : CA_Magazine {
scope = public;
count = 1;
type = 256;
model = "\z\addons\dayz_communityweapons\attachments\pso\pso.p3d";
picture = "\dayz_epoch_c\icons\attachments\attachment_nspu.paa";
displayName = $STR_DZE_ATTACHMENT_NSPU_NAME;
descriptionShort = $STR_DZE_ATTACHMENT_NSPU_DESC;
class ItemActions
{
class AttachToPrimary
{
text = $STR_DZ_ATT_ACT_TO_PRIMARY;
script = "; [_id,1] call player_attachAttachment";
};
};
};

View File

@@ -0,0 +1,16 @@
class Attachment_NV : CA_Magazine {
scope = public;
count = 1;
type = 256;
picture = "\dayz_epoch_c\icons\attachments\attachment_nv.paa";
displayName = $STR_DZE_ATTACHMENT_NV_NAME;
descriptionShort = $STR_DZE_ATTACHMENT_NV_DESC;
class ItemActions
{
class AttachToPrimary
{
text = $STR_DZ_ATT_ACT_TO_PRIMARY;
script = "; [_id,1] call player_attachAttachment";
};
};
};

View File

@@ -0,0 +1,17 @@
class Attachment_Sup762 : CA_Magazine {
scope = public;
count = 1;
type = 256;
model = "\z\addons\dayz_communityweapons\attachments\suppressor556\suppressor556.p3d";
picture = "\z\addons\dayz_communityweapons\attachments\suppressor556\data\m_suppressor556_ca.paa";
displayName = $STR_DZE_ATTACHMENT_762SUP_NAME;
descriptionShort = $STR_DZE_ATTACHMENT_762SUP_DESC;
class ItemActions
{
class AttachToPrimary
{
text = $STR_DZ_ATT_ACT_TO_PRIMARY;
script = "; [_id,1] call player_attachAttachment";
};
};
};

View File

@@ -0,0 +1,19 @@
class Attachment_Sup_45 : CA_Magazine {
scope = public;
count = 1;
type = 256;
model = "\z\addons\dayz_communityweapons\attachments\suppressor9\suppressor9.p3d";
picture = "\z\addons\dayz_communityweapons\attachments\suppressor9\data\m_suppressor9_ca.paa";
displayName = $STR_DZE_ATTACHMENT_45SUP_NAME;
descriptionShort = $STR_DZE_ATTACHMENT_45SUP_DESC;
class ItemActions
{
class AttachToSecondary
{
text = $STR_DZ_ATT_ACT_TO_SECONDARY;
script = "; [_id,0] call player_attachAttachment";
};
};
};

View File

@@ -0,0 +1,17 @@
class Attachment_Tws : CA_Magazine {
scope = public;
count = 1;
type = 256;
model = "\z\addons\dayz_communityweapons\attachments\acog\acog.p3d";
picture = "\dayz_epoch_c\icons\attachments\attachment_tws.paa";
displayName = $STR_DZE_ATTACHMENT_TWS_NAME;
descriptionShort = $STR_DZE_ATTACHMENT_TWS_DESC;
class ItemActions
{
class AttachToPrimary
{
text = $STR_DZ_ATT_ACT_TO_PRIMARY;
script = "; [_id,1] call player_attachAttachment";
};
};
};

View File

@@ -18215,6 +18215,76 @@
<German>Wasserflasche PET mit 900ml abgekochtem Wasser.</German>
</Key>
<!--new attachments-->
<Key ID="STR_DZE_ATTACHMENT_ANPVS4_NAME">
<English>[A] ANPVS4 Scope</English>
<German>[A] ANPVS4 Visier</German>
</Key>
<Key ID="STR_DZE_ATTACHMENT_ANPVS4_DESC">
<English>An ANPVS4 scope.</English>
<German>Zielfernrohr vom Typ ANPVS4.</German>
</Key>
<Key ID="STR_DZE_ATTACHMENT_GHIL_DES_NAME">
<English>[A] Small camo net. (desert)</English>
<German>[A] Kl. Tarnnetz (Wüstentarn)</German>
</Key>
<Key ID="STR_DZE_ATTACHMENT_GHIL_SNOW_NAME">
<English>[A] Small camo net. (snow)</English>
<German>[A] Kl. Tarnnetz (Schneetarn)</German>
</Key>
<Key ID="STR_DZE_ATTACHMENT_GHIL_URB_NAME">
<English>[A] Small camo net. (urban)</English>
<German>[A] Kl. Tarnnetz (Stadttarn)</German>
</Key>
<Key ID="STR_DZE_ATTACHMENT_LASER_NAME">
<English>[A] Laserpointer</English>
<German>[A] Laser Pointer</German>
</Key>
<Key ID="STR_DZE_ATTACHMENT_LASER_DESC">
<English>An attachable laserpointer.</English>
<German>Ein Laser Pointer der an Gewehren angebracht werden kann.</German>
</Key>
<Key ID="STR_DZE_ATTACHMENT_NSPU_NAME">
<English>[A] NSPU scope</English>
<German>[A] NSPU Visier</German>
</Key>
<Key ID="STR_DZE_ATTACHMENT_NSPU_DESC">
<English>An NSPU scope.</English>
<German>Zielfernrohr vom Typ NSPU.</German>
</Key>
<Key ID="STR_DZE_ATTACHMENT_NV_NAME">
<English>[A] NV scope</English>
<German>[A] NV Visier</German>
</Key>
<Key ID="STR_DZE_ATTACHMENT_NV_DESC">
<English>A generic Night vision scope.</English>
<German>Generisches Nachtsichvisier.</German>
</Key>
<Key ID="STR_DZE_ATTACHMENT_TWS_NAME">
<English>[A] TWS scope</English>
<German>[A] TWS Visier</German>
</Key>
<Key ID="STR_DZE_ATTACHMENT_TWS_DESC">
<English>A TWS scope.</English>
<German>Zielfernrohr vom Typ TWS.</German>
</Key>
<Key ID="STR_DZE_ATTACHMENT_45SUP_NAME">
<English>[A] Silencer .45</English>
<German>[A] Schalldämpfer .45</German>
</Key>
<Key ID="STR_DZE_ATTACHMENT_45SUP_DESC">
<English>A silencer that can be attached to .45 calibre pistols.</English>
<German>Ein Schalldämpfer der an Kaliber .45 Pistolen angebracht werden kann.</German>
</Key>
<Key ID="STR_DZE_ATTACHMENT_762SUP_NAME">
<English>[A] Silencer (7.62)</English>
<German>[A] Schalldämpfer (7.62)</German>
</Key>
<Key ID="STR_DZE_ATTACHMENT_762SUP_DESC">
<English>A silencer that can be attached to 7.62 calibre rifles.</English>
<German>Ein Schalldämpfer der an Kaliber 7.62 Gewehre angebracht werden kann.</German>
</Key>
<!--dayz mod crash site display names-->
<Key ID="STR_EPOCH_CRASHSITE1">
<English>Mi-8 Wreck (Military)</English>