mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-14 12:12:34 +03:00
Fix swimming in ground glitch
Also fixed invisible primary stance glitch when relogging with pistol
but no primary in inventory.
Fixed my mistake from:
e85f6ad1b5
This commit is contained in:
@@ -112,6 +112,7 @@
|
|||||||
[FIXED] Players can no longer relog over bases in a helicopter, parachute or plane to get inside. @ebaydayz
|
[FIXED] Players can no longer relog over bases in a helicopter, parachute or plane to get inside. @ebaydayz
|
||||||
[FIXED] Mozzie helicopter noises, and crashed mozzies bouncing into orbit. @icomrade
|
[FIXED] Mozzie helicopter noises, and crashed mozzies bouncing into orbit. @icomrade
|
||||||
[FIXED] Firing from vehicles puts you in combat now. @icomrade
|
[FIXED] Firing from vehicles puts you in combat now. @icomrade
|
||||||
|
[FIXED] Players will no longer spawn swimming in the ground on some maps. @ebaydayz
|
||||||
|
|
||||||
[UPDATED] .hpp files updated in dayz_code\Configs\CfgLoot\CfgBuildingPos. @Uro1
|
[UPDATED] .hpp files updated in dayz_code\Configs\CfgLoot\CfgBuildingPos. @Uro1
|
||||||
[UPDATED] .bat files updated in Config-Examples @Raziel23x
|
[UPDATED] .bat files updated in Config-Examples @Raziel23x
|
||||||
|
|||||||
@@ -28,7 +28,7 @@
|
|||||||
- HeliCrashArea --> (getMarkerSize "crashsites") select 1
|
- HeliCrashArea --> (getMarkerSize "crashsites") select 1
|
||||||
- PVDZE_serverObjectMonitor --> dayz_serverObjectMonitor
|
- PVDZE_serverObjectMonitor --> dayz_serverObjectMonitor
|
||||||
- r_action_count --> dayz_actionInProgress (now true/false instead of 1/0)
|
- r_action_count --> dayz_actionInProgress (now true/false instead of 1/0)
|
||||||
- selfTransfusionTime --> player getVariable ["LastTransfusion",0]
|
- selfTransfusionTime --> player getVariable ["LastTransfusion",-(DZE_selfTransfuse_Values select 2)]
|
||||||
|
|
||||||
- Duplicate public variables have been renamed:
|
- Duplicate public variables have been renamed:
|
||||||
- dayzPlayerLogin --> PVCDZ_plr_Login
|
- dayzPlayerLogin --> PVCDZ_plr_Login
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ _blood = _unit getVariable ["USEC_BloodQty", 0];
|
|||||||
_lowBlood = _unit getVariable ["USEC_lowBlood", false];
|
_lowBlood = _unit getVariable ["USEC_lowBlood", false];
|
||||||
_injured = _unit getVariable ["USEC_injured", false];
|
_injured = _unit getVariable ["USEC_injured", false];
|
||||||
_inPain = _unit getVariable ["USEC_inPain", false];
|
_inPain = _unit getVariable ["USEC_inPain", false];
|
||||||
_lastused = _unit getVariable ["LastTransfusion", 0];
|
_lastused = _unit getVariable ["LastTransfusion",-(DZE_selfTransfuse_Values select 2)];
|
||||||
if (time - _lastused <= DZE_selfTransfuse_Values select 2) exitWith {localize "str_actions_medical_18" call dayz_rollingMessages;};
|
if (time - _lastused <= DZE_selfTransfuse_Values select 2) exitWith {localize "str_actions_medical_18" call dayz_rollingMessages;};
|
||||||
|
|
||||||
call gear_ui_init;
|
call gear_ui_init;
|
||||||
@@ -46,7 +46,7 @@ if (_haswholebag) then {
|
|||||||
_badBag = true;
|
_badBag = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
if (dayz_classicBloodBagSystem) then {_wholeBag = false; _badBag = false;};
|
if (dayz_classicBloodBagSystem) then {_wholeBag = true; _badBag = false;};
|
||||||
|
|
||||||
call fnc_usec_medic_removeActions;
|
call fnc_usec_medic_removeActions;
|
||||||
r_action = false;
|
r_action = false;
|
||||||
|
|||||||
@@ -1966,10 +1966,16 @@ class FSM
|
|||||||
"Dayz_logonTown = ""Wilderness"";" \n
|
"Dayz_logonTown = ""Wilderness"";" \n
|
||||||
"if (count _nearestCity > 0) then {Dayz_logonTown = text (_nearestCity select 0)};" \n
|
"if (count _nearestCity > 0) then {Dayz_logonTown = text (_nearestCity select 0)};" \n
|
||||||
"" \n
|
"" \n
|
||||||
"[_world,Dayz_logonTown,format[localize ""str_player_06"",dayz_Survived]] spawn {uiSleep 5; _this spawn BIS_fnc_infoText;};" \n
|
"[_world,Dayz_logonTown,format[localize ""str_player_06"",dayz_Survived]] spawn {" \n
|
||||||
|
" uiSleep 1;" \n
|
||||||
|
" if (dayz_isSwimming && !surfaceIsWater (getPosASL player)) then {player setPosATL [getPosATL player select 0,getPosATL player select 1,(getPosATL player select 2)+.1];}; //Fix swimming in ground glitch on some maps" \n
|
||||||
|
" uiSleep 4;" \n
|
||||||
|
" _this spawn BIS_fnc_infoText;" \n
|
||||||
|
"};" \n
|
||||||
"" \n
|
"" \n
|
||||||
"dayz_myPosition = getPosATL player;" \n
|
"dayz_myPosition = getPosATL player;" \n
|
||||||
"Dayz_loginCompleted = true;" \n
|
"Dayz_loginCompleted = true;" \n
|
||||||
|
"if (primaryWeapon player == '' && dayz_myPosition select 2 < 50) then {player switchMove ''; player playActionNow 'stop';}; //Fix invisible primary stance glitch when player has pistol but no primary" \n
|
||||||
"" \n
|
"" \n
|
||||||
"//Other Counters" \n
|
"//Other Counters" \n
|
||||||
" dayz_currentGlobalAnimals = count entities ""CAAnimalBase"";" \n
|
" dayz_currentGlobalAnimals = count entities ""CAAnimalBase"";" \n
|
||||||
|
|||||||
Reference in New Issue
Block a user