Mission files

This commit is contained in:
2023-10-01 16:56:30 +03:00
parent 802e6b3552
commit 6268a86c47
8 changed files with 1054 additions and 25 deletions

View File

@ -1,13 +1,28 @@
if (isServer) then {
diag_log "Loading custom server compiles";
};
if (!isDedicated) then {
diag_log "Loading custom client compiles";
if (!isDedicated) then {
//Add your custom or override functions here
fnc_usec_selfActions = compile preprocessFileLineNumbers "dayz_code\compile\fn_selfActions.sqf";
// All fixes down below can be removed in a future Epoch Update
// Fix Wooden bases with wooden walls and floors got not properly recognized as shelter.
fnc_issheltered = compile preprocessFileLineNumbers "dayz_code\compile\fn_isSheltered.sqf";
// Fix upgrading AAV_DZE to AAV_DZE1 did not work, only needed if you are using the AAV_DZE
player_upgradeVehicle = compile preprocessFileLineNumbers "dayz_code\compile\player_upgradeVehicle.sqf";
// Fix Maintain the Virtual Garage with Coins does not work properly
if (DZE_Virtual_Garage) then {
Player_MaintainVG = compile preprocessFileLineNumbers "dayz_code\actions\virtualGarage\player_MaintainVG.sqf";
};
player_selectSlot = compile preprocessFileLineNumbers "dayz_code\compile\ui_selectSlot.sqf";
fnc_usec_selfActions = compile preprocessFileLineNumbers "dayz_code\compile\fn_selfActions.sqf";
locateVehicle = compile preprocessFileLineNumbers "scripts\locateVehicle.sqf";
remoteVehicle = compile preprocessFileLineNumbers "scripts\remoteVehicle\remoteVehicle.sqf";
};

View File

@ -1,16 +1,22 @@
if (isServer) then {
diag_log "Loading custom server variables";
vkc_clearAmmo = true; // Clear the ammo of vehicles after they have been rekeyed/claimed? (stops users getting a free rearm)
vkc_disableThermal = [""]; // Array of vehicle config classes as well as vehicle classnames to disable thermal on when being spawned. i.e: ["All","Land","Air","Ship","StaticWeapon","AH1Z","MTVR"];
vg_clearAmmo = true; // Clear the ammo of vehicles spawned during the same restart they are stored? (stops users storing a vehicle for a free rearm)
vg_clearAmmo = true; // Clear the ammo of vehicles spawned during the same restart they are stored? (stops users storing a vehicle for a free rearm)
vg_disableThermal = []; // Array of vehicle config classes as well as vehicle classnames to disable thermal on when being spawned. i.e: ["All","Land","Air","Ship","StaticWeapon","AH1Z","MTVR"];
vg_sortColumn = 0; //0 or an out of range value sorts by the default column 'DisplayName', otherwise 1 = 'DateStored', 2 = 'id', 3 = 'Name' (of storing player), 4 = 'DateMaintained'
};
if (!isDedicated) then {
diag_log "Loading custom client variables";
dayz_resetSelfActions1 = dayz_resetSelfActions;
dayz_resetSelfActions = {
call dayz_resetSelfActions1;
// Add custom reset actions here
};
call dayz_resetSelfActions;
vkc_claimPrice = 1000; // Amount in worth for claiming a vehicle. See the top of this script for an explanation.
vkc_changePrice = 5000; // Amount in worth for changing the key for a vehicle. See the top of this script for an explanation.