Add Bike/Motorcycles brake fix

Made by @Victor-the-Cleaner
This commit is contained in:
A Man
2022-05-18 18:20:29 +02:00
parent 0799e7e183
commit 2ebe0d6552
5 changed files with 42 additions and 3 deletions

View File

@@ -197,6 +197,7 @@ if (!isDedicated) then {
fnc_remoteMessage = compile preprocessFileLineNumbers "\z\addons\dayz_code\compile\fn_remoteMessage.sqf";
fnc_freeBackpackSlots = compile preprocessFileLineNumbers "\z\addons\dayz_code\compile\fn_freeBackpackSlots.sqf";
fnc_apsiState = compile preprocessFileLineNumbers "\z\addons\dayz_code\actions\apsiState.sqf"; // Toggle APSI on and off
fnc_brakeFix = compile preprocessFileLineNumbers "\z\addons\dayz_code\compile\fnc_brakeFix.sqf"; // fix for motorcycle & bicycle brakes
if (DZE_EVR) then {call compile preprocessFileLineNumbers "\z\addons\dayz_code\compile\client_evr.sqf";};
if (DZE_Remote_Vehicle) then {
@@ -256,6 +257,7 @@ if (!isDedicated) then {
};
fnc_setWeather = compile preprocessFileLineNumbers "\z\addons\dayz_code\system\weather\setWeather.sqf";
fnc_groundFog = compile preprocessFileLineNumbers "\z\addons\dayz_code\system\weather\groundFog.sqf";
fnc_issheltered = compile preprocessFileLineNumbers "\z\addons\dayz_code\compile\fn_isSheltered.sqf";
// Compiles of all trading related functions
call compile preprocessFileLineNumbers "\z\addons\dayz_code\actions\AdvancedTrading\compiles.sqf";

View File

@@ -510,4 +510,6 @@ if (!isDedicated) then {
DZE_sheltered = 0.0; // used in determining how much a player is sheltered from the environment
DZE_roofOverhead = false;
DZE_allTrees = dayz_trees + ["b_craet1.p3d"]; // include shrubs that the player can hide in
DZE_isOnBike = false;
DZE_isBraking = false;
};