Blur Gaming Custom Spawn Tutorial

LOOK for another cfg sounds. add the song to that :D


Would the other cfg sounds be in the description.ext file? Because I have looked all thru that file and there is no other cfg sounds there.

OH and name it introSong not IntroSong D:

Ya, I have it named introSong in all the files, I just goofed when I typed it in the forum post.

Now, I just saw this (probably nothing) but in the tutorial part of the cfg sounds scrips has no spaces after the = sign (see below) :

Code:
 sound[]={introSong.ogg,0.9,1};

But I noticed that other people, who posted examples of the code wrote it with a space after the = sign, like this

Code:
sound[]= {introsong.ogg,0.9,1};

Does the space matter?
 
This didn't work for me ever since 1.7.7, though I've found a simple fix.

playerspawn.sqf
Replace
waitUntil {!isNil ("dayz_Totalzedscheck")};
with
waitUntil { alive player };
 
It wasn't a perfect fix, but before I looked at the code and seen the animalCheck, I simply got away with

waitUntil {!isNil ("dayzPlayerLogin2")};
sleep 4;

adding a sleep timer before i ran anything else
 
I apologize in advance for my ignorance; new to scripting.
How could I combine:
Code:
_nul = [] execVM "playerspawn.sqf";
_nul = [] execVM "camera_init.sqf";
onto one line. Music didn't play when I attempted this the first time.
 
I used the good ol' brain and was able to consolidate it into one exec but now there is a delay on the intro fly-in. Any ideas?
Code:
waitUntil {!isNil ("dayzLoginRecord")};
 
//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,0];
_camera camCommit 8;
waitUntil {camCommitted _camera};
 
_camera cameraEffect ["terminate","back"];
camDestroy _camera;
 
playsound "introSong";
cutText ["[text]", "PLAIN DOWN"];
sleep 4;
cutText ["[text]", "PLAIN DOWN"];
sleep 4;
cutText ["[text]", "PLAIN DOWN"];

Lastly, is it possible to get the cutText to be colored?
 
I cant get this working...
The .sqf is loading (I know because I mispelled the file name in the first time, and a window showed up saying that the file wasnt found) but nothing appears, maybe is something related to this?
Code:
waitUntil {!isNil ("dayz_Totalzedscheck")};

Is it still working?
 
Not working for me. :/
Doing everything like it says I have to do, not working...

Does anyone have 1.7.7.1 with this working?
 
I can't seem to get it to work, i have followed your instructions, and the audio is a .ogg vorbis file, but i will spawn in and the text won't come up, and no music :(, can i pm you my mission pbo man so you can check it?
 
I can't seem to get it to work, i have followed your instructions, and the audio is a .ogg vorbis file, but i will spawn in and the text won't come up, and no music :(, can i pm you my mission pbo man so you can check it?

I'm not sure if that was directed at me or Blur but I'd be happy to help you if Blur is busy.
 
Back
Top