Blur Gaming Custom Spawn Tutorial

did you define the music in the desription.ext... because if the music was broken, your server would still run. and if you have more than one sound config that will mess it up too
yes i did in my description.ext,but i also have airraid installed(that doesnt seem to work either anyway)
 
got it working with my taviana server which does not have airraid script,On my cherno server doesnt work,you are right because its conflicting with airraid
 
I have a problem with the halo jump conflicting with this, the halo jump worked fine until i added this?
 
Got this working flawlessly on first shot on Chernarus. Not working in Tavi for some reason. No errors or anything. Just seems to not be executing it. I've rechecked it 50 times. All it good. Just no messages or song playing. I am 100% positive it's user error somewhere.
 
Got this working flawlessly on first shot on Chernarus. Not working in Tavi for some reason. No errors or anything. Just seems to not be executing it. I've rechecked it 50 times. All it good. Just no messages or song playing. I am 100% positive it's user error somewhere.


Same here, Cherno good, Tavi bad.
 
Hey guys just wondering if someone can help me get it just to play the music when you are a fresh spawn? I have the halo jump script for new and respawning players and i just want it to play then.

Cheers
 
//===================piXel 15-02-2013===========
_id = player addEventHandler ["Respawn", {_id = [] spawn player_death; _nul = [] execVM "addin\plrInit.sqf";}];
//dayZ original _id = player addEventHandler ["Respawn", {_id = [] spawn player_death;}];
_playerMonitor = [] execVM "\z\addons\dayz_code\system\player_monitor.sqf";
_nul = [] execVM "addin\plrInit.sqf"; [Ok I cant replace this show me how to put the code in .
 
Following the tutorial, but ran into a problem.

Tutorial says to open the dayz_mission.pbo/description.ext file and find this code:

Code:
class RscPicture
{
    access=0;
    type=0;
    idc=-1;
    style=48;
    colorBackground[]={0,0,0,0};
    colorText[]={1,1,1,1};
    font="TahomaB";
    sizeEx=0;
    lineSpacing=0;
    text="";
};

However I can't find that!?!? When I open my dayz_mission.pbo/description.ext file everything looks different. This is what my code looks like:

Code:
#include "defines.hpp"
#include "build_recipe_dialog.hpp"
#include "build_recipe_list_dialog.hpp"
respawn = "BASE";
respawndelay = 5;
onLoadMission= "DayZ Chernarus";
OnLoadIntro = "Welcome to Chernarus";
OnLoadIntroTime = False;
OnLoadMissionTime = False;
disabledAI = true;
disableChannels[]={0,2,6};
enableItemsDropping = 0;
onPauseScript = "\z\addons\dayz_code\compile\player_onPause.sqf";
 
loadscreen=walkingdeadtan.jpg;
 
class Header
{
gameType = COOP;            //DM, Team, Coop, ...
minPlayers = 1;            //min # of players the mission supports
maxPlayers = 100;            //Max # of players the mission supports
};
 
aiKills = 1;
diagRadio = 1;
diagHit = 1;
 
 
//
// the loading screen itself
//
class DayZ_loadingScreen
{
idd = -1;
duration = 10e10;
fadein = 0;
fadeout = 0;
name = "loading screen";
class controlsBackground
{
class blackBG : RscText
{
x = safezoneX;
y = safezoneY;
w = safezoneW;
h = safezoneH;
text = "";
colorText[] = {0,0,0,0};
colorBackground[] = {0,0,0,1};
};
/*
class nicePic : RscPicture
{
style = 48 + 0x800; // ST_PICTURE + ST_KEEP_ASPECT_RATIO
x = safezoneX + safezoneW/2 - 0.25;
y = safezoneY + safezoneH/2 - 0.2;
w = 0.5;
h = 0.4;
text = "img\nicePic.paa";
};
*/
};
class controls
{
class Title1 : RscLoadingText
{
text = "$STR_LOADING"; // "Loading" text in the middle of the screen
};
class CA_Progress : RscProgress // progress bar, has to have idc 104
{
idc = 104;
type = 8; // CT_PROGRESS
style = 0; // ST_SINGLE
texture = "\ca\ui\data\loadscreen_progressbar_ca.paa";
};
class CA_Progress2 : RscProgressNotFreeze // progress bar that will go reverse
{
idc = 103;
};
class Name2: RscText // the text on the top-left
{
idc = 101;
x = 0.05;
y = 0.029412;
w = 0.9;
h = 0.04902;
text = "";
sizeEx = 0.05;
colorText[] = {0.543,0.5742,0.4102,1.0};
};
};
};

I guess a previous script I added has already changed the dayz_mission.pbo/description.ext file. Can someone show me where I should paste the changes to the the file?
 
Following the tutorial, but ran into a problem.

Tutorial says to open the dayz_mission.pbo/description.ext file and find this code:

Code:
class RscPicture
{
    access=0;
    type=0;
    idc=-1;
    style=48;
    colorBackground[]={0,0,0,0};
    colorText[]={1,1,1,1};
    font="TahomaB";
    sizeEx=0;
    lineSpacing=0;
    text="";
};

However I can't find that!?!? When I open my dayz_mission.pbo/description.ext file everything looks different. This is what my code looks like:

Code:
#include "defines.hpp"
#include "build_recipe_dialog.hpp"
#include "build_recipe_list_dialog.hpp"
respawn = "BASE";
respawndelay = 5;
onLoadMission= "DayZ Chernarus";
OnLoadIntro = "Welcome to Chernarus";
OnLoadIntroTime = False;
OnLoadMissionTime = False;
disabledAI = true;
disableChannels[]={0,2,6};
enableItemsDropping = 0;
onPauseScript = "\z\addons\dayz_code\compile\player_onPause.sqf";
 
loadscreen=walkingdeadtan.jpg;
 
class Header
{
gameType = COOP;            //DM, Team, Coop, ...
minPlayers = 1;            //min # of players the mission supports
maxPlayers = 100;            //Max # of players the mission supports
};
 
aiKills = 1;
diagRadio = 1;
diagHit = 1;
 
 
//
// the loading screen itself
//
class DayZ_loadingScreen
{
idd = -1;
duration = 10e10;
fadein = 0;
fadeout = 0;
name = "loading screen";
class controlsBackground
{
class blackBG : RscText
{
x = safezoneX;
y = safezoneY;
w = safezoneW;
h = safezoneH;
text = "";
colorText[] = {0,0,0,0};
colorBackground[] = {0,0,0,1};
};
/*
class nicePic : RscPicture
{
style = 48 + 0x800; // ST_PICTURE + ST_KEEP_ASPECT_RATIO
x = safezoneX + safezoneW/2 - 0.25;
y = safezoneY + safezoneH/2 - 0.2;
w = 0.5;
h = 0.4;
text = "img\nicePic.paa";
};
*/
};
class controls
{
class Title1 : RscLoadingText
{
text = "$STR_LOADING"; // "Loading" text in the middle of the screen
};
class CA_Progress : RscProgress // progress bar, has to have idc 104
{
idc = 104;
type = 8; // CT_PROGRESS
style = 0; // ST_SINGLE
texture = "\ca\ui\data\loadscreen_progressbar_ca.paa";
};
class CA_Progress2 : RscProgressNotFreeze // progress bar that will go reverse
{
idc = 103;
};
class Name2: RscText // the text on the top-left
{
idc = 101;
x = 0.05;
y = 0.029412;
w = 0.9;
h = 0.04902;
text = "";
sizeEx = 0.05;
colorText[] = {0.543,0.5742,0.4102,1.0};
};
};
};

I guess a previous script I added has already changed the dayz_mission.pbo/description.ext file. Can someone show me where I should paste the changes to the the file?

just put it at the bottom. it is because you have base building.
 
Keep getting an error! GRRRRR!

I followed the tutorial, but I must be missing something. When I join, I see the text messages come up one after the other as they should. However I get a message that pops up that says "introSong.ogg not found".

I converted my song file from mp3 to .ogg. Then I renamed it introSong.ogg and placed it in the dayz_mission root file like this:
picofdirectory.jpg


This is how the playerspawn.sqf looks:

Code:
waitUntil {!isNil ("dayz_Totalzedscheck")};
//BlurGaming Intro Script
sleep 4;
playsound "introSong";
cutText ["Welcome to the Walking Dead server.", "PLAIN DOWN"];
sleep 4;
cutText ["Gear, Vehicles, and Domes available with a donation.", "PLAIN DOWN"];
sleep 4;
cutText ["Yes, PvP is allowed.", "PLAIN DOWN"];
sleep 4;
cutText ["Server Rules: Be Polite. No Cry Babies.", "PLAIN DOWN"];

and I edited the description.ext like this just showing the bottom part where you said to paste it):

Code:
    class Name2: RscText // the text on the top-left
        {
            idc = 101;
            x = 0.05;
            y = 0.029412;
            w = 0.9;
            h = 0.04902;
            text = "";
            sizeEx = 0.05;
            colorText[] = {0.543,0.5742,0.4102,1.0};
        };
        class CfgSounds
    {
        sounds[] =
        {
        introSong
        };
        class introSong
        {
        name="introSong";
        sound[]={introSong.ogg,0.9,1};
        titles[] = {};
        };
    };
    };
};

Then I edited the init.sqf like this (again just showing the part I changed):

Code:
if (!isDedicated) then {
    [] execVM "fixes\change_streetlights.sqf";
    [] execVM "Scripts\kh_actions.sqf";
    //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";
    "heliCrash" addPublicVariableEventHandler {
        _list = nearestObjects [_this select 1, ["CraterLong"], 100];
        {deleteVehicle _x;} foreach _list;
    };
};
    [] ExecVM "custom_monitor.sqf";

Can you please show me where I am messing up your awesome script? I really want it to work on my server, but I am having a hard time.

Edit: I have already reduced the size of the .ogg file to 374 kb it is no longer a 1517 kb file :)
 
Thats understandable, but I don't think anyone who has written code and implemented things like you have is lazy. Good luck with your updates, I'll keep trying.
 
Back
Top