OK, first open up your MPmissions folder and unpack the mission.pbo (say its called dayz_1.Chernarus.pbo)
Open the folder dayz_1.Chernarus and create a folder within called
fx (the name isn't important actually)
Within the
fx folder place your mono sound in ogg format. Keep it under 100Kbytes in length for players with slow internet.
Let's pretend the sound file is called
pipes.ogg
Now, in folder dayz_1.Chernarus you'll have a
description.ext file.
Open this in a decent text editor like Notepad++.
Add the following code segment just under where it says
loadScreen = "\z\addons\dayz_code\gui\loadingscreen.paa";
Code:
class CfgSounds
{
sounds[] = {pipesgalore};
class voicepipes
{
name = "pipesgalore";
sound[] = {"fx\pipes.ogg", db-20, 1.0};
titles[] = {0, ""};
};
};
Now create a trigger within the 2D editor using the class name (in this case voicepipes to refer to it.)
It should look something like this in the final mission.sqm file.
Look under the class Sensors,
Code:
class Item1
{
position[]={11677.527,73.331459,9179.4229};
a=100;
b=100;
activationBy="WEST";
interruptable=1;
age="UNKNOWN";
expActiv="playsound ""voicepipes"";";
class Effects
{
};
};
If you wish to add more sounds then alter the description.ext code segment to list more sounds.
Here I've added a scream effect.
So the finished code most look like this:
Code:
class CfgSounds
{
sounds[] = {pipesgalore,screamwoman};
class voicepipes
{
name = "pipesgalore";
sound[] = {"fx\pipes.ogg", db-20, 1.0};
titles[] = {0, ""};
};
class voicescream
{
name = "screamwoman";
sound[] = {"fx\screamwoman.ogg", db-10, 1.0};
titles[] = {0, ""};
};
};
Then repack the dayz_chernarus folder to get it back into a .pbo to use it online.
To get into the 3D editor, just press Alt-E at first menu. It's not great as it moves buildings about (due to internal physics) and needs several restarts to ensure you're looking at the final edit.
I place objects using the 3D editor, then convert it to 2D using 3D_conv tool. But use the 2D editor to make triggers. That's the one from the Multiplayer menu. Don't try to make triggers in the 3D editor. These missions don't work when you convert it to 2D.
When you wish to 2D edit a mission, it must be placed in the:
C:\Users\Stuart\Documents\ArmA 2\MPMissions as a folder with the name of whatever.Chernarus (for example) and not as a pbo file.
Obviously use your login name instead of mine.
Hope this helps.