Blur Gaming Custom Spawn Tutorial

Awesome script got it working, i'm just wondering tho is the intro music supposed to play even when people who are not new spawns join the server? or did I stuff up a line of the code?

I wouldn't mind keeping the intro text for people who are rejoining but the music I only want playing if they are new spawns it goes well with the halo jump script. Thanks
 
you guys.. its a playsound command that does most of the work, you're just setting up the while loop to run when the player actually logs into the server.. unless variable names change, the script will always work on any mod and on any version :)
 
playerspawn.sqf
Replace
waitUntil {!isNil ("dayz_Totalzedscheck")};
with
waitUntil { alive player };
 
Can anybody help me get this to work when I already have an intro movie? The filed mentioned to modify in the .init is already modified to run my intro movie. Any help would be appreciated.
 
I have done step by step what blur have posted but I get spawn on the ground all the time

init file :
Code:
if (!isDedicated) then {
    //Conduct map operations
    0 fadeSound 0;
    waitUntil {!isNil "dayz_loadScreenMsg"};
    dayz_loadScreenMsg = (localize "STR_AUTHENTICATING");
 
    //Run the player monitor
    _id = player addEventHandler ["Respawn", {_id = [] spawn player_death; _nul = [] execVM "playerspawn.sqf";}];
    _playerMonitor = [] execVM "\z\addons\dayz_code\system\player_monitor.sqf";
    _nul = [] execVM "playerspawn.sqf";
    // [] execVM "\z\addons\dayz_code\system\antihack.sqf";
};

I use it the Dayz Overwatch mod and on an localhost (own pc)
 
I have done step by step what blur have posted but I get spawn on the ground all the time

init file :
Code:
if (!isDedicated) then {
    //Conduct map operations
    0 fadeSound 0;
    waitUntil {!isNil "dayz_loadScreenMsg"};
    dayz_loadScreenMsg = (localize "STR_AUTHENTICATING");
 
    //Run the player monitor
    _id = player addEventHandler ["Respawn", {_id = [] spawn player_death; _nul = [] execVM "playerspawn.sqf";}];
    _playerMonitor = [] execVM "\z\addons\dayz_code\system\player_monitor.sqf";
    _nul = [] execVM "playerspawn.sqf";
    // [] execVM "\z\addons\dayz_code\system\antihack.sqf";
};

I use it the Dayz Overwatch mod and on an localhost (own pc)



the video is some-what missleading, the script that i have made makes the server play sound on entrance. :)

Search for Halo on Spawn, that should help you out.
 
Hi, Thanks for the great script. It works on my server but causes lots of lag before it plays and I have a pretty beefy computer and video card. For some reason my gear menu pops up just before I enter game and then sometimes the music delays or plays part of the song. Most the time it plays all of it. I tried changing sleep number but didn't help.

Anyone else have this issue ?

Gramps
 
hmm for some reason it doesnt play??? i followed every single step and ive added other scripts before. im using overwatch though
 
Back
Top