mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-13 19:52:38 +03:00
Roll back to old swimming in ground fix
See
e8e5d24e80 (commitcomment-19053648)
comments
This commit is contained in:
@@ -36,5 +36,5 @@ _fires = [
|
||||
_object setPos (_x select 1);
|
||||
_object allowDamage false;
|
||||
if !(_type in _fires) then {_object enableSimulation false;};
|
||||
_object setVariable ["", true]; // stops global setVariable by sched_townGenerator, checked in player_spawnCheck for loot spawn
|
||||
_object setVariable ["",true,false]; // stops global setVariable by sched_townGenerator, checked in player_spawnCheck for loot spawn
|
||||
} count _this;
|
||||
18
SQF/dayz_code/system/mission/debug_floor.sqf
Normal file
18
SQF/dayz_code/system/mission/debug_floor.sqf
Normal file
@@ -0,0 +1,18 @@
|
||||
/*
|
||||
Fixes swimming in ground after spawn, change clothes or relog
|
||||
on maps with respawn_west position in water.
|
||||
*/
|
||||
|
||||
private ["_debug","_floor"];
|
||||
|
||||
_debug = getMarkerPos "respawn_west";
|
||||
|
||||
if (surfaceIsWater _debug) then {
|
||||
_debug set [2,2];
|
||||
_floor = "MetalFloor_DZ" createVehicleLocal [0,0,0];
|
||||
_floor setPosASL _debug;
|
||||
_floor allowDamage false;
|
||||
_floor enableSimulation false;
|
||||
_floor setVariable ["",true,false]; // stops global setVariable by sched_townGenerator, checked in player_spawnCheck for loot spawn
|
||||
_floor hideObject true;
|
||||
};
|
||||
@@ -1966,12 +1966,7 @@ class FSM
|
||||
"Dayz_logonTown = ""Wilderness"";" \n
|
||||
"if (count _nearestCity > 0) then {Dayz_logonTown = text (_nearestCity select 0)};" \n
|
||||
"" \n
|
||||
"[_world,Dayz_logonTown,format[localize ""str_player_06"",dayz_Survived]] spawn {" \n
|
||||
" uiSleep 1;" \n
|
||||
" if (dayz_isSwimming && !surfaceIsWater (getPosASL player)) then {player setPosATL [getPosATL player select 0,getPosATL player select 1,(getPosATL player select 2)+.1];}; //Fix swimming in ground glitch on some maps" \n
|
||||
" uiSleep 4;" \n
|
||||
" _this spawn BIS_fnc_infoText;" \n
|
||||
"};" \n
|
||||
"[_world,Dayz_logonTown,format[localize ""str_player_06"",dayz_Survived]] spawn {uiSleep 5; _this spawn BIS_fnc_infoText;};" \n
|
||||
"" \n
|
||||
"dayz_myPosition = getPosATL player;" \n
|
||||
"Dayz_loginCompleted = true;" \n
|
||||
|
||||
@@ -102,6 +102,7 @@ progressLoadingScreen 0.2;
|
||||
call compile preprocessFileLineNumbers "\z\addons\dayz_code\system\BIS_Effects\init.sqf";
|
||||
progressLoadingScreen 0.25;
|
||||
call compile preprocessFileLineNumbers "server_traders.sqf";
|
||||
call compile preprocessFileLineNumbers "\z\addons\dayz_code\system\mission\debug_floor.sqf";
|
||||
call compile preprocessFileLineNumbers "\z\addons\dayz_code\system\mission\takistan.sqf"; //Add trader city objects locally on each machine early
|
||||
initialized = true;
|
||||
|
||||
|
||||
@@ -102,6 +102,7 @@ progressLoadingScreen 0.2;
|
||||
call compile preprocessFileLineNumbers "\z\addons\dayz_code\system\BIS_Effects\init.sqf";
|
||||
progressLoadingScreen 0.25;
|
||||
call compile preprocessFileLineNumbers "server_traders.sqf";
|
||||
call compile preprocessFileLineNumbers "\z\addons\dayz_code\system\mission\debug_floor.sqf";
|
||||
call compile preprocessFileLineNumbers "\z\addons\dayz_code\system\mission\mountains_acr.sqf"; //Add trader city objects locally on each machine early
|
||||
initialized = true;
|
||||
|
||||
|
||||
@@ -102,6 +102,7 @@ progressLoadingScreen 0.2;
|
||||
call compile preprocessFileLineNumbers "\z\addons\dayz_code\system\BIS_Effects\init.sqf";
|
||||
progressLoadingScreen 0.25;
|
||||
call compile preprocessFileLineNumbers "server_traders.sqf";
|
||||
call compile preprocessFileLineNumbers "\z\addons\dayz_code\system\mission\debug_floor.sqf";
|
||||
call compile preprocessFileLineNumbers "\z\addons\dayz_code\system\mission\chernarus11.sqf"; //Add trader city objects locally on each machine early
|
||||
initialized = true;
|
||||
|
||||
|
||||
@@ -102,6 +102,7 @@ progressLoadingScreen 0.2;
|
||||
call compile preprocessFileLineNumbers "\z\addons\dayz_code\system\BIS_Effects\init.sqf";
|
||||
progressLoadingScreen 0.25;
|
||||
call compile preprocessFileLineNumbers "server_traders.sqf";
|
||||
call compile preprocessFileLineNumbers "\z\addons\dayz_code\system\mission\debug_floor.sqf";
|
||||
call compile preprocessFileLineNumbers "\z\addons\dayz_code\system\mission\isladuala.sqf"; //Add trader city objects locally on each machine early
|
||||
initialized = true;
|
||||
|
||||
|
||||
@@ -102,6 +102,7 @@ progressLoadingScreen 0.2;
|
||||
call compile preprocessFileLineNumbers "\z\addons\dayz_code\system\BIS_Effects\init.sqf";
|
||||
progressLoadingScreen 0.25;
|
||||
call compile preprocessFileLineNumbers "server_traders.sqf";
|
||||
call compile preprocessFileLineNumbers "\z\addons\dayz_code\system\mission\debug_floor.sqf";
|
||||
call compile preprocessFileLineNumbers "\z\addons\dayz_code\system\mission\tavi.sqf"; //Add trader city objects locally on each machine early
|
||||
initialized = true;
|
||||
|
||||
|
||||
@@ -102,6 +102,7 @@ progressLoadingScreen 0.2;
|
||||
call compile preprocessFileLineNumbers "\z\addons\dayz_code\system\BIS_Effects\init.sqf";
|
||||
progressLoadingScreen 0.25;
|
||||
call compile preprocessFileLineNumbers "server_traders.sqf";
|
||||
call compile preprocessFileLineNumbers "\z\addons\dayz_code\system\mission\debug_floor.sqf";
|
||||
call compile preprocessFileLineNumbers "\z\addons\dayz_code\system\mission\namalsk.sqf"; //Add trader city objects locally on each machine early
|
||||
initialized = true;
|
||||
|
||||
|
||||
@@ -102,6 +102,7 @@ progressLoadingScreen 0.2;
|
||||
call compile preprocessFileLineNumbers "\z\addons\dayz_code\system\BIS_Effects\init.sqf";
|
||||
progressLoadingScreen 0.25;
|
||||
call compile preprocessFileLineNumbers "server_traders.sqf";
|
||||
call compile preprocessFileLineNumbers "\z\addons\dayz_code\system\mission\debug_floor.sqf";
|
||||
call compile preprocessFileLineNumbers "\z\addons\dayz_code\system\mission\panthera2.sqf"; //Add trader city objects locally on each machine early
|
||||
initialized = true;
|
||||
|
||||
|
||||
@@ -102,6 +102,7 @@ progressLoadingScreen 0.2;
|
||||
call compile preprocessFileLineNumbers "\z\addons\dayz_code\system\BIS_Effects\init.sqf";
|
||||
progressLoadingScreen 0.25;
|
||||
call compile preprocessFileLineNumbers "server_traders.sqf";
|
||||
call compile preprocessFileLineNumbers "\z\addons\dayz_code\system\mission\debug_floor.sqf";
|
||||
call compile preprocessFileLineNumbers "\z\addons\dayz_code\system\mission\chernarus17.sqf"; //Add trader city objects locally on each machine early
|
||||
initialized = true;
|
||||
|
||||
|
||||
@@ -102,6 +102,7 @@ progressLoadingScreen 0.2;
|
||||
call compile preprocessFileLineNumbers "\z\addons\dayz_code\system\BIS_Effects\init.sqf";
|
||||
progressLoadingScreen 0.25;
|
||||
call compile preprocessFileLineNumbers "server_traders.sqf";
|
||||
call compile preprocessFileLineNumbers "\z\addons\dayz_code\system\mission\debug_floor.sqf";
|
||||
call compile preprocessFileLineNumbers "\z\addons\dayz_code\system\mission\fdf_isle1_a.sqf"; //Add trader city objects locally on each machine early
|
||||
initialized = true;
|
||||
|
||||
|
||||
@@ -102,6 +102,7 @@ progressLoadingScreen 0.2;
|
||||
call compile preprocessFileLineNumbers "\z\addons\dayz_code\system\BIS_Effects\init.sqf";
|
||||
progressLoadingScreen 0.25;
|
||||
call compile preprocessFileLineNumbers "server_traders.sqf";
|
||||
call compile preprocessFileLineNumbers "\z\addons\dayz_code\system\mission\debug_floor.sqf";
|
||||
call compile preprocessFileLineNumbers "\z\addons\dayz_code\system\mission\utes.sqf"; //Add trader city objects locally on each machine early
|
||||
initialized = true;
|
||||
|
||||
|
||||
@@ -102,6 +102,7 @@ progressLoadingScreen 0.2;
|
||||
call compile preprocessFileLineNumbers "\z\addons\dayz_code\system\BIS_Effects\init.sqf";
|
||||
progressLoadingScreen 0.25;
|
||||
call compile preprocessFileLineNumbers "server_traders.sqf";
|
||||
call compile preprocessFileLineNumbers "\z\addons\dayz_code\system\mission\debug_floor.sqf";
|
||||
call compile preprocessFileLineNumbers "\z\addons\dayz_code\system\mission\fapovo.sqf"; //Add trader city objects locally on each machine early
|
||||
initialized = true;
|
||||
|
||||
|
||||
@@ -102,6 +102,7 @@ progressLoadingScreen 0.2;
|
||||
call compile preprocessFileLineNumbers "\z\addons\dayz_code\system\BIS_Effects\init.sqf";
|
||||
progressLoadingScreen 0.25;
|
||||
call compile preprocessFileLineNumbers "server_traders.sqf";
|
||||
call compile preprocessFileLineNumbers "\z\addons\dayz_code\system\mission\debug_floor.sqf";
|
||||
call compile preprocessFileLineNumbers "\z\addons\dayz_code\system\mission\caribou.sqf"; //Add trader city objects locally on each machine early
|
||||
initialized = true;
|
||||
|
||||
|
||||
@@ -102,6 +102,7 @@ progressLoadingScreen 0.2;
|
||||
call compile preprocessFileLineNumbers "\z\addons\dayz_code\system\BIS_Effects\init.sqf";
|
||||
progressLoadingScreen 0.25;
|
||||
call compile preprocessFileLineNumbers "server_traders.sqf";
|
||||
call compile preprocessFileLineNumbers "\z\addons\dayz_code\system\mission\debug_floor.sqf";
|
||||
call compile preprocessFileLineNumbers "\z\addons\dayz_code\system\mission\smd_sahrani_a2.sqf"; //Add trader city objects locally on each machine early
|
||||
initialized = true;
|
||||
|
||||
|
||||
@@ -102,6 +102,7 @@ progressLoadingScreen 0.2;
|
||||
call compile preprocessFileLineNumbers "\z\addons\dayz_code\system\BIS_Effects\init.sqf";
|
||||
progressLoadingScreen 0.25;
|
||||
call compile preprocessFileLineNumbers "server_traders.sqf";
|
||||
call compile preprocessFileLineNumbers "\z\addons\dayz_code\system\mission\debug_floor.sqf";
|
||||
call compile preprocessFileLineNumbers "\z\addons\dayz_code\system\mission\cmr_ovaron.sqf"; //Add trader city objects locally on each machine early
|
||||
initialized = true;
|
||||
|
||||
|
||||
@@ -102,6 +102,7 @@ progressLoadingScreen 0.2;
|
||||
call compile preprocessFileLineNumbers "\z\addons\dayz_code\system\BIS_Effects\init.sqf";
|
||||
progressLoadingScreen 0.25;
|
||||
call compile preprocessFileLineNumbers "server_traders.sqf";
|
||||
call compile preprocessFileLineNumbers "\z\addons\dayz_code\system\mission\debug_floor.sqf";
|
||||
call compile preprocessFileLineNumbers "\z\addons\dayz_code\system\mission\napf.sqf"; //Add trader city objects locally on each machine early
|
||||
initialized = true;
|
||||
|
||||
|
||||
@@ -102,6 +102,7 @@ progressLoadingScreen 0.2;
|
||||
call compile preprocessFileLineNumbers "\z\addons\dayz_code\system\BIS_Effects\init.sqf";
|
||||
progressLoadingScreen 0.25;
|
||||
call compile preprocessFileLineNumbers "server_traders.sqf";
|
||||
call compile preprocessFileLineNumbers "\z\addons\dayz_code\system\mission\debug_floor.sqf";
|
||||
call compile preprocessFileLineNumbers "\z\addons\dayz_code\system\mission\sauerland.sqf"; //Add trader city objects locally on each machine early
|
||||
initialized = true;
|
||||
|
||||
|
||||
@@ -102,6 +102,7 @@ progressLoadingScreen 0.2;
|
||||
call compile preprocessFileLineNumbers "\z\addons\dayz_code\system\BIS_Effects\init.sqf";
|
||||
progressLoadingScreen 0.25;
|
||||
call compile preprocessFileLineNumbers "server_traders.sqf";
|
||||
call compile preprocessFileLineNumbers "\z\addons\dayz_code\system\mission\debug_floor.sqf";
|
||||
call compile preprocessFileLineNumbers "custom\compiles.sqf"; //Compile custom compiles
|
||||
call compile preprocessFileLineNumbers "\z\addons\dayz_code\system\mission\sauerland.sqf"; //Add trader city objects locally on each machine early
|
||||
initialized = true;
|
||||
|
||||
@@ -102,6 +102,7 @@ progressLoadingScreen 0.2;
|
||||
call compile preprocessFileLineNumbers "\z\addons\dayz_code\system\BIS_Effects\init.sqf";
|
||||
progressLoadingScreen 0.25;
|
||||
call compile preprocessFileLineNumbers "server_traders.sqf";
|
||||
call compile preprocessFileLineNumbers "\z\addons\dayz_code\system\mission\debug_floor.sqf";
|
||||
call compile preprocessFileLineNumbers "\z\addons\dayz_code\system\mission\shapur_baf.sqf"; //Add trader city objects locally on each machine early
|
||||
initialized = true;
|
||||
|
||||
|
||||
@@ -102,6 +102,7 @@ progressLoadingScreen 0.2;
|
||||
call compile preprocessFileLineNumbers "\z\addons\dayz_code\system\BIS_Effects\init.sqf";
|
||||
progressLoadingScreen 0.25;
|
||||
call compile preprocessFileLineNumbers "server_traders.sqf";
|
||||
call compile preprocessFileLineNumbers "\z\addons\dayz_code\system\mission\debug_floor.sqf";
|
||||
call compile preprocessFileLineNumbers "\z\addons\dayz_code\system\mission\zargabad.sqf"; //Add trader city objects locally on each machine early
|
||||
initialized = true;
|
||||
|
||||
|
||||
@@ -102,6 +102,7 @@ progressLoadingScreen 0.2;
|
||||
call compile preprocessFileLineNumbers "\z\addons\dayz_code\system\BIS_Effects\init.sqf";
|
||||
progressLoadingScreen 0.25;
|
||||
call compile preprocessFileLineNumbers "server_traders.sqf";
|
||||
call compile preprocessFileLineNumbers "\z\addons\dayz_code\system\mission\debug_floor.sqf";
|
||||
call compile preprocessFileLineNumbers "\z\addons\dayz_code\system\mission\bootcamp_acr.sqf"; //Add trader city objects locally on each machine early
|
||||
initialized = true;
|
||||
|
||||
|
||||
@@ -102,6 +102,7 @@ progressLoadingScreen 0.2;
|
||||
call compile preprocessFileLineNumbers "\z\addons\dayz_code\system\BIS_Effects\init.sqf";
|
||||
progressLoadingScreen 0.25;
|
||||
call compile preprocessFileLineNumbers "server_traders.sqf";
|
||||
call compile preprocessFileLineNumbers "\z\addons\dayz_code\system\mission\debug_floor.sqf";
|
||||
call compile preprocessFileLineNumbers "\z\addons\dayz_code\system\mission\lingor.sqf"; //Add trader city objects locally on each machine early
|
||||
initialized = true;
|
||||
|
||||
|
||||
@@ -102,6 +102,7 @@ progressLoadingScreen 0.2;
|
||||
call compile preprocessFileLineNumbers "\z\addons\dayz_code\system\BIS_Effects\init.sqf";
|
||||
progressLoadingScreen 0.25;
|
||||
call compile preprocessFileLineNumbers "server_traders.sqf";
|
||||
call compile preprocessFileLineNumbers "\z\addons\dayz_code\system\mission\debug_floor.sqf";
|
||||
call compile preprocessFileLineNumbers "\z\addons\dayz_code\system\mission\provinggrounds_pmc.sqf"; //Add trader city objects locally on each machine early
|
||||
initialized = true;
|
||||
|
||||
|
||||
@@ -102,6 +102,7 @@ progressLoadingScreen 0.2;
|
||||
call compile preprocessFileLineNumbers "\z\addons\dayz_code\system\BIS_Effects\init.sqf";
|
||||
progressLoadingScreen 0.25;
|
||||
call compile preprocessFileLineNumbers "server_traders.sqf";
|
||||
call compile preprocessFileLineNumbers "\z\addons\dayz_code\system\mission\debug_floor.sqf";
|
||||
call compile preprocessFileLineNumbers "\z\addons\dayz_code\system\mission\woodland_acr.sqf"; //Add trader city objects locally on each machine early
|
||||
initialized = true;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user