So I'm using epoch 1.0.2.5 with epochs halo spawn for new spawns and this login camera for relog only
ok all i did was removed this line waitUntil {!isNil ("PVDZE_plr_LoginRecord")}; from my logingcamera.sqf then in my player_monitor.fsm look for
"if(dayz_paraSpawn and !(player isKindOf...
Hey I'm using epoch 1.0.2.5 and I finally got this login camera to work straight after black loading screen, does not spawn to player first, I am calling it from the player_monitor.fsm, and removed the waituntil line in logingcamera.sqf, will post how later as I'm at work now, but works the way...
thanks veX that works great, i also added altimeter by adding
"if(dayz_paraSpawn and !(player isKindOf ""PZombie_VB"") and _isNew) then {" \n
" player setPosATL [(_setPos select 0),(_setPos select 1),2000];" \n
" player setDir _setDir;" \n
" [player, 2000] exec...
cant remember where i got mine from but if u want the debug version, google it u will find it easy, heres my version with the meter on the screen, just make a .sqf file and call it altimeter then put this in it
sleep 5;
_myalt = getPos player select 2;
_myalt = round(_myalt);
//debug start...
try this code if u have done everything on page 1 except the player_monitor.fsm u don't have to do that step on epoch
if (!isDedicated) then {
[] spawn {
waitUntil { !isNil ("dayz_Totalzedscheck") and !(player getVariable ["humanity",0] > 50000 and typeOf player == "Survivor2_DZ")...
for god mode aswell while u log in I made file called logincamera_execute.sqf and put the links to my files like this
[] execVM "camera\playerspawn.sqf";
[] execVM "camera\logincamera.sqf"; then added this to my init.sqf
// LOGIN CAMERA ON RE-LOG
camera = compile preprocessFileLineNumbers...
if u want logincamera for players that are just logging back in only (not for new spawn or after death) put this code in your init.sqf
// LOGIN CAMERA ON RE-LOG
camera = compile preprocessFileLineNumbers "logincamera.sqf";
if !(dayzPlayerLogin2 select 2) then
{
player spawn camera;
}; i'm...
Sorry mintypie maybe I didn't explain myself properly, I only want login camera for players that are loging back in only, as I am using halo spawn for fresh spawns and after death, I have it all sorted now, just trying to call in camera after black loading screen now, not after spawn. I will...
turns out all I needed was
if !(dayzPlayerLogin2 select 2) then
{
[] execVM "camera\loginCamera_execute.sqf";
}; works great halo spawn now works properly and so does the login camera, thank's Peter Brennan your a champion
Peter Brennan You Sir are a dead set Legend, thank you very much, all I needed was this
camera = compile preprocessFileLineNumbers "camera\loginCamera_execute.sqf";
waitUntil {!isNil ("dayz_Totalzedscheck")};
if !(dayzPlayerLogin2 select 2) then
{
player spawn camera;
}; I did change a...
all the script does is give u god mode at login for 30 sec and camera pans down looking down to meet your body, while playing intro music, problem is it conflicts with halo spawn, cant see body or open chute until login camera has finished.
here is the logincamera.sqf
private [ "_camera", "_welcomeMessage", "_camDistance" ];
_welcomeMessage = format["Welcome, %1, BLA BLA BLA, Epoch Server, Enjoy your stay!",format["%1", name player]];
_camDistance = 500;
waituntil {!isnull (finddisplay 46)};
//intro move
showCinemaBorder true...
Awesome script, works great, I have 1 issue, i'm using Halo spawn for new spawns and after death, and I would like to use a custom login camera for players just logging back in, but I have no idea how to insert this[] ExecVM "camera\logincamera_execute.sqf"; into this
if (!isDedicated) then {...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.