Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
activateAddons [
];
activateAddons [];
initAmbientLife;
_this = createCenter west;
_center_0 = _this;
_group_0 = createGroup _center_0;
_unit_0 = objNull;
if (true) then
{
_this = _group_0 createUnit ["BAF_Soldier_AA_W", [9054.6621, 15130.632, 0.00039672852], [], 0, "CAN_COLLIDE"];
_unit_0 = _this;
_this setUnitAbility 0.60000002;
if (true) then {_group_0 selectLeader _this;};
if (true) then {selectPlayer _this;};
};
_vehicle_0 = objNull;
if (true) then
{
_this = createVehicle ["Land_Fuel_tank_big", [9183.5078, 15297.754, 0.00033569336], [], 0, "CAN_COLLIDE"];
_vehicle_0 = _this;
_this setDir -96.107529;
_this setPos [9183.5078, 15297.754, 0.00033569336];
};
//Custom Buildings for Dayz Overwatch
if (isServer) then {
_vehicle_0 = objNull;
if (true) then
{
_this = createVehicle ["Land_Fuel_tank_big", [9183.5078, 15297.754, 0.00033569336], [], 0, "CAN_COLLIDE"];
_vehicle_0 = _this;
_this setDir -96.107529;
_this setPos [9183.5078, 15297.754, 0.00033569336];
};
_vehicle_2 = objNull;
if (true) then
{
_this = createVehicle ["Land_Fuel_tank_big", [6849.3887, 11523.297], [], 0, "CAN_COLLIDE"];
_vehicle_2 = _this;
_this setDir -222.96092;
_this setPos [6849.3887, 11523.297];
};
processInitCommands;
runInitScript;
finishMissionInit;
_vehicle_2 = objNull;
if (true) then
{
_this = createVehicle ["Land_Fuel_tank_big", [6849.3887, 11523.297], [], 0, "CAN_COLLIDE"];
_vehicle_2 = _this;
_this setDir -222.96092;
_this setPos [6849.3887, 11523.297];
};
};
activateAddons [
];
activateAddons [];
initAmbientLife;
_this = createCenter west;
_center_0 = _this;
_group_0 = createGroup _center_0;
_unit_0 = objNull;
if (true) then
{
_this = _group_0 createUnit ["BAF_Soldier_AA_W", [9054.6621, 15130.632, 0.00039672852], [], 0, "CAN_COLLIDE"];
_unit_0 = _this;
_this setUnitAbility 0.60000002;
if (true) then {_group_0 selectLeader _this;};
if (true) then {selectPlayer _this;};
};
_vehicle_0 = objNull;
if (true) then
{
_this = createVehicle ["Land_Fuel_tank_big", [9183.5078, 15297.754, 0.00033569336], [], 0, "CAN_COLLIDE"];
_vehicle_0 = _this;
_this setDir -96.107529;
_this setPos [9183.5078, 15297.754, 0.00033569336];
};
_vehicle_2 = objNull;
if (true) then
{
_this = createVehicle ["Land_Fuel_tank_big", [6849.3887, 11523.297], [], 0, "CAN_COLLIDE"];
_vehicle_2 = _this;
_this setDir -222.96092;
_this setPos [6849.3887, 11523.297];
};
processInitCommands;
runInitScript;
finishMissionInit;
//Custom Buildings for Dayz Overwatch
if (isServer) then {
_vehicle_0 = objNull;
if (true) then
{
_this = createVehicle ["Land_Fuel_tank_big", [9183.5078, 15297.754, 0.00033569336], [], 0, "CAN_COLLIDE"];
_vehicle_0 = _this;
_this setDir -96.107529;
_this setPos [9183.5078, 15297.754, 0.00033569336];
};
_vehicle_2 = objNull;
if (true) then
{
_this = createVehicle ["Land_Fuel_tank_big", [6849.3887, 11523.297], [], 0, "CAN_COLLIDE"];
_vehicle_2 = _this;
_this setDir -222.96092;
_this setPos [6849.3887, 11523.297];
};
};
[] ExecVM "buildings\buildingfilenamehere.sqf";
/*
INITILIZATION
*/
startLoadingScreen ["","RscDisplayLoadCustom"];
cutText ["","BLACK OUT"];
enableSaving [false, false];
//REALLY IMPORTANT VALUES
dayZ_instance = 1; // The instance
//dayZ_serverName = "UK1337"; // server name (country code + server number)
dayzHiveRequest = [];
initialized = false;
dayz_previousID = 0;
//disable greeting menu
player setVariable ["BIS_noCoreConversations", true];
//disable radio messages to be heard and shown in the left lower corner of the screen
//Load in compiled functions
call compile preprocessFileLineNumbers "\z\addons\dayz_code\init\variables.sqf"; //Initilize the Variables (IMPORTANT: Must happen very early)
progressLoadingScreen 0.1;
call compile preprocessFileLineNumbers "\z\addons\dayz_code\init\publicEH.sqf"; //Initilize the publicVariable event handlers
progressLoadingScreen 0.2;
call compile preprocessFileLineNumbers "\z\addons\dayz_code\medical\setup_functions_med.sqf"; //Functions used by CLIENT for medical
progressLoadingScreen 0.4;
call compile preprocessFileLineNumbers "\z\addons\dayz_code\init\compiles.sqf"; //Compile regular functions
progressLoadingScreen 1.0;
"filmic" setToneMappingParams [0.153, 0.357, 0.231, 0.1573, 0.011, 3.750, 6, 4]; setToneMapping "Filmic";
[] execVM "\ddopp_taserpack\scripts\init_Taser.sqf";
[] execVM "R3F_ARTY_AND_LOG\init.sqf";
/* BIS_Effects_* fixes from Dwarden */
BIS_Effects_EH_Killed = compile preprocessFileLineNumbers "\z\addons\dayz_code\system\BIS_Effects\killed.sqf";
BIS_Effects_AirDestruction = compile preprocessFileLineNumbers "\z\addons\dayz_code\system\BIS_Effects\AirDestruction.sqf";
BIS_Effects_AirDestructionStage2 = compile preprocessFileLineNumbers "\z\addons\dayz_code\system\BIS_Effects\AirDestructionStage2.sqf";
BIS_Effects_globalEvent = {
BIS_effects_gepv = _this;
publicVariable "BIS_effects_gepv";
_this call BIS_Effects_startEvent;
};
BIS_Effects_startEvent = {
switch (_this select 0) do {
case "AirDestruction": {
[_this select 1] spawn BIS_Effects_AirDestruction;
};
case "AirDestructionStage2": {
[_this select 1, _this select 2, _this select 3] spawn BIS_Effects_AirDestructionStage2;
};
case "Burn": {
[_this select 1, _this select 2, _this select 3, false, true] spawn BIS_Effects_Burn;
};
};
};
"BIS_effects_gepv" addPublicVariableEventHandler {
(_this select 1) call BIS_Effects_startEvent;
};
if ((!isServer) && (isNull player) ) then
{
waitUntil {!isNull player};
waitUntil {time > 3};
};
if ((!isServer) && (player != player)) then
{
waitUntil {player == player};
waitUntil {time > 3};
};
if (isServer) then {
_serverMonitor = [] execVM "\z\addons\dayz_code\system\server_monitor.sqf";
// "PVDZ_sec_atp" addPublicVariableEventHandler { diag_log format["%1", _this select 1];};
};
if (!isDedicated) then {
//Refuel Script
[] execVM "Scripts\kh_actions.sqf";
//Conduct map operations
0 fadeSound 0;
waitUntil {!isNil "dayz_loadScreenMsg"};
dayz_loadScreenMsg = (localize "STR_AUTHENTICATING");
//Run the player monitor
_id = player addEventHandler ["Respawn", {_id = [] spawn player_death;}];
_playerMonitor = [] execVM "\z\addons\dayz_code\system\player_monitor.sqf";
// [] execVM "\z\addons\dayz_code\system\antihack.sqf";
};
"heliCrash" addPublicVariableEventHandler {
_list = nearestObjects [_this select 1, ["CraterLong"], 100];
{deleteVehicle _x;} foreach _list;
};
// Logo watermark: adding a logo in the bottom left corner of the screen with the server name in it
if (!isNil "dayZ_serverName") then {
[] spawn {
waitUntil {(!isNull Player) and (alive Player) and (player == player)};
waituntil {!(isNull (findDisplay 46))};
5 cutRsc ["wm_disp","PLAIN"];
((uiNamespace getVariable "wm_disp") displayCtrl 1) ctrlSetText dayZ_serverName;
};
};
[] execVM "buildings\buildings.sqf";
//Custom Buildings for FAG server
if (isServer) then {
_vehicle_122 = objNull;
if (true) then
{
_this = createVehicle ["Concrete_Wall_EP1", [6986.7231, 2841.0498, 8.5830688e-006], [], 0, "CAN_COLLIDE"];
_vehicle_122 = _this;
_this setDir 52.6278;
_this setPos [6986.7231, 2841.0498, 8.5830688e-006];
};
_vehicle_133 = objNull;
if (true) then
{
_this = createVehicle ["Concrete_Wall_EP1", [6988.2402, 2839.1333, -2.3841858e-006], [], 0, "CAN_COLLIDE"];
_vehicle_133 = _this;
_this setDir 52.6278;
_this setPos [6988.2402, 2839.1333, -2.3841858e-006];
};
_vehicle_277 = objNull;
if (true) then
{
_this = createVehicle ["Concrete_Wall_EP1", [7094.3213, 2837.1682, 2.4795532e-005], [], 0, "CAN_COLLIDE"];
_vehicle_277 = _this;
_this setDir 50.069614;
_this setPos [7094.3213, 2837.1682, 2.4795532e-005];
};
_vehicle_279 = objNull;
if (true) then
{
_this = createVehicle ["Concrete_Wall_EP1", [7092.7241, 2839.04, -4.7683716e-007], [], 0, "CAN_COLLIDE"];
_vehicle_279 = _this;
_this setDir 50.069614;
_this setPos [7092.7241, 2839.04, -4.7683716e-007];
};
_vehicle_281 = objNull;
if (true) then
{
_this = createVehicle ["Concrete_Wall_EP1", [7087.9473, 2844.7461, -6.6757202e-006], [], 0, "CAN_COLLIDE"];
_vehicle_281 = _this;
_this setDir 50.069614;
_this setPos [7087.9473, 2844.7461, -6.6757202e-006];
};
_vehicle_2443 = objNull;
if (true) then
{
_this = createVehicle ["Concrete_Wall_EP1", [11713.69, 12500.243, 0.11195374], [], 0, "CAN_COLLIDE"];
_vehicle_2443 = _this;
_this setDir 200.96509;
_this setPos [11713.69, 12500.243, 0.11195374];
};
_vehicle_2444 = objNull;
if (true) then
{
_this = createVehicle ["Concrete_Wall_EP1", [11720.647, 12497.638, 0.053451538], [], 0, "CAN_COLLIDE"];
_vehicle_2444 = _this;
_this setDir 200.96509;
_this setPos [11720.647, 12497.638, 0.053451538];
};
_vehicle_2445 = objNull;
if (true) then
{
_this = createVehicle ["Concrete_Wall_EP1", [11727.521, 12494.96, 0.0092163086], [], 0, "CAN_COLLIDE"];
_vehicle_2445 = _this;
_this setDir 200.96509;
_this setPos [11727.521, 12494.96, 0.0092163086];
};
_vehicle_2446 = objNull;
if (true) then
{
_this = createVehicle ["Concrete_Wall_EP1", [11729.875, 12493.98, 0.011886597], [], 0, "CAN_COLLIDE"];
_vehicle_2446 = _this;
_this setDir 200.96509;
_this setPos [11729.875, 12493.98, 0.011886597];
};
_vehicle_2447 = objNull;
if (true) then
{
_this = createVehicle ["Concrete_Wall_EP1", [11739.045, 12490.399, 0.004486084], [], 0, "CAN_COLLIDE"];
_vehicle_2447 = _this;
_this setDir 200.96509;
_this setPos [11739.045, 12490.399, 0.004486084];
};
_vehicle_2448 = objNull;
if (true) then
{
_this = createVehicle ["Concrete_Wall_EP1", [11741.311, 12489.553, 0.0018615723], [], 0, "CAN_COLLIDE"];
_vehicle_2448 = _this;
_this setDir 200.96509;
_this setPos [11741.311, 12489.553, 0.0018615723];
};
_vehicle_2449 = objNull;
if (true) then
{
_this = createVehicle ["Concrete_Wall_EP1", [11743.612, 12488.633, 0.0023651123], [], 0, "CAN_COLLIDE"];
_vehicle_2449 = _this;
_this setDir 200.96509;
_this setPos [11743.612, 12488.633, 0.0023651123];
};
_vehicle_2450 = objNull;
if (true) then
{
_this = createVehicle ["Concrete_Wall_EP1", [11734.471, 12492.242, 0.011016846], [], 0, "CAN_COLLIDE"];
_vehicle_2450 = _this;
_this setDir 200.96509;
_this setPos [11734.471, 12492.242, 0.011016846];
};
_vehicle_2451 = objNull;
if (true) then
{
_this = createVehicle ["Concrete_Wall_EP1", [11732.2, 12493.124, 0.011962891], [], 0, "CAN_COLLIDE"];
_vehicle_2451 = _this;
_this setDir 200.96509;
_this setPos [11732.2, 12493.124, 0.011962891];
};
_vehicle_2452 = objNull;
if (true) then
{
_this = createVehicle ["Concrete_Wall_EP1", [11736.757, 12491.352, 0.0077972412], [], 0, "CAN_COLLIDE"];
_vehicle_2452 = _this;
_this setDir 200.96509;
_this setPos [11736.757, 12491.352, 0.0077972412];
};
_vehicle_2453 = objNull;
if (true) then
{
_this = createVehicle ["Concrete_Wall_EP1", [11806.577, 12549.342, 0.00048828125], [], 0, "CAN_COLLIDE"];
_vehicle_2453 = _this;
_this setDir 242.75992;
_this setPos [11806.577, 12549.342, 0.00048828125];
};
_vehicle_3881 = objNull;
if (true) then
{
_this = createVehicle ["Land_Mil_Barracks_i", [9257.1953, 13459.222, -2.2888184e-005], [], 0, "CAN_COLLIDE"];
_vehicle_3881 = _this;
_this setDir 5.6306257;
_this setPos [9257.1953, 13459.222, -2.2888184e-005];
};
};
diag_log ("HIVE: Local Time set to " + str(_date));
};
call compile preProcessFileLineNumbers "\z\addons\dayz_server\buildings\yourBuilding.sqf";
//Custom Buildings for Dayz Overwatch
if (isServer) then {
_vehicle_0 = objNull;
if (true) then
{
_this = createVehicle ["Land_Mil_Barracks_i", [640.59033, 1777.0287, 1.9073486e-006], [], 0, "CAN_COLLIDE"];
_vehicle_0 = _this;
_this setDir -143.15456;
_this setPos [640.59033, 1777.0287, 1.9073486e-006];
};
_vehicle_1 = objNull;
if (true) then
{
_this = createVehicle ["Land_Mil_Barracks_i", [635.12653, 1768.1871, 2.8610229e-006], [], 0, "CAN_COLLIDE"];
_vehicle_1 = _this;
_this setDir 219.93405;
_this setPos [635.12653, 1768.1871, 2.8610229e-006];
};
};
/*
INITILIZATION
*/
startLoadingScreen ["","RscDisplayLoadCustom"];
cutText ["","BLACK OUT"];
enableSaving [false, false];
//REALLY IMPORTANT VALUES
dayZ_instance = 2277; // The instance
//dayZ_serverName = "UK1337"; // server name (country code + server number)
dayzHiveRequest = [];
initialized = false;
dayz_previousID = 0;
//disable greeting menu
player setVariable ["BIS_noCoreConversations", true];
//disable radio messages to be heard and shown in the left lower corner of the screen
//Load in compiled functions
call compile preprocessFileLineNumbers "\z\addons\dayz_code\init\variables.sqf"; //Initilize the Variables (IMPORTANT: Must happen very early)
//call compile preprocessFileLineNumbers "\z\addons\ow_assets\init\variables1.sqf";
// variables1-5.sqf Changes amount of weapon’s holder that can spawn in a 200m area where variables5.sqf spawns the lowest amount, adjust to get better performance.
progressLoadingScreen 0.1;
call compile preprocessFileLineNumbers "\z\addons\dayz_code\init\publicEH.sqf"; //Initilize the publicVariable event handlers
progressLoadingScreen 0.2;
call compile preprocessFileLineNumbers "\z\addons\dayz_code\medical\setup_functions_med.sqf"; //Functions used by CLIENT for medical
progressLoadingScreen 0.4;
call compile preprocessFileLineNumbers "\z\addons\dayz_code\init\compiles.sqf"; //Compile regular functions
progressLoadingScreen 1.0;
"filmic" setToneMappingParams [0.153, 0.357, 0.231, 0.1573, 0.011, 3.750, 6, 4]; setToneMapping "Filmic";
[] execVM "\ddopp_taserpack\scripts\init_Taser.sqf";
/* BIS_Effects_* fixes from Dwarden */
BIS_Effects_EH_Killed = compile preprocessFileLineNumbers "\z\addons\dayz_code\system\BIS_Effects\killed.sqf";
BIS_Effects_AirDestruction = compile preprocessFileLineNumbers "\z\addons\dayz_code\system\BIS_Effects\AirDestruction.sqf";
BIS_Effects_AirDestructionStage2 = compile preprocessFileLineNumbers "\z\addons\dayz_code\system\BIS_Effects\AirDestructionStage2.sqf";
BIS_Effects_globalEvent = {
BIS_effects_gepv = _this;
publicVariable "BIS_effects_gepv";
_this call BIS_Effects_startEvent;
};
BIS_Effects_startEvent = {
switch (_this select 0) do {
case "AirDestruction": {
[_this select 1] spawn BIS_Effects_AirDestruction;
};
case "AirDestructionStage2": {
[_this select 1, _this select 2, _this select 3] spawn BIS_Effects_AirDestructionStage2;
};
case "Burn": {
[_this select 1, _this select 2, _this select 3, false, true] spawn BIS_Effects_Burn;
};
};
};
"BIS_effects_gepv" addPublicVariableEventHandler {
(_this select 1) call BIS_Effects_startEvent;
};
if ((!isServer) && (isNull player) ) then
{
waitUntil {!isNull player};
waitUntil {time > 3};
};
if ((!isServer) && (player != player)) then
{
waitUntil {player == player};
waitUntil {time > 3};
};
if (isServer) then {
_serverMonitor = [] execVM "\z\addons\dayz_code\system\server_monitor.sqf";
// "PVDZ_sec_atp" addPublicVariableEventHandler { diag_log format["%1", _this select 1];};
};
if (!isDedicated) then {
//Conduct map operations
0 fadeSound 0;
waitUntil {!isNil "dayz_loadScreenMsg"};
dayz_loadScreenMsg = (localize "STR_AUTHENTICATING");
//Run the player monitor
_id = player addEventHandler ["Respawn", {_id = [] spawn player_death;}];
_playerMonitor = [] execVM "\z\addons\dayz_code\system\player_monitor.sqf";
// [] execVM "\z\addons\dayz_code\system\antihack.sqf";
};
// Logo watermark: adding a logo in the bottom left corner of the screen with the server name in it
if (!isNil "dayZ_serverName") then {
[] spawn {
waitUntil {(!isNull Player) and (alive Player) and (player == player)};
waituntil {!(isNull (findDisplay 46))};
5 cutRsc ["wm_disp","PLAIN"];
((uiNamespace getVariable "wm_disp") displayCtrl 1) ctrlSetText dayZ_serverName;
};
};
[] ExecVM "buildings\test.sqf";
diag_log ("HIVE: Local Time set to " + str(_date));
};
call compile preProcessFileLineNumbers "\z\addons\dayz_server\buildings\test.sqf";
_vehicle_0 = objNull;
if (true) then
{
_this = createVehicle ["Land_Mil_Barracks_i", [640.59033, 1777.0287, 1.9073486e-006], [], 0, "CAN_COLLIDE"];
_vehicle_0 = _this;
_this setDir -143.15456;
_this setPos [640.59033, 1777.0287, 1.9073486e-006];
};
_vehicle_1 = objNull;
if (true) then
{
_this = createVehicle ["Land_Mil_Barracks_i", [635.12653, 1768.1871, 2.8610229e-006], [], 0, "CAN_COLLIDE"];
_vehicle_1 = _this;
_this setDir 219.93405;
_this setPos [635.12653, 1768.1871, 2.8610229e-006];
};