mirror of
https://github.com/EpochModTeam/Epoch.git
synced 2024-08-30 18:22:13 +00:00
commit
dd33a61470
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1,8 +1,8 @@
|
||||
/*%FSM<COMPILE "F:\Program Files (x86)\Bohemia Interactive\Tools\FSM Editor Personal Edition\scriptedFSM.cfg, Epoch Login">*/
|
||||
/*%FSM<HEAD>*/
|
||||
/*
|
||||
item0[] = {"INIT",0,4346,-25.000000,-375.000000,75.000000,-325.000000,0.000000,"INIT"};
|
||||
item1[] = {"FINISH",1,250,-25.000000,1475.000000,75.000000,1525.000000,0.000000,"FINISH"};
|
||||
item0[] = {"INIT",0,250,-25.000000,-375.000000,75.000000,-325.000000,0.000000,"INIT"};
|
||||
item1[] = {"FINISH",1,4346,-25.000000,1475.000000,75.000000,1525.000000,0.000000,"FINISH"};
|
||||
item2[] = {"true",8,218,-150.000000,-125.000000,-50.000000,-75.000000,0.000000,"true"};
|
||||
item3[] = {"Version_Check",2,250,-25.000000,-75.000000,75.000000,-25.000000,0.000000,"Version Check"};
|
||||
item4[] = {"Player_Object_Re",4,218,-150.000000,75.000000,-50.000000,125.000000,0.000000,"Player" \n "Object Ready"};
|
||||
@ -190,8 +190,8 @@ link97[] = {85,79};
|
||||
link98[] = {86,16};
|
||||
link99[] = {86,22};
|
||||
link100[] = {87,31};
|
||||
globals[] = {0.000000,0,0,0,0,640,480,1,244,6316128,1,-213.844360,425.695953,479.928528,-482.114990,585,880,1};
|
||||
window[] = {2,-1,-1,-1,-1,968,156,1448,156,3,603};
|
||||
globals[] = {0.000000,0,0,0,0,640,480,1,244,6316128,1,-354.892670,479.114502,1946.016846,1047.855225,585,630,1};
|
||||
window[] = {2,-1,-1,-1,-1,871,104,1396,104,3,603};
|
||||
*//*%FSM</HEAD>*/
|
||||
class FSM
|
||||
{
|
||||
@ -211,6 +211,20 @@ class FSM
|
||||
"if (_debug) then {" \n
|
||||
" diag_log ""EPOCH-LOGIN: Init"";" \n
|
||||
"};" \n
|
||||
"" \n
|
||||
"" \n
|
||||
"_finalPlayerObjectCheck = {" \n
|
||||
" _logic1 = (_mass == (loadAbs _playerObject));" \n
|
||||
" _timeout = ((diag_tickTime - _myTime) > 30);" \n
|
||||
" diag_log format [""LOGIN-DEBUG mass match: %1 in %2 seconds, timeout: %3"", _logic1,(diag_tickTime - _myTime),_timeout];" \n
|
||||
" (_logic1 || _timeout)" \n
|
||||
"};" \n
|
||||
"" \n
|
||||
"EPOCH_loginFSM = _thisFSM;" \n
|
||||
"EPOCH_playerLoginInit = {" \n
|
||||
" diag_log format[""DEBUG: %1, %2"",_this, EPOCH_loginFSM];" \n
|
||||
" EPOCH_loginFSM setFSMVariable [_this select 0, _this select 1];" \n
|
||||
"};" \n
|
||||
""/*%FSM</STATEINIT""">*/;
|
||||
precondition = /*%FSM<STATEPRECONDITION""">*/""/*%FSM</STATEPRECONDITION""">*/;
|
||||
class Links
|
||||
@ -249,7 +263,8 @@ class FSM
|
||||
" diag_log ""EPOCH-LOGIN: Finish!"";" \n
|
||||
"};" \n
|
||||
"" \n
|
||||
"" \n
|
||||
"EPOCH_loginFSM = nil;" \n
|
||||
"EPOCH_playerLoginInit = nil;" \n
|
||||
"" \n
|
||||
"//player enableSimulation true;" \n
|
||||
"" \n
|
||||
@ -510,9 +525,9 @@ class FSM
|
||||
priority = 0.000000;
|
||||
to="Process_2";
|
||||
precondition = /*%FSM<CONDPRECONDITION""">*/""/*%FSM</CONDPRECONDITION""">*/;
|
||||
condition=/*%FSM<CONDITION""">*/"!isNil ""EPOCH_checkPlayer_PVC"""/*%FSM</CONDITION""">*/;
|
||||
action=/*%FSM<ACTION""">*/"_newChar = EPOCH_checkPlayer_PVC;" \n
|
||||
"EPOCH_checkPlayer_PVC = nil;"/*%FSM</ACTION""">*/;
|
||||
condition=/*%FSM<CONDITION""">*/"!isNil ""_checkPlayer_PVC"""/*%FSM</CONDITION""">*/;
|
||||
action=/*%FSM<ACTION""">*/"_newChar = _checkPlayer_PVC;" \n
|
||||
"_checkPlayer_PVC = nil;"/*%FSM</ACTION""">*/;
|
||||
};
|
||||
/*%FSM</LINK>*/
|
||||
/*%FSM<LINK "Timeout_No_Respo">*/
|
||||
@ -1041,7 +1056,7 @@ class FSM
|
||||
priority = 0.000000;
|
||||
to="Setup_Player_Obj";
|
||||
precondition = /*%FSM<CONDPRECONDITION""">*/""/*%FSM</CONDPRECONDITION""">*/;
|
||||
condition=/*%FSM<CONDITION""">*/"!(isNull _playerObject) && {_playerObject getVariable [""SETUP"",false]} && {_playerPos nearObjectsReady 10}"/*%FSM</CONDITION""">*/;
|
||||
condition=/*%FSM<CONDITION""">*/"!(isNull _playerObject) && {_playerObject getVariable [""SETUP"",false]} && {_playerPos nearObjectsReady 10} && {call _finalPlayerObjectCheck}"/*%FSM</CONDITION""">*/;
|
||||
action=/*%FSM<ACTION""">*/""/*%FSM</ACTION""">*/;
|
||||
};
|
||||
/*%FSM</LINK>*/
|
||||
@ -1337,9 +1352,9 @@ class FSM
|
||||
priority = 0.000000;
|
||||
to="Check_New_Player";
|
||||
precondition = /*%FSM<CONDPRECONDITION""">*/""/*%FSM</CONDPRECONDITION""">*/;
|
||||
condition=/*%FSM<CONDITION""">*/"!isNil ""EPOCH_C_SET"""/*%FSM</CONDITION""">*/;
|
||||
action=/*%FSM<ACTION""">*/"_array = EPOCH_C_SET;" \n
|
||||
"EPOCH_C_SET = nil;" \n
|
||||
condition=/*%FSM<CONDITION""">*/"!isNil ""_C_SET"""/*%FSM</CONDITION""">*/;
|
||||
action=/*%FSM<ACTION""">*/"_array = _C_SET;" \n
|
||||
"_C_SET = nil;" \n
|
||||
"_playerObject = _array deleteAt 0;" \n
|
||||
"_playerVariables = _array deleteAt 0;" \n
|
||||
"_currentWeapon = _array deleteAt 0;" \n
|
||||
|
@ -22,7 +22,7 @@ if (typename _this == "OBJECT") then {
|
||||
_arr = (_response select 1);
|
||||
};
|
||||
|
||||
if (count _arr < 11) then {
|
||||
if (count _arr < 11) then {
|
||||
_dead = true;
|
||||
} else {
|
||||
_medical = _arr select 1;
|
||||
@ -43,12 +43,11 @@ if (typename _this == "OBJECT") then {
|
||||
};
|
||||
/* true => New Char
|
||||
false => load old Char */
|
||||
EPOCH_checkPlayer_PVC = _dead;
|
||||
(owner _plyrObj) publicVariableClient "EPOCH_checkPlayer_PVC";
|
||||
['_checkPlayer_PVC', _dead] remoteExec ['EPOCH_playerLoginInit',_plyrObj];
|
||||
|
||||
if (!_dead) then { //Load old Char
|
||||
[_plyrObj, _isMale] call EPOCH_server_loadPlayer;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
@ -168,7 +168,7 @@ EPOCH_server_getPToken = compileFinal ("private['_ret','_var'];_ret = false;if (
|
||||
EPOCH_server_setPToken = compileFinal ("private '_var';_var = 'epochserver' callExtension '810';_this setVariable ['"+_skn_AH_rndVarPlayer+"',_var];_var");
|
||||
|
||||
if (!_skn_enableAntihack) exitWith {
|
||||
EPOCH_server_pushPlayer = compileFinal ("EPOCH_C_SET = _this select 2;EPOCH_C_SET pushBack '"+_skn_PVC_INDEX+"';EPOCH_C_SET pushBack '';(_this select 0) publicVariableClient 'EPOCH_C_SET'");
|
||||
EPOCH_server_pushPlayer = compileFinal ("_C_SET = _this select 2;_C_SET pushBack '"+_skn_PVC_INDEX+"';_C_SET pushBack '';['_C_SET', _C_SET] remoteExec ['EPOCH_playerLoginInit',(_this select 0)];");
|
||||
EPOCH_server_isPAdmin = compileFinal ("false");
|
||||
EPOCH_server_Authed = compileFinal ("true");
|
||||
EPOCH_server_disconnect = compileFinal("true");
|
||||
@ -550,18 +550,18 @@ if (_skn_PVSPrefix == "") then {
|
||||
};
|
||||
|
||||
EPOCH_server_pushPlayer = compileFinal ("
|
||||
EPOCH_C_SET = _this select 2;
|
||||
_C_SET = _this select 2;
|
||||
if (_this select 1 in "+ str _skn_adminUIDArray+") then {
|
||||
(_this select 0) publicVariableClient '"+_skn_Admin_Code+"';
|
||||
(_this select 0) publicVariableClient '"+_skn_pv_adminLog+"';
|
||||
(_this select 0) publicVariableClient '"+_skn_pv_hackerLog+"';
|
||||
EPOCH_C_SET pushBack '"+_skn_PVC_INDEX+"';
|
||||
EPOCH_C_SET pushBack '[] spawn "+_skn_Admin_Init+"';
|
||||
_C_SET pushBack '"+_skn_PVC_INDEX+"';
|
||||
_C_SET pushBack '[] spawn "+_skn_Admin_Init+"';
|
||||
} else {
|
||||
EPOCH_C_SET pushBack '"+_skn_PVC_INDEX+"';
|
||||
EPOCH_C_SET pushBack '[] spawn "+_skn_AH_Init+"';
|
||||
_C_SET pushBack '"+_skn_PVC_INDEX+"';
|
||||
_C_SET pushBack '[] spawn "+_skn_AH_Init+"';
|
||||
};
|
||||
(_this select 0) publicVariableClient 'EPOCH_C_SET';
|
||||
['_C_SET', _C_SET] remoteExec ['EPOCH_playerLoginInit',(_this select 0)];
|
||||
true
|
||||
");
|
||||
EPOCH_server_isPAdmin = compileFinal ("if (isNull _this) then {false} else {getPlayerUID _this in "+str _skn_adminUIDArray+"}");
|
||||
|
@ -1,8 +1,8 @@
|
||||
/*%FSM<COMPILE "F:\Program Files (x86)\Bohemia Interactive\Tools\FSM Editor Personal Edition\scriptedFSM.cfg, Epoch Login">*/
|
||||
/*%FSM<HEAD>*/
|
||||
/*
|
||||
item0[] = {"INIT",0,4346,-25.000000,-375.000000,75.000000,-325.000000,0.000000,"INIT"};
|
||||
item1[] = {"FINISH",1,250,-25.000000,1475.000000,75.000000,1525.000000,0.000000,"FINISH"};
|
||||
item0[] = {"INIT",0,250,-25.000000,-375.000000,75.000000,-325.000000,0.000000,"INIT"};
|
||||
item1[] = {"FINISH",1,4346,-25.000000,1475.000000,75.000000,1525.000000,0.000000,"FINISH"};
|
||||
item2[] = {"true",8,218,-150.000000,-125.000000,-50.000000,-75.000000,0.000000,"true"};
|
||||
item3[] = {"Version_Check",2,250,-25.000000,-75.000000,75.000000,-25.000000,0.000000,"Version Check"};
|
||||
item4[] = {"Player_Object_Re",4,218,-150.000000,75.000000,-50.000000,125.000000,0.000000,"Player" \n "Object Ready"};
|
||||
@ -190,8 +190,8 @@ link97[] = {85,79};
|
||||
link98[] = {86,16};
|
||||
link99[] = {86,22};
|
||||
link100[] = {87,31};
|
||||
globals[] = {0.000000,0,0,0,0,640,480,1,244,6316128,1,-213.844360,425.695953,479.928528,-482.114990,585,880,1};
|
||||
window[] = {2,-1,-1,-1,-1,968,156,1448,156,3,603};
|
||||
globals[] = {0.000000,0,0,0,0,640,480,1,244,6316128,1,-354.892670,479.114502,1946.016846,1047.855225,585,630,1};
|
||||
window[] = {2,-1,-1,-1,-1,871,104,1396,104,3,603};
|
||||
*//*%FSM</HEAD>*/
|
||||
class FSM
|
||||
{
|
||||
@ -211,6 +211,20 @@ class FSM
|
||||
"if (_debug) then {" \n
|
||||
" diag_log ""EPOCH-LOGIN: Init"";" \n
|
||||
"};" \n
|
||||
"" \n
|
||||
"" \n
|
||||
"_finalPlayerObjectCheck = {" \n
|
||||
" _logic1 = (_mass == (loadAbs _playerObject));" \n
|
||||
" _timeout = ((diag_tickTime - _myTime) > 30);" \n
|
||||
" diag_log format [""LOGIN-DEBUG mass match: %1 in %2 seconds, timeout: %3"", _logic1,(diag_tickTime - _myTime),_timeout];" \n
|
||||
" (_logic1 || _timeout)" \n
|
||||
"};" \n
|
||||
"" \n
|
||||
"EPOCH_loginFSM = _thisFSM;" \n
|
||||
"EPOCH_playerLoginInit = {" \n
|
||||
" diag_log format[""DEBUG: %1, %2"",_this, EPOCH_loginFSM];" \n
|
||||
" EPOCH_loginFSM setFSMVariable [_this select 0, _this select 1];" \n
|
||||
"};" \n
|
||||
""/*%FSM</STATEINIT""">*/;
|
||||
precondition = /*%FSM<STATEPRECONDITION""">*/""/*%FSM</STATEPRECONDITION""">*/;
|
||||
class Links
|
||||
@ -249,7 +263,8 @@ class FSM
|
||||
" diag_log ""EPOCH-LOGIN: Finish!"";" \n
|
||||
"};" \n
|
||||
"" \n
|
||||
"" \n
|
||||
"EPOCH_loginFSM = nil;" \n
|
||||
"EPOCH_playerLoginInit = nil;" \n
|
||||
"" \n
|
||||
"//player enableSimulation true;" \n
|
||||
"" \n
|
||||
@ -510,9 +525,9 @@ class FSM
|
||||
priority = 0.000000;
|
||||
to="Process_2";
|
||||
precondition = /*%FSM<CONDPRECONDITION""">*/""/*%FSM</CONDPRECONDITION""">*/;
|
||||
condition=/*%FSM<CONDITION""">*/"!isNil ""EPOCH_checkPlayer_PVC"""/*%FSM</CONDITION""">*/;
|
||||
action=/*%FSM<ACTION""">*/"_newChar = EPOCH_checkPlayer_PVC;" \n
|
||||
"EPOCH_checkPlayer_PVC = nil;"/*%FSM</ACTION""">*/;
|
||||
condition=/*%FSM<CONDITION""">*/"!isNil ""_checkPlayer_PVC"""/*%FSM</CONDITION""">*/;
|
||||
action=/*%FSM<ACTION""">*/"_newChar = _checkPlayer_PVC;" \n
|
||||
"_checkPlayer_PVC = nil;"/*%FSM</ACTION""">*/;
|
||||
};
|
||||
/*%FSM</LINK>*/
|
||||
/*%FSM<LINK "Timeout_No_Respo">*/
|
||||
@ -1041,7 +1056,7 @@ class FSM
|
||||
priority = 0.000000;
|
||||
to="Setup_Player_Obj";
|
||||
precondition = /*%FSM<CONDPRECONDITION""">*/""/*%FSM</CONDPRECONDITION""">*/;
|
||||
condition=/*%FSM<CONDITION""">*/"!(isNull _playerObject) && {_playerObject getVariable [""SETUP"",false]} && {_playerPos nearObjectsReady 10}"/*%FSM</CONDITION""">*/;
|
||||
condition=/*%FSM<CONDITION""">*/"!(isNull _playerObject) && {_playerObject getVariable [""SETUP"",false]} && {_playerPos nearObjectsReady 10} && {call _finalPlayerObjectCheck}"/*%FSM</CONDITION""">*/;
|
||||
action=/*%FSM<ACTION""">*/""/*%FSM</ACTION""">*/;
|
||||
};
|
||||
/*%FSM</LINK>*/
|
||||
@ -1337,9 +1352,9 @@ class FSM
|
||||
priority = 0.000000;
|
||||
to="Check_New_Player";
|
||||
precondition = /*%FSM<CONDPRECONDITION""">*/""/*%FSM</CONDPRECONDITION""">*/;
|
||||
condition=/*%FSM<CONDITION""">*/"!isNil ""EPOCH_C_SET"""/*%FSM</CONDITION""">*/;
|
||||
action=/*%FSM<ACTION""">*/"_array = EPOCH_C_SET;" \n
|
||||
"EPOCH_C_SET = nil;" \n
|
||||
condition=/*%FSM<CONDITION""">*/"!isNil ""_C_SET"""/*%FSM</CONDITION""">*/;
|
||||
action=/*%FSM<ACTION""">*/"_array = _C_SET;" \n
|
||||
"_C_SET = nil;" \n
|
||||
"_playerObject = _array deleteAt 0;" \n
|
||||
"_playerVariables = _array deleteAt 0;" \n
|
||||
"_currentWeapon = _array deleteAt 0;" \n
|
||||
|
@ -1,8 +1,8 @@
|
||||
/*%FSM<COMPILE "F:\Program Files (x86)\Bohemia Interactive\Tools\FSM Editor Personal Edition\scriptedFSM.cfg, Epoch Login">*/
|
||||
/*%FSM<HEAD>*/
|
||||
/*
|
||||
item0[] = {"INIT",0,4346,-25.000000,-375.000000,75.000000,-325.000000,0.000000,"INIT"};
|
||||
item1[] = {"FINISH",1,250,-25.000000,1475.000000,75.000000,1525.000000,0.000000,"FINISH"};
|
||||
item0[] = {"INIT",0,250,-25.000000,-375.000000,75.000000,-325.000000,0.000000,"INIT"};
|
||||
item1[] = {"FINISH",1,4346,-25.000000,1475.000000,75.000000,1525.000000,0.000000,"FINISH"};
|
||||
item2[] = {"true",8,218,-150.000000,-125.000000,-50.000000,-75.000000,0.000000,"true"};
|
||||
item3[] = {"Version_Check",2,250,-25.000000,-75.000000,75.000000,-25.000000,0.000000,"Version Check"};
|
||||
item4[] = {"Player_Object_Re",4,218,-150.000000,75.000000,-50.000000,125.000000,0.000000,"Player" \n "Object Ready"};
|
||||
@ -190,8 +190,8 @@ link97[] = {85,79};
|
||||
link98[] = {86,16};
|
||||
link99[] = {86,22};
|
||||
link100[] = {87,31};
|
||||
globals[] = {0.000000,0,0,0,0,640,480,1,244,6316128,1,-213.844360,425.695953,479.928528,-482.114990,585,880,1};
|
||||
window[] = {2,-1,-1,-1,-1,968,156,1448,156,3,603};
|
||||
globals[] = {0.000000,0,0,0,0,640,480,1,244,6316128,1,-354.892670,479.114502,1946.016846,1047.855225,585,630,1};
|
||||
window[] = {2,-1,-1,-1,-1,871,104,1396,104,3,603};
|
||||
*//*%FSM</HEAD>*/
|
||||
class FSM
|
||||
{
|
||||
@ -211,6 +211,20 @@ class FSM
|
||||
"if (_debug) then {" \n
|
||||
" diag_log ""EPOCH-LOGIN: Init"";" \n
|
||||
"};" \n
|
||||
"" \n
|
||||
"" \n
|
||||
"_finalPlayerObjectCheck = {" \n
|
||||
" _logic1 = (_mass == (loadAbs _playerObject));" \n
|
||||
" _timeout = ((diag_tickTime - _myTime) > 30);" \n
|
||||
" diag_log format [""LOGIN-DEBUG mass match: %1 in %2 seconds, timeout: %3"", _logic1,(diag_tickTime - _myTime),_timeout];" \n
|
||||
" (_logic1 || _timeout)" \n
|
||||
"};" \n
|
||||
"" \n
|
||||
"EPOCH_loginFSM = _thisFSM;" \n
|
||||
"EPOCH_playerLoginInit = {" \n
|
||||
" diag_log format[""DEBUG: %1, %2"",_this, EPOCH_loginFSM];" \n
|
||||
" EPOCH_loginFSM setFSMVariable [_this select 0, _this select 1];" \n
|
||||
"};" \n
|
||||
""/*%FSM</STATEINIT""">*/;
|
||||
precondition = /*%FSM<STATEPRECONDITION""">*/""/*%FSM</STATEPRECONDITION""">*/;
|
||||
class Links
|
||||
@ -249,7 +263,8 @@ class FSM
|
||||
" diag_log ""EPOCH-LOGIN: Finish!"";" \n
|
||||
"};" \n
|
||||
"" \n
|
||||
"" \n
|
||||
"EPOCH_loginFSM = nil;" \n
|
||||
"EPOCH_playerLoginInit = nil;" \n
|
||||
"" \n
|
||||
"//player enableSimulation true;" \n
|
||||
"" \n
|
||||
@ -510,9 +525,9 @@ class FSM
|
||||
priority = 0.000000;
|
||||
to="Process_2";
|
||||
precondition = /*%FSM<CONDPRECONDITION""">*/""/*%FSM</CONDPRECONDITION""">*/;
|
||||
condition=/*%FSM<CONDITION""">*/"!isNil ""EPOCH_checkPlayer_PVC"""/*%FSM</CONDITION""">*/;
|
||||
action=/*%FSM<ACTION""">*/"_newChar = EPOCH_checkPlayer_PVC;" \n
|
||||
"EPOCH_checkPlayer_PVC = nil;"/*%FSM</ACTION""">*/;
|
||||
condition=/*%FSM<CONDITION""">*/"!isNil ""_checkPlayer_PVC"""/*%FSM</CONDITION""">*/;
|
||||
action=/*%FSM<ACTION""">*/"_newChar = _checkPlayer_PVC;" \n
|
||||
"_checkPlayer_PVC = nil;"/*%FSM</ACTION""">*/;
|
||||
};
|
||||
/*%FSM</LINK>*/
|
||||
/*%FSM<LINK "Timeout_No_Respo">*/
|
||||
@ -1041,7 +1056,7 @@ class FSM
|
||||
priority = 0.000000;
|
||||
to="Setup_Player_Obj";
|
||||
precondition = /*%FSM<CONDPRECONDITION""">*/""/*%FSM</CONDPRECONDITION""">*/;
|
||||
condition=/*%FSM<CONDITION""">*/"!(isNull _playerObject) && {_playerObject getVariable [""SETUP"",false]} && {_playerPos nearObjectsReady 10}"/*%FSM</CONDITION""">*/;
|
||||
condition=/*%FSM<CONDITION""">*/"!(isNull _playerObject) && {_playerObject getVariable [""SETUP"",false]} && {_playerPos nearObjectsReady 10} && {call _finalPlayerObjectCheck}"/*%FSM</CONDITION""">*/;
|
||||
action=/*%FSM<ACTION""">*/""/*%FSM</ACTION""">*/;
|
||||
};
|
||||
/*%FSM</LINK>*/
|
||||
@ -1337,9 +1352,9 @@ class FSM
|
||||
priority = 0.000000;
|
||||
to="Check_New_Player";
|
||||
precondition = /*%FSM<CONDPRECONDITION""">*/""/*%FSM</CONDPRECONDITION""">*/;
|
||||
condition=/*%FSM<CONDITION""">*/"!isNil ""EPOCH_C_SET"""/*%FSM</CONDITION""">*/;
|
||||
action=/*%FSM<ACTION""">*/"_array = EPOCH_C_SET;" \n
|
||||
"EPOCH_C_SET = nil;" \n
|
||||
condition=/*%FSM<CONDITION""">*/"!isNil ""_C_SET"""/*%FSM</CONDITION""">*/;
|
||||
action=/*%FSM<ACTION""">*/"_array = _C_SET;" \n
|
||||
"_C_SET = nil;" \n
|
||||
"_playerObject = _array deleteAt 0;" \n
|
||||
"_playerVariables = _array deleteAt 0;" \n
|
||||
"_currentWeapon = _array deleteAt 0;" \n
|
||||
|
@ -1,8 +1,8 @@
|
||||
/*%FSM<COMPILE "F:\Program Files (x86)\Bohemia Interactive\Tools\FSM Editor Personal Edition\scriptedFSM.cfg, Epoch Login">*/
|
||||
/*%FSM<HEAD>*/
|
||||
/*
|
||||
item0[] = {"INIT",0,4346,-25.000000,-375.000000,75.000000,-325.000000,0.000000,"INIT"};
|
||||
item1[] = {"FINISH",1,250,-25.000000,1475.000000,75.000000,1525.000000,0.000000,"FINISH"};
|
||||
item0[] = {"INIT",0,250,-25.000000,-375.000000,75.000000,-325.000000,0.000000,"INIT"};
|
||||
item1[] = {"FINISH",1,4346,-25.000000,1475.000000,75.000000,1525.000000,0.000000,"FINISH"};
|
||||
item2[] = {"true",8,218,-150.000000,-125.000000,-50.000000,-75.000000,0.000000,"true"};
|
||||
item3[] = {"Version_Check",2,250,-25.000000,-75.000000,75.000000,-25.000000,0.000000,"Version Check"};
|
||||
item4[] = {"Player_Object_Re",4,218,-150.000000,75.000000,-50.000000,125.000000,0.000000,"Player" \n "Object Ready"};
|
||||
@ -190,8 +190,8 @@ link97[] = {85,79};
|
||||
link98[] = {86,16};
|
||||
link99[] = {86,22};
|
||||
link100[] = {87,31};
|
||||
globals[] = {0.000000,0,0,0,0,640,480,1,244,6316128,1,-213.844360,425.695953,479.928528,-482.114990,585,880,1};
|
||||
window[] = {2,-1,-1,-1,-1,968,156,1448,156,3,603};
|
||||
globals[] = {0.000000,0,0,0,0,640,480,1,244,6316128,1,-354.892670,479.114502,1946.016846,1047.855225,585,630,1};
|
||||
window[] = {2,-1,-1,-1,-1,871,104,1396,104,3,603};
|
||||
*//*%FSM</HEAD>*/
|
||||
class FSM
|
||||
{
|
||||
@ -211,6 +211,20 @@ class FSM
|
||||
"if (_debug) then {" \n
|
||||
" diag_log ""EPOCH-LOGIN: Init"";" \n
|
||||
"};" \n
|
||||
"" \n
|
||||
"" \n
|
||||
"_finalPlayerObjectCheck = {" \n
|
||||
" _logic1 = (_mass == (loadAbs _playerObject));" \n
|
||||
" _timeout = ((diag_tickTime - _myTime) > 30);" \n
|
||||
" diag_log format [""LOGIN-DEBUG mass match: %1 in %2 seconds, timeout: %3"", _logic1,(diag_tickTime - _myTime),_timeout];" \n
|
||||
" (_logic1 || _timeout)" \n
|
||||
"};" \n
|
||||
"" \n
|
||||
"EPOCH_loginFSM = _thisFSM;" \n
|
||||
"EPOCH_playerLoginInit = {" \n
|
||||
" diag_log format[""DEBUG: %1, %2"",_this, EPOCH_loginFSM];" \n
|
||||
" EPOCH_loginFSM setFSMVariable [_this select 0, _this select 1];" \n
|
||||
"};" \n
|
||||
""/*%FSM</STATEINIT""">*/;
|
||||
precondition = /*%FSM<STATEPRECONDITION""">*/""/*%FSM</STATEPRECONDITION""">*/;
|
||||
class Links
|
||||
@ -249,7 +263,8 @@ class FSM
|
||||
" diag_log ""EPOCH-LOGIN: Finish!"";" \n
|
||||
"};" \n
|
||||
"" \n
|
||||
"" \n
|
||||
"EPOCH_loginFSM = nil;" \n
|
||||
"EPOCH_playerLoginInit = nil;" \n
|
||||
"" \n
|
||||
"//player enableSimulation true;" \n
|
||||
"" \n
|
||||
@ -510,9 +525,9 @@ class FSM
|
||||
priority = 0.000000;
|
||||
to="Process_2";
|
||||
precondition = /*%FSM<CONDPRECONDITION""">*/""/*%FSM</CONDPRECONDITION""">*/;
|
||||
condition=/*%FSM<CONDITION""">*/"!isNil ""EPOCH_checkPlayer_PVC"""/*%FSM</CONDITION""">*/;
|
||||
action=/*%FSM<ACTION""">*/"_newChar = EPOCH_checkPlayer_PVC;" \n
|
||||
"EPOCH_checkPlayer_PVC = nil;"/*%FSM</ACTION""">*/;
|
||||
condition=/*%FSM<CONDITION""">*/"!isNil ""_checkPlayer_PVC"""/*%FSM</CONDITION""">*/;
|
||||
action=/*%FSM<ACTION""">*/"_newChar = _checkPlayer_PVC;" \n
|
||||
"_checkPlayer_PVC = nil;"/*%FSM</ACTION""">*/;
|
||||
};
|
||||
/*%FSM</LINK>*/
|
||||
/*%FSM<LINK "Timeout_No_Respo">*/
|
||||
@ -1041,7 +1056,7 @@ class FSM
|
||||
priority = 0.000000;
|
||||
to="Setup_Player_Obj";
|
||||
precondition = /*%FSM<CONDPRECONDITION""">*/""/*%FSM</CONDPRECONDITION""">*/;
|
||||
condition=/*%FSM<CONDITION""">*/"!(isNull _playerObject) && {_playerObject getVariable [""SETUP"",false]} && {_playerPos nearObjectsReady 10}"/*%FSM</CONDITION""">*/;
|
||||
condition=/*%FSM<CONDITION""">*/"!(isNull _playerObject) && {_playerObject getVariable [""SETUP"",false]} && {_playerPos nearObjectsReady 10} && {call _finalPlayerObjectCheck}"/*%FSM</CONDITION""">*/;
|
||||
action=/*%FSM<ACTION""">*/""/*%FSM</ACTION""">*/;
|
||||
};
|
||||
/*%FSM</LINK>*/
|
||||
@ -1337,9 +1352,9 @@ class FSM
|
||||
priority = 0.000000;
|
||||
to="Check_New_Player";
|
||||
precondition = /*%FSM<CONDPRECONDITION""">*/""/*%FSM</CONDPRECONDITION""">*/;
|
||||
condition=/*%FSM<CONDITION""">*/"!isNil ""EPOCH_C_SET"""/*%FSM</CONDITION""">*/;
|
||||
action=/*%FSM<ACTION""">*/"_array = EPOCH_C_SET;" \n
|
||||
"EPOCH_C_SET = nil;" \n
|
||||
condition=/*%FSM<CONDITION""">*/"!isNil ""_C_SET"""/*%FSM</CONDITION""">*/;
|
||||
action=/*%FSM<ACTION""">*/"_array = _C_SET;" \n
|
||||
"_C_SET = nil;" \n
|
||||
"_playerObject = _array deleteAt 0;" \n
|
||||
"_playerVariables = _array deleteAt 0;" \n
|
||||
"_currentWeapon = _array deleteAt 0;" \n
|
||||
|
@ -1,8 +1,8 @@
|
||||
/*%FSM<COMPILE "F:\Program Files (x86)\Bohemia Interactive\Tools\FSM Editor Personal Edition\scriptedFSM.cfg, Epoch Login">*/
|
||||
/*%FSM<HEAD>*/
|
||||
/*
|
||||
item0[] = {"INIT",0,4346,-25.000000,-375.000000,75.000000,-325.000000,0.000000,"INIT"};
|
||||
item1[] = {"FINISH",1,250,-25.000000,1475.000000,75.000000,1525.000000,0.000000,"FINISH"};
|
||||
item0[] = {"INIT",0,250,-25.000000,-375.000000,75.000000,-325.000000,0.000000,"INIT"};
|
||||
item1[] = {"FINISH",1,4346,-25.000000,1475.000000,75.000000,1525.000000,0.000000,"FINISH"};
|
||||
item2[] = {"true",8,218,-150.000000,-125.000000,-50.000000,-75.000000,0.000000,"true"};
|
||||
item3[] = {"Version_Check",2,250,-25.000000,-75.000000,75.000000,-25.000000,0.000000,"Version Check"};
|
||||
item4[] = {"Player_Object_Re",4,218,-150.000000,75.000000,-50.000000,125.000000,0.000000,"Player" \n "Object Ready"};
|
||||
@ -190,8 +190,8 @@ link97[] = {85,79};
|
||||
link98[] = {86,16};
|
||||
link99[] = {86,22};
|
||||
link100[] = {87,31};
|
||||
globals[] = {0.000000,0,0,0,0,640,480,1,244,6316128,1,-213.844360,425.695953,479.928528,-482.114990,585,880,1};
|
||||
window[] = {2,-1,-1,-1,-1,968,156,1448,156,3,603};
|
||||
globals[] = {0.000000,0,0,0,0,640,480,1,244,6316128,1,-354.892670,479.114502,1946.016846,1047.855225,585,630,1};
|
||||
window[] = {2,-1,-1,-1,-1,871,104,1396,104,3,603};
|
||||
*//*%FSM</HEAD>*/
|
||||
class FSM
|
||||
{
|
||||
@ -211,6 +211,20 @@ class FSM
|
||||
"if (_debug) then {" \n
|
||||
" diag_log ""EPOCH-LOGIN: Init"";" \n
|
||||
"};" \n
|
||||
"" \n
|
||||
"" \n
|
||||
"_finalPlayerObjectCheck = {" \n
|
||||
" _logic1 = (_mass == (loadAbs _playerObject));" \n
|
||||
" _timeout = ((diag_tickTime - _myTime) > 30);" \n
|
||||
" diag_log format [""LOGIN-DEBUG mass match: %1 in %2 seconds, timeout: %3"", _logic1,(diag_tickTime - _myTime),_timeout];" \n
|
||||
" (_logic1 || _timeout)" \n
|
||||
"};" \n
|
||||
"" \n
|
||||
"EPOCH_loginFSM = _thisFSM;" \n
|
||||
"EPOCH_playerLoginInit = {" \n
|
||||
" diag_log format[""DEBUG: %1, %2"",_this, EPOCH_loginFSM];" \n
|
||||
" EPOCH_loginFSM setFSMVariable [_this select 0, _this select 1];" \n
|
||||
"};" \n
|
||||
""/*%FSM</STATEINIT""">*/;
|
||||
precondition = /*%FSM<STATEPRECONDITION""">*/""/*%FSM</STATEPRECONDITION""">*/;
|
||||
class Links
|
||||
@ -249,7 +263,8 @@ class FSM
|
||||
" diag_log ""EPOCH-LOGIN: Finish!"";" \n
|
||||
"};" \n
|
||||
"" \n
|
||||
"" \n
|
||||
"EPOCH_loginFSM = nil;" \n
|
||||
"EPOCH_playerLoginInit = nil;" \n
|
||||
"" \n
|
||||
"//player enableSimulation true;" \n
|
||||
"" \n
|
||||
@ -510,9 +525,9 @@ class FSM
|
||||
priority = 0.000000;
|
||||
to="Process_2";
|
||||
precondition = /*%FSM<CONDPRECONDITION""">*/""/*%FSM</CONDPRECONDITION""">*/;
|
||||
condition=/*%FSM<CONDITION""">*/"!isNil ""EPOCH_checkPlayer_PVC"""/*%FSM</CONDITION""">*/;
|
||||
action=/*%FSM<ACTION""">*/"_newChar = EPOCH_checkPlayer_PVC;" \n
|
||||
"EPOCH_checkPlayer_PVC = nil;"/*%FSM</ACTION""">*/;
|
||||
condition=/*%FSM<CONDITION""">*/"!isNil ""_checkPlayer_PVC"""/*%FSM</CONDITION""">*/;
|
||||
action=/*%FSM<ACTION""">*/"_newChar = _checkPlayer_PVC;" \n
|
||||
"_checkPlayer_PVC = nil;"/*%FSM</ACTION""">*/;
|
||||
};
|
||||
/*%FSM</LINK>*/
|
||||
/*%FSM<LINK "Timeout_No_Respo">*/
|
||||
@ -1041,7 +1056,7 @@ class FSM
|
||||
priority = 0.000000;
|
||||
to="Setup_Player_Obj";
|
||||
precondition = /*%FSM<CONDPRECONDITION""">*/""/*%FSM</CONDPRECONDITION""">*/;
|
||||
condition=/*%FSM<CONDITION""">*/"!(isNull _playerObject) && {_playerObject getVariable [""SETUP"",false]} && {_playerPos nearObjectsReady 10}"/*%FSM</CONDITION""">*/;
|
||||
condition=/*%FSM<CONDITION""">*/"!(isNull _playerObject) && {_playerObject getVariable [""SETUP"",false]} && {_playerPos nearObjectsReady 10} && {call _finalPlayerObjectCheck}"/*%FSM</CONDITION""">*/;
|
||||
action=/*%FSM<ACTION""">*/""/*%FSM</ACTION""">*/;
|
||||
};
|
||||
/*%FSM</LINK>*/
|
||||
@ -1337,9 +1352,9 @@ class FSM
|
||||
priority = 0.000000;
|
||||
to="Check_New_Player";
|
||||
precondition = /*%FSM<CONDPRECONDITION""">*/""/*%FSM</CONDPRECONDITION""">*/;
|
||||
condition=/*%FSM<CONDITION""">*/"!isNil ""EPOCH_C_SET"""/*%FSM</CONDITION""">*/;
|
||||
action=/*%FSM<ACTION""">*/"_array = EPOCH_C_SET;" \n
|
||||
"EPOCH_C_SET = nil;" \n
|
||||
condition=/*%FSM<CONDITION""">*/"!isNil ""_C_SET"""/*%FSM</CONDITION""">*/;
|
||||
action=/*%FSM<ACTION""">*/"_array = _C_SET;" \n
|
||||
"_C_SET = nil;" \n
|
||||
"_playerObject = _array deleteAt 0;" \n
|
||||
"_playerVariables = _array deleteAt 0;" \n
|
||||
"_currentWeapon = _array deleteAt 0;" \n
|
||||
|
@ -1,8 +1,8 @@
|
||||
/*%FSM<COMPILE "F:\Program Files (x86)\Bohemia Interactive\Tools\FSM Editor Personal Edition\scriptedFSM.cfg, Epoch Login">*/
|
||||
/*%FSM<HEAD>*/
|
||||
/*
|
||||
item0[] = {"INIT",0,4346,-25.000000,-375.000000,75.000000,-325.000000,0.000000,"INIT"};
|
||||
item1[] = {"FINISH",1,250,-25.000000,1475.000000,75.000000,1525.000000,0.000000,"FINISH"};
|
||||
item0[] = {"INIT",0,250,-25.000000,-375.000000,75.000000,-325.000000,0.000000,"INIT"};
|
||||
item1[] = {"FINISH",1,4346,-25.000000,1475.000000,75.000000,1525.000000,0.000000,"FINISH"};
|
||||
item2[] = {"true",8,218,-150.000000,-125.000000,-50.000000,-75.000000,0.000000,"true"};
|
||||
item3[] = {"Version_Check",2,250,-25.000000,-75.000000,75.000000,-25.000000,0.000000,"Version Check"};
|
||||
item4[] = {"Player_Object_Re",4,218,-150.000000,75.000000,-50.000000,125.000000,0.000000,"Player" \n "Object Ready"};
|
||||
@ -190,8 +190,8 @@ link97[] = {85,79};
|
||||
link98[] = {86,16};
|
||||
link99[] = {86,22};
|
||||
link100[] = {87,31};
|
||||
globals[] = {0.000000,0,0,0,0,640,480,1,244,6316128,1,-213.844360,425.695953,479.928528,-482.114990,585,880,1};
|
||||
window[] = {2,-1,-1,-1,-1,968,156,1448,156,3,603};
|
||||
globals[] = {0.000000,0,0,0,0,640,480,1,244,6316128,1,-354.892670,479.114502,1946.016846,1047.855225,585,630,1};
|
||||
window[] = {2,-1,-1,-1,-1,871,104,1396,104,3,603};
|
||||
*//*%FSM</HEAD>*/
|
||||
class FSM
|
||||
{
|
||||
@ -211,6 +211,20 @@ class FSM
|
||||
"if (_debug) then {" \n
|
||||
" diag_log ""EPOCH-LOGIN: Init"";" \n
|
||||
"};" \n
|
||||
"" \n
|
||||
"" \n
|
||||
"_finalPlayerObjectCheck = {" \n
|
||||
" _logic1 = (_mass == (loadAbs _playerObject));" \n
|
||||
" _timeout = ((diag_tickTime - _myTime) > 30);" \n
|
||||
" diag_log format [""LOGIN-DEBUG mass match: %1 in %2 seconds, timeout: %3"", _logic1,(diag_tickTime - _myTime),_timeout];" \n
|
||||
" (_logic1 || _timeout)" \n
|
||||
"};" \n
|
||||
"" \n
|
||||
"EPOCH_loginFSM = _thisFSM;" \n
|
||||
"EPOCH_playerLoginInit = {" \n
|
||||
" diag_log format[""DEBUG: %1, %2"",_this, EPOCH_loginFSM];" \n
|
||||
" EPOCH_loginFSM setFSMVariable [_this select 0, _this select 1];" \n
|
||||
"};" \n
|
||||
""/*%FSM</STATEINIT""">*/;
|
||||
precondition = /*%FSM<STATEPRECONDITION""">*/""/*%FSM</STATEPRECONDITION""">*/;
|
||||
class Links
|
||||
@ -249,7 +263,8 @@ class FSM
|
||||
" diag_log ""EPOCH-LOGIN: Finish!"";" \n
|
||||
"};" \n
|
||||
"" \n
|
||||
"" \n
|
||||
"EPOCH_loginFSM = nil;" \n
|
||||
"EPOCH_playerLoginInit = nil;" \n
|
||||
"" \n
|
||||
"//player enableSimulation true;" \n
|
||||
"" \n
|
||||
@ -510,9 +525,9 @@ class FSM
|
||||
priority = 0.000000;
|
||||
to="Process_2";
|
||||
precondition = /*%FSM<CONDPRECONDITION""">*/""/*%FSM</CONDPRECONDITION""">*/;
|
||||
condition=/*%FSM<CONDITION""">*/"!isNil ""EPOCH_checkPlayer_PVC"""/*%FSM</CONDITION""">*/;
|
||||
action=/*%FSM<ACTION""">*/"_newChar = EPOCH_checkPlayer_PVC;" \n
|
||||
"EPOCH_checkPlayer_PVC = nil;"/*%FSM</ACTION""">*/;
|
||||
condition=/*%FSM<CONDITION""">*/"!isNil ""_checkPlayer_PVC"""/*%FSM</CONDITION""">*/;
|
||||
action=/*%FSM<ACTION""">*/"_newChar = _checkPlayer_PVC;" \n
|
||||
"_checkPlayer_PVC = nil;"/*%FSM</ACTION""">*/;
|
||||
};
|
||||
/*%FSM</LINK>*/
|
||||
/*%FSM<LINK "Timeout_No_Respo">*/
|
||||
@ -1041,7 +1056,7 @@ class FSM
|
||||
priority = 0.000000;
|
||||
to="Setup_Player_Obj";
|
||||
precondition = /*%FSM<CONDPRECONDITION""">*/""/*%FSM</CONDPRECONDITION""">*/;
|
||||
condition=/*%FSM<CONDITION""">*/"!(isNull _playerObject) && {_playerObject getVariable [""SETUP"",false]} && {_playerPos nearObjectsReady 10}"/*%FSM</CONDITION""">*/;
|
||||
condition=/*%FSM<CONDITION""">*/"!(isNull _playerObject) && {_playerObject getVariable [""SETUP"",false]} && {_playerPos nearObjectsReady 10} && {call _finalPlayerObjectCheck}"/*%FSM</CONDITION""">*/;
|
||||
action=/*%FSM<ACTION""">*/""/*%FSM</ACTION""">*/;
|
||||
};
|
||||
/*%FSM</LINK>*/
|
||||
@ -1337,9 +1352,9 @@ class FSM
|
||||
priority = 0.000000;
|
||||
to="Check_New_Player";
|
||||
precondition = /*%FSM<CONDPRECONDITION""">*/""/*%FSM</CONDPRECONDITION""">*/;
|
||||
condition=/*%FSM<CONDITION""">*/"!isNil ""EPOCH_C_SET"""/*%FSM</CONDITION""">*/;
|
||||
action=/*%FSM<ACTION""">*/"_array = EPOCH_C_SET;" \n
|
||||
"EPOCH_C_SET = nil;" \n
|
||||
condition=/*%FSM<CONDITION""">*/"!isNil ""_C_SET"""/*%FSM</CONDITION""">*/;
|
||||
action=/*%FSM<ACTION""">*/"_array = _C_SET;" \n
|
||||
"_C_SET = nil;" \n
|
||||
"_playerObject = _array deleteAt 0;" \n
|
||||
"_playerVariables = _array deleteAt 0;" \n
|
||||
"_currentWeapon = _array deleteAt 0;" \n
|
||||
|
@ -1,8 +1,8 @@
|
||||
/*%FSM<COMPILE "F:\Program Files (x86)\Bohemia Interactive\Tools\FSM Editor Personal Edition\scriptedFSM.cfg, Epoch Login">*/
|
||||
/*%FSM<HEAD>*/
|
||||
/*
|
||||
item0[] = {"INIT",0,4346,-25.000000,-375.000000,75.000000,-325.000000,0.000000,"INIT"};
|
||||
item1[] = {"FINISH",1,250,-25.000000,1475.000000,75.000000,1525.000000,0.000000,"FINISH"};
|
||||
item0[] = {"INIT",0,250,-25.000000,-375.000000,75.000000,-325.000000,0.000000,"INIT"};
|
||||
item1[] = {"FINISH",1,4346,-25.000000,1475.000000,75.000000,1525.000000,0.000000,"FINISH"};
|
||||
item2[] = {"true",8,218,-150.000000,-125.000000,-50.000000,-75.000000,0.000000,"true"};
|
||||
item3[] = {"Version_Check",2,250,-25.000000,-75.000000,75.000000,-25.000000,0.000000,"Version Check"};
|
||||
item4[] = {"Player_Object_Re",4,218,-150.000000,75.000000,-50.000000,125.000000,0.000000,"Player" \n "Object Ready"};
|
||||
@ -190,8 +190,8 @@ link97[] = {85,79};
|
||||
link98[] = {86,16};
|
||||
link99[] = {86,22};
|
||||
link100[] = {87,31};
|
||||
globals[] = {0.000000,0,0,0,0,640,480,1,244,6316128,1,-213.844360,425.695953,479.928528,-482.114990,585,880,1};
|
||||
window[] = {2,-1,-1,-1,-1,968,156,1448,156,3,603};
|
||||
globals[] = {0.000000,0,0,0,0,640,480,1,244,6316128,1,-354.892670,479.114502,1946.016846,1047.855225,585,630,1};
|
||||
window[] = {2,-1,-1,-1,-1,871,104,1396,104,3,603};
|
||||
*//*%FSM</HEAD>*/
|
||||
class FSM
|
||||
{
|
||||
@ -211,6 +211,20 @@ class FSM
|
||||
"if (_debug) then {" \n
|
||||
" diag_log ""EPOCH-LOGIN: Init"";" \n
|
||||
"};" \n
|
||||
"" \n
|
||||
"" \n
|
||||
"_finalPlayerObjectCheck = {" \n
|
||||
" _logic1 = (_mass == (loadAbs _playerObject));" \n
|
||||
" _timeout = ((diag_tickTime - _myTime) > 30);" \n
|
||||
" diag_log format [""LOGIN-DEBUG mass match: %1 in %2 seconds, timeout: %3"", _logic1,(diag_tickTime - _myTime),_timeout];" \n
|
||||
" (_logic1 || _timeout)" \n
|
||||
"};" \n
|
||||
"" \n
|
||||
"EPOCH_loginFSM = _thisFSM;" \n
|
||||
"EPOCH_playerLoginInit = {" \n
|
||||
" diag_log format[""DEBUG: %1, %2"",_this, EPOCH_loginFSM];" \n
|
||||
" EPOCH_loginFSM setFSMVariable [_this select 0, _this select 1];" \n
|
||||
"};" \n
|
||||
""/*%FSM</STATEINIT""">*/;
|
||||
precondition = /*%FSM<STATEPRECONDITION""">*/""/*%FSM</STATEPRECONDITION""">*/;
|
||||
class Links
|
||||
@ -249,7 +263,8 @@ class FSM
|
||||
" diag_log ""EPOCH-LOGIN: Finish!"";" \n
|
||||
"};" \n
|
||||
"" \n
|
||||
"" \n
|
||||
"EPOCH_loginFSM = nil;" \n
|
||||
"EPOCH_playerLoginInit = nil;" \n
|
||||
"" \n
|
||||
"//player enableSimulation true;" \n
|
||||
"" \n
|
||||
@ -510,9 +525,9 @@ class FSM
|
||||
priority = 0.000000;
|
||||
to="Process_2";
|
||||
precondition = /*%FSM<CONDPRECONDITION""">*/""/*%FSM</CONDPRECONDITION""">*/;
|
||||
condition=/*%FSM<CONDITION""">*/"!isNil ""EPOCH_checkPlayer_PVC"""/*%FSM</CONDITION""">*/;
|
||||
action=/*%FSM<ACTION""">*/"_newChar = EPOCH_checkPlayer_PVC;" \n
|
||||
"EPOCH_checkPlayer_PVC = nil;"/*%FSM</ACTION""">*/;
|
||||
condition=/*%FSM<CONDITION""">*/"!isNil ""_checkPlayer_PVC"""/*%FSM</CONDITION""">*/;
|
||||
action=/*%FSM<ACTION""">*/"_newChar = _checkPlayer_PVC;" \n
|
||||
"_checkPlayer_PVC = nil;"/*%FSM</ACTION""">*/;
|
||||
};
|
||||
/*%FSM</LINK>*/
|
||||
/*%FSM<LINK "Timeout_No_Respo">*/
|
||||
@ -1041,7 +1056,7 @@ class FSM
|
||||
priority = 0.000000;
|
||||
to="Setup_Player_Obj";
|
||||
precondition = /*%FSM<CONDPRECONDITION""">*/""/*%FSM</CONDPRECONDITION""">*/;
|
||||
condition=/*%FSM<CONDITION""">*/"!(isNull _playerObject) && {_playerObject getVariable [""SETUP"",false]} && {_playerPos nearObjectsReady 10}"/*%FSM</CONDITION""">*/;
|
||||
condition=/*%FSM<CONDITION""">*/"!(isNull _playerObject) && {_playerObject getVariable [""SETUP"",false]} && {_playerPos nearObjectsReady 10} && {call _finalPlayerObjectCheck}"/*%FSM</CONDITION""">*/;
|
||||
action=/*%FSM<ACTION""">*/""/*%FSM</ACTION""">*/;
|
||||
};
|
||||
/*%FSM</LINK>*/
|
||||
@ -1337,9 +1352,9 @@ class FSM
|
||||
priority = 0.000000;
|
||||
to="Check_New_Player";
|
||||
precondition = /*%FSM<CONDPRECONDITION""">*/""/*%FSM</CONDPRECONDITION""">*/;
|
||||
condition=/*%FSM<CONDITION""">*/"!isNil ""EPOCH_C_SET"""/*%FSM</CONDITION""">*/;
|
||||
action=/*%FSM<ACTION""">*/"_array = EPOCH_C_SET;" \n
|
||||
"EPOCH_C_SET = nil;" \n
|
||||
condition=/*%FSM<CONDITION""">*/"!isNil ""_C_SET"""/*%FSM</CONDITION""">*/;
|
||||
action=/*%FSM<ACTION""">*/"_array = _C_SET;" \n
|
||||
"_C_SET = nil;" \n
|
||||
"_playerObject = _array deleteAt 0;" \n
|
||||
"_playerVariables = _array deleteAt 0;" \n
|
||||
"_currentWeapon = _array deleteAt 0;" \n
|
||||
|
@ -1,8 +1,8 @@
|
||||
/*%FSM<COMPILE "F:\Program Files (x86)\Bohemia Interactive\Tools\FSM Editor Personal Edition\scriptedFSM.cfg, Epoch Login">*/
|
||||
/*%FSM<HEAD>*/
|
||||
/*
|
||||
item0[] = {"INIT",0,4346,-25.000000,-375.000000,75.000000,-325.000000,0.000000,"INIT"};
|
||||
item1[] = {"FINISH",1,250,-25.000000,1475.000000,75.000000,1525.000000,0.000000,"FINISH"};
|
||||
item0[] = {"INIT",0,250,-25.000000,-375.000000,75.000000,-325.000000,0.000000,"INIT"};
|
||||
item1[] = {"FINISH",1,4346,-25.000000,1475.000000,75.000000,1525.000000,0.000000,"FINISH"};
|
||||
item2[] = {"true",8,218,-150.000000,-125.000000,-50.000000,-75.000000,0.000000,"true"};
|
||||
item3[] = {"Version_Check",2,250,-25.000000,-75.000000,75.000000,-25.000000,0.000000,"Version Check"};
|
||||
item4[] = {"Player_Object_Re",4,218,-150.000000,75.000000,-50.000000,125.000000,0.000000,"Player" \n "Object Ready"};
|
||||
@ -190,8 +190,8 @@ link97[] = {85,79};
|
||||
link98[] = {86,16};
|
||||
link99[] = {86,22};
|
||||
link100[] = {87,31};
|
||||
globals[] = {0.000000,0,0,0,0,640,480,1,244,6316128,1,-213.844360,425.695953,479.928528,-482.114990,585,880,1};
|
||||
window[] = {2,-1,-1,-1,-1,968,156,1448,156,3,603};
|
||||
globals[] = {0.000000,0,0,0,0,640,480,1,244,6316128,1,-354.892670,479.114502,1946.016846,1047.855225,585,630,1};
|
||||
window[] = {2,-1,-1,-1,-1,871,104,1396,104,3,603};
|
||||
*//*%FSM</HEAD>*/
|
||||
class FSM
|
||||
{
|
||||
@ -211,6 +211,20 @@ class FSM
|
||||
"if (_debug) then {" \n
|
||||
" diag_log ""EPOCH-LOGIN: Init"";" \n
|
||||
"};" \n
|
||||
"" \n
|
||||
"" \n
|
||||
"_finalPlayerObjectCheck = {" \n
|
||||
" _logic1 = (_mass == (loadAbs _playerObject));" \n
|
||||
" _timeout = ((diag_tickTime - _myTime) > 30);" \n
|
||||
" diag_log format [""LOGIN-DEBUG mass match: %1 in %2 seconds, timeout: %3"", _logic1,(diag_tickTime - _myTime),_timeout];" \n
|
||||
" (_logic1 || _timeout)" \n
|
||||
"};" \n
|
||||
"" \n
|
||||
"EPOCH_loginFSM = _thisFSM;" \n
|
||||
"EPOCH_playerLoginInit = {" \n
|
||||
" diag_log format[""DEBUG: %1, %2"",_this, EPOCH_loginFSM];" \n
|
||||
" EPOCH_loginFSM setFSMVariable [_this select 0, _this select 1];" \n
|
||||
"};" \n
|
||||
""/*%FSM</STATEINIT""">*/;
|
||||
precondition = /*%FSM<STATEPRECONDITION""">*/""/*%FSM</STATEPRECONDITION""">*/;
|
||||
class Links
|
||||
@ -249,7 +263,8 @@ class FSM
|
||||
" diag_log ""EPOCH-LOGIN: Finish!"";" \n
|
||||
"};" \n
|
||||
"" \n
|
||||
"" \n
|
||||
"EPOCH_loginFSM = nil;" \n
|
||||
"EPOCH_playerLoginInit = nil;" \n
|
||||
"" \n
|
||||
"//player enableSimulation true;" \n
|
||||
"" \n
|
||||
@ -510,9 +525,9 @@ class FSM
|
||||
priority = 0.000000;
|
||||
to="Process_2";
|
||||
precondition = /*%FSM<CONDPRECONDITION""">*/""/*%FSM</CONDPRECONDITION""">*/;
|
||||
condition=/*%FSM<CONDITION""">*/"!isNil ""EPOCH_checkPlayer_PVC"""/*%FSM</CONDITION""">*/;
|
||||
action=/*%FSM<ACTION""">*/"_newChar = EPOCH_checkPlayer_PVC;" \n
|
||||
"EPOCH_checkPlayer_PVC = nil;"/*%FSM</ACTION""">*/;
|
||||
condition=/*%FSM<CONDITION""">*/"!isNil ""_checkPlayer_PVC"""/*%FSM</CONDITION""">*/;
|
||||
action=/*%FSM<ACTION""">*/"_newChar = _checkPlayer_PVC;" \n
|
||||
"_checkPlayer_PVC = nil;"/*%FSM</ACTION""">*/;
|
||||
};
|
||||
/*%FSM</LINK>*/
|
||||
/*%FSM<LINK "Timeout_No_Respo">*/
|
||||
@ -1041,7 +1056,7 @@ class FSM
|
||||
priority = 0.000000;
|
||||
to="Setup_Player_Obj";
|
||||
precondition = /*%FSM<CONDPRECONDITION""">*/""/*%FSM</CONDPRECONDITION""">*/;
|
||||
condition=/*%FSM<CONDITION""">*/"!(isNull _playerObject) && {_playerObject getVariable [""SETUP"",false]} && {_playerPos nearObjectsReady 10}"/*%FSM</CONDITION""">*/;
|
||||
condition=/*%FSM<CONDITION""">*/"!(isNull _playerObject) && {_playerObject getVariable [""SETUP"",false]} && {_playerPos nearObjectsReady 10} && {call _finalPlayerObjectCheck}"/*%FSM</CONDITION""">*/;
|
||||
action=/*%FSM<ACTION""">*/""/*%FSM</ACTION""">*/;
|
||||
};
|
||||
/*%FSM</LINK>*/
|
||||
@ -1337,9 +1352,9 @@ class FSM
|
||||
priority = 0.000000;
|
||||
to="Check_New_Player";
|
||||
precondition = /*%FSM<CONDPRECONDITION""">*/""/*%FSM</CONDPRECONDITION""">*/;
|
||||
condition=/*%FSM<CONDITION""">*/"!isNil ""EPOCH_C_SET"""/*%FSM</CONDITION""">*/;
|
||||
action=/*%FSM<ACTION""">*/"_array = EPOCH_C_SET;" \n
|
||||
"EPOCH_C_SET = nil;" \n
|
||||
condition=/*%FSM<CONDITION""">*/"!isNil ""_C_SET"""/*%FSM</CONDITION""">*/;
|
||||
action=/*%FSM<ACTION""">*/"_array = _C_SET;" \n
|
||||
"_C_SET = nil;" \n
|
||||
"_playerObject = _array deleteAt 0;" \n
|
||||
"_playerVariables = _array deleteAt 0;" \n
|
||||
"_currentWeapon = _array deleteAt 0;" \n
|
||||
|
@ -1,8 +1,8 @@
|
||||
/*%FSM<COMPILE "F:\Program Files (x86)\Bohemia Interactive\Tools\FSM Editor Personal Edition\scriptedFSM.cfg, Epoch Login">*/
|
||||
/*%FSM<HEAD>*/
|
||||
/*
|
||||
item0[] = {"INIT",0,4346,-25.000000,-375.000000,75.000000,-325.000000,0.000000,"INIT"};
|
||||
item1[] = {"FINISH",1,250,-25.000000,1475.000000,75.000000,1525.000000,0.000000,"FINISH"};
|
||||
item0[] = {"INIT",0,250,-25.000000,-375.000000,75.000000,-325.000000,0.000000,"INIT"};
|
||||
item1[] = {"FINISH",1,4346,-25.000000,1475.000000,75.000000,1525.000000,0.000000,"FINISH"};
|
||||
item2[] = {"true",8,218,-150.000000,-125.000000,-50.000000,-75.000000,0.000000,"true"};
|
||||
item3[] = {"Version_Check",2,250,-25.000000,-75.000000,75.000000,-25.000000,0.000000,"Version Check"};
|
||||
item4[] = {"Player_Object_Re",4,218,-150.000000,75.000000,-50.000000,125.000000,0.000000,"Player" \n "Object Ready"};
|
||||
@ -190,8 +190,8 @@ link97[] = {85,79};
|
||||
link98[] = {86,16};
|
||||
link99[] = {86,22};
|
||||
link100[] = {87,31};
|
||||
globals[] = {0.000000,0,0,0,0,640,480,1,244,6316128,1,-213.844360,425.695953,479.928528,-482.114990,585,880,1};
|
||||
window[] = {2,-1,-1,-1,-1,968,156,1448,156,3,603};
|
||||
globals[] = {0.000000,0,0,0,0,640,480,1,244,6316128,1,-354.892670,479.114502,1946.016846,1047.855225,585,630,1};
|
||||
window[] = {2,-1,-1,-1,-1,871,104,1396,104,3,603};
|
||||
*//*%FSM</HEAD>*/
|
||||
class FSM
|
||||
{
|
||||
@ -211,6 +211,20 @@ class FSM
|
||||
"if (_debug) then {" \n
|
||||
" diag_log ""EPOCH-LOGIN: Init"";" \n
|
||||
"};" \n
|
||||
"" \n
|
||||
"" \n
|
||||
"_finalPlayerObjectCheck = {" \n
|
||||
" _logic1 = (_mass == (loadAbs _playerObject));" \n
|
||||
" _timeout = ((diag_tickTime - _myTime) > 30);" \n
|
||||
" diag_log format [""LOGIN-DEBUG mass match: %1 in %2 seconds, timeout: %3"", _logic1,(diag_tickTime - _myTime),_timeout];" \n
|
||||
" (_logic1 || _timeout)" \n
|
||||
"};" \n
|
||||
"" \n
|
||||
"EPOCH_loginFSM = _thisFSM;" \n
|
||||
"EPOCH_playerLoginInit = {" \n
|
||||
" diag_log format[""DEBUG: %1, %2"",_this, EPOCH_loginFSM];" \n
|
||||
" EPOCH_loginFSM setFSMVariable [_this select 0, _this select 1];" \n
|
||||
"};" \n
|
||||
""/*%FSM</STATEINIT""">*/;
|
||||
precondition = /*%FSM<STATEPRECONDITION""">*/""/*%FSM</STATEPRECONDITION""">*/;
|
||||
class Links
|
||||
@ -249,7 +263,8 @@ class FSM
|
||||
" diag_log ""EPOCH-LOGIN: Finish!"";" \n
|
||||
"};" \n
|
||||
"" \n
|
||||
"" \n
|
||||
"EPOCH_loginFSM = nil;" \n
|
||||
"EPOCH_playerLoginInit = nil;" \n
|
||||
"" \n
|
||||
"//player enableSimulation true;" \n
|
||||
"" \n
|
||||
@ -510,9 +525,9 @@ class FSM
|
||||
priority = 0.000000;
|
||||
to="Process_2";
|
||||
precondition = /*%FSM<CONDPRECONDITION""">*/""/*%FSM</CONDPRECONDITION""">*/;
|
||||
condition=/*%FSM<CONDITION""">*/"!isNil ""EPOCH_checkPlayer_PVC"""/*%FSM</CONDITION""">*/;
|
||||
action=/*%FSM<ACTION""">*/"_newChar = EPOCH_checkPlayer_PVC;" \n
|
||||
"EPOCH_checkPlayer_PVC = nil;"/*%FSM</ACTION""">*/;
|
||||
condition=/*%FSM<CONDITION""">*/"!isNil ""_checkPlayer_PVC"""/*%FSM</CONDITION""">*/;
|
||||
action=/*%FSM<ACTION""">*/"_newChar = _checkPlayer_PVC;" \n
|
||||
"_checkPlayer_PVC = nil;"/*%FSM</ACTION""">*/;
|
||||
};
|
||||
/*%FSM</LINK>*/
|
||||
/*%FSM<LINK "Timeout_No_Respo">*/
|
||||
@ -1041,7 +1056,7 @@ class FSM
|
||||
priority = 0.000000;
|
||||
to="Setup_Player_Obj";
|
||||
precondition = /*%FSM<CONDPRECONDITION""">*/""/*%FSM</CONDPRECONDITION""">*/;
|
||||
condition=/*%FSM<CONDITION""">*/"!(isNull _playerObject) && {_playerObject getVariable [""SETUP"",false]} && {_playerPos nearObjectsReady 10}"/*%FSM</CONDITION""">*/;
|
||||
condition=/*%FSM<CONDITION""">*/"!(isNull _playerObject) && {_playerObject getVariable [""SETUP"",false]} && {_playerPos nearObjectsReady 10} && {call _finalPlayerObjectCheck}"/*%FSM</CONDITION""">*/;
|
||||
action=/*%FSM<ACTION""">*/""/*%FSM</ACTION""">*/;
|
||||
};
|
||||
/*%FSM</LINK>*/
|
||||
@ -1337,9 +1352,9 @@ class FSM
|
||||
priority = 0.000000;
|
||||
to="Check_New_Player";
|
||||
precondition = /*%FSM<CONDPRECONDITION""">*/""/*%FSM</CONDPRECONDITION""">*/;
|
||||
condition=/*%FSM<CONDITION""">*/"!isNil ""EPOCH_C_SET"""/*%FSM</CONDITION""">*/;
|
||||
action=/*%FSM<ACTION""">*/"_array = EPOCH_C_SET;" \n
|
||||
"EPOCH_C_SET = nil;" \n
|
||||
condition=/*%FSM<CONDITION""">*/"!isNil ""_C_SET"""/*%FSM</CONDITION""">*/;
|
||||
action=/*%FSM<ACTION""">*/"_array = _C_SET;" \n
|
||||
"_C_SET = nil;" \n
|
||||
"_playerObject = _array deleteAt 0;" \n
|
||||
"_playerVariables = _array deleteAt 0;" \n
|
||||
"_currentWeapon = _array deleteAt 0;" \n
|
||||
|
@ -1,8 +1,8 @@
|
||||
/*%FSM<COMPILE "F:\Program Files (x86)\Bohemia Interactive\Tools\FSM Editor Personal Edition\scriptedFSM.cfg, Epoch Login">*/
|
||||
/*%FSM<HEAD>*/
|
||||
/*
|
||||
item0[] = {"INIT",0,4346,-25.000000,-375.000000,75.000000,-325.000000,0.000000,"INIT"};
|
||||
item1[] = {"FINISH",1,250,-25.000000,1475.000000,75.000000,1525.000000,0.000000,"FINISH"};
|
||||
item0[] = {"INIT",0,250,-25.000000,-375.000000,75.000000,-325.000000,0.000000,"INIT"};
|
||||
item1[] = {"FINISH",1,4346,-25.000000,1475.000000,75.000000,1525.000000,0.000000,"FINISH"};
|
||||
item2[] = {"true",8,218,-150.000000,-125.000000,-50.000000,-75.000000,0.000000,"true"};
|
||||
item3[] = {"Version_Check",2,250,-25.000000,-75.000000,75.000000,-25.000000,0.000000,"Version Check"};
|
||||
item4[] = {"Player_Object_Re",4,218,-150.000000,75.000000,-50.000000,125.000000,0.000000,"Player" \n "Object Ready"};
|
||||
@ -190,8 +190,8 @@ link97[] = {85,79};
|
||||
link98[] = {86,16};
|
||||
link99[] = {86,22};
|
||||
link100[] = {87,31};
|
||||
globals[] = {0.000000,0,0,0,0,640,480,1,244,6316128,1,-213.844360,425.695953,479.928528,-482.114990,585,880,1};
|
||||
window[] = {2,-1,-1,-1,-1,968,156,1448,156,3,603};
|
||||
globals[] = {0.000000,0,0,0,0,640,480,1,244,6316128,1,-354.892670,479.114502,1946.016846,1047.855225,585,630,1};
|
||||
window[] = {2,-1,-1,-1,-1,871,104,1396,104,3,603};
|
||||
*//*%FSM</HEAD>*/
|
||||
class FSM
|
||||
{
|
||||
@ -211,6 +211,20 @@ class FSM
|
||||
"if (_debug) then {" \n
|
||||
" diag_log ""EPOCH-LOGIN: Init"";" \n
|
||||
"};" \n
|
||||
"" \n
|
||||
"" \n
|
||||
"_finalPlayerObjectCheck = {" \n
|
||||
" _logic1 = (_mass == (loadAbs _playerObject));" \n
|
||||
" _timeout = ((diag_tickTime - _myTime) > 30);" \n
|
||||
" diag_log format [""LOGIN-DEBUG mass match: %1 in %2 seconds, timeout: %3"", _logic1,(diag_tickTime - _myTime),_timeout];" \n
|
||||
" (_logic1 || _timeout)" \n
|
||||
"};" \n
|
||||
"" \n
|
||||
"EPOCH_loginFSM = _thisFSM;" \n
|
||||
"EPOCH_playerLoginInit = {" \n
|
||||
" diag_log format[""DEBUG: %1, %2"",_this, EPOCH_loginFSM];" \n
|
||||
" EPOCH_loginFSM setFSMVariable [_this select 0, _this select 1];" \n
|
||||
"};" \n
|
||||
""/*%FSM</STATEINIT""">*/;
|
||||
precondition = /*%FSM<STATEPRECONDITION""">*/""/*%FSM</STATEPRECONDITION""">*/;
|
||||
class Links
|
||||
@ -249,7 +263,8 @@ class FSM
|
||||
" diag_log ""EPOCH-LOGIN: Finish!"";" \n
|
||||
"};" \n
|
||||
"" \n
|
||||
"" \n
|
||||
"EPOCH_loginFSM = nil;" \n
|
||||
"EPOCH_playerLoginInit = nil;" \n
|
||||
"" \n
|
||||
"//player enableSimulation true;" \n
|
||||
"" \n
|
||||
@ -510,9 +525,9 @@ class FSM
|
||||
priority = 0.000000;
|
||||
to="Process_2";
|
||||
precondition = /*%FSM<CONDPRECONDITION""">*/""/*%FSM</CONDPRECONDITION""">*/;
|
||||
condition=/*%FSM<CONDITION""">*/"!isNil ""EPOCH_checkPlayer_PVC"""/*%FSM</CONDITION""">*/;
|
||||
action=/*%FSM<ACTION""">*/"_newChar = EPOCH_checkPlayer_PVC;" \n
|
||||
"EPOCH_checkPlayer_PVC = nil;"/*%FSM</ACTION""">*/;
|
||||
condition=/*%FSM<CONDITION""">*/"!isNil ""_checkPlayer_PVC"""/*%FSM</CONDITION""">*/;
|
||||
action=/*%FSM<ACTION""">*/"_newChar = _checkPlayer_PVC;" \n
|
||||
"_checkPlayer_PVC = nil;"/*%FSM</ACTION""">*/;
|
||||
};
|
||||
/*%FSM</LINK>*/
|
||||
/*%FSM<LINK "Timeout_No_Respo">*/
|
||||
@ -1041,7 +1056,7 @@ class FSM
|
||||
priority = 0.000000;
|
||||
to="Setup_Player_Obj";
|
||||
precondition = /*%FSM<CONDPRECONDITION""">*/""/*%FSM</CONDPRECONDITION""">*/;
|
||||
condition=/*%FSM<CONDITION""">*/"!(isNull _playerObject) && {_playerObject getVariable [""SETUP"",false]} && {_playerPos nearObjectsReady 10}"/*%FSM</CONDITION""">*/;
|
||||
condition=/*%FSM<CONDITION""">*/"!(isNull _playerObject) && {_playerObject getVariable [""SETUP"",false]} && {_playerPos nearObjectsReady 10} && {call _finalPlayerObjectCheck}"/*%FSM</CONDITION""">*/;
|
||||
action=/*%FSM<ACTION""">*/""/*%FSM</ACTION""">*/;
|
||||
};
|
||||
/*%FSM</LINK>*/
|
||||
@ -1337,9 +1352,9 @@ class FSM
|
||||
priority = 0.000000;
|
||||
to="Check_New_Player";
|
||||
precondition = /*%FSM<CONDPRECONDITION""">*/""/*%FSM</CONDPRECONDITION""">*/;
|
||||
condition=/*%FSM<CONDITION""">*/"!isNil ""EPOCH_C_SET"""/*%FSM</CONDITION""">*/;
|
||||
action=/*%FSM<ACTION""">*/"_array = EPOCH_C_SET;" \n
|
||||
"EPOCH_C_SET = nil;" \n
|
||||
condition=/*%FSM<CONDITION""">*/"!isNil ""_C_SET"""/*%FSM</CONDITION""">*/;
|
||||
action=/*%FSM<ACTION""">*/"_array = _C_SET;" \n
|
||||
"_C_SET = nil;" \n
|
||||
"_playerObject = _array deleteAt 0;" \n
|
||||
"_playerVariables = _array deleteAt 0;" \n
|
||||
"_currentWeapon = _array deleteAt 0;" \n
|
||||
|
@ -1,8 +1,8 @@
|
||||
/*%FSM<COMPILE "F:\Program Files (x86)\Bohemia Interactive\Tools\FSM Editor Personal Edition\scriptedFSM.cfg, Epoch Login">*/
|
||||
/*%FSM<HEAD>*/
|
||||
/*
|
||||
item0[] = {"INIT",0,4346,-25.000000,-375.000000,75.000000,-325.000000,0.000000,"INIT"};
|
||||
item1[] = {"FINISH",1,250,-25.000000,1475.000000,75.000000,1525.000000,0.000000,"FINISH"};
|
||||
item0[] = {"INIT",0,250,-25.000000,-375.000000,75.000000,-325.000000,0.000000,"INIT"};
|
||||
item1[] = {"FINISH",1,4346,-25.000000,1475.000000,75.000000,1525.000000,0.000000,"FINISH"};
|
||||
item2[] = {"true",8,218,-150.000000,-125.000000,-50.000000,-75.000000,0.000000,"true"};
|
||||
item3[] = {"Version_Check",2,250,-25.000000,-75.000000,75.000000,-25.000000,0.000000,"Version Check"};
|
||||
item4[] = {"Player_Object_Re",4,218,-150.000000,75.000000,-50.000000,125.000000,0.000000,"Player" \n "Object Ready"};
|
||||
@ -190,8 +190,8 @@ link97[] = {85,79};
|
||||
link98[] = {86,16};
|
||||
link99[] = {86,22};
|
||||
link100[] = {87,31};
|
||||
globals[] = {0.000000,0,0,0,0,640,480,1,244,6316128,1,-213.844360,425.695953,479.928528,-482.114990,585,880,1};
|
||||
window[] = {2,-1,-1,-1,-1,968,156,1448,156,3,603};
|
||||
globals[] = {0.000000,0,0,0,0,640,480,1,244,6316128,1,-354.892670,479.114502,1946.016846,1047.855225,585,630,1};
|
||||
window[] = {2,-1,-1,-1,-1,871,104,1396,104,3,603};
|
||||
*//*%FSM</HEAD>*/
|
||||
class FSM
|
||||
{
|
||||
@ -211,6 +211,20 @@ class FSM
|
||||
"if (_debug) then {" \n
|
||||
" diag_log ""EPOCH-LOGIN: Init"";" \n
|
||||
"};" \n
|
||||
"" \n
|
||||
"" \n
|
||||
"_finalPlayerObjectCheck = {" \n
|
||||
" _logic1 = (_mass == (loadAbs _playerObject));" \n
|
||||
" _timeout = ((diag_tickTime - _myTime) > 30);" \n
|
||||
" diag_log format [""LOGIN-DEBUG mass match: %1 in %2 seconds, timeout: %3"", _logic1,(diag_tickTime - _myTime),_timeout];" \n
|
||||
" (_logic1 || _timeout)" \n
|
||||
"};" \n
|
||||
"" \n
|
||||
"EPOCH_loginFSM = _thisFSM;" \n
|
||||
"EPOCH_playerLoginInit = {" \n
|
||||
" diag_log format[""DEBUG: %1, %2"",_this, EPOCH_loginFSM];" \n
|
||||
" EPOCH_loginFSM setFSMVariable [_this select 0, _this select 1];" \n
|
||||
"};" \n
|
||||
""/*%FSM</STATEINIT""">*/;
|
||||
precondition = /*%FSM<STATEPRECONDITION""">*/""/*%FSM</STATEPRECONDITION""">*/;
|
||||
class Links
|
||||
@ -249,7 +263,8 @@ class FSM
|
||||
" diag_log ""EPOCH-LOGIN: Finish!"";" \n
|
||||
"};" \n
|
||||
"" \n
|
||||
"" \n
|
||||
"EPOCH_loginFSM = nil;" \n
|
||||
"EPOCH_playerLoginInit = nil;" \n
|
||||
"" \n
|
||||
"//player enableSimulation true;" \n
|
||||
"" \n
|
||||
@ -510,9 +525,9 @@ class FSM
|
||||
priority = 0.000000;
|
||||
to="Process_2";
|
||||
precondition = /*%FSM<CONDPRECONDITION""">*/""/*%FSM</CONDPRECONDITION""">*/;
|
||||
condition=/*%FSM<CONDITION""">*/"!isNil ""EPOCH_checkPlayer_PVC"""/*%FSM</CONDITION""">*/;
|
||||
action=/*%FSM<ACTION""">*/"_newChar = EPOCH_checkPlayer_PVC;" \n
|
||||
"EPOCH_checkPlayer_PVC = nil;"/*%FSM</ACTION""">*/;
|
||||
condition=/*%FSM<CONDITION""">*/"!isNil ""_checkPlayer_PVC"""/*%FSM</CONDITION""">*/;
|
||||
action=/*%FSM<ACTION""">*/"_newChar = _checkPlayer_PVC;" \n
|
||||
"_checkPlayer_PVC = nil;"/*%FSM</ACTION""">*/;
|
||||
};
|
||||
/*%FSM</LINK>*/
|
||||
/*%FSM<LINK "Timeout_No_Respo">*/
|
||||
@ -1041,7 +1056,7 @@ class FSM
|
||||
priority = 0.000000;
|
||||
to="Setup_Player_Obj";
|
||||
precondition = /*%FSM<CONDPRECONDITION""">*/""/*%FSM</CONDPRECONDITION""">*/;
|
||||
condition=/*%FSM<CONDITION""">*/"!(isNull _playerObject) && {_playerObject getVariable [""SETUP"",false]} && {_playerPos nearObjectsReady 10}"/*%FSM</CONDITION""">*/;
|
||||
condition=/*%FSM<CONDITION""">*/"!(isNull _playerObject) && {_playerObject getVariable [""SETUP"",false]} && {_playerPos nearObjectsReady 10} && {call _finalPlayerObjectCheck}"/*%FSM</CONDITION""">*/;
|
||||
action=/*%FSM<ACTION""">*/""/*%FSM</ACTION""">*/;
|
||||
};
|
||||
/*%FSM</LINK>*/
|
||||
@ -1337,9 +1352,9 @@ class FSM
|
||||
priority = 0.000000;
|
||||
to="Check_New_Player";
|
||||
precondition = /*%FSM<CONDPRECONDITION""">*/""/*%FSM</CONDPRECONDITION""">*/;
|
||||
condition=/*%FSM<CONDITION""">*/"!isNil ""EPOCH_C_SET"""/*%FSM</CONDITION""">*/;
|
||||
action=/*%FSM<ACTION""">*/"_array = EPOCH_C_SET;" \n
|
||||
"EPOCH_C_SET = nil;" \n
|
||||
condition=/*%FSM<CONDITION""">*/"!isNil ""_C_SET"""/*%FSM</CONDITION""">*/;
|
||||
action=/*%FSM<ACTION""">*/"_array = _C_SET;" \n
|
||||
"_C_SET = nil;" \n
|
||||
"_playerObject = _array deleteAt 0;" \n
|
||||
"_playerVariables = _array deleteAt 0;" \n
|
||||
"_currentWeapon = _array deleteAt 0;" \n
|
||||
|
@ -1,8 +1,8 @@
|
||||
/*%FSM<COMPILE "F:\Program Files (x86)\Bohemia Interactive\Tools\FSM Editor Personal Edition\scriptedFSM.cfg, Epoch Login">*/
|
||||
/*%FSM<HEAD>*/
|
||||
/*
|
||||
item0[] = {"INIT",0,4346,-25.000000,-375.000000,75.000000,-325.000000,0.000000,"INIT"};
|
||||
item1[] = {"FINISH",1,250,-25.000000,1475.000000,75.000000,1525.000000,0.000000,"FINISH"};
|
||||
item0[] = {"INIT",0,250,-25.000000,-375.000000,75.000000,-325.000000,0.000000,"INIT"};
|
||||
item1[] = {"FINISH",1,4346,-25.000000,1475.000000,75.000000,1525.000000,0.000000,"FINISH"};
|
||||
item2[] = {"true",8,218,-150.000000,-125.000000,-50.000000,-75.000000,0.000000,"true"};
|
||||
item3[] = {"Version_Check",2,250,-25.000000,-75.000000,75.000000,-25.000000,0.000000,"Version Check"};
|
||||
item4[] = {"Player_Object_Re",4,218,-150.000000,75.000000,-50.000000,125.000000,0.000000,"Player" \n "Object Ready"};
|
||||
@ -190,8 +190,8 @@ link97[] = {85,79};
|
||||
link98[] = {86,16};
|
||||
link99[] = {86,22};
|
||||
link100[] = {87,31};
|
||||
globals[] = {0.000000,0,0,0,0,640,480,1,244,6316128,1,-213.844360,425.695953,479.928528,-482.114990,585,880,1};
|
||||
window[] = {2,-1,-1,-1,-1,968,156,1448,156,3,603};
|
||||
globals[] = {0.000000,0,0,0,0,640,480,1,244,6316128,1,-354.892670,479.114502,1946.016846,1047.855225,585,630,1};
|
||||
window[] = {2,-1,-1,-1,-1,871,104,1396,104,3,603};
|
||||
*//*%FSM</HEAD>*/
|
||||
class FSM
|
||||
{
|
||||
@ -211,6 +211,20 @@ class FSM
|
||||
"if (_debug) then {" \n
|
||||
" diag_log ""EPOCH-LOGIN: Init"";" \n
|
||||
"};" \n
|
||||
"" \n
|
||||
"" \n
|
||||
"_finalPlayerObjectCheck = {" \n
|
||||
" _logic1 = (_mass == (loadAbs _playerObject));" \n
|
||||
" _timeout = ((diag_tickTime - _myTime) > 30);" \n
|
||||
" diag_log format [""LOGIN-DEBUG mass match: %1 in %2 seconds, timeout: %3"", _logic1,(diag_tickTime - _myTime),_timeout];" \n
|
||||
" (_logic1 || _timeout)" \n
|
||||
"};" \n
|
||||
"" \n
|
||||
"EPOCH_loginFSM = _thisFSM;" \n
|
||||
"EPOCH_playerLoginInit = {" \n
|
||||
" diag_log format[""DEBUG: %1, %2"",_this, EPOCH_loginFSM];" \n
|
||||
" EPOCH_loginFSM setFSMVariable [_this select 0, _this select 1];" \n
|
||||
"};" \n
|
||||
""/*%FSM</STATEINIT""">*/;
|
||||
precondition = /*%FSM<STATEPRECONDITION""">*/""/*%FSM</STATEPRECONDITION""">*/;
|
||||
class Links
|
||||
@ -249,7 +263,8 @@ class FSM
|
||||
" diag_log ""EPOCH-LOGIN: Finish!"";" \n
|
||||
"};" \n
|
||||
"" \n
|
||||
"" \n
|
||||
"EPOCH_loginFSM = nil;" \n
|
||||
"EPOCH_playerLoginInit = nil;" \n
|
||||
"" \n
|
||||
"//player enableSimulation true;" \n
|
||||
"" \n
|
||||
@ -510,9 +525,9 @@ class FSM
|
||||
priority = 0.000000;
|
||||
to="Process_2";
|
||||
precondition = /*%FSM<CONDPRECONDITION""">*/""/*%FSM</CONDPRECONDITION""">*/;
|
||||
condition=/*%FSM<CONDITION""">*/"!isNil ""EPOCH_checkPlayer_PVC"""/*%FSM</CONDITION""">*/;
|
||||
action=/*%FSM<ACTION""">*/"_newChar = EPOCH_checkPlayer_PVC;" \n
|
||||
"EPOCH_checkPlayer_PVC = nil;"/*%FSM</ACTION""">*/;
|
||||
condition=/*%FSM<CONDITION""">*/"!isNil ""_checkPlayer_PVC"""/*%FSM</CONDITION""">*/;
|
||||
action=/*%FSM<ACTION""">*/"_newChar = _checkPlayer_PVC;" \n
|
||||
"_checkPlayer_PVC = nil;"/*%FSM</ACTION""">*/;
|
||||
};
|
||||
/*%FSM</LINK>*/
|
||||
/*%FSM<LINK "Timeout_No_Respo">*/
|
||||
@ -1041,7 +1056,7 @@ class FSM
|
||||
priority = 0.000000;
|
||||
to="Setup_Player_Obj";
|
||||
precondition = /*%FSM<CONDPRECONDITION""">*/""/*%FSM</CONDPRECONDITION""">*/;
|
||||
condition=/*%FSM<CONDITION""">*/"!(isNull _playerObject) && {_playerObject getVariable [""SETUP"",false]} && {_playerPos nearObjectsReady 10}"/*%FSM</CONDITION""">*/;
|
||||
condition=/*%FSM<CONDITION""">*/"!(isNull _playerObject) && {_playerObject getVariable [""SETUP"",false]} && {_playerPos nearObjectsReady 10} && {call _finalPlayerObjectCheck}"/*%FSM</CONDITION""">*/;
|
||||
action=/*%FSM<ACTION""">*/""/*%FSM</ACTION""">*/;
|
||||
};
|
||||
/*%FSM</LINK>*/
|
||||
@ -1337,9 +1352,9 @@ class FSM
|
||||
priority = 0.000000;
|
||||
to="Check_New_Player";
|
||||
precondition = /*%FSM<CONDPRECONDITION""">*/""/*%FSM</CONDPRECONDITION""">*/;
|
||||
condition=/*%FSM<CONDITION""">*/"!isNil ""EPOCH_C_SET"""/*%FSM</CONDITION""">*/;
|
||||
action=/*%FSM<ACTION""">*/"_array = EPOCH_C_SET;" \n
|
||||
"EPOCH_C_SET = nil;" \n
|
||||
condition=/*%FSM<CONDITION""">*/"!isNil ""_C_SET"""/*%FSM</CONDITION""">*/;
|
||||
action=/*%FSM<ACTION""">*/"_array = _C_SET;" \n
|
||||
"_C_SET = nil;" \n
|
||||
"_playerObject = _array deleteAt 0;" \n
|
||||
"_playerVariables = _array deleteAt 0;" \n
|
||||
"_currentWeapon = _array deleteAt 0;" \n
|
||||
|
@ -1,8 +1,8 @@
|
||||
/*%FSM<COMPILE "F:\Program Files (x86)\Bohemia Interactive\Tools\FSM Editor Personal Edition\scriptedFSM.cfg, Epoch Login">*/
|
||||
/*%FSM<HEAD>*/
|
||||
/*
|
||||
item0[] = {"INIT",0,4346,-25.000000,-375.000000,75.000000,-325.000000,0.000000,"INIT"};
|
||||
item1[] = {"FINISH",1,250,-25.000000,1475.000000,75.000000,1525.000000,0.000000,"FINISH"};
|
||||
item0[] = {"INIT",0,250,-25.000000,-375.000000,75.000000,-325.000000,0.000000,"INIT"};
|
||||
item1[] = {"FINISH",1,4346,-25.000000,1475.000000,75.000000,1525.000000,0.000000,"FINISH"};
|
||||
item2[] = {"true",8,218,-150.000000,-125.000000,-50.000000,-75.000000,0.000000,"true"};
|
||||
item3[] = {"Version_Check",2,250,-25.000000,-75.000000,75.000000,-25.000000,0.000000,"Version Check"};
|
||||
item4[] = {"Player_Object_Re",4,218,-150.000000,75.000000,-50.000000,125.000000,0.000000,"Player" \n "Object Ready"};
|
||||
@ -190,8 +190,8 @@ link97[] = {85,79};
|
||||
link98[] = {86,16};
|
||||
link99[] = {86,22};
|
||||
link100[] = {87,31};
|
||||
globals[] = {0.000000,0,0,0,0,640,480,1,244,6316128,1,-213.844360,425.695953,479.928528,-482.114990,585,880,1};
|
||||
window[] = {2,-1,-1,-1,-1,968,156,1448,156,3,603};
|
||||
globals[] = {0.000000,0,0,0,0,640,480,1,244,6316128,1,-354.892670,479.114502,1946.016846,1047.855225,585,630,1};
|
||||
window[] = {2,-1,-1,-1,-1,871,104,1396,104,3,603};
|
||||
*//*%FSM</HEAD>*/
|
||||
class FSM
|
||||
{
|
||||
@ -211,6 +211,20 @@ class FSM
|
||||
"if (_debug) then {" \n
|
||||
" diag_log ""EPOCH-LOGIN: Init"";" \n
|
||||
"};" \n
|
||||
"" \n
|
||||
"" \n
|
||||
"_finalPlayerObjectCheck = {" \n
|
||||
" _logic1 = (_mass == (loadAbs _playerObject));" \n
|
||||
" _timeout = ((diag_tickTime - _myTime) > 30);" \n
|
||||
" diag_log format [""LOGIN-DEBUG mass match: %1 in %2 seconds, timeout: %3"", _logic1,(diag_tickTime - _myTime),_timeout];" \n
|
||||
" (_logic1 || _timeout)" \n
|
||||
"};" \n
|
||||
"" \n
|
||||
"EPOCH_loginFSM = _thisFSM;" \n
|
||||
"EPOCH_playerLoginInit = {" \n
|
||||
" diag_log format[""DEBUG: %1, %2"",_this, EPOCH_loginFSM];" \n
|
||||
" EPOCH_loginFSM setFSMVariable [_this select 0, _this select 1];" \n
|
||||
"};" \n
|
||||
""/*%FSM</STATEINIT""">*/;
|
||||
precondition = /*%FSM<STATEPRECONDITION""">*/""/*%FSM</STATEPRECONDITION""">*/;
|
||||
class Links
|
||||
@ -249,7 +263,8 @@ class FSM
|
||||
" diag_log ""EPOCH-LOGIN: Finish!"";" \n
|
||||
"};" \n
|
||||
"" \n
|
||||
"" \n
|
||||
"EPOCH_loginFSM = nil;" \n
|
||||
"EPOCH_playerLoginInit = nil;" \n
|
||||
"" \n
|
||||
"//player enableSimulation true;" \n
|
||||
"" \n
|
||||
@ -510,9 +525,9 @@ class FSM
|
||||
priority = 0.000000;
|
||||
to="Process_2";
|
||||
precondition = /*%FSM<CONDPRECONDITION""">*/""/*%FSM</CONDPRECONDITION""">*/;
|
||||
condition=/*%FSM<CONDITION""">*/"!isNil ""EPOCH_checkPlayer_PVC"""/*%FSM</CONDITION""">*/;
|
||||
action=/*%FSM<ACTION""">*/"_newChar = EPOCH_checkPlayer_PVC;" \n
|
||||
"EPOCH_checkPlayer_PVC = nil;"/*%FSM</ACTION""">*/;
|
||||
condition=/*%FSM<CONDITION""">*/"!isNil ""_checkPlayer_PVC"""/*%FSM</CONDITION""">*/;
|
||||
action=/*%FSM<ACTION""">*/"_newChar = _checkPlayer_PVC;" \n
|
||||
"_checkPlayer_PVC = nil;"/*%FSM</ACTION""">*/;
|
||||
};
|
||||
/*%FSM</LINK>*/
|
||||
/*%FSM<LINK "Timeout_No_Respo">*/
|
||||
@ -1041,7 +1056,7 @@ class FSM
|
||||
priority = 0.000000;
|
||||
to="Setup_Player_Obj";
|
||||
precondition = /*%FSM<CONDPRECONDITION""">*/""/*%FSM</CONDPRECONDITION""">*/;
|
||||
condition=/*%FSM<CONDITION""">*/"!(isNull _playerObject) && {_playerObject getVariable [""SETUP"",false]} && {_playerPos nearObjectsReady 10}"/*%FSM</CONDITION""">*/;
|
||||
condition=/*%FSM<CONDITION""">*/"!(isNull _playerObject) && {_playerObject getVariable [""SETUP"",false]} && {_playerPos nearObjectsReady 10} && {call _finalPlayerObjectCheck}"/*%FSM</CONDITION""">*/;
|
||||
action=/*%FSM<ACTION""">*/""/*%FSM</ACTION""">*/;
|
||||
};
|
||||
/*%FSM</LINK>*/
|
||||
@ -1337,9 +1352,9 @@ class FSM
|
||||
priority = 0.000000;
|
||||
to="Check_New_Player";
|
||||
precondition = /*%FSM<CONDPRECONDITION""">*/""/*%FSM</CONDPRECONDITION""">*/;
|
||||
condition=/*%FSM<CONDITION""">*/"!isNil ""EPOCH_C_SET"""/*%FSM</CONDITION""">*/;
|
||||
action=/*%FSM<ACTION""">*/"_array = EPOCH_C_SET;" \n
|
||||
"EPOCH_C_SET = nil;" \n
|
||||
condition=/*%FSM<CONDITION""">*/"!isNil ""_C_SET"""/*%FSM</CONDITION""">*/;
|
||||
action=/*%FSM<ACTION""">*/"_array = _C_SET;" \n
|
||||
"_C_SET = nil;" \n
|
||||
"_playerObject = _array deleteAt 0;" \n
|
||||
"_playerVariables = _array deleteAt 0;" \n
|
||||
"_currentWeapon = _array deleteAt 0;" \n
|
||||
|
@ -1,8 +1,8 @@
|
||||
/*%FSM<COMPILE "F:\Program Files (x86)\Bohemia Interactive\Tools\FSM Editor Personal Edition\scriptedFSM.cfg, Epoch Login">*/
|
||||
/*%FSM<HEAD>*/
|
||||
/*
|
||||
item0[] = {"INIT",0,4346,-25.000000,-375.000000,75.000000,-325.000000,0.000000,"INIT"};
|
||||
item1[] = {"FINISH",1,250,-25.000000,1475.000000,75.000000,1525.000000,0.000000,"FINISH"};
|
||||
item0[] = {"INIT",0,250,-25.000000,-375.000000,75.000000,-325.000000,0.000000,"INIT"};
|
||||
item1[] = {"FINISH",1,4346,-25.000000,1475.000000,75.000000,1525.000000,0.000000,"FINISH"};
|
||||
item2[] = {"true",8,218,-150.000000,-125.000000,-50.000000,-75.000000,0.000000,"true"};
|
||||
item3[] = {"Version_Check",2,250,-25.000000,-75.000000,75.000000,-25.000000,0.000000,"Version Check"};
|
||||
item4[] = {"Player_Object_Re",4,218,-150.000000,75.000000,-50.000000,125.000000,0.000000,"Player" \n "Object Ready"};
|
||||
@ -190,8 +190,8 @@ link97[] = {85,79};
|
||||
link98[] = {86,16};
|
||||
link99[] = {86,22};
|
||||
link100[] = {87,31};
|
||||
globals[] = {0.000000,0,0,0,0,640,480,1,244,6316128,1,-213.844360,425.695953,479.928528,-482.114990,585,880,1};
|
||||
window[] = {2,-1,-1,-1,-1,968,156,1448,156,3,603};
|
||||
globals[] = {0.000000,0,0,0,0,640,480,1,244,6316128,1,-354.892670,479.114502,1946.016846,1047.855225,585,630,1};
|
||||
window[] = {2,-1,-1,-1,-1,871,104,1396,104,3,603};
|
||||
*//*%FSM</HEAD>*/
|
||||
class FSM
|
||||
{
|
||||
@ -211,6 +211,20 @@ class FSM
|
||||
"if (_debug) then {" \n
|
||||
" diag_log ""EPOCH-LOGIN: Init"";" \n
|
||||
"};" \n
|
||||
"" \n
|
||||
"" \n
|
||||
"_finalPlayerObjectCheck = {" \n
|
||||
" _logic1 = (_mass == (loadAbs _playerObject));" \n
|
||||
" _timeout = ((diag_tickTime - _myTime) > 30);" \n
|
||||
" diag_log format [""LOGIN-DEBUG mass match: %1 in %2 seconds, timeout: %3"", _logic1,(diag_tickTime - _myTime),_timeout];" \n
|
||||
" (_logic1 || _timeout)" \n
|
||||
"};" \n
|
||||
"" \n
|
||||
"EPOCH_loginFSM = _thisFSM;" \n
|
||||
"EPOCH_playerLoginInit = {" \n
|
||||
" diag_log format[""DEBUG: %1, %2"",_this, EPOCH_loginFSM];" \n
|
||||
" EPOCH_loginFSM setFSMVariable [_this select 0, _this select 1];" \n
|
||||
"};" \n
|
||||
""/*%FSM</STATEINIT""">*/;
|
||||
precondition = /*%FSM<STATEPRECONDITION""">*/""/*%FSM</STATEPRECONDITION""">*/;
|
||||
class Links
|
||||
@ -249,7 +263,8 @@ class FSM
|
||||
" diag_log ""EPOCH-LOGIN: Finish!"";" \n
|
||||
"};" \n
|
||||
"" \n
|
||||
"" \n
|
||||
"EPOCH_loginFSM = nil;" \n
|
||||
"EPOCH_playerLoginInit = nil;" \n
|
||||
"" \n
|
||||
"//player enableSimulation true;" \n
|
||||
"" \n
|
||||
@ -510,9 +525,9 @@ class FSM
|
||||
priority = 0.000000;
|
||||
to="Process_2";
|
||||
precondition = /*%FSM<CONDPRECONDITION""">*/""/*%FSM</CONDPRECONDITION""">*/;
|
||||
condition=/*%FSM<CONDITION""">*/"!isNil ""EPOCH_checkPlayer_PVC"""/*%FSM</CONDITION""">*/;
|
||||
action=/*%FSM<ACTION""">*/"_newChar = EPOCH_checkPlayer_PVC;" \n
|
||||
"EPOCH_checkPlayer_PVC = nil;"/*%FSM</ACTION""">*/;
|
||||
condition=/*%FSM<CONDITION""">*/"!isNil ""_checkPlayer_PVC"""/*%FSM</CONDITION""">*/;
|
||||
action=/*%FSM<ACTION""">*/"_newChar = _checkPlayer_PVC;" \n
|
||||
"_checkPlayer_PVC = nil;"/*%FSM</ACTION""">*/;
|
||||
};
|
||||
/*%FSM</LINK>*/
|
||||
/*%FSM<LINK "Timeout_No_Respo">*/
|
||||
@ -1041,7 +1056,7 @@ class FSM
|
||||
priority = 0.000000;
|
||||
to="Setup_Player_Obj";
|
||||
precondition = /*%FSM<CONDPRECONDITION""">*/""/*%FSM</CONDPRECONDITION""">*/;
|
||||
condition=/*%FSM<CONDITION""">*/"!(isNull _playerObject) && {_playerObject getVariable [""SETUP"",false]} && {_playerPos nearObjectsReady 10}"/*%FSM</CONDITION""">*/;
|
||||
condition=/*%FSM<CONDITION""">*/"!(isNull _playerObject) && {_playerObject getVariable [""SETUP"",false]} && {_playerPos nearObjectsReady 10} && {call _finalPlayerObjectCheck}"/*%FSM</CONDITION""">*/;
|
||||
action=/*%FSM<ACTION""">*/""/*%FSM</ACTION""">*/;
|
||||
};
|
||||
/*%FSM</LINK>*/
|
||||
@ -1337,9 +1352,9 @@ class FSM
|
||||
priority = 0.000000;
|
||||
to="Check_New_Player";
|
||||
precondition = /*%FSM<CONDPRECONDITION""">*/""/*%FSM</CONDPRECONDITION""">*/;
|
||||
condition=/*%FSM<CONDITION""">*/"!isNil ""EPOCH_C_SET"""/*%FSM</CONDITION""">*/;
|
||||
action=/*%FSM<ACTION""">*/"_array = EPOCH_C_SET;" \n
|
||||
"EPOCH_C_SET = nil;" \n
|
||||
condition=/*%FSM<CONDITION""">*/"!isNil ""_C_SET"""/*%FSM</CONDITION""">*/;
|
||||
action=/*%FSM<ACTION""">*/"_array = _C_SET;" \n
|
||||
"_C_SET = nil;" \n
|
||||
"_playerObject = _array deleteAt 0;" \n
|
||||
"_playerVariables = _array deleteAt 0;" \n
|
||||
"_currentWeapon = _array deleteAt 0;" \n
|
||||
|
@ -1,8 +1,8 @@
|
||||
/*%FSM<COMPILE "F:\Program Files (x86)\Bohemia Interactive\Tools\FSM Editor Personal Edition\scriptedFSM.cfg, Epoch Login">*/
|
||||
/*%FSM<HEAD>*/
|
||||
/*
|
||||
item0[] = {"INIT",0,4346,-25.000000,-375.000000,75.000000,-325.000000,0.000000,"INIT"};
|
||||
item1[] = {"FINISH",1,250,-25.000000,1475.000000,75.000000,1525.000000,0.000000,"FINISH"};
|
||||
item0[] = {"INIT",0,250,-25.000000,-375.000000,75.000000,-325.000000,0.000000,"INIT"};
|
||||
item1[] = {"FINISH",1,4346,-25.000000,1475.000000,75.000000,1525.000000,0.000000,"FINISH"};
|
||||
item2[] = {"true",8,218,-150.000000,-125.000000,-50.000000,-75.000000,0.000000,"true"};
|
||||
item3[] = {"Version_Check",2,250,-25.000000,-75.000000,75.000000,-25.000000,0.000000,"Version Check"};
|
||||
item4[] = {"Player_Object_Re",4,218,-150.000000,75.000000,-50.000000,125.000000,0.000000,"Player" \n "Object Ready"};
|
||||
@ -190,8 +190,8 @@ link97[] = {85,79};
|
||||
link98[] = {86,16};
|
||||
link99[] = {86,22};
|
||||
link100[] = {87,31};
|
||||
globals[] = {0.000000,0,0,0,0,640,480,1,244,6316128,1,-213.844360,425.695953,479.928528,-482.114990,585,880,1};
|
||||
window[] = {2,-1,-1,-1,-1,968,156,1448,156,3,603};
|
||||
globals[] = {0.000000,0,0,0,0,640,480,1,244,6316128,1,-354.892670,479.114502,1946.016846,1047.855225,585,630,1};
|
||||
window[] = {2,-1,-1,-1,-1,871,104,1396,104,3,603};
|
||||
*//*%FSM</HEAD>*/
|
||||
class FSM
|
||||
{
|
||||
@ -211,6 +211,20 @@ class FSM
|
||||
"if (_debug) then {" \n
|
||||
" diag_log ""EPOCH-LOGIN: Init"";" \n
|
||||
"};" \n
|
||||
"" \n
|
||||
"" \n
|
||||
"_finalPlayerObjectCheck = {" \n
|
||||
" _logic1 = (_mass == (loadAbs _playerObject));" \n
|
||||
" _timeout = ((diag_tickTime - _myTime) > 30);" \n
|
||||
" diag_log format [""LOGIN-DEBUG mass match: %1 in %2 seconds, timeout: %3"", _logic1,(diag_tickTime - _myTime),_timeout];" \n
|
||||
" (_logic1 || _timeout)" \n
|
||||
"};" \n
|
||||
"" \n
|
||||
"EPOCH_loginFSM = _thisFSM;" \n
|
||||
"EPOCH_playerLoginInit = {" \n
|
||||
" diag_log format[""DEBUG: %1, %2"",_this, EPOCH_loginFSM];" \n
|
||||
" EPOCH_loginFSM setFSMVariable [_this select 0, _this select 1];" \n
|
||||
"};" \n
|
||||
""/*%FSM</STATEINIT""">*/;
|
||||
precondition = /*%FSM<STATEPRECONDITION""">*/""/*%FSM</STATEPRECONDITION""">*/;
|
||||
class Links
|
||||
@ -249,7 +263,8 @@ class FSM
|
||||
" diag_log ""EPOCH-LOGIN: Finish!"";" \n
|
||||
"};" \n
|
||||
"" \n
|
||||
"" \n
|
||||
"EPOCH_loginFSM = nil;" \n
|
||||
"EPOCH_playerLoginInit = nil;" \n
|
||||
"" \n
|
||||
"//player enableSimulation true;" \n
|
||||
"" \n
|
||||
@ -510,9 +525,9 @@ class FSM
|
||||
priority = 0.000000;
|
||||
to="Process_2";
|
||||
precondition = /*%FSM<CONDPRECONDITION""">*/""/*%FSM</CONDPRECONDITION""">*/;
|
||||
condition=/*%FSM<CONDITION""">*/"!isNil ""EPOCH_checkPlayer_PVC"""/*%FSM</CONDITION""">*/;
|
||||
action=/*%FSM<ACTION""">*/"_newChar = EPOCH_checkPlayer_PVC;" \n
|
||||
"EPOCH_checkPlayer_PVC = nil;"/*%FSM</ACTION""">*/;
|
||||
condition=/*%FSM<CONDITION""">*/"!isNil ""_checkPlayer_PVC"""/*%FSM</CONDITION""">*/;
|
||||
action=/*%FSM<ACTION""">*/"_newChar = _checkPlayer_PVC;" \n
|
||||
"_checkPlayer_PVC = nil;"/*%FSM</ACTION""">*/;
|
||||
};
|
||||
/*%FSM</LINK>*/
|
||||
/*%FSM<LINK "Timeout_No_Respo">*/
|
||||
@ -1041,7 +1056,7 @@ class FSM
|
||||
priority = 0.000000;
|
||||
to="Setup_Player_Obj";
|
||||
precondition = /*%FSM<CONDPRECONDITION""">*/""/*%FSM</CONDPRECONDITION""">*/;
|
||||
condition=/*%FSM<CONDITION""">*/"!(isNull _playerObject) && {_playerObject getVariable [""SETUP"",false]} && {_playerPos nearObjectsReady 10}"/*%FSM</CONDITION""">*/;
|
||||
condition=/*%FSM<CONDITION""">*/"!(isNull _playerObject) && {_playerObject getVariable [""SETUP"",false]} && {_playerPos nearObjectsReady 10} && {call _finalPlayerObjectCheck}"/*%FSM</CONDITION""">*/;
|
||||
action=/*%FSM<ACTION""">*/""/*%FSM</ACTION""">*/;
|
||||
};
|
||||
/*%FSM</LINK>*/
|
||||
@ -1337,9 +1352,9 @@ class FSM
|
||||
priority = 0.000000;
|
||||
to="Check_New_Player";
|
||||
precondition = /*%FSM<CONDPRECONDITION""">*/""/*%FSM</CONDPRECONDITION""">*/;
|
||||
condition=/*%FSM<CONDITION""">*/"!isNil ""EPOCH_C_SET"""/*%FSM</CONDITION""">*/;
|
||||
action=/*%FSM<ACTION""">*/"_array = EPOCH_C_SET;" \n
|
||||
"EPOCH_C_SET = nil;" \n
|
||||
condition=/*%FSM<CONDITION""">*/"!isNil ""_C_SET"""/*%FSM</CONDITION""">*/;
|
||||
action=/*%FSM<ACTION""">*/"_array = _C_SET;" \n
|
||||
"_C_SET = nil;" \n
|
||||
"_playerObject = _array deleteAt 0;" \n
|
||||
"_playerVariables = _array deleteAt 0;" \n
|
||||
"_currentWeapon = _array deleteAt 0;" \n
|
||||
|
@ -1,8 +1,8 @@
|
||||
/*%FSM<COMPILE "F:\Program Files (x86)\Bohemia Interactive\Tools\FSM Editor Personal Edition\scriptedFSM.cfg, Epoch Login">*/
|
||||
/*%FSM<HEAD>*/
|
||||
/*
|
||||
item0[] = {"INIT",0,4346,-25.000000,-375.000000,75.000000,-325.000000,0.000000,"INIT"};
|
||||
item1[] = {"FINISH",1,250,-25.000000,1475.000000,75.000000,1525.000000,0.000000,"FINISH"};
|
||||
item0[] = {"INIT",0,250,-25.000000,-375.000000,75.000000,-325.000000,0.000000,"INIT"};
|
||||
item1[] = {"FINISH",1,4346,-25.000000,1475.000000,75.000000,1525.000000,0.000000,"FINISH"};
|
||||
item2[] = {"true",8,218,-150.000000,-125.000000,-50.000000,-75.000000,0.000000,"true"};
|
||||
item3[] = {"Version_Check",2,250,-25.000000,-75.000000,75.000000,-25.000000,0.000000,"Version Check"};
|
||||
item4[] = {"Player_Object_Re",4,218,-150.000000,75.000000,-50.000000,125.000000,0.000000,"Player" \n "Object Ready"};
|
||||
@ -190,8 +190,8 @@ link97[] = {85,79};
|
||||
link98[] = {86,16};
|
||||
link99[] = {86,22};
|
||||
link100[] = {87,31};
|
||||
globals[] = {0.000000,0,0,0,0,640,480,1,244,6316128,1,-213.844360,425.695953,479.928528,-482.114990,585,880,1};
|
||||
window[] = {2,-1,-1,-1,-1,968,156,1448,156,3,603};
|
||||
globals[] = {0.000000,0,0,0,0,640,480,1,244,6316128,1,-354.892670,479.114502,1946.016846,1047.855225,585,630,1};
|
||||
window[] = {2,-1,-1,-1,-1,871,104,1396,104,3,603};
|
||||
*//*%FSM</HEAD>*/
|
||||
class FSM
|
||||
{
|
||||
@ -211,6 +211,20 @@ class FSM
|
||||
"if (_debug) then {" \n
|
||||
" diag_log ""EPOCH-LOGIN: Init"";" \n
|
||||
"};" \n
|
||||
"" \n
|
||||
"" \n
|
||||
"_finalPlayerObjectCheck = {" \n
|
||||
" _logic1 = (_mass == (loadAbs _playerObject));" \n
|
||||
" _timeout = ((diag_tickTime - _myTime) > 30);" \n
|
||||
" diag_log format [""LOGIN-DEBUG mass match: %1 in %2 seconds, timeout: %3"", _logic1,(diag_tickTime - _myTime),_timeout];" \n
|
||||
" (_logic1 || _timeout)" \n
|
||||
"};" \n
|
||||
"" \n
|
||||
"EPOCH_loginFSM = _thisFSM;" \n
|
||||
"EPOCH_playerLoginInit = {" \n
|
||||
" diag_log format[""DEBUG: %1, %2"",_this, EPOCH_loginFSM];" \n
|
||||
" EPOCH_loginFSM setFSMVariable [_this select 0, _this select 1];" \n
|
||||
"};" \n
|
||||
""/*%FSM</STATEINIT""">*/;
|
||||
precondition = /*%FSM<STATEPRECONDITION""">*/""/*%FSM</STATEPRECONDITION""">*/;
|
||||
class Links
|
||||
@ -249,7 +263,8 @@ class FSM
|
||||
" diag_log ""EPOCH-LOGIN: Finish!"";" \n
|
||||
"};" \n
|
||||
"" \n
|
||||
"" \n
|
||||
"EPOCH_loginFSM = nil;" \n
|
||||
"EPOCH_playerLoginInit = nil;" \n
|
||||
"" \n
|
||||
"//player enableSimulation true;" \n
|
||||
"" \n
|
||||
@ -510,9 +525,9 @@ class FSM
|
||||
priority = 0.000000;
|
||||
to="Process_2";
|
||||
precondition = /*%FSM<CONDPRECONDITION""">*/""/*%FSM</CONDPRECONDITION""">*/;
|
||||
condition=/*%FSM<CONDITION""">*/"!isNil ""EPOCH_checkPlayer_PVC"""/*%FSM</CONDITION""">*/;
|
||||
action=/*%FSM<ACTION""">*/"_newChar = EPOCH_checkPlayer_PVC;" \n
|
||||
"EPOCH_checkPlayer_PVC = nil;"/*%FSM</ACTION""">*/;
|
||||
condition=/*%FSM<CONDITION""">*/"!isNil ""_checkPlayer_PVC"""/*%FSM</CONDITION""">*/;
|
||||
action=/*%FSM<ACTION""">*/"_newChar = _checkPlayer_PVC;" \n
|
||||
"_checkPlayer_PVC = nil;"/*%FSM</ACTION""">*/;
|
||||
};
|
||||
/*%FSM</LINK>*/
|
||||
/*%FSM<LINK "Timeout_No_Respo">*/
|
||||
@ -1041,7 +1056,7 @@ class FSM
|
||||
priority = 0.000000;
|
||||
to="Setup_Player_Obj";
|
||||
precondition = /*%FSM<CONDPRECONDITION""">*/""/*%FSM</CONDPRECONDITION""">*/;
|
||||
condition=/*%FSM<CONDITION""">*/"!(isNull _playerObject) && {_playerObject getVariable [""SETUP"",false]} && {_playerPos nearObjectsReady 10}"/*%FSM</CONDITION""">*/;
|
||||
condition=/*%FSM<CONDITION""">*/"!(isNull _playerObject) && {_playerObject getVariable [""SETUP"",false]} && {_playerPos nearObjectsReady 10} && {call _finalPlayerObjectCheck}"/*%FSM</CONDITION""">*/;
|
||||
action=/*%FSM<ACTION""">*/""/*%FSM</ACTION""">*/;
|
||||
};
|
||||
/*%FSM</LINK>*/
|
||||
@ -1337,9 +1352,9 @@ class FSM
|
||||
priority = 0.000000;
|
||||
to="Check_New_Player";
|
||||
precondition = /*%FSM<CONDPRECONDITION""">*/""/*%FSM</CONDPRECONDITION""">*/;
|
||||
condition=/*%FSM<CONDITION""">*/"!isNil ""EPOCH_C_SET"""/*%FSM</CONDITION""">*/;
|
||||
action=/*%FSM<ACTION""">*/"_array = EPOCH_C_SET;" \n
|
||||
"EPOCH_C_SET = nil;" \n
|
||||
condition=/*%FSM<CONDITION""">*/"!isNil ""_C_SET"""/*%FSM</CONDITION""">*/;
|
||||
action=/*%FSM<ACTION""">*/"_array = _C_SET;" \n
|
||||
"_C_SET = nil;" \n
|
||||
"_playerObject = _array deleteAt 0;" \n
|
||||
"_playerVariables = _array deleteAt 0;" \n
|
||||
"_currentWeapon = _array deleteAt 0;" \n
|
||||
|
@ -1,8 +1,8 @@
|
||||
/*%FSM<COMPILE "F:\Program Files (x86)\Bohemia Interactive\Tools\FSM Editor Personal Edition\scriptedFSM.cfg, Epoch Login">*/
|
||||
/*%FSM<HEAD>*/
|
||||
/*
|
||||
item0[] = {"INIT",0,4346,-25.000000,-375.000000,75.000000,-325.000000,0.000000,"INIT"};
|
||||
item1[] = {"FINISH",1,250,-25.000000,1475.000000,75.000000,1525.000000,0.000000,"FINISH"};
|
||||
item0[] = {"INIT",0,250,-25.000000,-375.000000,75.000000,-325.000000,0.000000,"INIT"};
|
||||
item1[] = {"FINISH",1,4346,-25.000000,1475.000000,75.000000,1525.000000,0.000000,"FINISH"};
|
||||
item2[] = {"true",8,218,-150.000000,-125.000000,-50.000000,-75.000000,0.000000,"true"};
|
||||
item3[] = {"Version_Check",2,250,-25.000000,-75.000000,75.000000,-25.000000,0.000000,"Version Check"};
|
||||
item4[] = {"Player_Object_Re",4,218,-150.000000,75.000000,-50.000000,125.000000,0.000000,"Player" \n "Object Ready"};
|
||||
@ -190,8 +190,8 @@ link97[] = {85,79};
|
||||
link98[] = {86,16};
|
||||
link99[] = {86,22};
|
||||
link100[] = {87,31};
|
||||
globals[] = {0.000000,0,0,0,0,640,480,1,244,6316128,1,-213.844360,425.695953,479.928528,-482.114990,585,880,1};
|
||||
window[] = {2,-1,-1,-1,-1,968,156,1448,156,3,603};
|
||||
globals[] = {0.000000,0,0,0,0,640,480,1,244,6316128,1,-354.892670,479.114502,1946.016846,1047.855225,585,630,1};
|
||||
window[] = {2,-1,-1,-1,-1,871,104,1396,104,3,603};
|
||||
*//*%FSM</HEAD>*/
|
||||
class FSM
|
||||
{
|
||||
@ -211,6 +211,20 @@ class FSM
|
||||
"if (_debug) then {" \n
|
||||
" diag_log ""EPOCH-LOGIN: Init"";" \n
|
||||
"};" \n
|
||||
"" \n
|
||||
"" \n
|
||||
"_finalPlayerObjectCheck = {" \n
|
||||
" _logic1 = (_mass == (loadAbs _playerObject));" \n
|
||||
" _timeout = ((diag_tickTime - _myTime) > 30);" \n
|
||||
" diag_log format [""LOGIN-DEBUG mass match: %1 in %2 seconds, timeout: %3"", _logic1,(diag_tickTime - _myTime),_timeout];" \n
|
||||
" (_logic1 || _timeout)" \n
|
||||
"};" \n
|
||||
"" \n
|
||||
"EPOCH_loginFSM = _thisFSM;" \n
|
||||
"EPOCH_playerLoginInit = {" \n
|
||||
" diag_log format[""DEBUG: %1, %2"",_this, EPOCH_loginFSM];" \n
|
||||
" EPOCH_loginFSM setFSMVariable [_this select 0, _this select 1];" \n
|
||||
"};" \n
|
||||
""/*%FSM</STATEINIT""">*/;
|
||||
precondition = /*%FSM<STATEPRECONDITION""">*/""/*%FSM</STATEPRECONDITION""">*/;
|
||||
class Links
|
||||
@ -249,7 +263,8 @@ class FSM
|
||||
" diag_log ""EPOCH-LOGIN: Finish!"";" \n
|
||||
"};" \n
|
||||
"" \n
|
||||
"" \n
|
||||
"EPOCH_loginFSM = nil;" \n
|
||||
"EPOCH_playerLoginInit = nil;" \n
|
||||
"" \n
|
||||
"//player enableSimulation true;" \n
|
||||
"" \n
|
||||
@ -510,9 +525,9 @@ class FSM
|
||||
priority = 0.000000;
|
||||
to="Process_2";
|
||||
precondition = /*%FSM<CONDPRECONDITION""">*/""/*%FSM</CONDPRECONDITION""">*/;
|
||||
condition=/*%FSM<CONDITION""">*/"!isNil ""EPOCH_checkPlayer_PVC"""/*%FSM</CONDITION""">*/;
|
||||
action=/*%FSM<ACTION""">*/"_newChar = EPOCH_checkPlayer_PVC;" \n
|
||||
"EPOCH_checkPlayer_PVC = nil;"/*%FSM</ACTION""">*/;
|
||||
condition=/*%FSM<CONDITION""">*/"!isNil ""_checkPlayer_PVC"""/*%FSM</CONDITION""">*/;
|
||||
action=/*%FSM<ACTION""">*/"_newChar = _checkPlayer_PVC;" \n
|
||||
"_checkPlayer_PVC = nil;"/*%FSM</ACTION""">*/;
|
||||
};
|
||||
/*%FSM</LINK>*/
|
||||
/*%FSM<LINK "Timeout_No_Respo">*/
|
||||
@ -1041,7 +1056,7 @@ class FSM
|
||||
priority = 0.000000;
|
||||
to="Setup_Player_Obj";
|
||||
precondition = /*%FSM<CONDPRECONDITION""">*/""/*%FSM</CONDPRECONDITION""">*/;
|
||||
condition=/*%FSM<CONDITION""">*/"!(isNull _playerObject) && {_playerObject getVariable [""SETUP"",false]} && {_playerPos nearObjectsReady 10}"/*%FSM</CONDITION""">*/;
|
||||
condition=/*%FSM<CONDITION""">*/"!(isNull _playerObject) && {_playerObject getVariable [""SETUP"",false]} && {_playerPos nearObjectsReady 10} && {call _finalPlayerObjectCheck}"/*%FSM</CONDITION""">*/;
|
||||
action=/*%FSM<ACTION""">*/""/*%FSM</ACTION""">*/;
|
||||
};
|
||||
/*%FSM</LINK>*/
|
||||
@ -1337,9 +1352,9 @@ class FSM
|
||||
priority = 0.000000;
|
||||
to="Check_New_Player";
|
||||
precondition = /*%FSM<CONDPRECONDITION""">*/""/*%FSM</CONDPRECONDITION""">*/;
|
||||
condition=/*%FSM<CONDITION""">*/"!isNil ""EPOCH_C_SET"""/*%FSM</CONDITION""">*/;
|
||||
action=/*%FSM<ACTION""">*/"_array = EPOCH_C_SET;" \n
|
||||
"EPOCH_C_SET = nil;" \n
|
||||
condition=/*%FSM<CONDITION""">*/"!isNil ""_C_SET"""/*%FSM</CONDITION""">*/;
|
||||
action=/*%FSM<ACTION""">*/"_array = _C_SET;" \n
|
||||
"_C_SET = nil;" \n
|
||||
"_playerObject = _array deleteAt 0;" \n
|
||||
"_playerVariables = _array deleteAt 0;" \n
|
||||
"_currentWeapon = _array deleteAt 0;" \n
|
||||
|
@ -1,8 +1,8 @@
|
||||
/*%FSM<COMPILE "F:\Program Files (x86)\Bohemia Interactive\Tools\FSM Editor Personal Edition\scriptedFSM.cfg, Epoch Login">*/
|
||||
/*%FSM<HEAD>*/
|
||||
/*
|
||||
item0[] = {"INIT",0,4346,-25.000000,-375.000000,75.000000,-325.000000,0.000000,"INIT"};
|
||||
item1[] = {"FINISH",1,250,-25.000000,1475.000000,75.000000,1525.000000,0.000000,"FINISH"};
|
||||
item0[] = {"INIT",0,250,-25.000000,-375.000000,75.000000,-325.000000,0.000000,"INIT"};
|
||||
item1[] = {"FINISH",1,4346,-25.000000,1475.000000,75.000000,1525.000000,0.000000,"FINISH"};
|
||||
item2[] = {"true",8,218,-150.000000,-125.000000,-50.000000,-75.000000,0.000000,"true"};
|
||||
item3[] = {"Version_Check",2,250,-25.000000,-75.000000,75.000000,-25.000000,0.000000,"Version Check"};
|
||||
item4[] = {"Player_Object_Re",4,218,-150.000000,75.000000,-50.000000,125.000000,0.000000,"Player" \n "Object Ready"};
|
||||
@ -190,8 +190,8 @@ link97[] = {85,79};
|
||||
link98[] = {86,16};
|
||||
link99[] = {86,22};
|
||||
link100[] = {87,31};
|
||||
globals[] = {0.000000,0,0,0,0,640,480,1,244,6316128,1,-213.844360,425.695953,479.928528,-482.114990,585,880,1};
|
||||
window[] = {2,-1,-1,-1,-1,968,156,1448,156,3,603};
|
||||
globals[] = {0.000000,0,0,0,0,640,480,1,244,6316128,1,-354.892670,479.114502,1946.016846,1047.855225,585,630,1};
|
||||
window[] = {2,-1,-1,-1,-1,871,104,1396,104,3,603};
|
||||
*//*%FSM</HEAD>*/
|
||||
class FSM
|
||||
{
|
||||
@ -211,6 +211,20 @@ class FSM
|
||||
"if (_debug) then {" \n
|
||||
" diag_log ""EPOCH-LOGIN: Init"";" \n
|
||||
"};" \n
|
||||
"" \n
|
||||
"" \n
|
||||
"_finalPlayerObjectCheck = {" \n
|
||||
" _logic1 = (_mass == (loadAbs _playerObject));" \n
|
||||
" _timeout = ((diag_tickTime - _myTime) > 30);" \n
|
||||
" diag_log format [""LOGIN-DEBUG mass match: %1 in %2 seconds, timeout: %3"", _logic1,(diag_tickTime - _myTime),_timeout];" \n
|
||||
" (_logic1 || _timeout)" \n
|
||||
"};" \n
|
||||
"" \n
|
||||
"EPOCH_loginFSM = _thisFSM;" \n
|
||||
"EPOCH_playerLoginInit = {" \n
|
||||
" diag_log format[""DEBUG: %1, %2"",_this, EPOCH_loginFSM];" \n
|
||||
" EPOCH_loginFSM setFSMVariable [_this select 0, _this select 1];" \n
|
||||
"};" \n
|
||||
""/*%FSM</STATEINIT""">*/;
|
||||
precondition = /*%FSM<STATEPRECONDITION""">*/""/*%FSM</STATEPRECONDITION""">*/;
|
||||
class Links
|
||||
@ -249,7 +263,8 @@ class FSM
|
||||
" diag_log ""EPOCH-LOGIN: Finish!"";" \n
|
||||
"};" \n
|
||||
"" \n
|
||||
"" \n
|
||||
"EPOCH_loginFSM = nil;" \n
|
||||
"EPOCH_playerLoginInit = nil;" \n
|
||||
"" \n
|
||||
"//player enableSimulation true;" \n
|
||||
"" \n
|
||||
@ -510,9 +525,9 @@ class FSM
|
||||
priority = 0.000000;
|
||||
to="Process_2";
|
||||
precondition = /*%FSM<CONDPRECONDITION""">*/""/*%FSM</CONDPRECONDITION""">*/;
|
||||
condition=/*%FSM<CONDITION""">*/"!isNil ""EPOCH_checkPlayer_PVC"""/*%FSM</CONDITION""">*/;
|
||||
action=/*%FSM<ACTION""">*/"_newChar = EPOCH_checkPlayer_PVC;" \n
|
||||
"EPOCH_checkPlayer_PVC = nil;"/*%FSM</ACTION""">*/;
|
||||
condition=/*%FSM<CONDITION""">*/"!isNil ""_checkPlayer_PVC"""/*%FSM</CONDITION""">*/;
|
||||
action=/*%FSM<ACTION""">*/"_newChar = _checkPlayer_PVC;" \n
|
||||
"_checkPlayer_PVC = nil;"/*%FSM</ACTION""">*/;
|
||||
};
|
||||
/*%FSM</LINK>*/
|
||||
/*%FSM<LINK "Timeout_No_Respo">*/
|
||||
@ -1041,7 +1056,7 @@ class FSM
|
||||
priority = 0.000000;
|
||||
to="Setup_Player_Obj";
|
||||
precondition = /*%FSM<CONDPRECONDITION""">*/""/*%FSM</CONDPRECONDITION""">*/;
|
||||
condition=/*%FSM<CONDITION""">*/"!(isNull _playerObject) && {_playerObject getVariable [""SETUP"",false]} && {_playerPos nearObjectsReady 10}"/*%FSM</CONDITION""">*/;
|
||||
condition=/*%FSM<CONDITION""">*/"!(isNull _playerObject) && {_playerObject getVariable [""SETUP"",false]} && {_playerPos nearObjectsReady 10} && {call _finalPlayerObjectCheck}"/*%FSM</CONDITION""">*/;
|
||||
action=/*%FSM<ACTION""">*/""/*%FSM</ACTION""">*/;
|
||||
};
|
||||
/*%FSM</LINK>*/
|
||||
@ -1337,9 +1352,9 @@ class FSM
|
||||
priority = 0.000000;
|
||||
to="Check_New_Player";
|
||||
precondition = /*%FSM<CONDPRECONDITION""">*/""/*%FSM</CONDPRECONDITION""">*/;
|
||||
condition=/*%FSM<CONDITION""">*/"!isNil ""EPOCH_C_SET"""/*%FSM</CONDITION""">*/;
|
||||
action=/*%FSM<ACTION""">*/"_array = EPOCH_C_SET;" \n
|
||||
"EPOCH_C_SET = nil;" \n
|
||||
condition=/*%FSM<CONDITION""">*/"!isNil ""_C_SET"""/*%FSM</CONDITION""">*/;
|
||||
action=/*%FSM<ACTION""">*/"_array = _C_SET;" \n
|
||||
"_C_SET = nil;" \n
|
||||
"_playerObject = _array deleteAt 0;" \n
|
||||
"_playerVariables = _array deleteAt 0;" \n
|
||||
"_currentWeapon = _array deleteAt 0;" \n
|
||||
|
@ -1,8 +1,8 @@
|
||||
/*%FSM<COMPILE "F:\Program Files (x86)\Bohemia Interactive\Tools\FSM Editor Personal Edition\scriptedFSM.cfg, Epoch Login">*/
|
||||
/*%FSM<HEAD>*/
|
||||
/*
|
||||
item0[] = {"INIT",0,4346,-25.000000,-375.000000,75.000000,-325.000000,0.000000,"INIT"};
|
||||
item1[] = {"FINISH",1,250,-25.000000,1475.000000,75.000000,1525.000000,0.000000,"FINISH"};
|
||||
item0[] = {"INIT",0,250,-25.000000,-375.000000,75.000000,-325.000000,0.000000,"INIT"};
|
||||
item1[] = {"FINISH",1,4346,-25.000000,1475.000000,75.000000,1525.000000,0.000000,"FINISH"};
|
||||
item2[] = {"true",8,218,-150.000000,-125.000000,-50.000000,-75.000000,0.000000,"true"};
|
||||
item3[] = {"Version_Check",2,250,-25.000000,-75.000000,75.000000,-25.000000,0.000000,"Version Check"};
|
||||
item4[] = {"Player_Object_Re",4,218,-150.000000,75.000000,-50.000000,125.000000,0.000000,"Player" \n "Object Ready"};
|
||||
@ -190,8 +190,8 @@ link97[] = {85,79};
|
||||
link98[] = {86,16};
|
||||
link99[] = {86,22};
|
||||
link100[] = {87,31};
|
||||
globals[] = {0.000000,0,0,0,0,640,480,1,244,6316128,1,-213.844360,425.695953,479.928528,-482.114990,585,880,1};
|
||||
window[] = {2,-1,-1,-1,-1,968,156,1448,156,3,603};
|
||||
globals[] = {0.000000,0,0,0,0,640,480,1,244,6316128,1,-354.892670,479.114502,1946.016846,1047.855225,585,630,1};
|
||||
window[] = {2,-1,-1,-1,-1,871,104,1396,104,3,603};
|
||||
*//*%FSM</HEAD>*/
|
||||
class FSM
|
||||
{
|
||||
@ -211,6 +211,20 @@ class FSM
|
||||
"if (_debug) then {" \n
|
||||
" diag_log ""EPOCH-LOGIN: Init"";" \n
|
||||
"};" \n
|
||||
"" \n
|
||||
"" \n
|
||||
"_finalPlayerObjectCheck = {" \n
|
||||
" _logic1 = (_mass == (loadAbs _playerObject));" \n
|
||||
" _timeout = ((diag_tickTime - _myTime) > 30);" \n
|
||||
" diag_log format [""LOGIN-DEBUG mass match: %1 in %2 seconds, timeout: %3"", _logic1,(diag_tickTime - _myTime),_timeout];" \n
|
||||
" (_logic1 || _timeout)" \n
|
||||
"};" \n
|
||||
"" \n
|
||||
"EPOCH_loginFSM = _thisFSM;" \n
|
||||
"EPOCH_playerLoginInit = {" \n
|
||||
" diag_log format[""DEBUG: %1, %2"",_this, EPOCH_loginFSM];" \n
|
||||
" EPOCH_loginFSM setFSMVariable [_this select 0, _this select 1];" \n
|
||||
"};" \n
|
||||
""/*%FSM</STATEINIT""">*/;
|
||||
precondition = /*%FSM<STATEPRECONDITION""">*/""/*%FSM</STATEPRECONDITION""">*/;
|
||||
class Links
|
||||
@ -249,7 +263,8 @@ class FSM
|
||||
" diag_log ""EPOCH-LOGIN: Finish!"";" \n
|
||||
"};" \n
|
||||
"" \n
|
||||
"" \n
|
||||
"EPOCH_loginFSM = nil;" \n
|
||||
"EPOCH_playerLoginInit = nil;" \n
|
||||
"" \n
|
||||
"//player enableSimulation true;" \n
|
||||
"" \n
|
||||
@ -510,9 +525,9 @@ class FSM
|
||||
priority = 0.000000;
|
||||
to="Process_2";
|
||||
precondition = /*%FSM<CONDPRECONDITION""">*/""/*%FSM</CONDPRECONDITION""">*/;
|
||||
condition=/*%FSM<CONDITION""">*/"!isNil ""EPOCH_checkPlayer_PVC"""/*%FSM</CONDITION""">*/;
|
||||
action=/*%FSM<ACTION""">*/"_newChar = EPOCH_checkPlayer_PVC;" \n
|
||||
"EPOCH_checkPlayer_PVC = nil;"/*%FSM</ACTION""">*/;
|
||||
condition=/*%FSM<CONDITION""">*/"!isNil ""_checkPlayer_PVC"""/*%FSM</CONDITION""">*/;
|
||||
action=/*%FSM<ACTION""">*/"_newChar = _checkPlayer_PVC;" \n
|
||||
"_checkPlayer_PVC = nil;"/*%FSM</ACTION""">*/;
|
||||
};
|
||||
/*%FSM</LINK>*/
|
||||
/*%FSM<LINK "Timeout_No_Respo">*/
|
||||
@ -1041,7 +1056,7 @@ class FSM
|
||||
priority = 0.000000;
|
||||
to="Setup_Player_Obj";
|
||||
precondition = /*%FSM<CONDPRECONDITION""">*/""/*%FSM</CONDPRECONDITION""">*/;
|
||||
condition=/*%FSM<CONDITION""">*/"!(isNull _playerObject) && {_playerObject getVariable [""SETUP"",false]} && {_playerPos nearObjectsReady 10}"/*%FSM</CONDITION""">*/;
|
||||
condition=/*%FSM<CONDITION""">*/"!(isNull _playerObject) && {_playerObject getVariable [""SETUP"",false]} && {_playerPos nearObjectsReady 10} && {call _finalPlayerObjectCheck}"/*%FSM</CONDITION""">*/;
|
||||
action=/*%FSM<ACTION""">*/""/*%FSM</ACTION""">*/;
|
||||
};
|
||||
/*%FSM</LINK>*/
|
||||
@ -1337,9 +1352,9 @@ class FSM
|
||||
priority = 0.000000;
|
||||
to="Check_New_Player";
|
||||
precondition = /*%FSM<CONDPRECONDITION""">*/""/*%FSM</CONDPRECONDITION""">*/;
|
||||
condition=/*%FSM<CONDITION""">*/"!isNil ""EPOCH_C_SET"""/*%FSM</CONDITION""">*/;
|
||||
action=/*%FSM<ACTION""">*/"_array = EPOCH_C_SET;" \n
|
||||
"EPOCH_C_SET = nil;" \n
|
||||
condition=/*%FSM<CONDITION""">*/"!isNil ""_C_SET"""/*%FSM</CONDITION""">*/;
|
||||
action=/*%FSM<ACTION""">*/"_array = _C_SET;" \n
|
||||
"_C_SET = nil;" \n
|
||||
"_playerObject = _array deleteAt 0;" \n
|
||||
"_playerVariables = _array deleteAt 0;" \n
|
||||
"_currentWeapon = _array deleteAt 0;" \n
|
||||
|
@ -1,8 +1,8 @@
|
||||
/*%FSM<COMPILE "F:\Program Files (x86)\Bohemia Interactive\Tools\FSM Editor Personal Edition\scriptedFSM.cfg, Epoch Login">*/
|
||||
/*%FSM<HEAD>*/
|
||||
/*
|
||||
item0[] = {"INIT",0,4346,-25.000000,-375.000000,75.000000,-325.000000,0.000000,"INIT"};
|
||||
item1[] = {"FINISH",1,250,-25.000000,1475.000000,75.000000,1525.000000,0.000000,"FINISH"};
|
||||
item0[] = {"INIT",0,250,-25.000000,-375.000000,75.000000,-325.000000,0.000000,"INIT"};
|
||||
item1[] = {"FINISH",1,4346,-25.000000,1475.000000,75.000000,1525.000000,0.000000,"FINISH"};
|
||||
item2[] = {"true",8,218,-150.000000,-125.000000,-50.000000,-75.000000,0.000000,"true"};
|
||||
item3[] = {"Version_Check",2,250,-25.000000,-75.000000,75.000000,-25.000000,0.000000,"Version Check"};
|
||||
item4[] = {"Player_Object_Re",4,218,-150.000000,75.000000,-50.000000,125.000000,0.000000,"Player" \n "Object Ready"};
|
||||
@ -190,8 +190,8 @@ link97[] = {85,79};
|
||||
link98[] = {86,16};
|
||||
link99[] = {86,22};
|
||||
link100[] = {87,31};
|
||||
globals[] = {0.000000,0,0,0,0,640,480,1,244,6316128,1,-213.844360,425.695953,479.928528,-482.114990,585,880,1};
|
||||
window[] = {2,-1,-1,-1,-1,968,156,1448,156,3,603};
|
||||
globals[] = {0.000000,0,0,0,0,640,480,1,244,6316128,1,-354.892670,479.114502,1946.016846,1047.855225,585,630,1};
|
||||
window[] = {2,-1,-1,-1,-1,871,104,1396,104,3,603};
|
||||
*//*%FSM</HEAD>*/
|
||||
class FSM
|
||||
{
|
||||
@ -211,6 +211,20 @@ class FSM
|
||||
"if (_debug) then {" \n
|
||||
" diag_log ""EPOCH-LOGIN: Init"";" \n
|
||||
"};" \n
|
||||
"" \n
|
||||
"" \n
|
||||
"_finalPlayerObjectCheck = {" \n
|
||||
" _logic1 = (_mass == (loadAbs _playerObject));" \n
|
||||
" _timeout = ((diag_tickTime - _myTime) > 30);" \n
|
||||
" diag_log format [""LOGIN-DEBUG mass match: %1 in %2 seconds, timeout: %3"", _logic1,(diag_tickTime - _myTime),_timeout];" \n
|
||||
" (_logic1 || _timeout)" \n
|
||||
"};" \n
|
||||
"" \n
|
||||
"EPOCH_loginFSM = _thisFSM;" \n
|
||||
"EPOCH_playerLoginInit = {" \n
|
||||
" diag_log format[""DEBUG: %1, %2"",_this, EPOCH_loginFSM];" \n
|
||||
" EPOCH_loginFSM setFSMVariable [_this select 0, _this select 1];" \n
|
||||
"};" \n
|
||||
""/*%FSM</STATEINIT""">*/;
|
||||
precondition = /*%FSM<STATEPRECONDITION""">*/""/*%FSM</STATEPRECONDITION""">*/;
|
||||
class Links
|
||||
@ -249,7 +263,8 @@ class FSM
|
||||
" diag_log ""EPOCH-LOGIN: Finish!"";" \n
|
||||
"};" \n
|
||||
"" \n
|
||||
"" \n
|
||||
"EPOCH_loginFSM = nil;" \n
|
||||
"EPOCH_playerLoginInit = nil;" \n
|
||||
"" \n
|
||||
"//player enableSimulation true;" \n
|
||||
"" \n
|
||||
@ -510,9 +525,9 @@ class FSM
|
||||
priority = 0.000000;
|
||||
to="Process_2";
|
||||
precondition = /*%FSM<CONDPRECONDITION""">*/""/*%FSM</CONDPRECONDITION""">*/;
|
||||
condition=/*%FSM<CONDITION""">*/"!isNil ""EPOCH_checkPlayer_PVC"""/*%FSM</CONDITION""">*/;
|
||||
action=/*%FSM<ACTION""">*/"_newChar = EPOCH_checkPlayer_PVC;" \n
|
||||
"EPOCH_checkPlayer_PVC = nil;"/*%FSM</ACTION""">*/;
|
||||
condition=/*%FSM<CONDITION""">*/"!isNil ""_checkPlayer_PVC"""/*%FSM</CONDITION""">*/;
|
||||
action=/*%FSM<ACTION""">*/"_newChar = _checkPlayer_PVC;" \n
|
||||
"_checkPlayer_PVC = nil;"/*%FSM</ACTION""">*/;
|
||||
};
|
||||
/*%FSM</LINK>*/
|
||||
/*%FSM<LINK "Timeout_No_Respo">*/
|
||||
@ -1041,7 +1056,7 @@ class FSM
|
||||
priority = 0.000000;
|
||||
to="Setup_Player_Obj";
|
||||
precondition = /*%FSM<CONDPRECONDITION""">*/""/*%FSM</CONDPRECONDITION""">*/;
|
||||
condition=/*%FSM<CONDITION""">*/"!(isNull _playerObject) && {_playerObject getVariable [""SETUP"",false]} && {_playerPos nearObjectsReady 10}"/*%FSM</CONDITION""">*/;
|
||||
condition=/*%FSM<CONDITION""">*/"!(isNull _playerObject) && {_playerObject getVariable [""SETUP"",false]} && {_playerPos nearObjectsReady 10} && {call _finalPlayerObjectCheck}"/*%FSM</CONDITION""">*/;
|
||||
action=/*%FSM<ACTION""">*/""/*%FSM</ACTION""">*/;
|
||||
};
|
||||
/*%FSM</LINK>*/
|
||||
@ -1337,9 +1352,9 @@ class FSM
|
||||
priority = 0.000000;
|
||||
to="Check_New_Player";
|
||||
precondition = /*%FSM<CONDPRECONDITION""">*/""/*%FSM</CONDPRECONDITION""">*/;
|
||||
condition=/*%FSM<CONDITION""">*/"!isNil ""EPOCH_C_SET"""/*%FSM</CONDITION""">*/;
|
||||
action=/*%FSM<ACTION""">*/"_array = EPOCH_C_SET;" \n
|
||||
"EPOCH_C_SET = nil;" \n
|
||||
condition=/*%FSM<CONDITION""">*/"!isNil ""_C_SET"""/*%FSM</CONDITION""">*/;
|
||||
action=/*%FSM<ACTION""">*/"_array = _C_SET;" \n
|
||||
"_C_SET = nil;" \n
|
||||
"_playerObject = _array deleteAt 0;" \n
|
||||
"_playerVariables = _array deleteAt 0;" \n
|
||||
"_currentWeapon = _array deleteAt 0;" \n
|
||||
|
@ -1,8 +1,8 @@
|
||||
/*%FSM<COMPILE "F:\Program Files (x86)\Bohemia Interactive\Tools\FSM Editor Personal Edition\scriptedFSM.cfg, Epoch Login">*/
|
||||
/*%FSM<HEAD>*/
|
||||
/*
|
||||
item0[] = {"INIT",0,4346,-25.000000,-375.000000,75.000000,-325.000000,0.000000,"INIT"};
|
||||
item1[] = {"FINISH",1,250,-25.000000,1475.000000,75.000000,1525.000000,0.000000,"FINISH"};
|
||||
item0[] = {"INIT",0,250,-25.000000,-375.000000,75.000000,-325.000000,0.000000,"INIT"};
|
||||
item1[] = {"FINISH",1,4346,-25.000000,1475.000000,75.000000,1525.000000,0.000000,"FINISH"};
|
||||
item2[] = {"true",8,218,-150.000000,-125.000000,-50.000000,-75.000000,0.000000,"true"};
|
||||
item3[] = {"Version_Check",2,250,-25.000000,-75.000000,75.000000,-25.000000,0.000000,"Version Check"};
|
||||
item4[] = {"Player_Object_Re",4,218,-150.000000,75.000000,-50.000000,125.000000,0.000000,"Player" \n "Object Ready"};
|
||||
@ -190,8 +190,8 @@ link97[] = {85,79};
|
||||
link98[] = {86,16};
|
||||
link99[] = {86,22};
|
||||
link100[] = {87,31};
|
||||
globals[] = {0.000000,0,0,0,0,640,480,1,244,6316128,1,-213.844360,425.695953,479.928528,-482.114990,585,880,1};
|
||||
window[] = {2,-1,-1,-1,-1,968,156,1448,156,3,603};
|
||||
globals[] = {0.000000,0,0,0,0,640,480,1,244,6316128,1,-354.892670,479.114502,1946.016846,1047.855225,585,630,1};
|
||||
window[] = {2,-1,-1,-1,-1,871,104,1396,104,3,603};
|
||||
*//*%FSM</HEAD>*/
|
||||
class FSM
|
||||
{
|
||||
@ -211,6 +211,20 @@ class FSM
|
||||
"if (_debug) then {" \n
|
||||
" diag_log ""EPOCH-LOGIN: Init"";" \n
|
||||
"};" \n
|
||||
"" \n
|
||||
"" \n
|
||||
"_finalPlayerObjectCheck = {" \n
|
||||
" _logic1 = (_mass == (loadAbs _playerObject));" \n
|
||||
" _timeout = ((diag_tickTime - _myTime) > 30);" \n
|
||||
" diag_log format [""LOGIN-DEBUG mass match: %1 in %2 seconds, timeout: %3"", _logic1,(diag_tickTime - _myTime),_timeout];" \n
|
||||
" (_logic1 || _timeout)" \n
|
||||
"};" \n
|
||||
"" \n
|
||||
"EPOCH_loginFSM = _thisFSM;" \n
|
||||
"EPOCH_playerLoginInit = {" \n
|
||||
" diag_log format[""DEBUG: %1, %2"",_this, EPOCH_loginFSM];" \n
|
||||
" EPOCH_loginFSM setFSMVariable [_this select 0, _this select 1];" \n
|
||||
"};" \n
|
||||
""/*%FSM</STATEINIT""">*/;
|
||||
precondition = /*%FSM<STATEPRECONDITION""">*/""/*%FSM</STATEPRECONDITION""">*/;
|
||||
class Links
|
||||
@ -249,7 +263,8 @@ class FSM
|
||||
" diag_log ""EPOCH-LOGIN: Finish!"";" \n
|
||||
"};" \n
|
||||
"" \n
|
||||
"" \n
|
||||
"EPOCH_loginFSM = nil;" \n
|
||||
"EPOCH_playerLoginInit = nil;" \n
|
||||
"" \n
|
||||
"//player enableSimulation true;" \n
|
||||
"" \n
|
||||
@ -510,9 +525,9 @@ class FSM
|
||||
priority = 0.000000;
|
||||
to="Process_2";
|
||||
precondition = /*%FSM<CONDPRECONDITION""">*/""/*%FSM</CONDPRECONDITION""">*/;
|
||||
condition=/*%FSM<CONDITION""">*/"!isNil ""EPOCH_checkPlayer_PVC"""/*%FSM</CONDITION""">*/;
|
||||
action=/*%FSM<ACTION""">*/"_newChar = EPOCH_checkPlayer_PVC;" \n
|
||||
"EPOCH_checkPlayer_PVC = nil;"/*%FSM</ACTION""">*/;
|
||||
condition=/*%FSM<CONDITION""">*/"!isNil ""_checkPlayer_PVC"""/*%FSM</CONDITION""">*/;
|
||||
action=/*%FSM<ACTION""">*/"_newChar = _checkPlayer_PVC;" \n
|
||||
"_checkPlayer_PVC = nil;"/*%FSM</ACTION""">*/;
|
||||
};
|
||||
/*%FSM</LINK>*/
|
||||
/*%FSM<LINK "Timeout_No_Respo">*/
|
||||
@ -1041,7 +1056,7 @@ class FSM
|
||||
priority = 0.000000;
|
||||
to="Setup_Player_Obj";
|
||||
precondition = /*%FSM<CONDPRECONDITION""">*/""/*%FSM</CONDPRECONDITION""">*/;
|
||||
condition=/*%FSM<CONDITION""">*/"!(isNull _playerObject) && {_playerObject getVariable [""SETUP"",false]} && {_playerPos nearObjectsReady 10}"/*%FSM</CONDITION""">*/;
|
||||
condition=/*%FSM<CONDITION""">*/"!(isNull _playerObject) && {_playerObject getVariable [""SETUP"",false]} && {_playerPos nearObjectsReady 10} && {call _finalPlayerObjectCheck}"/*%FSM</CONDITION""">*/;
|
||||
action=/*%FSM<ACTION""">*/""/*%FSM</ACTION""">*/;
|
||||
};
|
||||
/*%FSM</LINK>*/
|
||||
@ -1337,9 +1352,9 @@ class FSM
|
||||
priority = 0.000000;
|
||||
to="Check_New_Player";
|
||||
precondition = /*%FSM<CONDPRECONDITION""">*/""/*%FSM</CONDPRECONDITION""">*/;
|
||||
condition=/*%FSM<CONDITION""">*/"!isNil ""EPOCH_C_SET"""/*%FSM</CONDITION""">*/;
|
||||
action=/*%FSM<ACTION""">*/"_array = EPOCH_C_SET;" \n
|
||||
"EPOCH_C_SET = nil;" \n
|
||||
condition=/*%FSM<CONDITION""">*/"!isNil ""_C_SET"""/*%FSM</CONDITION""">*/;
|
||||
action=/*%FSM<ACTION""">*/"_array = _C_SET;" \n
|
||||
"_C_SET = nil;" \n
|
||||
"_playerObject = _array deleteAt 0;" \n
|
||||
"_playerVariables = _array deleteAt 0;" \n
|
||||
"_currentWeapon = _array deleteAt 0;" \n
|
||||
|
@ -1,8 +1,8 @@
|
||||
/*%FSM<COMPILE "F:\Program Files (x86)\Bohemia Interactive\Tools\FSM Editor Personal Edition\scriptedFSM.cfg, Epoch Login">*/
|
||||
/*%FSM<HEAD>*/
|
||||
/*
|
||||
item0[] = {"INIT",0,4346,-25.000000,-375.000000,75.000000,-325.000000,0.000000,"INIT"};
|
||||
item1[] = {"FINISH",1,250,-25.000000,1475.000000,75.000000,1525.000000,0.000000,"FINISH"};
|
||||
item0[] = {"INIT",0,250,-25.000000,-375.000000,75.000000,-325.000000,0.000000,"INIT"};
|
||||
item1[] = {"FINISH",1,4346,-25.000000,1475.000000,75.000000,1525.000000,0.000000,"FINISH"};
|
||||
item2[] = {"true",8,218,-150.000000,-125.000000,-50.000000,-75.000000,0.000000,"true"};
|
||||
item3[] = {"Version_Check",2,250,-25.000000,-75.000000,75.000000,-25.000000,0.000000,"Version Check"};
|
||||
item4[] = {"Player_Object_Re",4,218,-150.000000,75.000000,-50.000000,125.000000,0.000000,"Player" \n "Object Ready"};
|
||||
@ -190,8 +190,8 @@ link97[] = {85,79};
|
||||
link98[] = {86,16};
|
||||
link99[] = {86,22};
|
||||
link100[] = {87,31};
|
||||
globals[] = {0.000000,0,0,0,0,640,480,1,244,6316128,1,-213.844360,425.695953,479.928528,-482.114990,585,880,1};
|
||||
window[] = {2,-1,-1,-1,-1,968,156,1448,156,3,603};
|
||||
globals[] = {0.000000,0,0,0,0,640,480,1,244,6316128,1,-354.892670,479.114502,1946.016846,1047.855225,585,630,1};
|
||||
window[] = {2,-1,-1,-1,-1,871,104,1396,104,3,603};
|
||||
*//*%FSM</HEAD>*/
|
||||
class FSM
|
||||
{
|
||||
@ -211,6 +211,20 @@ class FSM
|
||||
"if (_debug) then {" \n
|
||||
" diag_log ""EPOCH-LOGIN: Init"";" \n
|
||||
"};" \n
|
||||
"" \n
|
||||
"" \n
|
||||
"_finalPlayerObjectCheck = {" \n
|
||||
" _logic1 = (_mass == (loadAbs _playerObject));" \n
|
||||
" _timeout = ((diag_tickTime - _myTime) > 30);" \n
|
||||
" diag_log format [""LOGIN-DEBUG mass match: %1 in %2 seconds, timeout: %3"", _logic1,(diag_tickTime - _myTime),_timeout];" \n
|
||||
" (_logic1 || _timeout)" \n
|
||||
"};" \n
|
||||
"" \n
|
||||
"EPOCH_loginFSM = _thisFSM;" \n
|
||||
"EPOCH_playerLoginInit = {" \n
|
||||
" diag_log format[""DEBUG: %1, %2"",_this, EPOCH_loginFSM];" \n
|
||||
" EPOCH_loginFSM setFSMVariable [_this select 0, _this select 1];" \n
|
||||
"};" \n
|
||||
""/*%FSM</STATEINIT""">*/;
|
||||
precondition = /*%FSM<STATEPRECONDITION""">*/""/*%FSM</STATEPRECONDITION""">*/;
|
||||
class Links
|
||||
@ -249,7 +263,8 @@ class FSM
|
||||
" diag_log ""EPOCH-LOGIN: Finish!"";" \n
|
||||
"};" \n
|
||||
"" \n
|
||||
"" \n
|
||||
"EPOCH_loginFSM = nil;" \n
|
||||
"EPOCH_playerLoginInit = nil;" \n
|
||||
"" \n
|
||||
"//player enableSimulation true;" \n
|
||||
"" \n
|
||||
@ -510,9 +525,9 @@ class FSM
|
||||
priority = 0.000000;
|
||||
to="Process_2";
|
||||
precondition = /*%FSM<CONDPRECONDITION""">*/""/*%FSM</CONDPRECONDITION""">*/;
|
||||
condition=/*%FSM<CONDITION""">*/"!isNil ""EPOCH_checkPlayer_PVC"""/*%FSM</CONDITION""">*/;
|
||||
action=/*%FSM<ACTION""">*/"_newChar = EPOCH_checkPlayer_PVC;" \n
|
||||
"EPOCH_checkPlayer_PVC = nil;"/*%FSM</ACTION""">*/;
|
||||
condition=/*%FSM<CONDITION""">*/"!isNil ""_checkPlayer_PVC"""/*%FSM</CONDITION""">*/;
|
||||
action=/*%FSM<ACTION""">*/"_newChar = _checkPlayer_PVC;" \n
|
||||
"_checkPlayer_PVC = nil;"/*%FSM</ACTION""">*/;
|
||||
};
|
||||
/*%FSM</LINK>*/
|
||||
/*%FSM<LINK "Timeout_No_Respo">*/
|
||||
@ -1041,7 +1056,7 @@ class FSM
|
||||
priority = 0.000000;
|
||||
to="Setup_Player_Obj";
|
||||
precondition = /*%FSM<CONDPRECONDITION""">*/""/*%FSM</CONDPRECONDITION""">*/;
|
||||
condition=/*%FSM<CONDITION""">*/"!(isNull _playerObject) && {_playerObject getVariable [""SETUP"",false]} && {_playerPos nearObjectsReady 10}"/*%FSM</CONDITION""">*/;
|
||||
condition=/*%FSM<CONDITION""">*/"!(isNull _playerObject) && {_playerObject getVariable [""SETUP"",false]} && {_playerPos nearObjectsReady 10} && {call _finalPlayerObjectCheck}"/*%FSM</CONDITION""">*/;
|
||||
action=/*%FSM<ACTION""">*/""/*%FSM</ACTION""">*/;
|
||||
};
|
||||
/*%FSM</LINK>*/
|
||||
@ -1337,9 +1352,9 @@ class FSM
|
||||
priority = 0.000000;
|
||||
to="Check_New_Player";
|
||||
precondition = /*%FSM<CONDPRECONDITION""">*/""/*%FSM</CONDPRECONDITION""">*/;
|
||||
condition=/*%FSM<CONDITION""">*/"!isNil ""EPOCH_C_SET"""/*%FSM</CONDITION""">*/;
|
||||
action=/*%FSM<ACTION""">*/"_array = EPOCH_C_SET;" \n
|
||||
"EPOCH_C_SET = nil;" \n
|
||||
condition=/*%FSM<CONDITION""">*/"!isNil ""_C_SET"""/*%FSM</CONDITION""">*/;
|
||||
action=/*%FSM<ACTION""">*/"_array = _C_SET;" \n
|
||||
"_C_SET = nil;" \n
|
||||
"_playerObject = _array deleteAt 0;" \n
|
||||
"_playerVariables = _array deleteAt 0;" \n
|
||||
"_currentWeapon = _array deleteAt 0;" \n
|
||||
|
Loading…
Reference in New Issue
Block a user