Chris Atkins
Valued Member!
Follow the steps from the original post on page 1.
Sent from my iPhone using Tapatalk
Sent from my iPhone using Tapatalk
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.
camera = compile preprocessFileLineNumbers "Camera\logincamera_execute.sqf";
waitUntil {!isNil ("dayz_Totalzedscheck")};
if !(dayzPlayerLogin2 select 2) then
{
[] execVM "Camera\logincamera_execute.sqf";
};
_nul = [] execVM "camera\logincamera.sqf";
//Run the player monitor
_id = player addEventHandler ["Respawn", {_id = [] spawn player_death; _nul = [] execVM "Camera\logincamera_execute.sqf";}];
_playerMonitor = [] execVM "\z\addons\dayz_code\system\player_monitor.sqf";
_nul = [] execVM "Camera\logincamera_execute.sqf";
/HALO SPAWN SCRIPT
bis_fnc_halo = compile preprocessFileLineNumbers "custom\halo\fn_halo.sqf";
waitUntil {!isNil ("PVDZE_plr_LoginRecord")};
if (!isDedicated) then {
[] spawn {
waitUntil { !isNil ("dayz_Totalzedscheck") and !(player getVariable ["humanity",0] > 50000 and typeOf player == "Survivor2_DZ") and !(player getVariable ["humanity",0] < -50000 and (typeOf player == "Survivor2_DZ" or typeOf player == "SurvivorW2_DZ") ) and !(player getVariable ["humanity",0] > 0 and (typeOf player == "Bandit1_DZ" or typeOf player == "BanditW1_DZ") ) };
if (dayzPlayerLogin2 select 2 && dayzPlayerLogin select 4) then
{
_pos = position player;
"respawn_west" setMarkerPos [_pos select 0, _pos select 1];
[player, 3000] spawn bis_fnc_halo;
[] execVM "custom\halo\fn_halo.sqf";
_nul = [] execVM "custom\altimeter.sqf";
};
};
};
private [ "_camera", "_welcomeMessage", "_camDistance" ];
_welcomeMessage = format["Welcome to Dayz Hero Server %1, Enjoy your stay!",format["%1", name player]];
_camDistance = 60;
playsound "introSong";
//intro move
showCinemaBorder true;
camUseNVG false;
_camera = "camera" camCreate [(position player select 0)-100*sin (round(random 359)), (position player select 1)-100*cos (round(random 359)),(position player select 2)+60];
_camera cameraEffect ["internal","back"];
_camera camSetFOV 2.000;
_camera camCommit 0;
waitUntil {camCommitted _camera};
_camera camSetTarget vehicle player;
_camera camSetRelPos [0,0,2];
_camera camCommit 15;
cutText [_welcomeMessage, "PLAIN DOWN"];
waitUntil {camCommitted _camera};
_camera cameraEffect ["terminate","back"];
camDestroy _camera;
camera = compile preprocessFileLineNumbers "Camera\logincamera_execute.sqf";
waitUntil {!isNil ("dayz_Totalzedscheck")};
if !(dayzPlayerLogin2 select 2) then
{
[ ] execVM "Camera\loginCamera.sqf";
};