From 2a2c2d464e99eb54de5b2e1c260854e59a0fbe48 Mon Sep 17 00:00:00 2001 From: "DESKTOP-UH65DCE\\MusTanG" Date: Sat, 24 Jun 2017 23:28:12 -0500 Subject: [PATCH] Epoch Assets #2 Wood Half Floor Wood Quarter Floor Create CfgMagazine for inventory kits Create entries in the CfgItemInteractions/CfgBaseBuilding/CfgCrafting Create CfgVehicles for built / SIM / Ghost models Models in Object Builder Fix penetration link to arma 2 ca folder, replaced with a3 wood_plate as is on the full wood floor create new memory points C, CB, CinE, CinW, CinS, CinN, E, EF, W, WF, S, SF, N, NF Tweak for proper snapping points in game Assets: Briefcase Silver (100oz) Silver Bar (10oz) Aluminum Bar (10oz) Copper Bar (10oz) Tin Bar (10oz) KitWoodHalfFloor KitWoodQuarterFloor 500Rnd_127x99_mag and tracer mags 200Rnd_127x99_mag and tracer mags 100Rnd_127x99_mag and tracer mags 2000Rnd_762x51_Belt 40mm_G_belt (200Rnd, 32, 64, 96) 30mm_G_belt (200Rnd, 40) mas_50Rnd_127x107_DSHKM mas_150Rnd_127x107_DSHKM --- .../epoch_config/Configs/CfgBaseBuilding.hpp | 38 ++++++ .../Configs/CfgItemInteractions.hpp | 15 ++- Sources/epoch_config/Configs/CfgPricing.hpp | 109 +++++++++++++++++- Sources/epoch_config/Configs/cfgCrafting.hpp | 73 +++++++++++- 4 files changed, 229 insertions(+), 6 deletions(-) diff --git a/Sources/epoch_config/Configs/CfgBaseBuilding.hpp b/Sources/epoch_config/Configs/CfgBaseBuilding.hpp index a35bc31f..13ab0ba8 100644 --- a/Sources/epoch_config/Configs/CfgBaseBuilding.hpp +++ b/Sources/epoch_config/Configs/CfgBaseBuilding.hpp @@ -179,6 +179,44 @@ class CfgBaseBuilding removeParts[] = {}; }; class WoodFloor_Ghost_EPOCH : WoodFloor_SIM_EPOCH {}; + class WoodHalfFloor_EPOCH : Default + { + upgradeBuilding[] = {{"WoodFloor_EPOCH",{{"KitWoodHalfFloor",1}}}}; + removeParts[] = {{"KitWoodHalfFloor",1}}; + simulClass = "WoodHalfFloor_SIM_EPOCH"; + staticClass = "WoodHalfFloor_EPOCH"; + GhostPreview = "WoodHalfFloor_Ghost_EPOCH"; + snapPointsPara[] = {"NF","SF","EF","WF","C","CB"}; + snapPointsPerp[] = {"N","S","E","W","CinN","CinS","CinE","CinW"}; + energyCost = 0.2; + }; + class WoodHalfFloor_SIM_EPOCH : WoodHalfFloor_EPOCH + { + allowedSnapPoints[] = {"NF","SF","EF","WF","C"}; + allowedSnapObjects[] = {"WoodHalfFloor_EPOCH"}; + upgradeBuilding[] = {}; + removeParts[] = {}; + }; + class WoodHalfFloor_Ghost_EPOCH : WoodHalfFloor_SIM_EPOCH {}; + class WoodQuarterFloor_EPOCH : Default + { + upgradeBuilding[] = {{"WoodHalfFloor_EPOCH",{{"KitWoodQuarterFloor",1}}}}; + removeParts[] = {{"KitWoodQuarterFloor",1}}; + simulClass = "WoodQuarterFloor_SIM_EPOCH"; + staticClass = "WoodQuarterFloor_EPOCH"; + GhostPreview = "WoodQuarterFloor_Ghost_EPOCH"; + snapPointsPara[] = {"NF","SF","EF","WF","C","CB"}; + snapPointsPerp[] = {"N","S","E","W","CinN","CinS","CinE","CinW"}; + energyCost = 0.1; + }; + class WoodQuarterFloor_SIM_EPOCH : WoodQuarterFloor_EPOCH + { + allowedSnapPoints[] = {"NF","SF","EF","WF","C"}; + allowedSnapObjects[] = {"WoodQuarterFloor_EPOCH"}; + upgradeBuilding[] = {}; + removeParts[] = {}; + }; + class WoodQuarterFloor_Ghost_EPOCH : WoodQuarterFloor_SIM_EPOCH {}; class MetalFloor_EPOCH : Default { removeParts[] = {{"ItemCorrugatedLg",2}}; diff --git a/Sources/epoch_config/Configs/CfgItemInteractions.hpp b/Sources/epoch_config/Configs/CfgItemInteractions.hpp index 9ca9f52a..12f27843 100644 --- a/Sources/epoch_config/Configs/CfgItemInteractions.hpp +++ b/Sources/epoch_config/Configs/CfgItemInteractions.hpp @@ -343,7 +343,15 @@ class CfgItemInteractions { buildClass = "WoodFloor_EPOCH"; }; - class KitWoodStairs : Item_Build_base + class KitWoodHalfFloor : Item_Build_base + { + buildClass = "WoodHalfFloor_EPOCH"; + }; + class KitWoodQuarterFloor : Item_Build_base + { + buildClass = "WoodQuarterFloor_EPOCH"; + }; + class KitWoodStairs : Item_Build_base { buildClass = "WoodStairs_EPOCH"; }; @@ -550,9 +558,13 @@ class CfgItemInteractions class ItemBurlap : Default {}; class ItemBriefcaseE : Default {}; class ItemBriefcaseGold100oz : Default {}; + class ItemBriefcaseSilver100oz : Default {}; class ItemAluminumBar : Default {}; + class ItemAluminumBar10oz : Default {}; class ItemCopperBar : Default {}; + class ItemCopperBar10oz : Default {}; class ItemTinBar : Default {}; + class ItemTinBar10oz : Default {}; class ItemPlywoodPack : Default {}; class ItemComboLock : Default {}; class CircuitParts : Default {}; @@ -579,6 +591,7 @@ class CfgItemInteractions class ItemDocument : Default {}; class ItemDocumentMission : Default {}; class ItemSilverBar : Default {}; + class ItemSilverBar10oz : Default {}; class ItemGoldBar : Default {}; class ItemGoldBar10oz : Default {}; class ItemRock : Default {}; diff --git a/Sources/epoch_config/Configs/CfgPricing.hpp b/Sources/epoch_config/Configs/CfgPricing.hpp index 4d965197..92ef626e 100644 --- a/Sources/epoch_config/Configs/CfgPricing.hpp +++ b/Sources/epoch_config/Configs/CfgPricing.hpp @@ -123,18 +123,34 @@ class CfgPricing class ItemBriefcaseGold100oz { price = 10000; + }; + class ItemBriefcaseSilver100oz + { + price = 1000; }; class ItemAluminumBar { price = 10; + }; + class ItemAluminumBar10oz + { + price = 100; }; class ItemCopperBar { price = 100; + }; + class ItemCopperBar10oz + { + price = 1000; }; class ItemTinBar { price = 1; + }; + class ItemTinBar10oz + { + price = 10; }; class ItemPlywoodPack { @@ -2503,6 +2519,18 @@ class CfgPricing class 6Rnd_RedSignal_F { price = 2; + }; + class 6Rnd_BlueSignal_F + { + price = 2; + }; + class 6Rnd_PurpleSignal_F + { + price = 2; + }; + class 6Rnd_OrangeSignal_F + { + price = 2; }; class EnergyPack { @@ -2737,6 +2765,10 @@ class CfgPricing class ItemGoldBar10oz { price = 1000; + }; + class ItemSilverBar10oz + { + price = 100; }; class ItemTopaz { @@ -4398,7 +4430,82 @@ class CfgPricing { price = 10; }; - + class 500Rnd_127x99_mag + { + price = 500; + }; + class 500Rnd_127x99_mag_Tracer_Red + { + price = 500; + }; + class 500Rnd_127x99_mag_Tracer_Green + { + price = 500; + }; + class 500Rnd_127x99_mag_Tracer_Yellow + { + price = 500; + }; + class 200Rnd_127x99_mag + { + price = 200; + }; + class 200Rnd_127x99_mag_Tracer_Red + { + price = 200; + }; + class 200Rnd_127x99_mag_Tracer_Green + { + price = 200; + }; + class 200Rnd_127x99_mag_Tracer_Yellow + { + price = 200; + }; + class 100Rnd_127x99_mag + { + price = 100; + }; + class 100Rnd_127x99_mag_Tracer_Red + { + price = 100; + }; + class 100Rnd_127x99_mag_Tracer_Green + { + price = 100; + }; + class 100Rnd_127x99_mag_Tracer_Yellow + { + price = 100; + }; + class 2000Rnd_762x51_Belt + { + price = 1250; + }; + class 200Rnd_40mm_G_belt + { + price = 650; + }; + class 32Rnd_40mm_G_belt + { + price = 350; + }; + class 64Rnd_40mm_G_belt + { + price = 400; + }; + class 96Rnd_40mm_G_belt + { + price = 500; + }; + class 200Rnd_20mm_G_belt + { + price = 550; + }; + class 40Rnd_20mm_G_belt + { + price = 350; + }; /////////////////////////////////////////////////////////////////////////////// // Apex Items & Weapons /////////////////////////////////////////////////////////////////////////////// diff --git a/Sources/epoch_config/Configs/cfgCrafting.hpp b/Sources/epoch_config/Configs/cfgCrafting.hpp index 30286d99..b93bd4af 100644 --- a/Sources/epoch_config/Configs/cfgCrafting.hpp +++ b/Sources/epoch_config/Configs/cfgCrafting.hpp @@ -176,12 +176,21 @@ class CfgCrafting }; class ItemAluminumBar : Item { - usedIn[] = {}; + usedIn[] = {"ItemAluminumBar10oz"}; nearby[] = {{"Fire","","fire",{1,{"ALL"}},3,1,1,0}}; recipe[] = {{"ItemSodaEmpty",6},{"water_epoch",1}}; previewPosition[] = {0.797144,1,0.27}; previewScale = 1.3; previewVector = 2.5; + }; + class ItemAluminumBar10oz : Item + { + usedIn[] = {}; + nearby[] = {{"Fire","","fire",{1,{"ALL"}},3,1,1,0}}; + recipe[] = {{"ItemAluminumBar",10},{"water_epoch",1}}; + previewPosition[] = {0.797144,1,0.27}; + previewScale = 1.3; + previewVector = 2.5; }; class ItemEmptyTin : Part { @@ -192,12 +201,21 @@ class CfgCrafting }; class ItemTinBar : Item { - usedIn[] = {}; + usedIn[] = {"ItemTinBar10oz"}; nearby[] = {{"Fire","","fire",{1,{"ALL"}},3,1,1,0}}; recipe[] = {{"ItemEmptyTin",6},{"water_epoch",1}}; previewPosition[] = {0.797144,1,0.27}; previewScale = 1.3; previewVector = 2.5; + }; + class ItemTinBar10oz : Item + { + usedIn[] = {}; + nearby[] = {{"Fire","","fire",{1,{"ALL"}},3,1,1,0}}; + recipe[] = {{"ItemTinBar",10},{"water_epoch",1}}; + previewPosition[] = {0.797144,1,0.27}; + previewScale = 1.3; + previewVector = 2.5; }; class PartOre : Part { @@ -746,6 +764,26 @@ class CfgCrafting previewPosition[] = {0.800198,1,0.262418}; previewScale = 0.055; previewVector = 3.6; + }; + class KitWoodHalfFloor : Kit + { + usedIn[] = {"KitWoodFloor"}; + recipe[] = {{"KitWoodQuarterFloor",2}}; + nearby[] = {{"Workbench","","workbench",{1,{"WorkBench_EPOCH"}},3,1,0,1}}; + model = "\x\addons\a3_epoch_assets_1\models\Half_Floor.p3d"; + previewPosition[] = {0.800198,1,0.262418}; + previewScale = 0.055; + previewVector = 3.6; + }; + class KitWoodQuarterFloor : Kit + { + usedIn[] = {"KitWoodHalfFloor"}; + recipe[] = {{"PartPlankPack",1}}; + nearby[] = {{"Workbench","","workbench",{1,{"WorkBench_EPOCH"}},3,1,0,1}}; + model = "\x\addons\a3_epoch_assets_1\models\Quarter_Floor.p3d"; + previewPosition[] = {0.800198,1,0.262418}; + previewScale = 0.055; + previewVector = 3.6; }; class KitWoodLadder : Kit { @@ -881,12 +919,21 @@ class CfgCrafting }; class ItemCopperBar : Item { - usedIn[] = {"ItemCables"}; + usedIn[] = {"ItemCables","ItemCopperBar10oz"}; nearby[] = {{"Fire","","fire",{1,{"ALL"}},3,1,1,0}}; recipe[] = {{"ItemCables",1},{"water_epoch",1}}; previewPosition[] = {0.797144,1,0.27}; previewScale = 1.3; previewVector = 2.5; + }; + class ItemCopperBar10oz : Item + { + usedIn[] = {}; + nearby[] = {{"Fire","","fire",{1,{"ALL"}},3,1,1,0}}; + recipe[] = {{"ItemCopperBar",10},{"water_epoch",1}}; + previewPosition[] = {0.797144,1,0.27}; + previewScale = 1.3; + previewVector = 2.5; }; class ItemGoldBar : Item { @@ -914,6 +961,15 @@ class CfgCrafting previewPosition[] = {0.801715,1,0.331674}; previewScale = 1.5; previewVector = 0.3; + }; + class ItemSilverBar10oz : Item + { + usedIn[] = {"ItemBriefcaseSilver100oz"}; + nearby[] = {{"Fire","","fire",{1,{"ALL"}},3,1,1,0}}; + recipe[] = {{"ItemSilverBar",10},{"water_epoch",1}}; + previewPosition[] = {0.801715,1,0.331674}; + previewScale = 1.5; + previewVector = 0.3; }; class ItemBriefcaseGold100oz : Item { @@ -923,10 +979,19 @@ class CfgCrafting previewPosition[] = {0.8,1,0.42}; previewScale = 0.5; previewVector = 0; + }; + class ItemBriefcaseSilver100oz : Item + { + usedIn[] = {}; + nearby[] = {}; + recipe[] = {{"ItemSilverBar10oz",10},{"ItemBriefcaseE",1}}; + previewPosition[] = {0.8,1,0.42}; + previewScale = 0.5; + previewVector = 0; }; class ItemBriefcaseE : Part { - usedIn[] = {"ItemBriefcaseGold100oz"}; + usedIn[] = {"ItemBriefcaseGold100oz","ItemBriefcaseSilver100oz"}; previewPosition[] = {0.8,1,0.42}; previewScale = 0.5; previewVector = 0;