diff --git a/SQF/dayz_code/Configs/CfgMagazines/Attachments/ANPVS4.hpp b/SQF/dayz_code/Configs/CfgMagazines/Attachments/ANPVS4.hpp new file mode 100644 index 000000000..861b1f287 --- /dev/null +++ b/SQF/dayz_code/Configs/CfgMagazines/Attachments/ANPVS4.hpp @@ -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"; + }; + }; +}; \ No newline at end of file diff --git a/SQF/dayz_code/Configs/CfgMagazines/Attachments/Attachments.hpp b/SQF/dayz_code/Configs/CfgMagazines/Attachments/Attachments.hpp index a583d2d85..576a306ad 100644 --- a/SQF/dayz_code/Configs/CfgMagazines/Attachments/Attachments.hpp +++ b/SQF/dayz_code/Configs/CfgMagazines/Attachments/Attachments.hpp @@ -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" \ No newline at end of file diff --git a/SQF/dayz_code/Configs/CfgMagazines/Attachments/Ghillie.hpp b/SQF/dayz_code/Configs/CfgMagazines/Attachments/Ghillie.hpp index 7d0830dcf..f42bab3d6 100644 --- a/SQF/dayz_code/Configs/CfgMagazines/Attachments/Ghillie.hpp +++ b/SQF/dayz_code/Configs/CfgMagazines/Attachments/Ghillie.hpp @@ -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; }; \ No newline at end of file diff --git a/SQF/dayz_code/Configs/CfgMagazines/Attachments/Laser.hpp b/SQF/dayz_code/Configs/CfgMagazines/Attachments/Laser.hpp new file mode 100644 index 000000000..27259cf37 --- /dev/null +++ b/SQF/dayz_code/Configs/CfgMagazines/Attachments/Laser.hpp @@ -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"; + }; + }; +}; \ No newline at end of file diff --git a/SQF/dayz_code/Configs/CfgMagazines/Attachments/NSPU.hpp b/SQF/dayz_code/Configs/CfgMagazines/Attachments/NSPU.hpp new file mode 100644 index 000000000..0b6a42bc2 --- /dev/null +++ b/SQF/dayz_code/Configs/CfgMagazines/Attachments/NSPU.hpp @@ -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"; + }; + }; +}; \ No newline at end of file diff --git a/SQF/dayz_code/Configs/CfgMagazines/Attachments/NV.hpp b/SQF/dayz_code/Configs/CfgMagazines/Attachments/NV.hpp new file mode 100644 index 000000000..b578fe41c --- /dev/null +++ b/SQF/dayz_code/Configs/CfgMagazines/Attachments/NV.hpp @@ -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"; + }; + }; +}; \ No newline at end of file diff --git a/SQF/dayz_code/Configs/CfgMagazines/Attachments/Sup762.hpp b/SQF/dayz_code/Configs/CfgMagazines/Attachments/Sup762.hpp new file mode 100644 index 000000000..621d15d02 --- /dev/null +++ b/SQF/dayz_code/Configs/CfgMagazines/Attachments/Sup762.hpp @@ -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"; + }; + }; +}; \ No newline at end of file diff --git a/SQF/dayz_code/Configs/CfgMagazines/Attachments/Sup_45.hpp b/SQF/dayz_code/Configs/CfgMagazines/Attachments/Sup_45.hpp new file mode 100644 index 000000000..fa8b982a0 --- /dev/null +++ b/SQF/dayz_code/Configs/CfgMagazines/Attachments/Sup_45.hpp @@ -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"; + }; + }; +}; \ No newline at end of file diff --git a/SQF/dayz_code/Configs/CfgMagazines/Attachments/TWS.hpp b/SQF/dayz_code/Configs/CfgMagazines/Attachments/TWS.hpp new file mode 100644 index 000000000..e99ba546b --- /dev/null +++ b/SQF/dayz_code/Configs/CfgMagazines/Attachments/TWS.hpp @@ -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"; + }; + }; +}; \ No newline at end of file diff --git a/SQF/dayz_code/stringtable.xml b/SQF/dayz_code/stringtable.xml index c54ba7555..65ecfeedb 100644 --- a/SQF/dayz_code/stringtable.xml +++ b/SQF/dayz_code/stringtable.xml @@ -18215,6 +18215,76 @@ Wasserflasche PET mit 900ml abgekochtem Wasser. + + + [A] ANPVS4 Scope + [A] ANPVS4 Visier + + + An ANPVS4 scope. + Zielfernrohr vom Typ ANPVS4. + + + [A] Small camo net. (desert) + [A] Kl. Tarnnetz (Wüstentarn) + + + [A] Small camo net. (snow) + [A] Kl. Tarnnetz (Schneetarn) + + + [A] Small camo net. (urban) + [A] Kl. Tarnnetz (Stadttarn) + + + [A] Laserpointer + [A] Laser Pointer + + + An attachable laserpointer. + Ein Laser Pointer der an Gewehren angebracht werden kann. + + + [A] NSPU scope + [A] NSPU Visier + + + An NSPU scope. + Zielfernrohr vom Typ NSPU. + + + [A] NV scope + [A] NV Visier + + + A generic Night vision scope. + Generisches Nachtsichvisier. + + + [A] TWS scope + [A] TWS Visier + + + A TWS scope. + Zielfernrohr vom Typ TWS. + + + [A] Silencer .45 + [A] Schalldämpfer .45 + + + A silencer that can be attached to .45 calibre pistols. + Ein Schalldämpfer der an Kaliber .45 Pistolen angebracht werden kann. + + + [A] Silencer (7.62) + [A] Schalldämpfer (7.62) + + + A silencer that can be attached to 7.62 calibre rifles. + Ein Schalldämpfer der an Kaliber 7.62 Gewehre angebracht werden kann. + + Mi-8 Wreck (Military)