mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-13 19:52:38 +03:00
I did not realize lootPosSmall positions can only fit small objects like soda cans etc., so it is not okay to merge them with the main lootPos arrays. This separates them back out. This solution will work like 1.0.5.1 CfgLootSmall. <GroupName>Small is used to spawn additional loot if the building type has lootPosSmall positions available. It is not necessary to add a <GroupName>Small for types that do not have lootPosSmall positions. Some of these objects may still be too big or too small (knife, binoculars, matchbox, etc.) for the positions and look out of place. If that is the case please submit a pull with any problematic ones removed from the <GroupName>Small groups (check if they aren't in 1051 CfgLootSmall first). Balance and rates may need adjustment as I just took the normal groups and removed large objects from them while trying to keep similar items to 1.0.5.1 CfgLootSmall.
120 lines
3.4 KiB
C++
120 lines
3.4 KiB
C++
class HouseRoaming : Residential
|
|
{
|
|
zombieChance = 0.2;
|
|
maxRoaming = 2;
|
|
};
|
|
|
|
class FarmRoaming : Farm
|
|
{
|
|
zombieChance = 0.4;
|
|
maxRoaming = 2;
|
|
};
|
|
|
|
class Land_Shed_W03 : HouseRoaming {};
|
|
class Land_HouseV_2T1 : HouseRoaming {};
|
|
class Land_HouseV_3I2 : HouseRoaming {};
|
|
class land_housev_3i3: HouseRoaming {
|
|
lootPos[] = {
|
|
{-4.2334,0.291992,-1.47064},{1.10059,-2.99854,-0.790649},{3.53027,-2.34033,-1.74265}
|
|
};
|
|
lootPosSmall[] = {
|
|
{-4.85645,0.550293,-0.340637},{2.21289,0.783691,-0.160645},{-0.833008,0.554199,-0.620636},{1.79785,-2.99902,-1.09064},{5.06055,-2.68164,-1.56265}
|
|
};
|
|
zedPos[] = {{-4.18457,-1.68164,-0.525635},{0.419922,-1.00781,-0.525635},{4.35059,-1.37939,-0.98764}};
|
|
};
|
|
class Land_HouseBlock_A1_2 : HouseRoaming {};
|
|
class Land_HouseBlock_A2 : HouseRoaming {};
|
|
class Land_HouseBlock_B1 : HouseRoaming {};
|
|
class Land_HouseBlock_B2 : HouseRoaming {};
|
|
class Land_HouseBlock_B3: HouseRoaming {
|
|
zedPos[] = {{0.878418,5.69189,-6.38459}};
|
|
lootPosSmall[] = {{2.4126,5.16846,-6.94959}};
|
|
};
|
|
class Land_HouseBlock_B4: HouseRoaming{
|
|
zedPos[] = {{0.0595703,-5.58252,-6.69312},{-1.1543,5.55225,-6.74633}};
|
|
lootPosSmall[] = {{-0.0693359,4.82227,-7.28133}};
|
|
};
|
|
class Land_HouseBlock_C2 : HouseRoaming {};
|
|
class Land_HouseBlock_C3 : HouseRoaming {};
|
|
class Land_HouseBlock_C4 : HouseRoaming {};
|
|
class Land_HouseBlock_C5 : HouseRoaming {};
|
|
class Land_Misc_Cargo1D : HouseRoaming {};
|
|
class Land_Ind_Shed_01_end : HouseRoaming {};
|
|
|
|
class Land_A_statue01 : HouseRoaming
|
|
{
|
|
zombieClass[] =
|
|
{
|
|
"zZombie_Base",
|
|
"zZombie_Base",
|
|
"z_teacher",
|
|
"z_suit1",
|
|
"z_suit2",
|
|
"z_soldier",
|
|
"z_soldier_heavy",
|
|
"z_policeman"
|
|
};
|
|
minRoaming = 2;
|
|
maxRoaming = 8;
|
|
};
|
|
|
|
class GraveCross1 : HouseRoaming {};
|
|
class GraveCross2 : HouseRoaming {};
|
|
|
|
class Grave : HouseRoaming
|
|
{
|
|
maxRoaming = 3;
|
|
};
|
|
|
|
class GraveCrossHelmet : Military
|
|
{
|
|
maxRoaming = 4;
|
|
};
|
|
|
|
class Land_Dam_Conc_20 : HouseRoaming
|
|
{
|
|
//lootPos[] = {{5.75,1.14,9.1},{3.11,1.22,9.09},{-4.22,9.19,9.11}};
|
|
zedPos[] = {{3.11,1.22,9.09},{5.75,1.14,9.1},{-4.22,9.19,9.11}};
|
|
lootChance = 0.4;
|
|
};
|
|
|
|
class Land_Misc_Scaffolding : HouseRoaming
|
|
{
|
|
//lootPos[] = {{0.43,6.92,0.45},{-0.16,-0.47,3.41},{-0.14,7.64,3.39},{-0.03,3.1,0.45}};
|
|
zedPos[] = {{-0.03,3.1,0.45},{0.43,6.92,0.45}};
|
|
};
|
|
// DAYZ AMP More buildings (DZE ADDED)
|
|
class Land_Shed_W02_EP1: FarmRoaming{};
|
|
class Land_MBG_ApartmentsOne_W: HouseRoaming{};
|
|
class Land_MBG_ApartmentsTwo_P: HouseRoaming{};
|
|
class Land_MBG_ApartmentsTwo_G: HouseRoaming{};
|
|
class Land_MBG_ApartmentsTwo_B: HouseRoaming{};
|
|
class Mass_grave_DZ: HouseRoaming {
|
|
zombieClass[] = {"zZombie_Base","z_hunter","z_hunter","z_hunter","z_villager1","z_villager2","z_villager3","z_doctor","z_soldier_pilot","z_soldier_heavy"};
|
|
minRoaming = 8;
|
|
maxRoaming = 16;
|
|
lootChance = 1;
|
|
zombieChance = 1;
|
|
};
|
|
class Land_dum_olez_istan2: HouseRoaming{};
|
|
class Land_dum_olez_istan2_maly2: HouseRoaming{
|
|
zedPos[] = {{-2.71582,-4.86133,-1.62356},{-2.76074,4.94531,-1.62356}};
|
|
};
|
|
class land_smd_dum02: HouseRoaming{
|
|
zedPos[] = {{4.37305,1.68701,-2.7265},{-4.50977,1.54443,-3.41202}};
|
|
};
|
|
class land_dum_mesto: HouseRoaming{
|
|
zedPos[] = {{-5.11328,-6.34717,-3.93972}};
|
|
};
|
|
class land_deutshe: HouseRoaming{
|
|
zedPos[] = {{1.72949,4.62207,-3.0957},{1.69336,-4.75,-3.78851}};
|
|
};
|
|
class land_stanice: HouseRoaming{
|
|
zedPos[] = {{-1.18945,4.63867,-1.83241}};
|
|
};
|
|
class land_smd_dum_mesto3_istan: HouseRoaming {
|
|
zedPos[] = {{5.8457,-0.0634766,-2.34898},{-6.13281,0.0458984,-2.34898}};
|
|
};
|
|
class land_dum_mesto3_istan: HouseRoaming{};
|
|
class land_dum_istan2_03a: HouseRoaming{};
|