Icons, 9mm silencer, m16a2

Vanilla development commit:

896825693d
This commit is contained in:
ebaydayz
2016-07-23 14:55:04 -04:00
parent f76b8493fd
commit 34f9f97aa3
14 changed files with 20 additions and 27 deletions

View File

@@ -10,8 +10,7 @@ AttachmentsEast[] =
{ {
{Loot_MAGAZINE, 2, Attachment_Kobra}, {Loot_MAGAZINE, 2, Attachment_Kobra},
{Loot_MAGAZINE, 1, Attachment_PSO1}, {Loot_MAGAZINE, 1, Attachment_PSO1},
{Loot_MAGAZINE, 3, Attachment_SupMakarov}, {Loot_MAGAZINE, 3, Attachment_Sup9},
{Loot_MAGAZINE, 2, Attachment_SupBizon},
{Loot_MAGAZINE, 1, Attachment_Sup545}, {Loot_MAGAZINE, 1, Attachment_Sup545},
{Loot_MAGAZINE, 2, Attachment_GP25}, {Loot_MAGAZINE, 2, Attachment_GP25},
{Loot_MAGAZINE, 2, Attachment_Ghillie}, {Loot_MAGAZINE, 2, Attachment_Ghillie},

View File

@@ -80,7 +80,7 @@ assaultrifles[] = {
{Loot_WEAPON, 0.5, G36K_Camo_DZ}, //G36K_camo {Loot_WEAPON, 0.5, G36K_Camo_DZ}, //G36K_camo
{Loot_WEAPON, 0.3, G36_C_SD_camo}, {Loot_WEAPON, 0.3, G36_C_SD_camo},
{Loot_WEAPON, 0.5, M16A2_DZ}, //M16A2 {Loot_WEAPON, 0.5, M16A2_DZ}, //M16A2
{Loot_WEAPON, 0.2, M16A2_GL_DZ}, //M16A2GL //{Loot_WEAPON, 0.2, M16A2_GL_DZ}, //M16A2GL //added to attachments system
{Loot_WEAPON, 0.1, M16A4_ACOG_DZ}, //M16A4_ACG (has slightly different scope) {Loot_WEAPON, 0.1, M16A4_ACOG_DZ}, //M16A4_ACG (has slightly different scope)
{Loot_WEAPON, 0.5, M4A1_DZ}, //M4A1 {Loot_WEAPON, 0.5, M4A1_DZ}, //M4A1
{Loot_WEAPON, 0.4, M4A1_CCO_DZ}, //M4A1_Aim {Loot_WEAPON, 0.4, M4A1_CCO_DZ}, //M4A1_Aim

View File

@@ -59,16 +59,6 @@ class Category_693 {
buy[] = {4,"ItemGoldBar"}; buy[] = {4,"ItemGoldBar"};
sell[] = {2,"ItemGoldBar"}; sell[] = {2,"ItemGoldBar"};
}; };
class Attachment_SupMakarov {
type = "trade_items";
buy[] = {4,"ItemGoldBar"};
sell[] = {2,"ItemGoldBar"};
};
class Attachment_SupBizon {
type = "trade_items";
buy[] = {6,"ItemGoldBar"};
sell[] = {3,"ItemGoldBar"};
};
class Attachment_Sup545 { class Attachment_Sup545 {
type = "trade_items"; type = "trade_items";
buy[] = {6,"ItemGoldBar"}; buy[] = {6,"ItemGoldBar"};

View File

@@ -9,7 +9,8 @@ class Makarov_DZ : Makarov
class Attachments class Attachments
{ {
Attachment_SupMakarov = "Makarov_SD_DZ"; Attachment_SupMakarov = "Makarov_SD_DZ"; //left to maintain old suppressor attachment
Attachment_Sup9 = "Makarov_SD_DZ";
}; };
}; };
@@ -27,7 +28,7 @@ class Makarov_SD_DZ : MakarovSD
class RemoveSuppressor class RemoveSuppressor
{ {
text = $STR_ATTACHMENT_RMVE_Silencer; text = $STR_ATTACHMENT_RMVE_Silencer;
script = "; ['Attachment_SupMakarov',_id,'Makarov_DZ'] call player_removeAttachment"; script = "; ['Attachment_Sup9',_id,'Makarov_DZ'] call player_removeAttachment";
}; };
}; };
}; };

View File

@@ -15,7 +15,8 @@ class Bizon_DZ : bizon
class Attachments class Attachments
{ {
Attachment_SupBizon = "Bizon_SD_DZ"; Attachment_SupBizon = "Bizon_SD_DZ";//left to maintain old attachment suppressor
Attachment_Sup9 = "Bizon_SD_DZ";
}; };
}; };
@@ -39,7 +40,7 @@ class Bizon_SD_DZ : bizon_silenced
class RemoveSuppressor class RemoveSuppressor
{ {
text = $STR_ATTACHMENT_RMVE_Silencer; text = $STR_ATTACHMENT_RMVE_Silencer;
script = "; ['Attachment_SupBizon',_id,'Bizon_DZ'] call player_removeAttachment"; script = "; ['Attachment_Sup9',_id,'Bizon_DZ'] call player_removeAttachment";
}; };
}; };
}; };

View File

@@ -6,6 +6,10 @@ class M16A2_DZ : M16A2
30Rnd_556x45_Stanag, 30Rnd_556x45_Stanag,
30Rnd_556x45_StanagSD 30Rnd_556x45_StanagSD
}; };
class Attachments
{
Attachment_M203 = "M16A2_GL_DZ";
};
}; };
class M16A2_GL_DZ : M16A2GL class M16A2_GL_DZ : M16A2GL
@@ -15,4 +19,12 @@ class M16A2_GL_DZ : M16A2GL
30Rnd_556x45_Stanag, 30Rnd_556x45_Stanag,
30Rnd_556x45_StanagSD 30Rnd_556x45_StanagSD
}; };
class ItemActions
{
class RemoveGL
{
text = $STR_DZ_ATT_M203_RMVE;
script = "; ['Attachment_M203',_id,'M16A2_DZ'] call player_removeAttachment";
};
};
}; };

View File

@@ -72,11 +72,3 @@ class Attachment_Sup556
{ {
weight = 0.1; weight = 0.1;
}; };
class Attachment_SupBizon
{
weight = 0.1;
};
class Attachment_SupMakarov
{
weight = 0.05;
};

View File

@@ -78,8 +78,6 @@ INSERT INTO `Traders_DATA` VALUES(null, '["Attachment_SCOPED",1]', 10, '[6,"Item
INSERT INTO `Traders_DATA` VALUES(null, '["Attachment_Sup9",1]', 10, '[4,"ItemGoldBar",1]', '[2,"ItemGoldBar",1]', 0, 693, 'trade_items'); INSERT INTO `Traders_DATA` VALUES(null, '["Attachment_Sup9",1]', 10, '[4,"ItemGoldBar",1]', '[2,"ItemGoldBar",1]', 0, 693, 'trade_items');
INSERT INTO `Traders_DATA` VALUES(null, '["Attachment_Sup545",1]', 10, '[6,"ItemGoldBar",1]', '[3,"ItemGoldBar",1]', 0, 693, 'trade_items'); INSERT INTO `Traders_DATA` VALUES(null, '["Attachment_Sup545",1]', 10, '[6,"ItemGoldBar",1]', '[3,"ItemGoldBar",1]', 0, 693, 'trade_items');
INSERT INTO `Traders_DATA` VALUES(null, '["Attachment_Sup556",1]', 10, '[8,"ItemGoldBar",1]', '[4,"ItemGoldBar",1]', 0, 693, 'trade_items'); INSERT INTO `Traders_DATA` VALUES(null, '["Attachment_Sup556",1]', 10, '[8,"ItemGoldBar",1]', '[4,"ItemGoldBar",1]', 0, 693, 'trade_items');
INSERT INTO `Traders_DATA` VALUES(null, '["Attachment_SupBizon",1]', 10, '[6,"ItemGoldBar",1]', '[3,"ItemGoldBar",1]', 0, 693, 'trade_items');
INSERT INTO `Traders_DATA` VALUES(null, '["Attachment_SupMakarov",1]', 10, '[4,"ItemGoldBar",1]', '[2,"ItemGoldBar",1]', 0, 693, 'trade_items');
-- ---------------------------- -- ----------------------------
-- ItemMatchbox_DZE was removed because it was identical to ItemMatchbox, use dayz_matchboxCount config variable for match stick count -- ItemMatchbox_DZE was removed because it was identical to ItemMatchbox, use dayz_matchboxCount config variable for match stick count