mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-18 17:42:01 +03:00
Remove some more glitched map objects
Vanilla commits:db5aa2063c88458846e91ec13bdfd0
This commit is contained in:
@@ -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