mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2026-02-25 01:20:49 +03:00
Remove some more glitched map objects
Vanilla commits:db5aa2063c88458846e91ec13bdfd0
This commit is contained in:
@@ -316,13 +316,8 @@ class Land_Misc_PowerStation : Industrial
|
||||
|
||||
class Land_Shed_W01 : Industrial
|
||||
{
|
||||
zedPos[] =
|
||||
{
|
||||
{-1.52832,-0.249023,-1.41138}
|
||||
};
|
||||
lootPos[] =
|
||||
{
|
||||
//{-1.52832,-0.249023,-1.41138}
|
||||
{-1.46289,-0.12207,-1.41129}
|
||||
};
|
||||
};
|
||||
|
||||
@@ -4346,21 +4346,13 @@ class Berezino {
|
||||
class Object173 { type = "Rubbish1"; position[] = {11978, 9090.7, 0}; direction = 264; onFire = 0; };
|
||||
class Object174 { type = "Body"; position[] = {11981, 9141.68, 0}; direction = 130; onFire = 0; };
|
||||
class Object175 { type = "Body2"; position[] = {12000.9, 9066, 0}; direction = 330; onFire = 0; };
|
||||
class Object176 { type = "Land_BagFenceLong"; position[] = {11989.1, 9154.88, 0}; direction = 312; onFire = 0; };
|
||||
class Object177 { type = "Land_Misc_Rubble_EP1"; position[] = {12027.1, 9056.95, 0}; direction = 142; onFire = 0; };
|
||||
class Object178 { type = "HMMWVWreck"; position[] = {12019.1, 9169.68, 0}; direction = 96; onFire = 0.259646; };
|
||||
class Object179 { type = "Land_BagFenceLong"; position[] = {11985, 9152.74, 0}; direction = 42; onFire = 0; };
|
||||
class Object180 { type = "Rubbish5"; position[] = {12012.9, 9170.08, 0}; direction = 264; onFire = 0; };
|
||||
class Object181 { type = "Land_BagFenceLong"; position[] = {11988.7, 9158.63, 0}; direction = 224; onFire = 0; };
|
||||
class Object182 { type = "Land_BagFenceLong"; position[] = {11983.6, 9153.96, 0}; direction = 42; onFire = 0; };
|
||||
class Object183 { type = "Land_Misc_Rubble_EP1"; position[] = {12074.2, 9079.12, 0}; direction = 142; onFire = 0; };
|
||||
class Object184 { type = "Land_Misc_Rubble_EP1"; position[] = {12027.7, 9173.92, 0}; direction = 259; onFire = 0; };
|
||||
class Object185 { type = "Land_BagFenceLong"; position[] = {11982.2, 9155.23, 0}; direction = 42; onFire = 0; };
|
||||
class Object186 { type = "Body1"; position[] = {12000.7, 9057.93, 0}; direction = 59; onFire = 0; };
|
||||
class Object187 { type = "Land_ladder_half"; position[] = {11987.6, 9160.85, 0}; direction = 223; onFire = 0; };
|
||||
class Object188 { type = "Land_BagFenceLong"; position[] = {11981.7, 9158.49, 0}; direction = 134; onFire = 0; };
|
||||
class Object189 { type = "Land_BagFenceLong"; position[] = {11983.1, 9159.85, 0}; direction = 134; onFire = 0; };
|
||||
class Object190 { type = "Land_BagFenceLong"; position[] = {11984.4, 9161.2, 0}; direction = 134; onFire = 0; };
|
||||
class Object191 { type = "Fort_RazorWire"; position[] = {11970.5, 9147.41, 0}; direction = 131; onFire = 0; };
|
||||
class Object192 { type = "Rubbish4"; position[] = {11979.6, 9159.24, 0}; direction = 226; onFire = 0; };
|
||||
class Object193 { type = "Hedgehog"; position[] = {11994.3, 9170.49, 0}; direction = 0; onFire = 0; };
|
||||
|
||||
@@ -1,17 +1,32 @@
|
||||
/*
|
||||
Hide glitched map objects which can not be deleted
|
||||
HideObject is preferable to setDam because effects are not broadcasted over the network
|
||||
Hide glitched map objects which can not be deleted, and disable loot spawn on them
|
||||
HideObject is preferable to setDam because effects are not broadcast over the network
|
||||
and there are no laggy destruction effects (smoke etc.)
|
||||
*/
|
||||
private "_object";
|
||||
|
||||
{(_x select 0) nearestObject (_x select 1) hideObject true} count [
|
||||
{
|
||||
_object = (_x select 0) nearestObject (_x select 1);
|
||||
_object hideObject true;
|
||||
_object setVariable ["looted",999999,false];
|
||||
} count [
|
||||
//Clip into Land_houseV_2T2 interior
|
||||
[[3555,2560,0],327215], //psi_bouda.p3d dog house //smoke after setDam
|
||||
[[3555,2560,0],327215], //psi_bouda.p3d dog house
|
||||
|
||||
//Clip into zero_building Land_HouseV_3I3
|
||||
[[2799,5209,0],187483], //fuel_tank_small.p3d //still visible and inflamed after setDam
|
||||
[[2800,5200,0],187495], //psi_bouda.p3d dog house //smoke after setDam
|
||||
[[2799,5209,0],187483], //fuel_tank_small.p3d
|
||||
[[2800,5200,0],187495], //psi_bouda.p3d dog house
|
||||
|
||||
//Clip into zero_building Land_HouseV_1L2
|
||||
[[3672,2435,0],327675] //kbud.p3d outhouse
|
||||
];
|
||||
[[3672,2435,0],327675], //kbud.p3d outhouse
|
||||
|
||||
//Floating zero_building Land_Shed_W4
|
||||
[[7261,2799,0],342775]
|
||||
];
|
||||
|
||||
//Respawn at correct position
|
||||
[[
|
||||
["Land_Shed_W4",[7261.45,2799.33,0],317.308],
|
||||
["Fence_corrugated_plate",[7262.15,2805.85,0],142.308],
|
||||
["Fence_corrugated_plate",[7265.2,2808.42,0],137.308]
|
||||
],true,true,true] call fnc_spawnObjects;
|
||||
@@ -4967,54 +4967,6 @@ if (true) then
|
||||
_this setPos [7817.3745, 12607.859, -0.072570801];
|
||||
};
|
||||
|
||||
_vehicle_1759 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
// Output from missionParser
|
||||
_this = "MAP_paletaA" createVehicle [7793.4502, 12621.983, 0.28388977];
|
||||
|
||||
|
||||
_vehicle_1759 = _this;
|
||||
_this setDir 54.558628;
|
||||
_this setPos [7793.4502, 12621.983, 0.28388977];
|
||||
};
|
||||
|
||||
_vehicle_1760 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
// Output from missionParser
|
||||
_this = "MAP_paletyC" createVehicle [7792.3008, 12624.64, 0.564888];
|
||||
|
||||
|
||||
_vehicle_1760 = _this;
|
||||
_this setDir 10.805914;
|
||||
_this setPos [7792.3008, 12624.64, 0.564888];
|
||||
};
|
||||
|
||||
_vehicle_1761 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
// Output from missionParser
|
||||
_this = "MAP_paletyD" createVehicle [7793.4775, 12622.899, 0.59455109];
|
||||
|
||||
|
||||
_vehicle_1761 = _this;
|
||||
_this setDir 95.461502;
|
||||
_this setPos [7793.4775, 12622.899, 0.59455109];
|
||||
};
|
||||
|
||||
_vehicle_1762 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
// Output from missionParser
|
||||
_this = "MAP_Pallets_Column" createVehicle [7791.6987, 12623.492, 0.24999237];
|
||||
|
||||
|
||||
_vehicle_1762 = _this;
|
||||
_this setDir 54.558628;
|
||||
_this setPos [7791.6987, 12623.492, 0.24999237];
|
||||
};
|
||||
|
||||
_vehicle_1763 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
@@ -5135,30 +5087,6 @@ if (true) then
|
||||
_this setPos [7776.9707, 12614.32, 3.0517578e-005];
|
||||
};
|
||||
|
||||
_vehicle_1796 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
// Output from missionParser
|
||||
_this = "MAP_Pallets_Column" createVehicle [7792.0308, 12621.317, 1.5258789e-005];
|
||||
|
||||
|
||||
_vehicle_1796 = _this;
|
||||
_this setDir 98.426163;
|
||||
_this setPos [7792.0308, 12621.317, 1.5258789e-005];
|
||||
};
|
||||
|
||||
_vehicle_1799 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
// Output from missionParser
|
||||
_this = "MAP_pneu" createVehicle [7791.9751, 12621.572, 0.95465398];
|
||||
|
||||
|
||||
_vehicle_1799 = _this;
|
||||
_this setDir 98.426163;
|
||||
_this setPos [7791.9751, 12621.572, 0.95465398];
|
||||
};
|
||||
|
||||
_vehicle_1802 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user