Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- startLoadingScreen ["","DayZ_loadingScreen"];
- enableSaving [false, false];
- dayZ_instance = 1294; //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)
- // (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 "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";
- //load hotkey code for admin tools
- call compile preprocessFileLineNumbers "debug\Hotkeys.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";
- playerstats = compile preprocessFileLineNumbers "debug\playerstats.sqf";
- AdminToolsMain = compile preprocessFileLineNumbers "admintools\AdminToolsMain.sqf";
- if (isServer) then {
- hiveInUse = true;
- _serverMonitor = [] execVM "\z\addons\dayz_server\system\server_monitor.sqf";
- };
- if (!isDedicated) then {
- 0 fadeSound 0;
- 0 cutText [(localize "STR_AUTHENTICATING"), "BLACK FADED",60];
- _id = player addEventHandler ["Respawn", {_id = [] spawn player_death;}];
- _playerMonitor = [] execFSM "admintools\player_monitor.fsm";
- };
- // Extra actions for Taviana:
- if (!isDedicated) then {
- [] execVM "admintools\AdminToolsMain.sqf";
- };
- // UPSMON
- call compile preprocessFileLineNumbers "addons\UPSMON\scripts\Init_UPSMON.sqf";
- // SHK
- call compile preprocessfile "addons\SHK_pos\shk_pos_init.sqf";
- // run SAR_AI
- [] execVM "addons\SARGE\SAR_AI_init.sqf";
- };
- // Extra actions for Taviana:
- if (!isDedicated) then {
- [] execVM "kh_actions.sqf";
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement