Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- startLoadingScreen ["","DayZ_loadingScreen"];
- enableSaving [false, false];
- dayZ_instance = 1641; //The instance
- hiveInUse = true;
- initialized = false;
- dayz_previousID = 0;
- call compile preprocessFileLineNumbers "\z\addons\dayz_code\init\variables.sqf"; //Initilize the Variables (IMPORTANT: Must happen very early)
- call compile preprocessFileLineNumbers "scripts\fixes\variables.sqf"; //Initilize the Variables (IMPORTANT: Must happen very early)
- // (Taviana) Override some of the variables:
- call compile preprocessFileLineNumbers "\kh\dayztaviana\init\variables.sqf";
- // Load in the settings compiles:
- call compile preprocessFileLineNumbers "\kh\dayztaviana\settingsinit\kh_compiles.sqf";
- diag_log "Started executing user settings file.";
- call compile preprocessFileLineNumbers "settings.sqf";
- diag_log "Finished executing user settings file.";
- 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;
- // (Taviana) Don't call the regular compile:
- // call compile preprocessFileLineNumbers "\z\addons\dayz_code\init\compiles.sqf"; //Compile regular functions
- // (Taviana) Instead, call a copy of the DayZ 1.7.4.4 compiles:
- call compile preprocessFileLineNumbers "\kh\dayztaviana\init\compiles.sqf"; //Compile regular functions
- // (Taviana) Set up the for maule multiplayer prop hit support:
- call compile preprocessFileLineNumbers "\khr\maule\scripts\maule_init.sqf";
- /*
- The Bliss package system works a bit like sticking your arm in a bunch
- of snake nests and noticing you don't always get bitten. In this case
- we got bitten; this line is to fool the merge process:
- call compile preprocessFileLineNumbers "\z\addons\dayz_code\init\compiles.sqf"; //Compile regular functions
- */
- progressLoadingScreen 1.0;
- player setVariable ["BIS_noCoreConversations", true];
- enableRadio false;
- "filmic" setToneMappingParams [0.153, 0.357, 0.231, 0.1573, 0.011, 3.750, 6, 4]; setToneMapping "Filmic";
- player_spawn_2 = compile preprocessFileLineNumbers "scripts\fixes\player_spawn_2.sqf";
- if (isServer) then {
- hiveInUse = true;
- _serverMonitor = [] execVM "\z\addons\dayz_server\system\server_monitor.sqf";
- };
- zombie_generate = compile preprocessFileLineNumbers "scripts\zombie_generate.sqf";
- if (isServer) then {
- // For settings involving the factions, go to scripts\add_unit_server.sqf and adjust the settings at the top of the file
- _factions = [] execVM "scripts\set_unit_faction.sqf";
- //_aispawnpos - Worldspace location
- //_wpradius - Distance you want units to be able to travel
- //_wpnum - Number of waypoints to place withing that distance. The higher the number, the more extensively the units will travel
- //_numunits - Number of units to place. Keep in mind that squads will be placed in multiples of this number
- //_unitType - Type of unit to place. 0: Random, 1: Sniper, 2: Gunner, 3: Militia, 4: Squad of the previous 3 types
- //_faction - The type of faction you want this unit to adhere to. 0: RESISTANCE, 1: EAST, 2: WEST. Factions loyalties are set in scripts\set_unit_faction.sqf
- //_baseSkill - Lowest possible skill that the units can posess from 1 to 10
- //_potentialSkill - Highes possible skill that the units can posess from 1 to 10
- //_gearSet - Which set of gear your units will use. To set the types of gear, edit the variables at the top of scripts\add_units_server.sqf
- //_respawnTime - How long to wait until NPCs respawn (in seconds)
- _aispawn = [[12408.236,13353.434,0],200,5,2,5,1,1,7,0,1800] execVM "scripts\add_unit_server.sqf";
- _aispawn = [[12418.674,13440.823,0],200,5,2,5,1,1,7,0,1800] execVM "scripts\add_unit_server.sqf";
- _aispawn = [[12483.329,13465.028,4.2913513],200,5,2,5,1,1,7,0,1800] execVM "scripts\add_unit_server.sqf";
- _aispawn = [[12510.312,13345.025,0],200,5,2,5,1,1,7,0,1800] execVM "scripts\add_unit_server.sqf";
- _aispawn = [[11489.206,15895.752,0.0070037842],200,5,2,5,1,1,7,0,1800] execVM "scripts\add_unit_server.sqf";
- _aispawn = [[11496.871,15909.326,0.0070037842],200,5,2,5,1,1,7,0,1800] execVM "scripts\add_unit_server.sqf";
- _aispawn = [[11470.928,15909.326,0.0070037842],200,5,2,5,1,1,7,0,1800] execVM "scripts\add_unit_server.sqf";
- _aispawn = [[16604.719,10684.015,0],200,5,2,5,1,1,7,0,1800] execVM "scripts\add_unit_server.sqf";
- _aispawn = [[16584.438,10668.79,0],200,5,2,5,1,1,7,0,1800] execVM "scripts\add_unit_server.sqf";
- _aispawn = [[16619.088,10648.486,0],200,5,2,5,1,1,7,0,1800] execVM "scripts\add_unit_server.sqf";
- _aispawn = [[16285.271,7367.8652,0],200,5,2,5,1,1,7,0,1800] execVM "scripts\add_unit_server.sqf";
- _aispawn = [[16215.338,7396.6875,0],200,5,2,5,1,1,7,0,1800] execVM "scripts\add_unit_server.sqf";
- _aispawn = [[16248.248,7455.1558,0],200,5,2,5,1,1,7,0,1800] execVM "scripts\add_unit_server.sqf";
- _aispawn = [[16230.146,7338.2202,0],200,5,2,5,1,1,7,0,1800] execVM "scripts\add_unit_server.sqf";
- _aispawn = [[7438.604,8076.5898,0],200,5,2,5,1,1,7,0,1800] execVM "scripts\add_unit_server.sqf";
- _aispawn = [[7441.4458,8084.0562,0],200,5,2,5,1,1,7,0,1800] execVM "scripts\add_unit_server.sqf";
- _aispawn = [[7433.0986,8072.856,0],200,5,2,5,1,1,7,0,1800] execVM "scripts\add_unit_server.sqf";
- _aispawn = [[7417.1152,8094.5435,0],200,5,2,5,1,1,7,0,1800] execVM "scripts\add_unit_server.sqf";
- _aispawn = [[7974.5337,5401.001,0],200,5,2,5,1,1,7,0,1800] execVM "scripts\add_unit_server.sqf";
- _aispawn = [[7965.8789,5376.0313,0],200,5,2,5,1,1,7,0,1800] execVM "scripts\add_unit_server.sqf";
- _aispawn = [[7971.7339,5389.7891,0],200,5,2,5,1,1,7,0,1800] execVM "scripts\add_unit_server.sqf";
- };
- if (!isDedicated) then {
- 0 fadeSound 0;
- 0 cutText [(localize "STR_AUTHENTICATING"), "BLACK FADED",60];
- _id = player addEventHandler ["Respawn", {_id = [] spawn player_death; _nul = [] execVM "addin\plrInit.sqf";}];
- _playerMonitor = [] execVM "\z\addons\dayz_code\system\player_monitor.sqf";
- _nul = [] execVM "addin\plrInit.sqf";
- };
- // Extra actions for Taviana:
- if (!isDedicated) then {
- [] execVM "kh_actions.sqf";
- };
- //R3F Towing and Lifting
- [] execVM "R3F_ARTY_AND_LOG\init.sqf"
- //BTK Cargo Drop
- execVM "BTK\Cargo Drop\Start.sqf";
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement