mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-20 18:36:29 +03:00
Only spawn small loot in lootPosSmall positions
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.
This commit is contained in:
@@ -31,8 +31,10 @@ class Land_Ind_Workshop01_01 : Industrial
|
||||
{-0.661621,-0.498047,-1.29883},
|
||||
*/
|
||||
{1.31201,-2.71387,-1.29234},
|
||||
{-0.819336,0.449219,-1.29946},
|
||||
//DZE EXTRA
|
||||
{-0.819336,0.449219,-1.29946}
|
||||
};
|
||||
lootPosSmall[] =
|
||||
{
|
||||
{1.81372,-3.33643,-0.714019},
|
||||
{1.92627,-1.69531,-1.29493},
|
||||
{-1.19482,2.00977,-0.22825},
|
||||
@@ -59,8 +61,10 @@ class Land_Ind_Garage01 : Industrial
|
||||
*/
|
||||
{1.73755,2.71973,-1.24332},
|
||||
{-0.880371,-1.9082,-1.23318},
|
||||
{0.607178,3.2373,-1.23157},
|
||||
//DZE EXTRA
|
||||
{0.607178,3.2373,-1.23157}
|
||||
};
|
||||
lootPosSmall[] =
|
||||
{
|
||||
{2.9375,2.47754,-1.12036},
|
||||
{2.8606,3.33398,-1.12131},
|
||||
{1.35205,3.58398,-0.0119934},
|
||||
@@ -84,8 +88,10 @@ class Land_Ind_Workshop01_02 : Industrial
|
||||
{-0.661377,1.10352,-1.42688},
|
||||
*/
|
||||
{1.47144,-0.825195,-1.42987},
|
||||
{-1.29663,-0.373047,-1.42896},
|
||||
//DZE EXTRA
|
||||
{-1.29663,-0.373047,-1.42896}
|
||||
};
|
||||
lootPosSmall[] =
|
||||
{
|
||||
{1.65283,1.66846,-1.42742},
|
||||
{-1.75757,-1.08887,-1.43804}
|
||||
};
|
||||
@@ -116,8 +122,10 @@ class Land_Ind_Workshop01_04 : Industrial
|
||||
*/
|
||||
{-1.62207,-6.37305,-1.52724},
|
||||
{-0.118408,-3.88281,-1.52788},
|
||||
{-1.01611,2.13428,-1.53099},
|
||||
//DZE EXTRA
|
||||
{-1.01611,2.13428,-1.53099}
|
||||
};
|
||||
lootPosSmall[] =
|
||||
{
|
||||
{-1.3833,-3.02734,-0.298156},
|
||||
{-1.9519,-3.37891,-1.52803},
|
||||
{1.60425,4.75244,-1.52979},
|
||||
@@ -153,8 +161,10 @@ class Land_Ind_Workshop01_L : Industrial
|
||||
*/
|
||||
{3.89063,-4.09888,-1.31299},
|
||||
{1.80273,-1.88599,-1.31412},
|
||||
{-0.928223,4.50635,-1.31364},
|
||||
//DZE EXTRA
|
||||
{-0.928223,4.50635,-1.31364}
|
||||
};
|
||||
lootPosSmall[] =
|
||||
{
|
||||
{0.62793,-1.49097,-1.23395},
|
||||
{0.805664,-1.45605,-0.0939465},
|
||||
{4.56055,-5.29443,-1.31279},
|
||||
@@ -191,8 +201,10 @@ class Land_Hangar_2 : Industrial
|
||||
{0.291992,3.94775,-2.56318},
|
||||
{8.94482,6.87793,-2.56318},
|
||||
{-13.688,-4.67871,-2.56318},
|
||||
{3.4248,-8.1499,-2.56318},
|
||||
//DZE EXTRA
|
||||
{3.4248,-8.1499,-2.56318}
|
||||
};
|
||||
lootPosSmall[] =
|
||||
{
|
||||
{-14.3721,11.1743,-2.56319},
|
||||
{-0.0571289,5.94385,-2.56319},
|
||||
{11.751,11.3525,-2.56319},
|
||||
@@ -221,8 +233,10 @@ class Land_A_FuelStation_Build : Industrial
|
||||
{1.67871,-0.918945,-1.57458},
|
||||
{-1.23218,1.26758,-1.57458},
|
||||
*/
|
||||
{1.88281,-0.879639,-1.57458},
|
||||
//DZE EXTRA
|
||||
{1.88281,-0.879639,-1.57458}
|
||||
};
|
||||
lootPosSmall[] =
|
||||
{
|
||||
{-1.92578,0.237061,-0.604466},
|
||||
{-1.38672,0.592651,-1.09459}
|
||||
};
|
||||
@@ -250,8 +264,10 @@ class Land_Shed_Ind02 : Industrial
|
||||
{3.39893,9.21875,-4.67596},
|
||||
{1.29541,0.227539,-4.67596},
|
||||
{-0.458984,11.6934,-1.28638},
|
||||
{-4.00879,-8.42773,-1.29721},
|
||||
//DZE EXTRA
|
||||
{-4.00879,-8.42773,-1.29721}
|
||||
};
|
||||
lootPosSmall[] =
|
||||
{
|
||||
{-3.66064,-0.253906,-4.66599},
|
||||
{4.44873,9.92578,-4.66599},
|
||||
{-0.209961,-0.124023,-4.66599},
|
||||
@@ -274,8 +290,10 @@ class Land_Misc_PowerStation : Industrial
|
||||
{4.22803,-1.19922,-1.28812},
|
||||
*/
|
||||
{2.98767,-5.02051,1.54777},
|
||||
{3.67371,5.62207,-2.04407},
|
||||
//DZE EXTRA
|
||||
{3.67371,5.62207,-2.04407}
|
||||
};
|
||||
lootPosSmall[] =
|
||||
{
|
||||
{4.92017,6.24707,-1.26179},
|
||||
{1.62573,-6.4541,-1.13445},
|
||||
{1.33667,-6.37207,-0.374413},
|
||||
@@ -387,8 +405,10 @@ class Land_Tovarna2 : Industrial
|
||||
{-12.8635,1.78174,-5.61933},
|
||||
{-3.19507,-8.49707,-5.63091},
|
||||
{6.43872,-3.48145,-4.62884},
|
||||
{9.97998,-2.35059,-4.62604},
|
||||
//DZE EXTRA
|
||||
{9.97998,-2.35059,-4.62604}
|
||||
};
|
||||
lootPosSmall[] =
|
||||
{
|
||||
{-3.22974,9.69678,1.56174},
|
||||
{-10.2683,8.87354,1.58661},
|
||||
{-13.2981,7.09912,-2.31135},
|
||||
@@ -440,8 +460,10 @@ class Land_Ind_Vysypka : Industrial
|
||||
{1.88208,6.03809,-4.97856},
|
||||
{-8.42188,10.0103,-4.97909},
|
||||
{1.21948,13.2168,-4.97966},
|
||||
{-7.09595,26.0376,-4.99675},
|
||||
//DZE EXTRA
|
||||
{-7.09595,26.0376,-4.99675}
|
||||
};
|
||||
lootPosSmall[] =
|
||||
{
|
||||
{2.5459,-16.5952,-4.97639},
|
||||
{-8.72485,-22.1318,-4.97806}
|
||||
};
|
||||
@@ -546,8 +568,10 @@ class Land_A_BuildingWIP : Industrial
|
||||
{-17.7314,1.81299,-2.53182},
|
||||
{2.94116,6.97754,1.47579},
|
||||
{-9.39014,-9.62451,1.47428},
|
||||
{-24.1311,9.47656,5.46242},
|
||||
//DZE EXTRA
|
||||
{-24.1311,9.47656,5.46242}
|
||||
};
|
||||
lootPosSmall[] =
|
||||
{
|
||||
{-10.4377,-8.03418,-6.54007},
|
||||
{-15.9675,-6.70959,-6.54014},
|
||||
{-15.8289,7.37451,-6.46946},
|
||||
@@ -636,8 +660,10 @@ class Land_Rail_House_01 : Industrial
|
||||
{-1.82178,3.10938,-1.28265},
|
||||
{0.487793,3.38867,-1.28265},
|
||||
*/
|
||||
{-2.35864,3.04199,-1.28266},
|
||||
//DZE EXTRA
|
||||
{-2.35864,3.04199,-1.28266}
|
||||
};
|
||||
lootPosSmall[] =
|
||||
{
|
||||
{3.13745,3.62549,-1.28266}
|
||||
};
|
||||
};
|
||||
@@ -672,8 +698,10 @@ class Land_Barn_Metal : Industrial
|
||||
{-8.18506,19.9023,-5.44214},
|
||||
{4.70117,17.2849,-5.44214},
|
||||
{1.31738,-7.94946,-5.44214},
|
||||
{-7.74316,-20.5955,-5.44214},
|
||||
//DZE EXTRA
|
||||
{-7.74316,-20.5955,-5.44214}
|
||||
};
|
||||
lootPosSmall[] =
|
||||
{
|
||||
{10.5313,22.6777,5.58788},
|
||||
{-9.65137,1.55225,5.58788},
|
||||
{-9.48535,-25.0022,5.58788},
|
||||
@@ -710,8 +738,10 @@ class Land_Ind_Expedice_1 : Industrial
|
||||
{-6.21045,-7.65479,-3.48673},
|
||||
{0.0634766,-0.0908203,-5.68389},
|
||||
{-2.59351,18.4795,-5.68389},
|
||||
{-1.85474,13.1089,-3.48673},
|
||||
//DZE EXTRA
|
||||
{-1.85474,13.1089,-3.48673}
|
||||
};
|
||||
lootPosSmall[] =
|
||||
{
|
||||
{6.71289,-18.1563,-5.75725},
|
||||
{-9.12036,-17.6846,-3.48673},
|
||||
{-7.7959,-8.31201,-3.48673},
|
||||
@@ -846,12 +876,8 @@ class Land_Shed_M02 : Industrial
|
||||
{-0.0136719,-1.44629,-1.54199}
|
||||
};
|
||||
lootChance = 0.2;
|
||||
lootPos[] =
|
||||
{
|
||||
//{-0.0136719,-1.44629,-1.54199},
|
||||
{1.00586,0.0698242,-1.01666},
|
||||
{-0.931641,0.0825195,-1.01755}
|
||||
};
|
||||
//lootPos[] = {{-0.0136719,-1.44629,-1.54199}};
|
||||
lootPosSmall[] = {{1.00586,0.0698242,-1.01666},{-0.931641,0.0825195,-1.01755}};
|
||||
};
|
||||
|
||||
class Fort_Barricade : Industrial
|
||||
@@ -988,8 +1014,10 @@ class Land_sara_hasic_zbroj : Industrial
|
||||
*/
|
||||
{5.92285,1.35645,-2.66287},
|
||||
{0.00878906,-1.37549,-2.66287},
|
||||
{-1.82715,1.93066,-2.66287},
|
||||
//DZE EXTRA
|
||||
{-1.82715,1.93066,-2.66287}
|
||||
};
|
||||
lootPosSmall[] =
|
||||
{
|
||||
{6.81348,-2.16846,-2.66287},
|
||||
{-3.30176,-2.49121,-2.67287}
|
||||
};
|
||||
@@ -1110,8 +1138,9 @@ class land_dum_istan2_02: Industrial
|
||||
class LAND_garaz_bez_tanku: Industrial
|
||||
{
|
||||
lootPos[] = {
|
||||
{-2.98047,0.0463867,3.41651},
|
||||
//DZE EXTRA
|
||||
{-2.98047,0.0463867,3.41651}
|
||||
};
|
||||
lootPosSmall[] = {
|
||||
{-1.36499,-0.579102,3.42651}
|
||||
};
|
||||
zedPos[] = {{-5.14404,-2.02295,-1.71924},{4.92676,-2.67383,-1.71924}};
|
||||
@@ -1138,8 +1167,9 @@ class Land_tovarna1: Industrial
|
||||
class Land_Ind_Garage01_EP1: Industrial
|
||||
{
|
||||
lootPos[] = {
|
||||
{1.65088,2.49048,-1.23114},
|
||||
//DZE EXTRA
|
||||
{1.65088,2.49048,-1.23114}
|
||||
};
|
||||
lootPosSmall[] = {
|
||||
{2.89014,2.49634,-1.12063},
|
||||
{2.84814,3.43677,-1.12102},
|
||||
{1.39063,3.59766,-0.391855},
|
||||
@@ -1152,8 +1182,9 @@ class Land_Ind_Garage01_EP1: Industrial
|
||||
class land_mbg_garage_single_b: Industrial {
|
||||
lootPos[] = {
|
||||
{2.54492,3.97607,-1.03899},
|
||||
{4.13672,-0.0625,-1.03899},
|
||||
//DZE EXTRA
|
||||
{4.13672,-0.0625,-1.03899}
|
||||
};
|
||||
lootPosSmall[] = {
|
||||
{4.50586,2.56982,-1.03899}
|
||||
};
|
||||
zedPos[] = {{2.96094,6.3374,-0.133815}};
|
||||
@@ -1161,8 +1192,9 @@ class land_mbg_garage_single_b: Industrial {
|
||||
class Land_House_C_12_EP1: Industrial
|
||||
{
|
||||
lootPos[] = {
|
||||
{-3.27197,-1.5813,-3.50101},{-2.09863,-6.13086,-3.52102},{-2.979,-8.6936,0.141808},{-2.66602,-3.0437,0.139957},{5.91016,-3.59204,0.132626},{2.33154,-1.00244,-3.51937},
|
||||
//DZE EXTRA
|
||||
{-3.27197,-1.5813,-3.50101},{-2.09863,-6.13086,-3.52102},{-2.979,-8.6936,0.141808},{-2.66602,-3.0437,0.139957},{5.91016,-3.59204,0.132626},{2.33154,-1.00244,-3.51937}
|
||||
};
|
||||
lootPosSmall[] = {
|
||||
{-4.03857,-2.06226,-2.43102},{-4.02344,-1.44019,-3.11102},{-3.55371,-0.618164,-3.29102},{7.38184,0.690674,-3.12101},{-2.99268,-6.54883,3.45573},{7.58105,-2.40894,0.112629},{-1.79004,-3.58325,0.128376},{-2.05713,-9.00806,0.150394}
|
||||
};
|
||||
zedPos[] = {{2.11182,-8.16724,1.00763},{1.85498,-3.48828,-2.63601},{-2.74854,0.133301,-2.63601},{2.65674,-5.69165,-2.63601},{-2.60742,-7.35913,1.0174}};
|
||||
@@ -1192,8 +1224,9 @@ class Land_Ind_PowerStation_EP1: Industrial {
|
||||
};
|
||||
class land_repair_center: Industrial {
|
||||
lootPos[] = {
|
||||
{0.327148,1.65479,-2.37888},{-2.35547,-0.163574,-1.71927},{-2.41016,4.45654,-1.71927},
|
||||
//DZE EXTRA
|
||||
{0.327148,1.65479,-2.37888},{-2.35547,-0.163574,-1.71927},{-2.41016,4.45654,-1.71927}
|
||||
};
|
||||
lootPosSmall[] = {
|
||||
{1.80469,2.01709,-1.6489},{1.60352,4.57178,-0.862885},{0.771484,4.55713,-0.48288},{1.56348,4.50439,-1.24289}
|
||||
};
|
||||
zedPos[] = {{0.982422,-0.634277,-1.51389}};
|
||||
@@ -1202,7 +1235,7 @@ class land_repair_center: Industrial {
|
||||
class Land_Ind_TankBig: Industrial
|
||||
{
|
||||
lootChance = 0.1;
|
||||
lootPos[] = {{-1.2981,3.27441,5.34628},{3.49609,-3.02539,5.34628}};
|
||||
lootPosSmall[] = {{-1.2981,3.27441,5.34628},{3.49609,-3.02539,5.34628}};
|
||||
};
|
||||
class Land_Ind_Coltan_Main_EP1: Industrial {
|
||||
lootPos[] = {{4.57178,-9.46716,2.36833},{-3.41223,16.6705,-6.38571},{-2.18005,4.8584,-6.33167},{-1.8158,7.86523,-6.33167},{6.59717,16.1372,0.928326},{7.28076,16.1573,4.84833}};
|
||||
|
||||
Reference in New Issue
Block a user