diff --git a/Sources/epoch_config/Configs/CfgMarkerSets.hpp b/Sources/epoch_config/Configs/CfgMarkerSets.hpp index 5a95f757..e2dc6371 100644 --- a/Sources/epoch_config/Configs/CfgMarkerSets.hpp +++ b/Sources/epoch_config/Configs/CfgMarkerSets.hpp @@ -209,4 +209,11 @@ class CfgMarkerSets {"","ICON","","ColorGreen",0.2,{0.8,0.8}} }; }; + class HeliCrash { + markerArray[] = { + {"","ICON","EpochActive_Circle","ColorOrange",1,{0.6,0.6}}, + {"","ICON","EpochBG_Circle","ColorWhite",0.15,{0.6,0.6}}, + {"","ICON","EpochHeli2","ColorOrange",1,{0.5,0.5}} + }; + }; }; diff --git a/Sources/epoch_server_settings/config.cpp b/Sources/epoch_server_settings/config.cpp index 0cffb63f..e1100b1d 100644 --- a/Sources/epoch_server_settings/config.cpp +++ b/Sources/epoch_server_settings/config.cpp @@ -166,6 +166,17 @@ class CfgEpoch satelliteCompromisedColor = "ColorRed"; availableSatellites[] = {"Land_Wreck_Satellite_EPOCH"}; + // HeliCrashes and Loot Box Spawner + HeliCrashesEnabled = 1; // 0 = OFF + debugHeliCrashes = 0; // 1 = ON + showHeliCrashMarkers = 1; + maxSpawnedHeliCrashes = 4; + distFromOtherHeliCrashes = 2000; + heliCrashDecayMarkerColor = "ColorBrown"; // decay changes icon (_markers select 2) + heliCrashCompromisedColor = "ColorRed"; // compromised changes active surround (_markers select 0) + availableHeliCrashes[] = {"Land_Wreck_Heli_Attack_01_F","Land_Wreck_Heli_Attack_02_F"}; + heliCrashCustomLocs[] = {}; + propsPos[] = { // Will accept several variations of this entry to place objects on the map // _className - STRING - Class name of the object to spawn diff --git a/Sources/epoch_server_settings/configs/CfgLootTable.h b/Sources/epoch_server_settings/configs/CfgLootTable.h index e3c4a8ec..2b3c94a8 100644 --- a/Sources/epoch_server_settings/configs/CfgLootTable.h +++ b/Sources/epoch_server_settings/configs/CfgLootTable.h @@ -801,6 +801,20 @@ class CfgLootTable { { "PartOreSilver", "magazine" }, 13 } }; }; + + class HeliCrash + { + items[] = { + { { "Medical", "CfgLootTable" }, 5 }, + { { "Food", "CfgLootTable" }, 26 }, + { { "Backpack", "CfgLootTable" }, 10 }, + { { "Uniforms", "CfgLootTable" }, 13 }, + { { "Explosives", "CfgLootTable" }, 10 }, + { { "Hand", "CfgLootTable" }, 10 }, + { { "Vests", "CfgLootTable" }, 10 } + } + }; + class MetalBars { items[] = { diff --git a/Sources/epoch_server_settings/configs/CfgMainTable.h b/Sources/epoch_server_settings/configs/CfgMainTable.h index 43cf201f..0c9c6153 100644 --- a/Sources/epoch_server_settings/configs/CfgMainTable.h +++ b/Sources/epoch_server_settings/configs/CfgMainTable.h @@ -259,6 +259,12 @@ class CfgMainTable LootMax = 6; tables[] = { "Shipwreck" }; }; + class container_helicrash_epoch : Default + { + lootMin = 6; + LootMax = 10; + tables[] = { "HeliCrash" }; + }; class MineralDepositCopper_EPOCH : Default { lootMin = 5;