hi can some one help me i don't know where add this on my init.sqf
Code:
zombie_generate = compile preprocessFileLineNumbers "scripts\zombie_generate.sqf";
Code:
if (isServer) then {
//
_factions = [] execVM "scripts\set_unit_faction.sqf";
//diag_log format["Factions executed: %1",_factions];
//Array to pass to .sqf: [[<worldspace>],radius of waypoints (in metres),number of waypoints,number of ai units, group type [0:random unit, 1:sniper, 2:gunner, 3:militiaman, 4:squad], faction [0:hates everyone except survivors, 1:hates everyone]]
_aispawn = [[4994.81,5114.19,0],100,5,2,4,0] execVM "scripts\add_unit_server.sqf";//Fort des Dunes
};
startLoadingScreen ["","DayZ_loadingScreen"];
enableSaving [false, false];
dayZ_instance = 2319; //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 "\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";
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 = [] execVM "\z\addons\dayz_code\system\player_monitor.sqf";
};
// Extra actions for Taviana:
if (!isDedicated) then {
[] execVM "kh_actions.sqf";
};
Code:
zombie_generate = compile preprocessFileLineNumbers "scripts\zombie_generate.sqf";
Code:
if (isServer) then {
//
_factions = [] execVM "scripts\set_unit_faction.sqf";
//diag_log format["Factions executed: %1",_factions];
//Array to pass to .sqf: [[<worldspace>],radius of waypoints (in metres),number of waypoints,number of ai units, group type [0:random unit, 1:sniper, 2:gunner, 3:militiaman, 4:squad], faction [0:hates everyone except survivors, 1:hates everyone]]
_aispawn = [[4994.81,5114.19,0],100,5,2,4,0] execVM "scripts\add_unit_server.sqf";//Fort des Dunes
};
startLoadingScreen ["","DayZ_loadingScreen"];
enableSaving [false, false];
dayZ_instance = 2319; //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 "\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";
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 = [] execVM "\z\addons\dayz_code\system\player_monitor.sqf";
};
// Extra actions for Taviana:
if (!isDedicated) then {
[] execVM "kh_actions.sqf";
};