mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-14 20:13:13 +03:00
moved to PEH
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
/*%FSM<COMPILE "C:\Program Files (x86)\Bohemia Interactive\Tools\FSM Editor Personal Edition\scriptedFSM.cfg, DayZ Player Monitor">*/
|
/*%FSM<COMPILE "F:\Program Files (x86)\Bohemia Interactive\Tools\FSM Editor Personal Edition\scriptedFSM.cfg, DayZ Player Monitor">*/
|
||||||
/*%FSM<HEAD>*/
|
/*%FSM<HEAD>*/
|
||||||
/*
|
/*
|
||||||
item0[] = {"init",0,250,-75.000000,-350.000000,25.000000,-300.000000,0.000000,"init"};
|
item0[] = {"init",0,250,-75.000000,-350.000000,25.000000,-300.000000,0.000000,"init"};
|
||||||
@@ -152,8 +152,8 @@ link77[] = {66,59};
|
|||||||
link78[] = {67,15};
|
link78[] = {67,15};
|
||||||
link79[] = {68,69};
|
link79[] = {68,69};
|
||||||
link80[] = {69,20};
|
link80[] = {69,20};
|
||||||
globals[] = {25.000000,1,0,0,0,640,480,1,131,6316128,1,-592.955444,422.624878,1469.107178,428.394379,888,911,1};
|
globals[] = {25.000000,1,0,0,0,640,480,1,131,6316128,1,-592.955444,422.624878,1027.017090,306.503998,888,630,1};
|
||||||
window[] = {2,-1,-1,-1,-1,980,200,1572,200,3,906};
|
window[] = {2,-1,-1,-1,-1,858,78,1370,78,3,906};
|
||||||
*//*%FSM</HEAD>*/
|
*//*%FSM</HEAD>*/
|
||||||
class FSM
|
class FSM
|
||||||
{
|
{
|
||||||
@@ -472,9 +472,7 @@ class FSM
|
|||||||
class Request
|
class Request
|
||||||
{
|
{
|
||||||
name = "Request";
|
name = "Request";
|
||||||
init = /*%FSM<STATEINIT""">*/"//startLoadingScreen ["""",""DayZ_loadingScreen""];" \n
|
init = /*%FSM<STATEINIT""">*/"diag_log (""PLOGIN: Requesting Authentication... ("" + _playerUID + "")"");" \n
|
||||||
"" \n
|
|
||||||
"diag_log (""PLOGIN: Requesting Authentication... ("" + _playerUID + "")"");" \n
|
|
||||||
"dayz_loadScreenMsg = (localize ""str_player_15"");" \n
|
"dayz_loadScreenMsg = (localize ""str_player_15"");" \n
|
||||||
"" \n
|
"" \n
|
||||||
"progressLoadingScreen 0.7;" \n
|
"progressLoadingScreen 0.7;" \n
|
||||||
@@ -762,17 +760,15 @@ class FSM
|
|||||||
"" \n
|
"" \n
|
||||||
"_worldspace = dayzPlayerLogin2 select 0;" \n
|
"_worldspace = dayzPlayerLogin2 select 0;" \n
|
||||||
"_state = dayzPlayerLogin2 select 1;" \n
|
"_state = dayzPlayerLogin2 select 1;" \n
|
||||||
"PVDZE_plr_SetWeather = dayzPlayerLogin2 select 2;" \n
|
"DZE_FreshSpawn = dayzPlayerLogin2 select 2;" \n
|
||||||
"PVDZE_plr_SetDate = dayzPlayerLogin2 select 3;" \n
|
|
||||||
"DZE_FreshSpawn = dayzPlayerLogin2 select 4;" \n
|
|
||||||
"" \n
|
"" \n
|
||||||
"_setDir = _worldspace select 0;" \n
|
"_setDir = _worldspace select 0;" \n
|
||||||
"_setPos = _worldspace select 1;" \n
|
"_setPos = _worldspace select 1;" \n
|
||||||
"" \n
|
"" \n
|
||||||
"if(dayz_paraSpawn and !(player isKindOf ""PZombie_VB"") and DZE_FreshSpawn) then {" \n
|
"if(dayz_paraSpawn and !(player isKindOf ""PZombie_VB"") and DZE_FreshSpawn) then {" \n
|
||||||
" player setPosATL [(_setPos select 0),(_setPos select 1),1000];" \n
|
|
||||||
" player setDir _setDir;" \n
|
" player setDir _setDir;" \n
|
||||||
" [player,1000] spawn BIS_fnc_halo;" \n
|
" player setPosATL [(_setPos select 0),(_setPos select 1),2000];" \n
|
||||||
|
" [player,2000] spawn BIS_fnc_halo;" \n
|
||||||
"} else {" \n
|
"} else {" \n
|
||||||
"" \n
|
"" \n
|
||||||
" // make protective box" \n
|
" // make protective box" \n
|
||||||
@@ -942,10 +938,7 @@ class FSM
|
|||||||
class Position
|
class Position
|
||||||
{
|
{
|
||||||
name = "Position";
|
name = "Position";
|
||||||
init = /*%FSM<STATEINIT""">*/"endLoadingScreen;" \n
|
init = /*%FSM<STATEINIT""">*/"//Location" \n
|
||||||
"startLoadingScreen ["""",""DayZ_loadingScreen""];" \n
|
|
||||||
"" \n
|
|
||||||
"//Location" \n
|
|
||||||
"_myLoc = getPosATL player;" \n
|
"_myLoc = getPosATL player;" \n
|
||||||
"" \n
|
"" \n
|
||||||
"dayz_loadScreenMsg = ""Setup Completed, please wait..."";" \n
|
"dayz_loadScreenMsg = ""Setup Completed, please wait..."";" \n
|
||||||
@@ -1186,23 +1179,7 @@ class FSM
|
|||||||
class Initialize
|
class Initialize
|
||||||
{
|
{
|
||||||
name = "Initialize";
|
name = "Initialize";
|
||||||
init = /*%FSM<STATEINIT""">*/"#define ods(arg1) ""armaperflib"" callextension arg1" \n
|
init = /*%FSM<STATEINIT""">*/"//Medical" \n
|
||||||
"" \n
|
|
||||||
"if (!isNil ""PVDZE_plr_SetDate"") then {" \n
|
|
||||||
" setDate PVDZE_plr_SetDate;" \n
|
|
||||||
"};" \n
|
|
||||||
"" \n
|
|
||||||
"if (!isNil ""PVDZE_plr_SetDate"") then {" \n
|
|
||||||
" 0 setOvercast (zeroCurrentWeather select 0);" \n
|
|
||||||
" 0 setFog (zeroCurrentWeather select 1);" \n
|
|
||||||
" setWind [((zeroCurrentWeather select 2) select 0),((zeroCurrentWeather select 2) select 1),true];" \n
|
|
||||||
" 0 setRain (zeroCurrentWeather select 3);" \n
|
|
||||||
"};" \n
|
|
||||||
"" \n
|
|
||||||
"" \n
|
|
||||||
"diag_log (""Local Time: "" +str(PVDZE_plr_SetDate));" \n
|
|
||||||
"" \n
|
|
||||||
"//Medical" \n
|
|
||||||
"dayz_medicalH = [] execVM ""\z\addons\dayz_code\medical\init_medical.sqf""; //Medical Monitor Script (client only)" \n
|
"dayz_medicalH = [] execVM ""\z\addons\dayz_code\medical\init_medical.sqf""; //Medical Monitor Script (client only)" \n
|
||||||
"[player] call fnc_usec_damageHandle;" \n
|
"[player] call fnc_usec_damageHandle;" \n
|
||||||
"if (r_player_unconscious) then {" \n
|
"if (r_player_unconscious) then {" \n
|
||||||
|
|||||||
Reference in New Issue
Block a user