From eaaedf21c057cb183d169c133fc49e156b61f2bc Mon Sep 17 00:00:00 2001 From: ebayShopper Date: Fri, 29 Dec 2017 15:42:45 -0500 Subject: [PATCH] Fix a few more glitched map objects Vanilla commit: https://github.com/DayZMod/DayZ/commit/7d669a390b69e6f31ed24df48c312cdff3d57a25 --- CHANGE LOG 1.0.6.3.txt | 1 + .../system/mission/chernarus/hideGlitchObjects.sqf | 8 ++++++-- .../system/mission/chernarus/poi/GvozdnoMilitaryBase.sqf | 2 ++ SQF/dayz_server/compile/server_playerLogin.sqf | 1 + 4 files changed, 10 insertions(+), 2 deletions(-) create mode 100644 CHANGE LOG 1.0.6.3.txt diff --git a/CHANGE LOG 1.0.6.3.txt b/CHANGE LOG 1.0.6.3.txt new file mode 100644 index 000000000..79f30338f --- /dev/null +++ b/CHANGE LOG 1.0.6.3.txt @@ -0,0 +1 @@ +[FIXED] Some more occurrences of zero_building interiors misaligned or at the wrong terrain height \ No newline at end of file diff --git a/SQF/dayz_code/system/mission/chernarus/hideGlitchObjects.sqf b/SQF/dayz_code/system/mission/chernarus/hideGlitchObjects.sqf index 3f4a7a151..b1f4ad8d5 100644 --- a/SQF/dayz_code/system/mission/chernarus/hideGlitchObjects.sqf +++ b/SQF/dayz_code/system/mission/chernarus/hideGlitchObjects.sqf @@ -25,8 +25,10 @@ private "_object"; //Clip into zero_building Land_HouseV_1L2 [[3672,2435,0],327675], //kbud.p3d outhouse - //Buildings too high above terrain level to enter + //Custom building interiors too high/low above/below terrain level to enter [[7261,2799,0],342775], //Land_Shed_W4 zero_building + [[12871,8031,0],294946], //Land_HouseV_3I3 zero_building + [[12971,8022,0],295117], //Land_HouseV_3I3 zero_building //Land_houseV_2T2 back stairs too high, temporary until Streatman model update [[8679,2428,0],358075], [[13351,5442,0],306657], @@ -36,8 +38,10 @@ private "_object"; //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",[7262.15,2805.85,0],142.308], //Cover floating fences nearby ["Fence_corrugated_plate",[7265.2,2808.42,0],137.308], + ["Land_HouseV_3I3",[12870.7,8031.49,0],180], + ["Land_HouseV_3I3",[12971,8022.49,0],268], //Land_houseV_2T2 back stairs too high, temporary until Streatman model update ["Land_houseV_2T2",[8678.94,2427.98,-0.3],245], ["Land_houseV_2T2",[13350.6,5441.92,-0.1],0], diff --git a/SQF/dayz_code/system/mission/chernarus/poi/GvozdnoMilitaryBase.sqf b/SQF/dayz_code/system/mission/chernarus/poi/GvozdnoMilitaryBase.sqf index e024f4b62..f08367f0e 100644 --- a/SQF/dayz_code/system/mission/chernarus/poi/GvozdnoMilitaryBase.sqf +++ b/SQF/dayz_code/system/mission/chernarus/poi/GvozdnoMilitaryBase.sqf @@ -820,6 +820,8 @@ if (true) then _this setDir 71.406975; _this setVehicleInit "this setVectorUp [0,0,1];"; _this setPos [7836.5088, 12622.839, 0.36634916]; + _this addEventHandler ["HandleDamage",{0}]; //Forbid destruction (mi8wreck and static objects on top are left floating) + _this enableSimulation false; }; _vehicle_446 = objNull; diff --git a/SQF/dayz_server/compile/server_playerLogin.sqf b/SQF/dayz_server/compile/server_playerLogin.sqf index 5edd742e7..36548675e 100644 --- a/SQF/dayz_server/compile/server_playerLogin.sqf +++ b/SQF/dayz_server/compile/server_playerLogin.sqf @@ -172,6 +172,7 @@ if (toLower worldName == "chernarus") then { [[2581,3456,0],1019127], //lavicka_2.p3d bench //Clip into zero_building Land_HouseV_3I3 [[2800,5202,0],187548], //popelnice.p3d trash can + [[12876,8031,0],294873], //popelnice.p3d trash can //Clip into zero_building Land_HouseV_1L2 [[3656,2429,0],327885], //plot_rust_draty.p3d fence [[3656,2429,0],328107], //plot_rust_draty.p3d fence