mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2026-02-15 04:32:56 +03:00
Fix ammo refill when switching skins and ...
- allow player to switch with backpack on. - player_countmagazines now returns backpack magazines with ammo count. Do with this as you like. - Make sure dead players do not have to wait the abort (after the 5 seconds). - Update changelog
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
/*%FSM<COMPILE "C:\Program Files (x86)\Bohemia Interactive\Tools\FSM Editor Personal Edition\scriptedFSM.cfg, DayZ Player Monitor">*/
|
||||
/*%FSM<HEAD>*/
|
||||
/*
|
||||
item0[] = {"init",0,4346,-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"};
|
||||
item1[] = {"isServer",4,218,50.000000,-350.000000,150.000000,-300.000000,0.000000,"isServer"};
|
||||
item2[] = {"wait",2,250,50.000000,-275.000000,150.000000,-225.000000,0.000000,"wait"};
|
||||
item3[] = {"Allow_Conn",4,218,50.000000,-200.000000,150.000000,-150.000000,0.000000,"Allow" \n "Conn"};
|
||||
@@ -20,7 +20,7 @@ item15[] = {"Parse_Login",2,250,-75.000000,500.000000,25.000000,550.000000,0.000
|
||||
item16[] = {"Hive_Bad",4,218,50.000000,500.000000,150.000000,550.000000,10.000000,"Hive" \n "Bad"};
|
||||
item17[] = {"ERROR__Wrong_HIVE",2,250,175.000000,500.000000,275.000000,550.000000,0.000000,"ERROR:" \n "Wrong HIVE" \n "Version"};
|
||||
item18[] = {"Hive_Ok",4,218,-175.000000,550.000000,-75.000000,600.000000,0.000000,"Hive" \n "Ok"};
|
||||
item19[] = {"Phase_One",2,250,-75.000000,600.000000,25.000000,650.000000,0.000000,"Phase One"};
|
||||
item19[] = {"Phase_One",2,4346,-75.000000,600.000000,25.000000,650.000000,0.000000,"Phase One"};
|
||||
item20[] = {"Response",4,218,-175.000000,650.000000,-75.000000,700.000000,0.000000,"Response"};
|
||||
item21[] = {"Phase_Two",2,250,-75.000000,700.000000,25.000000,750.000000,0.000000,"Phase Two"};
|
||||
item22[] = {"Dead_Player",4,218,50.000000,700.000000,150.000000,750.000000,0.000000,"Dead" \n "Player"};
|
||||
@@ -169,8 +169,8 @@ link85[] = {75,57};
|
||||
link86[] = {76,78};
|
||||
link87[] = {77,76};
|
||||
link88[] = {78,57};
|
||||
globals[] = {25.000000,1,0,0,0,640,480,1,143,6316128,1,-578.392273,577.375793,454.378448,-471.659088,1137,911,1};
|
||||
window[] = {2,0,0,-1,-1,817,340,1618,59,3,1155};
|
||||
globals[] = {25.000000,1,0,0,0,640,480,1,143,6316128,1,-629.823975,628.807434,621.934326,-518.250671,1137,1030,1};
|
||||
window[] = {2,-1,-1,-1,-1,1018,260,1538,260,3,1155};
|
||||
*//*%FSM</HEAD>*/
|
||||
class FSM
|
||||
{
|
||||
@@ -194,7 +194,7 @@ class FSM
|
||||
"_timeStart = diag_tickTime;" \n
|
||||
"_readytoAuth = false;" \n
|
||||
"_startCheck = 0;" \n
|
||||
"_debug = DZEdebug;" \n
|
||||
"_debug = DZEdebug;" \n
|
||||
"" \n
|
||||
"if (_debug) then {" \n
|
||||
"diag_log (""DAYZ: CLIENT IS RUNNING DAYZ_CODE "" + str(dayz_versionNo));" \n
|
||||
@@ -639,6 +639,7 @@ class FSM
|
||||
init = /*%FSM<STATEINIT""">*/"dayz_playerName = name player;" \n
|
||||
"_model call player_switchModel;" \n
|
||||
"" \n
|
||||
"gear_done= true;" \n
|
||||
"player allowDamage false;" \n
|
||||
"_lastAte = _survival select 1;" \n
|
||||
"_lastDrank = _survival select 2;" \n
|
||||
|
||||
Reference in New Issue
Block a user