Blur Gaming Custom Spawn Tutorial

seaweeduk

OpenDayZ Rockstar!
Hey guys, tell me when everyone has this on their server so i can start using something different!
I couldn't get the parachute to deploy with your antihack from hagendar when I tried last night

I added the player actions to the list already
 

tri3

New Member
I use descrExt.h,It is fine work.
My descrExt.h is introSong & Dogsound,Airraidsirens,Tentsleepsounds inside.

class CfgSounds in description.ext is not work.

Code:
class CfgSounds
{
    sounds[] =
    {
    bark,growl
    };
    class bark
    {
    name="bark";
    sound[]={\sound\bark.ogg,0.4,1};
    titles[] = {};
    };
    class growl
    {
    name="growl";
    sound[]={\sound\growl.ogg,0.5,1};
    titles[] = {};
    };
    class introSong
    {
    name="introSong";
    sound[]={\sound\introSong.ogg,0.9,1};
    titles[] = {};
    };
    class playerSnoring
    {
    name="playerSnoring";
    sound[]={\sound\snoring.ogg,0.9,1};
    titles[] = {};
    };
    class nam
    {
    name = "Siren1";
    sound[] = {\sound\SirenLoopMono.ogg, db-6, 1.0};
    titles[] = {""};
    };
    class eve
    {
    name = "Siren2";
    sound[] = {\sound\Sirens.ogg, db-6, 1.0};
    titles[] = {""};
    };
    class puk
    {
    name = "Siren3";
    sound[] = {\sound\Sirens2.ogg, db-6, 1.0};
    titles[] = {""};
    };
};
 

seaweeduk

OpenDayZ Rockstar!
I use descrExt.h,It is fine work.
My descrExt.h is introSong & Dogsound,Airraidsirens,Tentsleepsounds inside.


class CfgSounds in description.ext is not work.

Code:
class CfgSounds
{
    sounds[] =
    {
    bark,growl
    };
    class bark
    {
    name="bark";
    sound[]={\sound\bark.ogg,0.4,1};
    titles[] = {};
    };
    class growl
    {
    name="growl";
    sound[]={\sound\growl.ogg,0.5,1};
    titles[] = {};
    };
    class introSong
    {
    name="introSong";
    sound[]={\sound\introSong.ogg,0.9,1};
    titles[] = {};
    };
    class playerSnoring
    {
    name="playerSnoring";
    sound[]={\sound\snoring.ogg,0.9,1};
    titles[] = {};
    };
    class nam
    {
    name = "Siren1";
    sound[] = {\sound\SirenLoopMono.ogg, db-6, 1.0};
    titles[] = {""};
    };
    class eve
    {
    name = "Siren2";
    sound[] = {\sound\Sirens.ogg, db-6, 1.0};
    titles[] = {""};
    };
    class puk
    {
    name = "Siren3";
    sound[] = {\sound\Sirens2.ogg, db-6, 1.0};
    titles[] = {""};
    };
};

I don't see introSong defined in this block of code (nor half your other sounds either for that matter....)

Code:
 sounds[] =
    {
    bark,growl
    };
 

tri3

New Member
I don't see introSong defined in this block of code (nor half your other sounds either for that matter....)

Code:
sounds[] =
    {
    bark,growl
    };
Sorry,I forget adding.
My settings will be like this.
Code:
    sounds[] =
    {
    bark,growl,introSong,playerSnoring,nam,eve,puk
    };
 

blur

Valued Member!
i am going to be releasing a scroll wheel action menu for all players that will allow them to use prerecorded voice commands ingame, so they do not need to waste time typing in game, or fumbling through voice chat channels before they get shot to death, it will also include an emote menu that will allow players to do alot of emotes/animations found in arma2oa, mostly for fun, but i think it will be cool. if anyone wants to help with the voice recording the script can be found here > https://www.dropbox.com/s/88ga5965g5x0xj3/Script!.txt

The script is complete and all i need are voices. if you are interested, please message me or reply to me on here.
 

Rhymeo

New Member
i am going to be releasing a scroll wheel action menu for all players that will allow them to use prerecorded voice commands ingame, so they do not need to waste time typing in game, or fumbling through voice chat channels before they get shot to death, it will also include an emote menu that will allow players to do alot of emotes/animations found in arma2oa, mostly for fun, but i think it will be cool. if anyone wants to help with the voice recording the script can be found here > https://www.dropbox.com/s/88ga5965g5x0xj3/Script!.txt

The script is complete and all i need are voices. if you are interested, please message me or reply to me on here.
I might try it for fun.
 

seaweeduk

OpenDayZ Rockstar!
i am going to be releasing a scroll wheel action menu for all players that will allow them to use prerecorded voice commands ingame, so they do not need to waste time typing in game, or fumbling through voice chat channels before they get shot to death, it will also include an emote menu that will allow players to do alot of emotes/animations found in arma2oa, mostly for fun, but i think it will be cool. if anyone wants to help with the voice recording the script can be found here > https://www.dropbox.com/s/88ga5965g5x0xj3/Script!.txt

The script is complete and all i need are voices. if you are interested, please message me or reply to me on here.
Haha awesome

You know everyone is just gonna replace them with counterstrike sound effects anyway ;)
 

Gorsy

Valued Member!
Trying to get this to work with music on spawn only. But still want the messages on a normal login.

Heres my code

Init.sqf
Code:
    _id = player addEventHandler ["Respawn", {_id = [] spawn player_death; _nul = [] execVM "fixes\compile\playerspawn.sqf";}];
    _playerMonitor =    [] execVM "fixes\system\player_monitor.sqf";
        waitUntil { alive Player };
        waituntil { !(IsNull (findDisplay 46)) };
_null = [] execVM "fixes\activeCombat.sqf";
  _nul = [] execVM "fixes\compile\playerspawn2.sqf";
playerspawn.sqf is the original one by Blur

Playerspawn2.sqf

Code:
//BlurGaming Intro Script
sleep 10;
cutText ["You are playing on the Panthera Server ZombZ.net", "PLAIN DOWN"];
sleep 4;
Still seems to play music everytime, any ideas?



 
Hello, can someone help me? In my RPT, it says I have (paraphrasing here, don't have the code atm) "extras after the end of config."

I think I figured out where the issue may be in. I already run an air raid mod that has sounds. I tried to add the intro song into that block of code, but something is wrong with it. Here is my block:
Code:
//sounds
    class CfgSounds
    {
        sounds[] =
        {
        nam,eve,puk,introSong
        };
        class nam
        {
            name = "Siren1";
            sound[] = {\sound\SirenLoopMono.ogg, db-6, 1.0};
            titles[] = {""};
        };
            class eve
        {
            name = "Siren2";
            sound[] = {\sound\Sirens.ogg, db-6, 1.0};
            titles[] = {""};
        };
            class puk
        {
            name = "Siren3";
            sound[] = {\sound\Sirens2.ogg, db-6, 1.0};
            titles[] = {""};
        };
            class introSong
        {
            name="introSong";
            sound[] = {introSong.ogg,0.9,1};
            titles[] = {""};
        };
    };
};
Any ideas?
 

blur

Valued Member!
Hello, can someone help me? In my RPT, it says I have (paraphrasing here, don't have the code atm) "extras after the end of config."

I think I figured out where the issue may be in. I already run an air raid mod that has sounds. I tried to add the intro song into that block of code, but something is wrong with it. Here is my block:
Code:
//sounds
    class CfgSounds
    {
        sounds[] =
        {
        nam,eve,puk,introSong
        };
        class nam
        {
            name = "Siren1";
            sound[] = {\sound\SirenLoopMono.ogg, db-6, 1.0};
            titles[] = {""};
        };
            class eve
        {
            name = "Siren2";
            sound[] = {\sound\Sirens.ogg, db-6, 1.0};
            titles[] = {""};
        };
            class puk
        {
            name = "Siren3";
            sound[] = {\sound\Sirens2.ogg, db-6, 1.0};
            titles[] = {""};
        };
            class introSong
        {
            name="introSong";
            sound[] = {introSong.ogg,0.9,1};
            titles[] = {""};
        };
    };
};
Any ideas?



try this

Code:
    class CfgSounds
    {
        sounds[] =
        {
        Siren1,Siren2,Siren3,introSong
        };
        class Siren1
        {
            name = "Siren1";
            sound[] = {\sound\Siren1.ogg, db-6, 1.0};
            titles[] = {""};
        };
            class Siren2
        {
            name = "Siren2";
            sound[] = {\sound\Siren2.ogg, db-6, 1.0};
            titles[] = {""};
        };
            class Siren3
        {
            name = "Siren3";
            sound[] = {\sound\Sirens3.ogg, db-6, 1.0};
            titles[] = {""};
        };
            class introSong
        {
            name="introSong";
            sound[] = {introSong.ogg,0.9,1};
            titles[] = {""};
        };
    };
};

Rename everything that you need to like i did there. that may be the problem. if not, you are calling it incorrectly in the discription. if this does not work, try making a .hpp file and calling it at the bottom of the discription file.
 
I replaced my code with that, and here is the error message I get from my RPT:

"ErrorMessage: Config : some input after EndOfFile."

What else can be the issue? I know that my names are correct for the sound file, and I know that the file is an OGG file. I don't know what else it could be.....
 
Top