Blur Gaming Custom Spawn Tutorial

Discussion in 'Tutorials' started by blur, Apr 26, 2013.

  1. N8hawk

    N8hawk New Member

    Joined:
    May 18, 2014
    Messages:
    1
    Likes Received:
    0
    The script works very well. Thanks!
    I have heard that it's possible that you can use the music ONLY at the halo jump (freshspawn after dead).

    Does somebody know how to change the script?

    Thanks
    N8hawk
     
  2. Mikkel

    Mikkel New Member

    Joined:
    Jun 8, 2014
    Messages:
    1
    Likes Received:
    0
    Bumping thread as i would like this script too
     
  3. Fousman1980

    Fousman1980 New Member

    Joined:
    Apr 5, 2013
    Messages:
    15
    Likes Received:
    1
    :) thenk you
    this is my
     
  4. prue420

    prue420 Well-Known Member

    Joined:
    Apr 18, 2013
    Messages:
    116
    Likes Received:
    2
    Has anyone got the music working with just the para spawn instead of every time you log in?
     
  5. alexlawson

    alexlawson OpenDayZ Rockstar!

    Joined:
    Jan 5, 2014
    Messages:
    721
    Likes Received:
    116
    You running epoch.
     
  6. prue420

    prue420 Well-Known Member

    Joined:
    Apr 18, 2013
    Messages:
    116
    Likes Received:
    2
  7. PcKoPaT

    PcKoPaT New Member

    Joined:
    Jul 28, 2014
    Messages:
    2
    Likes Received:
    0
    paraşüt açılmıyor
    What should I do?
     
    Last edited: Aug 21, 2014
  8. J3T

    J3T Valued Member!

    Joined:
    Apr 8, 2013
    Messages:
    292
    Likes Received:
    29
    http://opendayz.net/threads/blur-gaming-custom-spawn-tutorial.9785/page-10#post-92144
     
  9. HackerProMC

    HackerProMC New Member

    Joined:
    Aug 29, 2014
    Messages:
    1
    Likes Received:
    0
    Is there a way to delay the start of the script? My player seems to be alive before I can see and play causing me to only see the last line.
     
  10. ShootingBlanks

    ShootingBlanks OpenDayZ Guru!

    Joined:
    Mar 31, 2013
    Messages:
    2,422
    Likes Received:
    336
  11. Lone Wolf AU

    Lone Wolf AU New Member

    Joined:
    Oct 22, 2014
    Messages:
    6
    Likes Received:
    0
    Hi Everyone.

    How do I get it to play multiple songs randomly as player enters server?

    Meaning having 4 or 5 ogg files and the server plays 1 song on entry randomly from the 4 or 5 in there.

    Anyone know how?

    Cheers
     
  12. FallingSheep

    FallingSheep OpenDayZ Lord!

    Joined:
    Mar 17, 2013
    Messages:
    1,980
    Likes Received:
    576
    replace your playerspawn.sqf code with this
    Code:
    waitUntil { alive player };
    //BlurGaming Intro Script
    //Random sound by Fallingsheep
    sleep 4;
    
    _random = floor (random 6); //will pick a random number between 0 and 5
    
    if ( _random == 0 ) then {
    playsound "Song1";
    };
    if ( _random == 1 ) then {
    playsound "Song2";
    };
    if ( _random == 2 ) then {
    playsound "Song3";
    };
    if ( _random == 3 ) then {
    playsound "Song4";
    };
    if ( _random == 4 ) then {
    playsound "Song5";
    };
    cutText ["You are playing on *ServerName*", "PLAIN DOWN"];
    sleep 4;
    cutText ["Second Editable Text", "PLAIN DOWN"];
    sleep 4;
    cutText ["Third Editable Text", "PLAIN DOWN"];
    
    don forget to add your new songs to your description.ext

    Example using the above sound names
    Code:
    class CfgSounds
    {
        class Song1
        {
        name="Song1";
        sound[]={Song1.ogg,0.9,1};
        titles[] = {};
        };
        class Song2
        {
        name="Song2";
        sound[]={Song2.ogg,0.9,1};
        titles[] = {};
        };
        class Song3
        {
        name="Song3";
        sound[]={Song3.ogg,0.9,1};
        titles[] = {};
        };
        class Song4
        {
        name="Song4";
        sound[]={Song4.ogg,0.9,1};
        titles[] = {};
        };
        class Song5
        {
        name="Song5";
        sound[]={Song5.ogg,0.9,1};
        titles[] = {};
        };
    };
    
    enjoj random spawn music :p

    NOTE ive never used the
    Code:
    sounds[] =
        {
        introSong
        };
    
    and all my sounds work, not sure what its for or if its even needed :p
     
    blur likes this.
  13. Lone Wolf AU

    Lone Wolf AU New Member

    Joined:
    Oct 22, 2014
    Messages:
    6
    Likes Received:
    0
    Thank you very much, thats a great help.

    Regards

    :)
     
  14. blur

    blur Valued Member!

    Joined:
    Nov 5, 2012
    Messages:
    253
    Likes Received:
    73

    thanks for the addition bro!

    this is great!
     
  15. kalel76

    kalel76 Member

    Joined:
    Dec 8, 2014
    Messages:
    32
    Likes Received:
    0
    Hey when i try add this to my server it hangs on " waiting for host ". I followed it exactly. When i remove it all the server is perfect again. Any ideas?
     
  16. ShootingBlanks

    ShootingBlanks OpenDayZ Guru!

    Joined:
    Mar 31, 2013
    Messages:
    2,422
    Likes Received:
    336
    yep .. you done messed up
     
  17. ShootingBlanks

    ShootingBlanks OpenDayZ Guru!

    Joined:
    Mar 31, 2013
    Messages:
    2,422
    Likes Received:
    336
    Obviously ... you may have followed it exactly .. or you might have missed a step .. or you might have placed something not quite where it needs to be ..
    Errors in the description.ext result in wait for host, fortunately they almost are always easy fixes and will be the last line in your rpt log .. mostly

    No matter what the reason, we can't help you unless you post your RPT log at the very least ...
     
  18. kalel76

    kalel76 Member

    Joined:
    Dec 8, 2014
    Messages:
    32
    Likes Received:
    0
    Thanks for the reply, Im new to all this epoch stuff so i appreciate the help. Where can i find the RPT log?
     
  19. ShootingBlanks

    ShootingBlanks OpenDayZ Guru!

    Joined:
    Mar 31, 2013
    Messages:
    2,422
    Likes Received:
    336
  20. kalel76

    kalel76 Member

    Joined:
    Dec 8, 2014
    Messages:
    32
    Likes Received:
    0
    Thanks for the response man ill have a look at it
     

Share This Page