From b706d50bd892d246e146945b170bdc44aa441710 Mon Sep 17 00:00:00 2001 From: Grahame Date: Wed, 14 Mar 2018 11:50:17 -0400 Subject: [PATCH 1/2] Update CfgVehicles.hpp Added definitions for the following new buildables: portable generator, sleeping bags (green, brown and blue) and a large workbench --- .../a3_epoch_configs/Configs/CfgVehicles.hpp | 166 ++++++++++++++++++ 1 file changed, 166 insertions(+) diff --git a/Sources/a3_epoch_configs/Configs/CfgVehicles.hpp b/Sources/a3_epoch_configs/Configs/CfgVehicles.hpp index 86aa4ef..00d6c3d 100644 --- a/Sources/a3_epoch_configs/Configs/CfgVehicles.hpp +++ b/Sources/a3_epoch_configs/Configs/CfgVehicles.hpp @@ -13598,6 +13598,172 @@ class CfgVehicles keepHorizontalPlacement = 1; class DestructionEffects{}; }; + class SleepingBagGreen_SIM_EPOCH : Constructions_modular_F + { + author = "Grahame"; + scope = 2; + model = "\A3\Structures_F\Civ\Camping\Sleeping_bag_F.p3d"; + displayName = "Green Sleeping Bag"; + }; + class SleepingBagGreen_Ghost_EPOCH : Const_Ghost_EPOCH + { + author = "Grahame"; + scope = 2; + model = "\A3\Structures_F\Civ\Camping\Sleeping_bag_F.p3d"; + displayName = "Green Sleeping Bag"; + }; + class SleepingBagGreen_EPOCH : Constructions_static_F + { + author = "BI"; + mapSize = 2.13; + class SimpleObject + { + eden = 0; + animate[] = {}; + hide[] = {}; + verticalOffset = 3.019; + verticalOffsetWorld = 0; + init = "''"; + }; + scope = 2; + model = "\A3\Structures_F\Civ\Camping\Sleeping_bag_F.p3d"; + displayName = "Green Sleeping Bag"; + vehicleClass = "Epoch_objects"; + destrType = "DestructNo"; + }; + class SleepingBagBlue_SIM_EPOCH : Constructions_modular_F + { + author = "Grahame"; + scope = 2; + model = "\A3\Structures_F\Civ\Camping\Sleeping_bag_blue_F.p3d"; + displayName = "Blue Sleeping Bag"; + }; + class SleepingBagBlue_Ghost_EPOCH : Const_Ghost_EPOCH + { + author = "Grahame"; + scope = 2; + model = "\A3\Structures_F\Civ\Camping\Sleeping_bag_blue_F.p3d"; + displayName = "Blue Sleeping Bag"; + }; + class SleepingBagBlue_EPOCH : Constructions_static_F + { + author = "BI"; + mapSize = 2.13; + class SimpleObject + { + eden = 0; + animate[] = {}; + hide[] = {}; + verticalOffset = 3.019; + verticalOffsetWorld = 0; + init = "''"; + }; + scope = 2; + model = "\A3\Structures_F\Civ\Camping\Sleeping_bag_blue_F.p3d"; + displayName = "Blue Sleeping Bag"; + vehicleClass = "Epoch_objects"; + destrType = "DestructNo"; + }; + class SleepingBagBrown_SIM_EPOCH : Constructions_modular_F + { + author = "Grahame"; + scope = 2; + model = "\A3\Structures_F\Civ\Camping\Sleeping_bag_brown_F.p3d"; + displayName = "Brown Sleeping Bag"; + }; + class SleepingBagBrown_Ghost_EPOCH : Const_Ghost_EPOCH + { + author = "Grahame"; + scope = 2; + model = "\A3\Structures_F\Civ\Camping\Sleeping_bag_brown_F.p3d"; + displayName = "Brown Sleeping Bag"; + }; + class SleepingBagBrown_EPOCH : Constructions_static_F + { + author = "BI"; + mapSize = 2.13; + class SimpleObject + { + eden = 0; + animate[] = {}; + hide[] = {}; + verticalOffset = 3.019; + verticalOffsetWorld = 0; + init = "''"; + }; + scope = 2; + model = "\A3\Structures_F\Civ\Camping\Sleeping_bag_brown_F.p3d"; + displayName = "Brown Sleeping Bag"; + vehicleClass = "Epoch_objects"; + destrType = "DestructNo"; + }; + class WorkbenchLarge_SIM_EPOCH : Constructions_modular_F + { + author = "Grahame"; + scope = 2; + model = "\A3\Structures_F_Heli\Furniture\Workbench_01_F.p3d"; + displayName = "Large Workbench"; + }; + class WorkbenchLarge_Ghost_EPOCH : Const_Ghost_EPOCH + { + author = "Grahame"; + scope = 2; + model = "\A3\Structures_F_Heli\Furniture\Workbench_01_F.p3d"; + displayName = "Large Workbench"; + }; + class WorkbenchLarge_EPOCH : Buildable_Storage + { + author = "BI"; + mapSize = 2.13; + class SimpleObject + { + eden = 0; + animate[] = {}; + hide[] = {}; + verticalOffset = 3.019; + verticalOffsetWorld = 0; + init = "''"; + }; + scope = 2; + model = "\A3\Structures_F_Heli\Furniture\Workbench_01_F.p3d"; + displayName = "Large Workbench"; + vehicleClass = "Epoch_objects"; + maximumLoad = 2000; + destrType = "DestructNo"; + }; + class Generator_SIM_EPOCH : Constructions_modular_F + { + author = "Grahame"; + scope = 2; + model="\A3\Structures_F\Items\Electronics\Portable_generator_F.p3d"; + displayName = "Portable Generator"; + }; + class Generator_Ghost_EPOCH : Const_Ghost_EPOCH + { + author = "Grahame"; + scope = 2; + model="\A3\Structures_F\Items\Electronics\Portable_generator_F.p3d"; + displayName = "Portable Generator"; + }; + class Generator_EPOCH : Constructions_static_F + { + author = "BI"; + mapSize = 0.87; + class SimpleObject + { + eden = 1; + animate[] = {}; + hide[] = {}; + verticalOffset = 0.359; + verticalOffsetWorld = 0; + init = "''"; + }; + scope = 2; + model="\A3\Structures_F\Items\Electronics\Portable_generator_F.p3d"; + displayName = "Portable Generator"; + vehicleClass = "Epoch_objects"; + destrType = "DestructDefault"; + }; }; /*[[[end]]]*/ From be051b215091b07b8948cafc25d5562284902de2 Mon Sep 17 00:00:00 2001 From: Grahame Date: Wed, 14 Mar 2018 11:53:24 -0400 Subject: [PATCH 2/2] Update CfgMagazines.hpp Added the definitions for the sleeping bag, portable generator and large workbench "kits" and PC parts and laptops for looting --- .../a3_epoch_configs/Configs/CfgMagazines.hpp | 187 ++++++++++++++++++ 1 file changed, 187 insertions(+) diff --git a/Sources/a3_epoch_configs/Configs/CfgMagazines.hpp b/Sources/a3_epoch_configs/Configs/CfgMagazines.hpp index 84fdaf2..0835b7d 100644 --- a/Sources/a3_epoch_configs/Configs/CfgMagazines.hpp +++ b/Sources/a3_epoch_configs/Configs/CfgMagazines.hpp @@ -4814,6 +4814,193 @@ class CfgMagazines descriptionShort = "$STR_EPOCH_HotAxeSauceDesc"; mass = 3; }; + class KitSleepingBagGreen: CA_Magazine + { + author = "Grahame"; + model = "\A3\Structures_F\Civ\Camping\Sleeping_bag_folded_F.p3d"; + picture = "\A3\EditorPreviews_F\Data\CfgVehicles\Land_Sleeping_bag_folded_F.jpg"; + displayName = "Green Sleeping Bag"; + scope = 2; + count = 1; + mass = 5; + }; + + class KitSleepingBagBlue: CA_Magazine + { + author = "Grahame"; + model = "\A3\Structures_F\Civ\Camping\Sleeping_bag_blue_folded_F.p3d"; + picture = "\A3\EditorPreviews_F\Data\CfgVehicles\Land_Sleeping_bag_blue_folded_F.jpg"; + displayName = "Blue Sleeping Bag"; + scope = 2; + count = 1; + mass = 5; + }; + + class KitSleepingBagBrown: CA_Magazine + { + author = "Grahame"; + model = "\A3\Structures_F\Civ\Camping\Sleeping_bag_brown_folded_F.p3d"; + picture = "\A3\EditorPreviews_F\Data\CfgVehicles\Land_Sleeping_bag_brown_folded_F.jpg"; + displayName = "Brown Sleeping Bag"; + scope = 2; + count = 1; + mass = 5; + }; + + class PC_Case: CA_Magazine + { + author = "Grahame"; + model = "\A3\Structures_F_Heli\Items\Electronics\PCSet_01_case_F.p3d"; + picture = "\A3\EditorPreviews_F\Data\CfgVehicles\Land_PCSet_01_case_F.jpg"; + displayName = "PC Case"; + scope = 2; + count = 1; + mass = 20; + }; + + class PC_Screen: CA_Magazine + { + author = "Grahame"; + model = "\A3\Structures_F_Heli\Items\Electronics\PCSet_01_screen_F.p3d"; + picture = "\A3\EditorPreviews_F\Data\CfgVehicles\Land_PCSet_01_screen_F.jpg"; + displayName = "PC Screen"; + scope = 2; + count = 1; + mass = 10; + hiddenSelections[] = {"Camo_1"}; + hiddenSelectionsTextures[] = {"#(argb,8,8,3)color(0,0,0,0,co)"}; + hiddenSelectionsMaterials[] = {"\A3\Data_F\Lights\Lamp_lcd.rvmat"}; + class Attributes + { + class ObjectTextureCustom0 + { + displayName = "$STR_3den_object_attribute_objecttexturecustom0_displayname"; + tooltip = "$STR_3den_object_attribute_objecttexturecustom_tooltip"; + property = "ObjectTextureCustom0"; + control = "Edit"; + expression = "_this setObjectTextureGlobal [0,_value]"; + defaultValue = "getObjectTextures _this select 0"; + }; + }; + }; + + class PC_Mouse: CA_Magazine + { + author = "Grahame"; + model = "\A3\Structures_F_Heli\Items\Electronics\PCSet_01_mouse_F.p3d"; + picture = "\A3\EditorPreviews_F\Data\CfgVehicles\Land_PCSet_01_mouse_F.jpg"; + displayName = "PC Mouse"; + scope = 2; + count = 1; + mass = 1; + }; + + class PC_Keyboard: CA_Magazine + { + author = "Grahame"; + model = "\A3\Structures_F_Heli\Items\Electronics\PCSet_01_keyboard_F.p3d"; + picture = "\A3\EditorPreviews_F\Data\CfgVehicles\Land_PCSet_01_keyboard_F.jpg"; + displayName = "PC Keyboard"; + scope = 2; + count = 1; + mass = 5; + }; + + class Tablet: CA_Magazine + { + author = "Grahame"; + model = "\A3\Structures_F_Heli\Items\Electronics\Tablet_01_F.p3d"; + picture = "\A3\EditorPreviews_F\Data\CfgVehicles\Land_Tablet_01_F.jpg"; + displayName = "Tablet"; + scope = 2; + count = 1; + mass = 10; + hiddenSelections[] = {"Camo_1"}; + hiddenSelectionsTextures[] = {"\A3\Structures_F_Heli\Items\Electronics\Data\Tablet_Screen_CO.paa"}; + hiddenSelectionsMaterials[] = {"\A3\Data_F\Lights\Lamp_lcd2.rvmat"}; + class Attributes + { + class ObjectTextureCustom0 + { + displayName = "$STR_3den_object_attribute_objecttexturecustom0_displayname"; + tooltip = "$STR_3den_object_attribute_objecttexturecustom_tooltip"; + property = "ObjectTextureCustom0"; + control = "Edit"; + expression = "_this setObjectTextureGlobal [0,_value]"; + defaultValue = "getObjectTextures _this select 0"; + }; + }; + }; + + class Rugged_Tablet: CA_Magazine + { + author = "Grahame"; + model = "\A3\Props_F_Exp_A\Military\Equipment\Tablet_02_F.p3d"; + picture = "\A3\EditorPreviews_F\Data\CfgVehicles\Land_Tablet_02_F.jpg"; + displayName = "Rugged Tablet"; + scope = 2; + count = 1; + mass = 15; + hiddenSelections[] = {"Camo_1"}; + hiddenSelectionsTextures[] = {"\A3\Structures_F_Heli\Items\Electronics\Data\Tablet_Screen_CO.paa"}; + hiddenSelectionsMaterials[] = {"\A3\Data_F\Lights\Lamp_lcd.rvmat"}; + class Attributes + { + class ObjectTextureCustom0 + { + displayName = "$STR_3den_object_attribute_objecttexturecustom0_displayname"; + tooltip = "$STR_3den_object_attribute_objecttexturecustom_tooltip"; + property = "ObjectTextureCustom0"; + control = "Edit"; + expression = "_this setObjectTextureGlobal [0,_value]"; + defaultValue = "getObjectTextures _this select 0"; + }; + }; + }; + + class Laptop: CA_Magazine + { + author = "Grahame"; + model = "\A3\Structures_F\Items\Electronics\Laptop_F.p3d"; + picture = "\A3\EditorPreviews_F\Data\CfgVehicles\Land_Laptop_F.jpg"; + displayName = "Laptop"; + scope = 2; + count = 1; + mass = 5; + }; + + class Old_Laptop: CA_Magazine + { + author = "Grahame"; + model = "\a3\Props_F_Argo\Items\Electronics\Laptop_02_F.p3d"; + picture = "\A3\EditorPreviews_F_Argo\Data\CfgVehicles\Land_Laptop_02_F.jpg"; + displayName = "Old Laptop"; + scope = 2; + count = 1; + mass = 5; + }; + + class KitWorkbenchLarge: CA_Magazine + { + author = "Grahame"; + model = "\x\addons\a3_epoch_assets_1\models\supply_crate.p3d"; + picture = "\x\addons\a3_epoch_assets_1\pictures\equip_wooden_crate_ca.paa"; + displayName = "Large Workbench"; + scope = 2; + count = 1; + mass = 5; + }; + class KitGenerator: CA_Magazine + { + author = "He-Man/DirtySanchez"; + scope=2; + count = 1; + type = 256; + picture = "\A3\EditorPreviews_F\Data\CfgVehicles\Land_Portable_generator_F.jpg"; + model="\A3\Structures_F\Items\Electronics\Portable_generator_F.p3d"; + displayName = "Portable Generator"; + mass = 200; + }; }; /*[[[end]]]*/