More Livonia Building Loot

This commit is contained in:
He-Man 2019-07-16 23:33:51 +02:00
parent 17623a9801
commit 03dbe1ec0b
2 changed files with 118 additions and 2 deletions

View File

@ -5599,6 +5599,7 @@ class CfgBuildingLootPos
tablePos[] = {{{-1.74365,4.18774,-1.14809},-89.8201}};
freezerPos[] = {{{0.625977,4.88916,-1.20992},0.178787}};
};
class Land_Workshop_04_F : Land_Workshop_04_grey_F {};
class Land_VillageStore_01_F : Default
{
freezerPos[] = {{{6.79028,4.87305,-1.84027},-0.881443}};
@ -5637,6 +5638,7 @@ class CfgBuildingLootPos
};
class Land_Church_04_yellow_F : Land_Church_04_red_F {};
class Land_Church_04_white_red_F : Land_Church_04_red_F {};
class Land_Church_04_small_white_F : Land_Church_04_red_F {};
class Land_GuardBox_01_brown_F : Default
{
toiletPos[] = {{{0.520508,-1.46533,-0.867691},134.262}};
@ -5712,6 +5714,7 @@ class CfgBuildingLootPos
shelfPos[] = {{{2.13135,0.059082,-1.24338},0.245869}};
kitchenSinkPos[] = {{{4.12231,-3.72803,-1.24069},180.246}};
};
class Land_Workshop_05_grey_F : Land_Workshop_05_F {};
class Land_Cowshed_01_B_F : Default
{
palletPos[] = {{{-10.5615,-1.86426,-3.09298},-235.172},{{10.3689,1.96289,-3.09298},-235.172}};
@ -5879,6 +5882,120 @@ class CfgBuildingLootPos
palletPos[] = {{{3.75928,-1.27588,1.23781},325.104}};
cabinetPos[] = {{{-1.0752,0.0302734,-1.0225},0.604628}};
};
class Land_DeerStand_02_F : Default
{
shoeboxPos[] = {{{-0.896973,-2.44574,0.913559},40.3256}};
tablePos[] = {{{0.841797,-1.71057,0.913559},90.8252}};
cabinetPos[] = {{{-0.0998535,-2.72882,1.6136},270.326}};
filingPos[] = {{{0.0373535,-0.813416,0.913574},8.38382}};
};
class Land_DPP_01_mainFactory_old_F : Land_DPP_01_mainFactory_F {};
class Land_House_1W12_F : Default
{
bedPos[] = {{{3.93481,-5.5625,-2.51158},0.435066}};
wardrobePos[] = {{{2.34229,-4.5293,-2.51157},-0.0650311}};
couchPos[] = {{{0.430908,-7.41309,-2.51156},180.433}};
tablePos[] = {{{3.11792,-8.34375,-2.51157},179.935},{{5.104,-3.47363,-2.51156},179.935}};
kitchenSinkPos[] = {{{3.19604,-0.246094,-2.51156},0.434435}};
cookerPos[] = {{{4.46753,-0.285156,-2.51159},-0.0655537}};
fridgePos[] = {{{5.34595,-0.238281,-2.51156},-0.0655537}};
shelfPos[] = {{{8.20947,-3.2002,-2.51156},89.9348}};
filingPos[] = {{{5.52051,3.5625,-2.51156},317.935}};
shoeboxPos[] = {{{5.57495,0.945313,-2.51156},43.9344}};
cabinetPos[] = {{{2.48828,-1.38477,-1.11147},0.435066}};
};
class Land_Radar_01_kitchen_F : Default
{
filingPos[] = {{{-7.39111,6.64453,-3.95175},266.547}};
lockerPos[] = {{{7.86035,6.63672,-3.95175},89.5467}};
tablePos[] = {{{3.77295,-1.2793,-3.95175},178.047}};
toiletPos[] = {{{6.23438,-6.13379,-3.95175},270.54},{{5.3042,-7.45117,-3.95177},90.5453}};
shelfPos[] = {{{-2.70459,-1.54688,-3.95175},179.047}};
couchPos[] = {{{-6.53857,11.8789,-3.95175},181.547}};
pelicanPos[] = {{{-3.88721,14.2256,-3.95175},34.547}};
shoeboxPos[] = {{{5.25684,11.2539,-3.95175},-47.9528}};
kitchenSinkPos[] = {{{-3.24121,-5.50098,-3.95175},89.546}};
toolRackPos[] = {{{6.61963,12.1797,-4.05176},1.04707}};
palletPos[] = {{{0.132324,3.66113,-3.95175},-47.9528}};
cabinetPos[] = {{{-0.236816,12.0449,-2.70168},90.0467}};
};
class Land_House_1W03_F : Default
{
couchPos[] = {{{-0.76001,1.29492,-2.32535},-0.189102}};
kitchenSinkPos[] = {{{-3.09741,4.31055,-2.32535},0.316422}};
fridgePos[] = {{{-1.80664,4.30762,-2.32535},0.849014}};
cabinetPos[] = {{{-0.857422,-2.00098,-1.12527},-90.1892}};
tablePos[] = {{{-3.51611,0.738281,-2.32535},-90.1786}};
bedPos[] = {{{1.50342,-3.87793,-2.32539},0.311554}};
wardrobePos[] = {{{1.44336,-7.9873,-2.32535},-179.664}};
chairPos[] = {{{-3.30371,-7.6543,-2.32533},-138.701}};
filingPos[] = {{{-1.53369,-8.08496,-2.32535},-179.649}};
shoeboxPos[] = {{{-0.870605,-5.82422,-2.32535},-57.6647}};
shelfPos[] = {{{-3.83716,-5.22559,-2.32535},-90.1894}};
};
class Land_House_2B03_F : Default
{
bedPos[] = {{{1.86328,-2.61621,-2.21303},1.59668}};
wardrobePos[] = {{{-2.46484,-5.36987,-2.21303},-89.9033}};
couchPos[] = {{{-0.20166,-6.50928,-2.21303},-269.904}};
chairPos[] = {{{-2.07178,-1.86426,-2.21303},-46.9034}};
shoeboxPos[] = {{{1.43701,-5.35718,-2.21303},-52.4033}};
palletPos[] = {{{0.60791,3.18872,-2.21303},-329.903}};
toolRackPos[] = {{{2.61963,6.29761,-5.66862},0.0966187}};
lockerPos[] = {{{3.55908,0.46167,-5.46861},-269.403}};
cabinetPos[] = {{{1.18604,6.97998,-4.2059},-178.904}};
tablePos[] = {{{-3.60791,2.69702,-5.46861},-90.403}};
pelicanPos[] = {{{0.276367,7.26123,-5.50598},-0.403381}};
};
class Land_Barracks_05_F : Default
{
filingPos[] = {{{-1.51025,-2.98779,-1.90714},-131.369},{{-5.12256,0.363281,-1.90713},47.1315}};
pelicanPos[] = {{{1.67578,-2.33447,-1.90713},141.132}};
tablePos[] = {{{2.4541,-0.556152,-1.90712},90.6328},{{-6.89355,-2.87793,-1.90713},-181.37}};
toolRackPos[] = {{{-2.11328,-1.77979,-2.35715},89.6317}};
lockerPos[] = {{{-9.21191,-2.37988,-1.90713},-89.8704}};
shelfPos[] = {{{-4.79102,-2.03467,-1.90713},89.6299}};
cabinetPos[] = {{{3.24902,-0.102051,-0.5811},0.132095}};
freezerPos[] = {{{-3.40234,-2.90918,-1.90714},-179.368}};
};
class Land_HouseRuin_Big_01_half_F : Default
{
shelfPos[] = {{{-1.97949,-7.73999,-0.61953},180.202}};
couchPos[] = {{{0.330078,-6.82983,-0.605919},89.7021}};
palletPos[] = {{{0.654297,-0.979004,-0.61953},245.201}};
shoeboxPos[] = {{{-2.52734,7.0188,-0.641991},124.18}};
toolRackPos[] = {{{0.308594,3.39526,-1.11288},179.701}};
tablePos[] = {{{-3.15137,-3.96606,-0.603508},-89.7984}};
cabinetPos[] = {{{-1.35156,2.89185,0.830559},90.7011}};
};
class Land_IndustrialShed_01_F : Default
{
pelicanPos[] = {{{-3.73022,-9.72266,-1.33955},-179.865}};
palletPos[] = {{{0.201172,4.75293,-4.62936},-215.364},{{0.32959,-4.02051,-4.62936},-215.359}};
couchPos[] = {{{2.97168,9.01367,-4.62936},-89.8639}};
filingPos[] = {{{4.8252,3.73926,-4.62936},89.1364}};
chairPos[] = {{{-3.42993,1.50098,-4.62936},-90.3639}};
tablePos[] = {{{4.66479,-1.73584,-4.62936},90.1365}};
shoeboxPos[] = {{{-3.23926,-7.21191,-4.62935},65.1365}};
};
class Land_Rail_Warehouse_Small_F : Default
{
toolRackPos[] = {{{0.867188,3.06445,-1.65653},-0.343735}};
lockerPos[] = {{{7.3584,0.245361,-1.35654},89.656}};
palletPos[] = {{{2.38965,0.318604,-1.35654},-156.844}};
tablePos[] = {{{-0.176758,-2.16089,-1.35654},180.156}};
shelfPos[] = {{{5.58984,-2.4458,-1.35654},179.156}};
filingPos[] = {{{-1.60449,2.63892,-1.35654},-42.3443}};
shoeboxPos[] = {{{6.16895,2.22461,-1.35654},-156.844}};
};
class Land_GarageRow_01_small_F : Default
{
toolRackPos[] = {{{-2.32227,-4.56543,-1.79257},-89.9662}};
lockerPos[] = {{{1.98633,-0.851563,-1.54532},90.034}};
tablePos[] = {{{-1.92578,0.344971,-1.54256},-90.4661}};
palletPos[] = {{{0.143555,-1.85425,-1.54256},-138.466}};
pelicanPos[] = {{{1.07861,0.757813,-1.59256},132.034}};
};
};
/*[[[end]]]*/

View File

@ -134,7 +134,7 @@ if (isnil "LootMarkersPositions" && isnil "LootMarkers") then {
Itemarray = ["toilet_epoch","Shelf_EPOCH","Fridge_EPOCH","Bunk_EPOCH","Couch_EPOCH","wardrobe_epoch","cooker_epoch","ChairRed_EPOCH","Filing_epoch","Pelican_EPOCH","Table_EPOCH","Locker_EPOCH","ToolRack_EPOCH","Shoebox_EPOCH","Tarp_EPOCH","Freezer_EPOCH","Cabinet_EPOCH","KitchenSink_epoch"];
Skipbuildings = ["Land_Mil_Barracks_L","Land_Mil_Guardhouse","Land_Mil_ControlTower_ruins","Land_Mil_ControlTower","Land_Mil_Barracks","Land_Mil_House","Land_SS_hangar","Land_a_stationhouse","Land_Misc_WaterStation","Land_HouseV_3I4","Land_HouseV_3I3","Land_HouseV_3I2","Land_HouseV_3I1","Land_HouseV_2T2","Land_HouseV_2T1","Land_HouseV_2L","Land_HouseV_2I","Land_HouseV_1t","Land_HouseV_1L2","Land_Church_04_small_red_damaged_F","Land_Slum_House01_ruins_F","Land_HighVoltageEnd_F","Land_WaterTower_02_F"];
Skipbuildings = ["Land_Mil_Barracks_L","Land_Mil_Guardhouse","Land_Mil_ControlTower_ruins","Land_Mil_ControlTower","Land_Mil_Barracks","Land_Mil_House","Land_SS_hangar","Land_a_stationhouse","Land_Misc_WaterStation","Land_HouseV_3I4","Land_HouseV_3I3","Land_HouseV_3I2","Land_HouseV_3I1","Land_HouseV_2T2","Land_HouseV_2T1","Land_HouseV_2L","Land_HouseV_2I","Land_HouseV_1t","Land_HouseV_1L2","Land_Church_04_small_red_damaged_F","Land_Slum_House01_ruins_F","Land_HighVoltageEnd_F","Land_WaterTower_02_F","Land_Shed_05_ruins_F"];
ItemArrayCount = count Itemarray;
SkippedBuildings = [];
Item = objNull;
@ -359,7 +359,6 @@ player allowdamage false;
case 0x57: {
if (count LootMarkersPositions > 0) then {
_idx = round (random ((count LootMarkersPositions)-1));
systemchat format ["Index = %1",_idx];
player setpos (LootMarkersPositions select _idx);
Building = (nearestObjects [player, [LootMarkers select _idx],200]) param [0,objnull];
if !(isnull Building) then {