Dayz Sound Effect Editing

Forgotten

Well-Known Member
Hey guys, while I was editing my mission file, I saw the sounds option, and thought it would be cool to have the siren sound going off near the airfields. I added the sound, merged my files, but in Dayz, no sound. And checking my mission file, there is no reference to the sound itself.

Anyone successfully added new sounds to their server?
 
Add the following to the vehicles class in your mission.sqm (you will need to change the positions which you can get using the single player editor)


class Item1
{
position[]={8827.1035,14.73,2077.7651};
id=1;
side="EMPTY";
vehicle="Sound_Alarm1";
skill=0.60000002;
};
class Item2
{
position[]={8930.4531,23.193821,2036.8315};
id=2;
side="EMPTY";
vehicle="Sound_Alarm2";
skill=0.60000002;
};
class Item3
{
position[]={8881.2676,32.057346,2115.9009};
id=3;
side="EMPTY";
vehicle="Sound_Dog";
skill=0.60000002;
};
class Item4
{
position[]={8892.5947,29.035172,2056.9292};
id=4;
side="EMPTY";
vehicle="Sound_LittleDog";
skill=0.60000002;
};
 
thats awesome shinkicker, i tried it and it works great. I was wondering if there was a way of doing this with custom sounds?
 
Just a guess, but im presuming if i want to have a custom sound ingame, i'd need to add it in the description.ext and use a trigger? or is it possible in the mission.sqm. Ive tried using something like this, but it just says the file dosnt exist. Any ideas?

Code:
class Vehicles
    {
        items=1;
        class Item0
        {   
            position[]={7816.4399,84.420967,9157.5908};
            id=0;
            side="EMPTY";
            vehicle="sound\wolf.ogg";
            skill=0.60000002;
        };
 
hmm, not getting this to work. I have a ton of added buildings and stuff, so the sounds went to the end of my vehicles area.

Example of mine:

Code:
class Item601
        {
            position[]={4695.8135, 10228.731, -6.1035156e-005};
            id=702;
            side="EMPTY";
            vehicle="Sound_Alarm2";
            skill=0.60000002;
        };
        class Item602
        {
            position[]={12183.932, 12613.427, -1.5258789e-005};
            id=703;
            side="EMPTY";
            vehicle="Sound_Alarm2";
            skill=0.60000002;
        };
        class Item603
        {
            position[]={4706.0566, 2591.282, 0};
            id=704;
            side="EMPTY";
            vehicle="Sound_Alarm2";
            skill=0.60000002;
        };

No sound playing at any of these locations when I head into the server.

And I did also change the number of Items at the top to:

Code:
class Vehicles
    {
        items=604;
 
Bumping.

Added an item at all my airfield control towers, switched that item to Sound_Alarm2 in my mission. Still have no sound.

Here's my mission file:

class Item1074
{
position[]={12193.708,172.40417,12599.501};
id=1175;
side="EMPTY";
vehicle="Sound_Alarm2";
skill=1;
};
class Item1075
{
position[]={4716.106,352.13589,10216.385};
id=1176;
side="EMPTY";
vehicle="Sound_Alarm2";
skill=1;
};
class Item1076
{
position[]={4718.769,21.969177,2596.5728};
id=1177;
side="EMPTY";
vehicle="Sound_Alarm2";
skill=1;
};
};

Am I needing to specify that sound in a Cfg Sounds entry in Description? The sound plays fine when I'm using the editor. I'm assuming since Dayz doesn't have this sound, it needs to be pointed somewhere?

I also get no errors in my server report.
 
I'm having great difficultes getting custom sounds to play, they just come up on the server when I play as 'Sound XYZ not found'.

Can someone more talented point out my error?


Serverside:

In MPMissions\dayz_1.chernarus\description.ext
I have:
Code:
class CfgSounds
{
    sounds[]={};
 
    class Pipes
    {
        name = "thepipes";
        sound[] = {"\fx\snd1.ogg", db-2, 1.0};
    };
};

In MPMissions\dayz_1.chernarus\mission.sqm
I have:
Code:
class Sensors
    {
        items=2;
        class Item0
        {
            position[]={11677.554,70.344437,9181.375};
            a=8;
            b=8;
            activationBy="ANY";
            repeating=1;
            interruptable=1;
            age="UNKNOWN";
            class Effects
            {
                soundDet="SorrowDogSfx";
            };
        };
        class Item1
        {
            position[]={11713.197,71.645508,9134.666};
            a=8;
            b=8;
            activationBy="ANY";
            interruptable=1;
            age="UNKNOWN";
            class Effects
            {
                voice="thepipes";
            };
        };
    };

Dog sound plays, pipes don't, just get a error of file not found when a player approaches the trigger area.

RPT files says it all : 10:49:23 Warning Message: Sound thepipes not found

Im MPMissions\dayz_1.chernarus\fx\snd1.ogg
is were the sound file is located.

Anyone got a clue?
 
I love it added it to my custom base ;) is their a website, thread or anything where we could see all the sounds we can add
 
Hi,

I need some help:

I let a b-17 bomber fly over, but the sound is pitched very high (like a musquito flying over hahaha!) How to set it to normal/default sound?

this is the script:

class MM_BomberPlane_Sound: default
{
sound[]=
{
"\Missions\sounds\BomberPlane",
1,
1,
1500
};
};



Thanks in advance!!
 
Back
Top