Blur Gaming Custom Spawn Tutorial

AsianKid

Well-Known Member
Can anyone help me I am trying to add a logo on the login camera
The logo is not showing up at all
In my description.ext
Code:
class RscTitles
{
titles[] = {
"creditz","logo"
};
class creditz {
  idd = -1;
  movingEnable = 0;
  duration = 10;
  fadein = 2;
  fadeout = 2;
  name="creditz";
 
  controls[]={"Picture"};
 
  class Picture {
    x = "0.00001 * safezoneW + safezoneX";
    y = "0.00001 * safezoneH + safezoneY";
    w = "1 * safezoneW";
    h = "1 * safezoneH";
    text= "custom\CreditZ\DC2.jpg";
    sizeEx = -1;
    type=0;
    idc=-1;
    style=48;
    colorBackground[]={0,0,0,0};
    colorText[]={1,1,1,1};
    font="Bitstream";
    #include "R3F_ARTY_AND_LOG\desc_rsct_include.h"
  };
};
class logo
    {
        idd=-1;
        movingEnable = 0;
        duration=12;
        name = "logo";
        controls[]=
        {
            Picture
        };
        class Picture : RscPicture
        {
            x = -0.5;
            y = -0.5;
            w = 0.15;
            h = 0.2;
            text = "intro\logo.paa";
            sizeEx = 1;
            style=48;
        };
    };
};
My intro
Code:
playsound "introSong";
TitleRsc["logo","PLAIN"];
The logo size is 100x100 and its a .paa
 
Really sorry, I have no idea how to do that, I spent about half hour looking at playerspawn.sqf and the such, trying to figure out if I can do it, but I reached a dead end

Is it possible you show me the script to do that?
 

J3T

Valued Member!
It does it on every login, any suggestions how to made it spawn only?
Using Epoch for Panthera.

Nevermind, got it working.
 
Last edited:

J3T

Valued Member!
It's kinda tricky, it shouldn't be done execpt if you know what you are doing

First of all you need a .fsm capable edit programm (wouldn't use notepad++ for that), i got mine in those arma 2 edit tools.

Second i won't explain it very detailed, got other things going on now (so i'm not gonna go deep in patch directories etc. pp)

So go to your init.sqf in the missionfile and search for this line:
Code:
_playerMonitor =     [] execVM "\z\addons\dayz_code\system\player_monitor.sqf";
Change it into this and add this:
Code:
        //_playerMonitor =     [] execVM "\z\addons\dayz_code\system\player_monitor.sqf";  
    _playerMonitor =     [] execVM "yourcustomdirect\player_monitor.sqf";
now get the playermonitor.sqf into your missionfile and edit this line to your custom file (sorry, dont have the original right now)
Code:
_id = [] execFSM "yourcustomdirect\player_monitor.fsm";
now get your player_monitor.fsm out and now just random click until you find:
Code:
if(dayz_paraSpawn and (freshSpawn == 2)) then {
    player setDir _setDir;
    player setPosATL [(_setPos select 0),(_setPos select 1),2000];
    [player,2000] spawn BIS_fnc_halo;
} else {
now add your direct to your credit.sqf:
Code:
if(dayz_paraSpawn and (freshSpawn == 2)) then {
    player setDir _setDir;
    player setPosATL [(_setPos select 0),(_setPos select 1),2000];
    [player,2000] spawn BIS_fnc_halo;

[]execVM "yourcustomdirect\credits.sqf";

} else {

Obliviously it will only work this way if you have paraspawn enabled, to do it while it is off just search in the file a bit more. It should be done the same way.

hope it kinda helps


*Edit* oh and oifriendlyfire i love playing rmod 2.1 back the good ol dayZ. Sad that it is kinda dead now.
 
hey ive followed all the directions and the script doesnt seem to play.

UPDATE:2/28/2014
Okay guys i made the music work for those who are using overwatch the only issue i need to fix is the messages not popping up. all i did was this

Look for

Code:
waitUntil { alive player };
changed it too

Code:
waitUntil {!isNil ("dayz_animalCheck")};
 
Last edited:
Can anyone help, I have the music working with the halo just fine.
But I can't get it to only play with just a fresh halo spawn.

J3T i have tried your advice, what do you mean by credit.sqf?

Thanks in advance if you can help.
 
Got that thanks J3T, im on a Epoch server as well btw.
I am now stuck on "loading character data".
But now in Arma2oa.rpt im getting:
--------------------------------------------------------------------------------------------------------------------------------------------------------
File mpmissions\__CUR_MP.chernarus\Custom\player_monitor.fsm, line 592: '/FSM/States/Phase_Two.init': Missing ';' at the end of line
Error context sqf"; \n
Warning Message: File mpmissions\__CUR_MP.chernarus\Custom\player_monitor.fsm, line 592: '/FSM/States/Phase_Two.playerspawn': '.' encountered instead of '='
Warning Message: Config : some input after EndOfFile.
Warning: z\addons\dayz_communityassets\models\compass.p3d:0 Error while trying to generate ST for points: 863, 853, 852

-------------------------------------------------------------------------------------------------------------------

This is linked to the last [] execVM, call in the player_monitor.fsm.
--------------------------------------------------------------------------------------------------------------
"if(dayz_paraSpawn and (freshSpawn == 2)) then {" \n
" player setDir _setDir;" \n
" player setPosATL [(_setPos select 0),(_setPos select 1),2000];" \n
" [player,2000] spawn BIS_fnc_halo;" \n
" [] execVM "playerspawn.sqf"; \n
"} else {" \n
"" \n
-----------------------------------------------------------------------------------------------------------
If i remove that call then I load up as normal.
Really stuck here.


EDIT FIXED IT, at last...
With my ST server you need to do this:

"if(dayz_paraSpawn and (freshSpawn == 2)) then {" \n
" player setDir _setDir;" \n
" player setPosATL [(_setPos select 0),(_setPos select 1),2000];" \n
" [player,2000] spawn BIS_fnc_halo;" \n
" [] execVM ""playerspawn.sqf"";" \n
"} else {" \n
"" \n
 
Last edited:
I have an issue with this sound intro.
It kinda works fine when I log out to the lobby, but if i leave / close the game and re-join from dayz commander, the sound doesn't play.
I have it installed on Dayz Epoch Panthera
 
Top