mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-14 04:02:37 +03:00
Add GlobalVar for Freshspawns
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
/*%FSM<COMPILE "F:\Program Files (x86)\Bohemia Interactive\Tools\FSM Editor Personal Edition\scriptedFSM.cfg, DayZ Player Monitor">*/
|
/*%FSM<COMPILE "D:\Programme\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"};
|
||||||
@@ -36,7 +36,7 @@ item31[] = {"ERROR__Bad_Versi",2,250,175.000000,800.000000,275.000000,850.000000
|
|||||||
item32[] = {"Display_Ready",4,218,-175.000000,1050.000000,-75.000000,1100.000000,0.000000,"Display" \n "Ready"};
|
item32[] = {"Display_Ready",4,218,-175.000000,1050.000000,-75.000000,1100.000000,0.000000,"Display" \n "Ready"};
|
||||||
item33[] = {"Preload_Display",2,250,-75.000000,1100.000000,25.000000,1150.000000,0.000000,"Preload" \n "Display"};
|
item33[] = {"Preload_Display",2,250,-75.000000,1100.000000,25.000000,1150.000000,0.000000,"Preload" \n "Display"};
|
||||||
item34[] = {"Preload_Done",4,218,-175.000000,1150.000000,-75.000000,1200.000000,0.000000,"Preload" \n "Done"};
|
item34[] = {"Preload_Done",4,218,-175.000000,1150.000000,-75.000000,1200.000000,0.000000,"Preload" \n "Done"};
|
||||||
item35[] = {"Initialize",2,4346,-75.000000,1200.000000,25.000000,1250.000000,0.000000,"Initialize"};
|
item35[] = {"Initialize",2,250,-75.000000,1200.000000,25.000000,1250.000000,0.000000,"Initialize"};
|
||||||
item36[] = {"Finish",1,250,-75.000000,1300.000000,25.000000,1350.000000,0.000000,"Finish"};
|
item36[] = {"Finish",1,250,-75.000000,1300.000000,25.000000,1350.000000,0.000000,"Finish"};
|
||||||
item37[] = {"True",8,218,25.000000,1250.000000,125.000000,1300.000000,0.000000,"True"};
|
item37[] = {"True",8,218,25.000000,1250.000000,125.000000,1300.000000,0.000000,"True"};
|
||||||
item38[] = {"Too_Long",4,218,300.000000,150.000000,400.000000,200.000000,0.000000,"Too" \n "Long"};
|
item38[] = {"Too_Long",4,218,300.000000,150.000000,400.000000,200.000000,0.000000,"Too" \n "Long"};
|
||||||
@@ -46,7 +46,7 @@ item41[] = {"Too_Long",4,218,300.000000,800.000000,400.000000,850.000000,0.00000
|
|||||||
item42[] = {"Enable_Sim",2,250,-75.000000,-100.000000,25.000000,-50.000000,0.000000,"Enable Sim"};
|
item42[] = {"Enable_Sim",2,250,-75.000000,-100.000000,25.000000,-50.000000,0.000000,"Enable Sim"};
|
||||||
item43[] = {"Initialized",4,218,-175.000000,-150.000000,-75.000000,-100.000000,0.000000,"Initialized"};
|
item43[] = {"Initialized",4,218,-175.000000,-150.000000,-75.000000,-100.000000,0.000000,"Initialized"};
|
||||||
item44[] = {"New_Character",4,218,-500.000000,375.000000,-400.000000,425.000000,5.000000,"New" \n "Character"};
|
item44[] = {"New_Character",4,218,-500.000000,375.000000,-400.000000,425.000000,5.000000,"New" \n "Character"};
|
||||||
item45[] = {"Gender_Selection",2,250,-500.000000,500.000000,-400.000000,550.000000,0.000000,"Gender Selection" \n "Dialog"};
|
item45[] = {"Gender_Selection",2,4346,-500.000000,500.000000,-400.000000,550.000000,0.000000,"Gender Selection" \n "Dialog"};
|
||||||
item46[] = {"Selected",4,218,-400.000000,600.000000,-300.000000,650.000000,0.000000,"Selected"};
|
item46[] = {"Selected",4,218,-400.000000,600.000000,-300.000000,650.000000,0.000000,"Selected"};
|
||||||
item47[] = {"Process",2,250,-275.000000,600.000000,-175.000000,650.000000,0.000000,"Process"};
|
item47[] = {"Process",2,250,-275.000000,600.000000,-175.000000,650.000000,0.000000,"Process"};
|
||||||
item48[] = {"no_PlayerID",4,218,50.000000,-100.000000,150.000000,-50.000000,2.000000,"no PlayerID"};
|
item48[] = {"no_PlayerID",4,218,50.000000,-100.000000,150.000000,-50.000000,2.000000,"no PlayerID"};
|
||||||
@@ -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,-456.463867,742.098633,1289.049438,106.611221,892,880,1};
|
globals[] = {25.000000,1,0,0,0,640,480,1,131,6316128,1,-570.582947,400.252716,1016.060913,24.546000,892,911,1};
|
||||||
window[] = {2,-1,-1,-1,-1,1014,234,1606,234,3,910};
|
window[] = {2,-1,-1,-1,-1,830,50,1422,50,3,910};
|
||||||
*//*%FSM</HEAD>*/
|
*//*%FSM</HEAD>*/
|
||||||
class FSM
|
class FSM
|
||||||
{
|
{
|
||||||
@@ -537,7 +537,7 @@ class FSM
|
|||||||
"_isHiveOk = false;" \n
|
"_isHiveOk = false;" \n
|
||||||
"_newPlayer = false;" \n
|
"_newPlayer = false;" \n
|
||||||
"_isInfected = false;" \n
|
"_isInfected = false;" \n
|
||||||
"" \n
|
"freshSpawn = 0;" \n
|
||||||
"if (count _msg > 7) then {" \n
|
"if (count _msg > 7) then {" \n
|
||||||
" _isHiveOk = _msg select 7;" \n
|
" _isHiveOk = _msg select 7;" \n
|
||||||
" _newPlayer = _msg select 8;" \n
|
" _newPlayer = _msg select 8;" \n
|
||||||
@@ -1395,7 +1395,8 @@ class FSM
|
|||||||
init = /*%FSM<STATEINIT""">*/"dayz_selectGender = ""Survivor2_DZ"";" \n
|
init = /*%FSM<STATEINIT""">*/"dayz_selectGender = ""Survivor2_DZ"";" \n
|
||||||
"1 cutText ["""", ""BLACK"",0];" \n
|
"1 cutText ["""", ""BLACK"",0];" \n
|
||||||
"endLoadingScreen;" \n
|
"endLoadingScreen;" \n
|
||||||
"createDialog ""RscDisplayGenderSelect"";"/*%FSM</STATEINIT""">*/;
|
"createDialog ""RscDisplayGenderSelect"";" \n
|
||||||
|
"freshSpawn = 2;"/*%FSM</STATEINIT""">*/;
|
||||||
precondition = /*%FSM<STATEPRECONDITION""">*/""/*%FSM</STATEPRECONDITION""">*/;
|
precondition = /*%FSM<STATEPRECONDITION""">*/""/*%FSM</STATEPRECONDITION""">*/;
|
||||||
class Links
|
class Links
|
||||||
{
|
{
|
||||||
@@ -1658,7 +1659,8 @@ class FSM
|
|||||||
{
|
{
|
||||||
name = "Player_Zombie__S";
|
name = "Player_Zombie__S";
|
||||||
init = /*%FSM<STATEINIT""">*/"_zssupported = [""pz_policeman"",""pz_suit1"",""pz_suit2"",""pz_worker1"",""pz_worker2"",""pz_worker3"",""pz_doctor"",""pz_teacher"",""pz_hunter"",""pz_villager1"",""pz_villager2"",""pz_villager3"",""pz_priest""];" \n
|
init = /*%FSM<STATEINIT""">*/"_zssupported = [""pz_policeman"",""pz_suit1"",""pz_suit2"",""pz_worker1"",""pz_worker2"",""pz_worker3"",""pz_doctor"",""pz_teacher"",""pz_hunter"",""pz_villager1"",""pz_villager2"",""pz_villager3"",""pz_priest""];" \n
|
||||||
"_model = (_zssupported select floor(random(count _zssupported)));"/*%FSM</STATEINIT""">*/;
|
"_model = (_zssupported select floor(random(count _zssupported)));" \n
|
||||||
|
"freshSpawn = 1;"/*%FSM</STATEINIT""">*/;
|
||||||
precondition = /*%FSM<STATEPRECONDITION""">*/""/*%FSM</STATEPRECONDITION""">*/;
|
precondition = /*%FSM<STATEPRECONDITION""">*/""/*%FSM</STATEPRECONDITION""">*/;
|
||||||
class Links
|
class Links
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user