From 349cfa06bd3658ae24471dc5cac408454a480a28 Mon Sep 17 00:00:00 2001 From: vbawol Date: Thu, 17 Sep 2015 11:54:56 -0500 Subject: [PATCH] use preloadCamera to reduce load lag on first join also try again to use switchmove "" to prevent player from getting stuck --- Sources/epoch_code/System/player_login.fsm | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/Sources/epoch_code/System/player_login.fsm b/Sources/epoch_code/System/player_login.fsm index 074c127f..fb72c4e2 100644 --- a/Sources/epoch_code/System/player_login.fsm +++ b/Sources/epoch_code/System/player_login.fsm @@ -190,8 +190,8 @@ link97[] = {85,79}; link98[] = {86,16}; link99[] = {86,22}; link100[] = {87,31}; -globals[] = {25.000000,1,0,0,0,640,480,1,244,6316128,1,-631.407898,509.397247,1639.671997,811.364685,1212,880,1}; -window[] = {2,-1,-1,-1,-1,808,78,1118,78,3,1230}; +globals[] = {25.000000,1,0,0,0,640,480,1,244,6316128,1,-506.837463,384.823669,1593.480103,946.069397,1212,880,1}; +window[] = {2,-1,-1,-1,-1,860,-1550,-510,130,3,1230}; *//*%FSM*/ class FSM { @@ -245,7 +245,6 @@ class FSM "" \n "" \n "player enableSimulation true;" \n - "// player switchMove """";" \n "" \n "titleCut ["""", ""BLACK IN"", 1];" \n "1338 cutText ["""",""PLAIN"",0]; " \n @@ -253,7 +252,9 @@ class FSM "progressLoadingScreen 1.0;" \n "" \n "endLoadingScreen;" \n - "EPOCH_loadingScreenDone = true;"/*%FSM*/; + "EPOCH_loadingScreenDone = true;" \n + "" \n + "player switchMove """";"/*%FSM*/; precondition = /*%FSM*/""/*%FSM*/; class Links { @@ -459,7 +460,6 @@ class FSM "" \n "EPOCH_lastPlayerPos = getPosATL vehicle player;" \n "" \n - "" \n "progressLoadingScreen 0.7;" \n "" \n "if (_debug) then {" \n @@ -932,7 +932,7 @@ class FSM priority = 0.000000; to="FINISH"; precondition = /*%FSM*/""/*%FSM*/; - condition=/*%FSM*/"true"/*%FSM*/; + condition=/*%FSM*/"preloadCamera (getposATL player)"/*%FSM*/; action=/*%FSM*/"call compile _playerGroupOnline;"/*%FSM*/; }; /*%FSM*/ @@ -1022,7 +1022,9 @@ class FSM name = "Check_New_Player"; init = /*%FSM*/"_myTime = diag_tickTime;" \n "" \n - "player reveal [_playerObject, 4];" \n + "// player reveal [_playerObject, 4];" \n + "" \n + "" \n """Loading Player Inventory... Please wait!"" call Epoch_updateLoadingScreen;" \n "progressLoadingScreen 0.6;" \n ""/*%FSM*/;