diff --git a/SQF/dayz_code/Configs/CfgLoot/Groups/Attachments.hpp b/SQF/dayz_code/Configs/CfgLoot/Groups/Attachments.hpp
index 70d70270f..084c9c083 100644
--- a/SQF/dayz_code/Configs/CfgLoot/Groups/Attachments.hpp
+++ b/SQF/dayz_code/Configs/CfgLoot/Groups/Attachments.hpp
@@ -14,6 +14,7 @@ AttachmentsRU[] =
{Loot_MAGAZINE, 1, Attachment_Kobra},
{Loot_MAGAZINE, 1, Attachment_PSO1},
{Loot_MAGAZINE, 1, Attachment_Sup9},
+ {Loot_MAGAZINE, 1, Attachment_Sup10},
{Loot_MAGAZINE, 1, Attachment_Sup545},
{Loot_MAGAZINE, 1, Attachment_GP25},
{Loot_MAGAZINE, 1, Attachment_Ghillie}
@@ -28,7 +29,8 @@ AttachmentsUS[] =
{Loot_MAGAZINE, 1, Attachment_Ghillie},
{Loot_MAGAZINE, 1, Attachment_M203},
{Loot_MAGAZINE, 1, Attachment_Sup556},
- {Loot_MAGAZINE, 1, Attachment_Sup9}
+ {Loot_MAGAZINE, 1, Attachment_Sup9},
+ {Loot_MAGAZINE, 1, Attachment_Sup10}
};
// Attachments for European Guns
@@ -39,6 +41,7 @@ AttachmentsEU[] =
{Loot_MAGAZINE, 1, Attachment_ACOG},
{Loot_MAGAZINE, 1, Attachment_Sup556},
{Loot_MAGAZINE, 3, Attachment_Sup9},
+ {Loot_MAGAZINE, 3, Attachment_Sup10},
{Loot_MAGAZINE, 1, Attachment_MFL},
{Loot_MAGAZINE, 3, Attachment_MFL_Pist} // G17 only
};
diff --git a/SQF/dayz_code/Configs/CfgMagazines/Attachments/Attachments.hpp b/SQF/dayz_code/Configs/CfgMagazines/Attachments/Attachments.hpp
index 576a306ad..c20af3982 100644
--- a/SQF/dayz_code/Configs/CfgMagazines/Attachments/Attachments.hpp
+++ b/SQF/dayz_code/Configs/CfgMagazines/Attachments/Attachments.hpp
@@ -17,6 +17,7 @@
#include "GP25.hpp"
#include "Sup9.hpp"
+#include "Sup10.hpp"
#include "Sup556.hpp"
#include "Sup545.hpp"
#include "SupMakarov.hpp"
diff --git a/SQF/dayz_code/Configs/CfgMagazines/Attachments/Sup10.hpp b/SQF/dayz_code/Configs/CfgMagazines/Attachments/Sup10.hpp
new file mode 100644
index 000000000..6d93bb0a5
--- /dev/null
+++ b/SQF/dayz_code/Configs/CfgMagazines/Attachments/Sup10.hpp
@@ -0,0 +1,27 @@
+class Attachment_Sup10 : CA_Magazine
+{
+ scope = public;
+ count = 1;
+ type = WeaponSlotItem;
+
+ model = "\z\addons\dayz_communityweapons\attachments\suppressor9\suppressor9.p3d";
+ picture = "\z\addons\dayz_communityweapons\attachments\suppressor9\data\m_suppressor9_ca.paa";
+
+ displayName = $STR_DZ_ATT_SUP10_NAME;
+ descriptionShort = $STR_DZ_ATT_SUP10_DESC;
+
+ class ItemActions
+ {
+ class AttachToSecondary
+ {
+ text = $STR_DZ_ATT_ACT_TO_SECONDARY;
+ script = "; [_id,0] call player_attachAttachment";
+ };
+
+ 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/CfgServerTrader/Category/Weapons.hpp b/SQF/dayz_code/Configs/CfgServerTrader/Category/Weapons.hpp
index 6e9219f8c..af1800901 100644
--- a/SQF/dayz_code/Configs/CfgServerTrader/Category/Weapons.hpp
+++ b/SQF/dayz_code/Configs/CfgServerTrader/Category/Weapons.hpp
@@ -14,6 +14,7 @@ class Category_12 {
class Attachment_ACOG {type = "trade_items";buy[] = {8,"ItemGoldBar"};sell[] = {4,"ItemGoldBar"};};
class Attachment_PSO1 {type = "trade_items";buy[] = {8,"ItemGoldBar"};sell[] = {4,"ItemGoldBar"};};
class Attachment_Sup9 {type = "trade_items";buy[] = {4,"ItemGoldBar"};sell[] = {2,"ItemGoldBar"};};
+ class Attachment_Sup10 {type = "trade_items";buy[] = {4,"ItemGoldBar"};sell[] = {2,"ItemGoldBar"};};
class Attachment_Sup545 {type = "trade_items";buy[] = {6,"ItemGoldBar"};sell[] = {3,"ItemGoldBar"};};
class Attachment_Sup556 {type = "trade_items";buy[] = {8,"ItemGoldBar"};sell[] = {4,"ItemGoldBar"};};
class Attachment_GP25 {type = "trade_items";buy[] = {4,"ItemGoldBar"};sell[] = {2,"ItemGoldBar"};};
diff --git a/SQF/dayz_code/Configs/CfgWeapons/Pistols/P99.hpp b/SQF/dayz_code/Configs/CfgWeapons/Pistols/P99.hpp
index 3b093292a..b69aa20d9 100644
--- a/SQF/dayz_code/Configs/CfgWeapons/Pistols/P99.hpp
+++ b/SQF/dayz_code/Configs/CfgWeapons/Pistols/P99.hpp
@@ -15,7 +15,7 @@ class P99_Black_DZ: M9
class Attachments
{
- Attachment_Sup9 = "P99_Black_SD_DZ";
+ Attachment_Sup10 = "P99_Black_SD_DZ";
};
};
@@ -37,7 +37,7 @@ class P99_Black_SD_DZ: M9SD
class RemoveSuppressor
{
text = $STR_ATTACHMENT_RMVE_Silencer;
- script = "; ['Attachment_Sup9',_id,'P99_Black_DZ'] call player_removeAttachment";
+ script = "; ['Attachment_Sup10',_id,'P99_Black_DZ'] call player_removeAttachment";
};
};
};
@@ -50,7 +50,7 @@ class P99_Green_DZ: P99_Black_DZ
class Attachments
{
- Attachment_Sup9 = "P99_Green_SD_DZ";
+ Attachment_Sup10 = "P99_Green_SD_DZ";
};
};
@@ -65,7 +65,7 @@ class P99_Green_SD_DZ: P99_Black_SD_DZ
class RemoveSuppressor
{
text = $STR_ATTACHMENT_RMVE_Silencer;
- script = "; ['Attachment_Sup9',_id,'P99_Green_DZ'] call player_removeAttachment";
+ script = "; ['Attachment_Sup10',_id,'P99_Green_DZ'] call player_removeAttachment";
};
};
};
@@ -78,7 +78,7 @@ class P99_Silver_DZ: P99_Black_DZ
class Attachments
{
- Attachment_Sup9 = "P99_Silver_SD_DZ";
+ Attachment_Sup10 = "P99_Silver_SD_DZ";
};
};
@@ -94,7 +94,7 @@ class P99_Silver_SD_DZ: P99_Black_SD_DZ
class RemoveSuppressor
{
text = $STR_ATTACHMENT_RMVE_Silencer;
- script = "; ['Attachment_Sup9',_id,'P99_Silver_DZ'] call player_removeAttachment";
+ script = "; ['Attachment_Sup10',_id,'P99_Silver_DZ'] call player_removeAttachment";
};
};
};
diff --git a/SQF/dayz_code/stringtable.xml b/SQF/dayz_code/stringtable.xml
index f5f8062ec..b00255840 100644
--- a/SQF/dayz_code/stringtable.xml
+++ b/SQF/dayz_code/stringtable.xml
@@ -12311,6 +12311,17 @@
Tlumič, používá se pro vylepšení pušky Bizon.
Ein Schalldämpfer, welcher an eine Bizon angebracht werden kann.
+
+
+ [A] 10mm Suppressor
+ [М] 10мм глушитель
+ [E] 10mm Schalldämpfer
+
+
+ 10mm Sound suppressor
+ ПБС для калибра 10мм
+ 10mm Schalldämpfer
+