mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2026-02-10 18:22:52 +03:00
1.7.5.D1208
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
/*%FSM<COMPILE "F:\DayZ\Tools\FSM Editor Personal Edition\scriptedFSM.cfg, DayZ Player Monitor">*/
|
||||
/*%FSM<COMPILE "D:\Bohemia Interactive\Tools\FSM Editor Personal Edition\scriptedFSM.cfg, DayZ Player Monitor">*/
|
||||
/*%FSM<HEAD>*/
|
||||
/*
|
||||
item0[] = {"init",0,250,-75.000000,-350.000000,25.000000,-300.000000,0.000000,"init"};
|
||||
@@ -114,7 +114,7 @@ link56[] = {49,50};
|
||||
link57[] = {50,49};
|
||||
link58[] = {51,52};
|
||||
link59[] = {52,29};
|
||||
globals[] = {25.000000,1,0,0,0,640,480,1,81,6316128,1,-536.745972,551.148315,1344.204346,288.206512,955,927,1};
|
||||
globals[] = {25.000000,1,0,0,0,640,480,1,81,6316128,1,-561.815979,576.218079,1245.283447,529.096497,955,601,1};
|
||||
window[] = {2,-1,-1,-32000,-32000,802,22,993,22,3,972};
|
||||
*//*%FSM</HEAD>*/
|
||||
class FSM
|
||||
@@ -280,10 +280,10 @@ class FSM
|
||||
" _temp = round(player getVariable [""temperature"",100]);" \n
|
||||
" _currentState = [_currentWpn,_currentAnim,_temp];" \n
|
||||
" " \n
|
||||
" dayzCharDisco = [dayz_characterID,_playerPos,[weapons player,_magazineArray],[typeOf (unitbackpack player),getWeaponCargo (unitbackpack player),getMagazineCargo (unitbackpack player)],_medical,_currentState,_currentModel];" \n
|
||||
" //dayzCharDisco = [dayz_characterID,_playerPos,[weapons player,_magazineArray],[typeOf (unitbackpack player),getWeaponCargo (unitbackpack player),getMagazineCargo (unitbackpack player)],_medical,_currentState,_currentModel];" \n
|
||||
" //diag_log str(dayzCharDisco); " \n
|
||||
"" \n
|
||||
" publicVariableServer ""dayzCharDisco"";" \n
|
||||
" //publicVariableServer ""dayzCharDisco"";" \n
|
||||
" // remove isServer from player space" \n
|
||||
" dayz_lastSave = time;" \n
|
||||
" dayz_Magazines = [];" \n
|
||||
@@ -423,27 +423,9 @@ class FSM
|
||||
"dayzLogin = [_playerUID,player];" \n
|
||||
"dayzPlayerLogin = [];" \n
|
||||
"publicVariableServer ""dayzLogin"";" \n
|
||||
"penaltyTimeout = true;" \n
|
||||
"" \n
|
||||
"[] spawn {" \n
|
||||
" private[""_doLoop""];" \n
|
||||
" _doLoop = 0;" \n
|
||||
" sleep 1;" \n
|
||||
"" \n
|
||||
" while { penaltyTimeout && _doLoop < 60 } do {" \n
|
||||
"// diag_log ""DEBUG: penalty timeout running.""; " \n
|
||||
" _doLoop=_doLoop + 1;" \n
|
||||
"// TODO: localize this msg " \n
|
||||
" dayz_loadScreenMsg = format[""Combatmode timeout: %1"",_doLoop]; " \n
|
||||
" progressLoadingScreen (_doLoop/60);" \n
|
||||
" sleep 1;" \n
|
||||
" };" \n
|
||||
" dayz_loadScreenMsg = "" ""; " \n
|
||||
"};" \n
|
||||
"" \n
|
||||
"" \n
|
||||
"// remove isServer from player space" \n
|
||||
""/*%FSM</STATEINIT""">*/;
|
||||
"if (isServer) then {" \n
|
||||
" dayzLogin call server_playerLogin;" \n
|
||||
"};"/*%FSM</STATEINIT""">*/;
|
||||
precondition = /*%FSM<STATEPRECONDITION""">*/""/*%FSM</STATEPRECONDITION""">*/;
|
||||
class Links
|
||||
{
|
||||
@@ -1107,17 +1089,25 @@ class FSM
|
||||
" _runOnce = false;" \n
|
||||
" while {true} do {" \n
|
||||
"" \n
|
||||
" ods(""dayz_lootCheck"");" \n
|
||||
"" \n
|
||||
" call player_spawnCheck; " \n
|
||||
"//loot" \n
|
||||
" call player_spawnLootCheck;" \n
|
||||
"//zeds" \n
|
||||
" call player_spawnZedCheck; " \n
|
||||
"" \n
|
||||
" call stream_locationCheck;" \n
|
||||
" sleep 10;" \n
|
||||
" sleep 2;" \n
|
||||
" };" \n
|
||||
"};" \n
|
||||
"// TODO: questionably" \n
|
||||
"{ _x call fnc_vehicleEventHandler; } forEach vehicles;" \n
|
||||
"{ nul = [_x,2,0,false,false] spawn BIS_Effects_Burn; } forEach allMissionObjects ""UH1Wreck_DZ"";" \n
|
||||
"" \n
|
||||
"private[""_fadeFire""];" \n
|
||||
"{" \n
|
||||
" _fadeFire = _x getVariable['fadeFire', true];" \n
|
||||
" if (!_fadeFire) then {" \n
|
||||
" nul = [_x,2,0,false,false] spawn BIS_Effects_Burn;" \n
|
||||
" };" \n
|
||||
"} forEach allMissionObjects ""SpawnableWreck"";" \n
|
||||
""/*%FSM</STATEINIT""">*/;
|
||||
precondition = /*%FSM<STATEPRECONDITION""">*/""/*%FSM</STATEPRECONDITION""">*/;
|
||||
class Links
|
||||
|
||||
Reference in New Issue
Block a user