Advertisement
Guest User

Untitled

a guest
Apr 2nd, 2013
135
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 2.53 KB | None | 0 0
  1.     /*    
  2.             INITILIZATION
  3.     */
  4.     startLoadingScreen ["","RscDisplayLoadCustom"];
  5.     cutText ["","BLACK OUT"];
  6.     enableSaving [false, false];
  7.      
  8.     //REALLY IMPORTANT VALUES
  9.     dayZ_instance = 1;                                      //The instance
  10.     dayzHiveRequest = [];
  11.     initialized = false;
  12.     dayz_previousID = 0;
  13.      
  14.     //disable greeting menu
  15.     player setVariable ["BIS_noCoreConversations", true];
  16.     //disable radio messages to be heard and shown in the left lower corner of the screen
  17.      
  18.     //Load in compiled functions
  19.     call compile preprocessFileLineNumbers "\z\addons\dayz_code\init\variables.sqf";                                //Initilize the Variables (IMPORTANT: Must happen very early)
  20.     progressLoadingScreen 0.1;
  21.     call compile preprocessFileLineNumbers "\z\addons\dayz_code\init\publicEH.sqf";                         //Initilize the publicVariable event handlers
  22.     progressLoadingScreen 0.2;
  23.     call compile preprocessFileLineNumbers "\z\addons\dayz_code\medical\setup_functions_med.sqf";   //Functions used by CLIENT for medical
  24.     progressLoadingScreen 0.4;
  25.     call compile preprocessFileLineNumbers "compiles.sqf";                          //Compile regular functions
  26.     progressLoadingScreen 1.0;
  27.     building_spawnLoot = compile preprocessFileLineNumbers "fixes\building_spawnLoot.sqf";
  28.      
  29.     "filmic" setToneMappingParams [0.153, 0.357, 0.231, 0.1573, 0.011, 3.750, 6, 4]; setToneMapping "Filmic";
  30.      
  31.     if ((!isServer) && (isNull player) ) then
  32.     {
  33.     waitUntil {!isNull player};
  34.     waitUntil {time > 3};
  35.     };
  36.      
  37.     if ((!isServer) && (player != player)) then
  38.     {
  39.       waitUntil {player == player};
  40.       waitUntil {time > 3};
  41.     };
  42.      
  43.     if (isServer) then {
  44.             _serverMonitor =        [] execVM "\z\addons\dayz_code\system\server_monitor.sqf";
  45.     };
  46.      
  47.     if (!isDedicated) then {
  48.             //Conduct map operations
  49.             0 fadeSound 0;
  50.             waitUntil {!isNil "dayz_loadScreenMsg"};
  51.             dayz_loadScreenMsg = (localize "STR_AUTHENTICATING");
  52.                 0 fadeSound 0;
  53.         waitUntil { !isNil "dayz_loadScreenMsg" };
  54.         dayz_loadScreenMsg = (localize "STR_AUTHENTICATING");
  55.         _id = player addEventHandler ["Respawn", { _id = [] spawn player_death; }];
  56.         _playerMonitor = [] execFSM "fixes\player_monitor.fsm";
  57.     };
  58.      
  59.     //R3F EXECVM
  60.     execVM "R3F_ARTY_AND_LOG\init.sqf";
  61.    
  62.     //Fast Roping
  63.     sleep 1; _fast_rope = [] execVM "addons\BTC_fast_roping_init.sqf";
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement