mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-13 19:52:38 +03:00
Add 10mm Silencer for P99
This commit is contained in:
@@ -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
|
||||
};
|
||||
|
||||
@@ -17,6 +17,7 @@
|
||||
#include "GP25.hpp"
|
||||
|
||||
#include "Sup9.hpp"
|
||||
#include "Sup10.hpp"
|
||||
#include "Sup556.hpp"
|
||||
#include "Sup545.hpp"
|
||||
#include "SupMakarov.hpp"
|
||||
|
||||
27
SQF/dayz_code/Configs/CfgMagazines/Attachments/Sup10.hpp
Normal file
27
SQF/dayz_code/Configs/CfgMagazines/Attachments/Sup10.hpp
Normal file
@@ -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";
|
||||
};
|
||||
};
|
||||
};
|
||||
@@ -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"};};
|
||||
|
||||
@@ -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";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
@@ -12311,6 +12311,17 @@
|
||||
<Czech>Tlumič, používá se pro vylepšení pušky Bizon.</Czech>
|
||||
<German>Ein Schalldämpfer, welcher an eine Bizon angebracht werden kann.</German>
|
||||
</Key>
|
||||
<!-- 10mm Suppressor P99-->
|
||||
<Key ID="STR_DZ_ATT_SUP10_NAME">
|
||||
<English>[A] 10mm Suppressor</English>
|
||||
<Russian>[М] 10мм глушитель</Russian>
|
||||
<German>[E] 10mm Schalldämpfer</German>
|
||||
</Key>
|
||||
<Key ID="STR_DZ_ATT_SUP10_DESC">
|
||||
<English>10mm Sound suppressor</English>
|
||||
<Russian>ПБС для калибра 10мм</Russian>
|
||||
<German>10mm Schalldämpfer</German>
|
||||
</Key>
|
||||
|
||||
<!-- 5.56mm Suppressor -->
|
||||
<Key ID="STR_DZ_ATT_SUP556_NAME">
|
||||
|
||||
Reference in New Issue
Block a user