From f47c4e0f2a2a611b3479af02c76a796584bccc51 Mon Sep 17 00:00:00 2001 From: A Man Date: Tue, 21 Jun 2016 21:52:20 +0200 Subject: [PATCH 1/8] Reordered Attachments Reordered the attachments. Similar items should be next to each other --- .../CfgServerTrader/Category/Attachments.hpp | 59 ++++++++++--------- 1 file changed, 30 insertions(+), 29 deletions(-) diff --git a/SQF/dayz_code/Configs/CfgServerTrader/Category/Attachments.hpp b/SQF/dayz_code/Configs/CfgServerTrader/Category/Attachments.hpp index ed04e8d47..45ae518bf 100644 --- a/SQF/dayz_code/Configs/CfgServerTrader/Category/Attachments.hpp +++ b/SQF/dayz_code/Configs/CfgServerTrader/Category/Attachments.hpp @@ -1,20 +1,15 @@ class Category_693 { - class Attachment_ACOG { - type = "trade_items"; - buy[] = {8,"ItemGoldBar"}; - sell[] = {4,"ItemGoldBar"}; - }; class Attachment_BELT { type = "trade_items"; buy[] = {4,"ItemGoldBar"}; sell[] = {2,"ItemGoldBar"}; }; - class Attachment_CCO { + class Attachment_SA58RIS { type = "trade_items"; buy[] = {4,"ItemGoldBar"}; sell[] = {2,"ItemGoldBar"}; }; - class Attachment_FL { + class Attachment_Ghillie { type = "trade_items"; buy[] = {2,"ItemGoldBar"}; sell[] = {1,"ItemGoldBar"}; @@ -24,12 +19,12 @@ class Category_693 { buy[] = {2,"ItemGoldBar"}; sell[] = {1,"ItemGoldBar"}; }; - class Attachment_Ghillie { + class Attachment_FL { type = "trade_items"; buy[] = {2,"ItemGoldBar"}; sell[] = {1,"ItemGoldBar"}; }; - class Attachment_GP25 { + class Attachment_CCO { type = "trade_items"; buy[] = {4,"ItemGoldBar"}; sell[] = {2,"ItemGoldBar"}; @@ -44,31 +39,36 @@ class Category_693 { buy[] = {4,"ItemGoldBar"}; sell[] = {2,"ItemGoldBar"}; }; - class Attachment_M203 { - type = "trade_items"; - buy[] = {4,"ItemGoldBar"}; - sell[] = {2,"ItemGoldBar"}; - }; - class Attachment_PSO1 { - type = "trade_items"; - buy[] = {8,"ItemGoldBar"}; - sell[] = {4,"ItemGoldBar"}; - }; - class Attachment_SA58RIS { - type = "trade_items"; - buy[] = {4,"ItemGoldBar"}; - sell[] = {2,"ItemGoldBar"}; - }; class Attachment_SCOPED { type = "trade_items"; buy[] = {6,"ItemGoldBar"}; sell[] = {3,"ItemGoldBar"}; }; + 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_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 { type = "trade_items"; buy[] = {6,"ItemGoldBar"}; @@ -79,14 +79,15 @@ class Category_693 { buy[] = {8,"ItemGoldBar"}; sell[] = {4,"ItemGoldBar"}; }; - class Attachment_SupBizon { + class Attachment_GP25 { type = "trade_items"; - buy[] = {6,"ItemGoldBar"}; - sell[] = {3,"ItemGoldBar"}; - }; - class Attachment_SupMakarov { + buy[] = {4,"ItemGoldBar"}; + sell[] = {2,"ItemGoldBar"}; + }; + class Attachment_M203 { type = "trade_items"; buy[] = {4,"ItemGoldBar"}; sell[] = {2,"ItemGoldBar"}; }; }; + From 6d3a76704cf50332b732e724e8180552386d3f20 Mon Sep 17 00:00:00 2001 From: A Man Date: Tue, 21 Jun 2016 21:53:48 +0200 Subject: [PATCH 2/8] Items Added/ Combo Lock Price Changed I've added a few vanilla items and changed the price of the Combo Lock. --- .../Category/FriendlyBuildingSupplies.hpp | 49 ++++++++++++++++++- 1 file changed, 47 insertions(+), 2 deletions(-) diff --git a/SQF/dayz_code/Configs/CfgServerTrader/Category/FriendlyBuildingSupplies.hpp b/SQF/dayz_code/Configs/CfgServerTrader/Category/FriendlyBuildingSupplies.hpp index 73867744a..11ebadd80 100644 --- a/SQF/dayz_code/Configs/CfgServerTrader/Category/FriendlyBuildingSupplies.hpp +++ b/SQF/dayz_code/Configs/CfgServerTrader/Category/FriendlyBuildingSupplies.hpp @@ -24,6 +24,51 @@ class Category_678 { buy[] = {6,"ItemGoldBar"}; sell[] = {3,"ItemGoldBar"}; }; + class equip_brick { + type = "trade_items"; + buy[] = {4,"ItemSilverBar"}; + sell[] = {2,"ItemSilverBar"}; + }; + class equip_duct_tape { + type = "trade_items"; + buy[] = {2,"ItemSilverBar"}; + sell[] = {1,"ItemSilverBar"}; + }; + class equip_rope { + type = "trade_items"; + buy[] = {4,"ItemSilverBar"}; + sell[] = {2,"ItemSilverBar"}; + }; + class equip_hose { + type = "trade_items"; + buy[] = {6,"ItemSilverBar"}; + sell[] = {3,"ItemSilverBar"}; + }; + class equip_nails { + type = "trade_items"; + buy[] = {2,"ItemSilverBar"}; + sell[] = {1,"ItemSilverBar"}; + }; + class equip_scrapelectronics { + type = "trade_items"; + buy[] = {4,"ItemGoldBar"}; + sell[] = {2,"ItemGoldBar"}; + }; + class equip_metal_sheet { + type = "trade_items"; + buy[] = {2,"ItemSilverBar10oz"}; + sell[] = {1,"ItemSilverBar10oz"}; + }; + class equip_1inch_metal_pipe { + type = "trade_items"; + buy[] = {6,"ItemSilverBar"}; + sell[] = {3,"ItemSilverBar"}; + }; + class equip_2inch_metal_pipe { + type = "trade_items"; + buy[] = {8,"ItemSilverBar"}; + sell[] = {4,"ItemSilverBar"}; + }; class ItemWire { type = "trade_items"; buy[] = {6,"ItemSilverBar"}; @@ -56,8 +101,8 @@ class Category_678 { }; class ItemComboLock { type = "trade_items"; - buy[] = {4,"ItemSilverBar10oz"}; - sell[] = {2,"ItemSilverBar10oz"}; + buy[] = {2,"ItemGoldBar10oz"}; + sell[] = {1,"ItemGoldBar10oz"}; }; class ItemVault { type = "trade_items"; From 4848c3ef5c03eb4b6fe1e4c0ae58d7c1c8f660d1 Mon Sep 17 00:00:00 2001 From: A Man Date: Tue, 21 Jun 2016 21:55:01 +0200 Subject: [PATCH 3/8] Changed Prices for balance Changed prices for balance. --- .../Category/NeutralWholesale.hpp | 36 +++++++++---------- 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/SQF/dayz_code/Configs/CfgServerTrader/Category/NeutralWholesale.hpp b/SQF/dayz_code/Configs/CfgServerTrader/Category/NeutralWholesale.hpp index e7734c14c..fd6b787df 100644 --- a/SQF/dayz_code/Configs/CfgServerTrader/Category/NeutralWholesale.hpp +++ b/SQF/dayz_code/Configs/CfgServerTrader/Category/NeutralWholesale.hpp @@ -1,43 +1,43 @@ class Category_675 { - class bulk_15Rnd_9x19_M9SD { - type = "trade_items"; - buy[] = {2,"ItemGoldBar"}; - sell[] = {2,"ItemGoldBar"}; - }; class bulk_17Rnd_9x19_glock17 { type = "trade_items"; buy[] = {2,"ItemGoldBar"}; - sell[] = {2,"ItemGoldBar"}; + sell[] = {1,"ItemGoldBar"}; }; - class bulk_30Rnd_556x45_StanagSD { + class bulk_15Rnd_9x19_M9SD { type = "trade_items"; buy[] = {2,"ItemGoldBar"}; - sell[] = {2,"ItemGoldBar"}; + sell[] = {1,"ItemGoldBar"}; }; class bulk_30Rnd_9x19_MP5SD { type = "trade_items"; - buy[] = {2,"ItemGoldBar"}; - sell[] = {2,"ItemGoldBar"}; + buy[] = {3,"ItemGoldBar"}; + sell[] = {3,"ItemGoldBar"}; + }; + class bulk_30Rnd_556x45_StanagSD { + type = "trade_items"; + buy[] = {4,"ItemGoldBar"}; + sell[] = {4,"ItemGoldBar"}; }; class bulk_ItemSandbag { type = "trade_items"; - buy[] = {2,"ItemGoldBar10oz"}; - sell[] = {2,"ItemGoldBar10oz"}; + buy[] = {3,"ItemGoldBar10oz"}; + sell[] = {3,"ItemGoldBar10oz"}; }; class bulk_ItemTankTrap { type = "trade_items"; - buy[] = {1,"ItemGoldBar"}; - sell[] = {1,"ItemGoldBar"}; + buy[] = {2,"ItemGoldBar"}; + sell[] = {2,"ItemGoldBar"}; }; class bulk_ItemWire { type = "trade_items"; - buy[] = {3,"ItemSilverBar10oz"}; - sell[] = {3,"ItemSilverBar10oz"}; + buy[] = {5,"ItemSilverBar10oz"}; + sell[] = {5,"ItemSilverBar10oz"}; }; class bulk_PartGeneric { type = "trade_items"; - buy[] = {6,"ItemSilverBar10oz"}; - sell[] = {6,"ItemSilverBar10oz"}; + buy[] = {8,"ItemGoldBar"}; + sell[] = {8,"ItemGoldBar"}; }; class PartPlywoodPack { type = "trade_items"; From 25fbaf5757f9391971c057276ead83af7fd855bc Mon Sep 17 00:00:00 2001 From: A Man Date: Tue, 21 Jun 2016 21:58:06 +0200 Subject: [PATCH 4/8] Small Loot Tweaks Increased the chance for MortarBucket and CinderBlocks to spawm. Removed the flashlight from spawn in industrial loot. --- .../Configs/CfgLoot/Groups/Buildings/Industrial.hpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/SQF/dayz_code/Configs/CfgLoot/Groups/Buildings/Industrial.hpp b/SQF/dayz_code/Configs/CfgLoot/Groups/Buildings/Industrial.hpp index cb0cfda93..518a6f418 100644 --- a/SQF/dayz_code/Configs/CfgLoot/Groups/Buildings/Industrial.hpp +++ b/SQF/dayz_code/Configs/CfgLoot/Groups/Buildings/Industrial.hpp @@ -3,7 +3,7 @@ Industrial[] = //Tools {Loot_WEAPON, 3, ItemKnife}, {Loot_WEAPON, 6, ItemToolbox}, - {Loot_WEAPON, 2, ItemFlashlight}, +// {Loot_WEAPON, 2, ItemFlashlight}, // {Loot_WEAPON, 8, ItemCrowbar}, {Loot_VEHICLE, 8, WeaponHolder_ItemCrowbar}, // {Loot_WEAPON, 5, ItemHatchet}, @@ -30,8 +30,8 @@ Industrial[] = {Loot_MAGAZINE, 2, equip_1inch_metal_pipe}, {Loot_MAGAZINE, 2, equip_2inch_metal_pipe}, {Loot_MAGAZINE, 12, ItemPlank}, - {Loot_MAGAZINE, 1, MortarBucket}, - {Loot_MAGAZINE, 2, CinderBlocks}, + {Loot_MAGAZINE, 2, MortarBucket}, + {Loot_MAGAZINE, 3, CinderBlocks}, {Loot_MAGAZINE, 3, ItemFuelBarrelEmpty}, {Loot_MAGAZINE, 3, ItemGenerator}, {Loot_MAGAZINE, 1, fuel_pump_kit}, From b8f95b7f75e2f69ffe0d0fde6def128783f3b5b8 Mon Sep 17 00:00:00 2001 From: A Man Date: Tue, 21 Jun 2016 22:25:02 +0200 Subject: [PATCH 5/8] Changed Cinder Wall Strings The full cinder wall and the half cinder half kit had the same name ingame. I tried to correct it but I saw that the string was too long when you click right on a full cinder wall kit to build it. I renamed both kits so that both kits stand by each other. --- SQF/dayz_code/stringtable.xml | 20 ++++++++++++++------ 1 file changed, 14 insertions(+), 6 deletions(-) diff --git a/SQF/dayz_code/stringtable.xml b/SQF/dayz_code/stringtable.xml index 764398536..984cc6f43 100644 --- a/SQF/dayz_code/stringtable.xml +++ b/SQF/dayz_code/stringtable.xml @@ -16029,13 +16029,21 @@ Metal Floor Metal Floor + + Cinder Wall Half + Cinder Wall Half + Cinder Wall Half + Cinder Wall Half + Cinder Wall Half + Cinder Wall Half + - Cinder Block Wall - Cinder Block Wall - Cinder Block Wall - Cinder Block Wall - Cinder Block Wall - Cinder Block Wall + Cinder Wall Full + Cinder Wall Full + Cinder Wall Full + Cinder Wall Full + Cinder Wall Full + Cinder Wall Full Half height cinder block wall. From 6f13f8a36e156c47fc04e91a775bb7e0906b2af1 Mon Sep 17 00:00:00 2001 From: A Man Date: Tue, 21 Jun 2016 22:27:41 +0200 Subject: [PATCH 6/8] Changed Cinder Wall Strings The full cinder wall and the half cinder half kit had the same name ingame. --- SQF/dayz_code/Configs/CfgMagazines/DZE/ModularBuilding.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SQF/dayz_code/Configs/CfgMagazines/DZE/ModularBuilding.hpp b/SQF/dayz_code/Configs/CfgMagazines/DZE/ModularBuilding.hpp index 398a11be8..6dd13f9e8 100644 --- a/SQF/dayz_code/Configs/CfgMagazines/DZE/ModularBuilding.hpp +++ b/SQF/dayz_code/Configs/CfgMagazines/DZE/ModularBuilding.hpp @@ -21,7 +21,7 @@ class cinder_wall_kit: CA_Magazine { scope = public; count = 1; type = 256; - displayName = $STR_EPOCH_CINDERBLOCKWALL; + displayName = $STR_EPOCH_CINDERBLOCKWALL_HALF; descriptionShort = $STR_EPOCH_CINDERBLOCKWALL_DESC; model = "\z\addons\dayz_epoch\models\supply_crate.p3d"; picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa"; From 999f5fd5c2ebeac565fb68c0646c7a97cbb2d8f7 Mon Sep 17 00:00:00 2001 From: A Man Date: Tue, 21 Jun 2016 23:09:32 +0200 Subject: [PATCH 7/8] Added another string Added another string for full cinder wall kit. --- SQF/dayz_code/stringtable.xml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/SQF/dayz_code/stringtable.xml b/SQF/dayz_code/stringtable.xml index 984cc6f43..34fdc4f94 100644 --- a/SQF/dayz_code/stringtable.xml +++ b/SQF/dayz_code/stringtable.xml @@ -12861,6 +12861,15 @@ Vytvořit 1/2 zdi + + Craft Full Wall + Ganze Wand herstellen + Создать: все стены + + + + Vytvářet plnou stěnou + Craft Garage Doorway Garagentor-Rahmen herstellen From a7bd47054e1b5b9cb731cb234eb1bc4121a29165 Mon Sep 17 00:00:00 2001 From: A Man Date: Tue, 21 Jun 2016 23:12:14 +0200 Subject: [PATCH 8/8] Add crafting full cinder wall kit Add crafting full cinder wall kit. --- SQF/dayz_code/Configs/CfgMagazines/DZE/Misc.hpp | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/SQF/dayz_code/Configs/CfgMagazines/DZE/Misc.hpp b/SQF/dayz_code/Configs/CfgMagazines/DZE/Misc.hpp index 7c2bfd400..5ec2aee1b 100644 --- a/SQF/dayz_code/Configs/CfgMagazines/DZE/Misc.hpp +++ b/SQF/dayz_code/Configs/CfgMagazines/DZE/Misc.hpp @@ -906,8 +906,15 @@ class CinderBlocks: CA_Magazine output[] = {{"cinder_door_kit",1}}; input[] = {{"CinderBlocks",4},{"MortarBucket",1},{"ItemTankTrap",1}}; }; - - + class Crafting3 + { + text = $STR_EPOCH_PLAYER_252_1; + script = ";['Crafting3','CfgMagazines', _id] spawn player_craftItem; r_action_count = r_action_count + 1;"; + neednearby[] = {"workshop"}; + requiretools[] = {"ItemToolbox"}; + output[] = {{"full_cinder_wall_kit",1}}; + input[] = {{"CinderBlocks",7},{"MortarBucket",2}}; + }; }; }; class MortarBucket: CA_Magazine @@ -1174,4 +1181,4 @@ class ItemKiloHemp : CA_Magazine input[] = {{"ItemKiloHemp",1}}; }; }; -}; \ No newline at end of file +};