Fox
Well-Known Member
Hi all !
Well i'm running my Servers on my end with DayZ CC 5.9.2.0 ,and we wanna add a custom sound file (siren) with a trigger on the editor .
Tried and failed using this tut : http://www.armaholic.com/page.php?id=12598 and using this just for adding a siren.
Next Thing is that he uses another or older version of the editor ,so i'm a bit confused .
cheers fox
editor :
Well i'm running my Servers on my end with DayZ CC 5.9.2.0 ,and we wanna add a custom sound file (siren) with a trigger on the editor .
Tried and failed using this tut : http://www.armaholic.com/page.php?id=12598 and using this just for adding a siren.
Next Thing is that he uses another or older version of the editor ,so i'm a bit confused .
cheers fox
editor :
Code:
mission.sqf (trigger)
_this = createTrigger ["EmptyDetector", [12124.479, 12707.27, -159]]; [U][I][B]is this 2d or 3d coordinate?[/B][/I][/U]
_this setTriggerArea [350, 350, 0, false];
_this setTriggerActivation ["ANY", "PRESENT", true];
_this setTriggerTimeout [2, 4, 6, false];
_this setTriggerStatements ["this", "playsound ""sirens""", ""];
Black Market = _this;
_trigger_2 = _this;[CODE]
[CODE]mission.sqm
class Item99
{
position[]={-18725.248,379.55328,25889.797};
azimut=-17.0839;
id=95;
side="WEST";
vehicle="Survivor1_DZ";
player="PLAY CDG";
skill=0.60000002;
init="this enableSimulation false;this allowDammage false;this disableAI 'FSM';this disableAI 'ANIM';this disableAI 'MOVE';";
};
};
};
class Item1 really dont know what this all is !!!!! FIGURED IT OUT WHAT IT IS AND ERASED IT !!!!
{
side="LOGIC";
class Vehicles
{
items=1;
class Item0
{
position[]={708.96582,35.858719,3533.1272};
id=50;
side="LOGIC";
vehicle="FunctionsManager";
leader=1;
lock="UNLOCKED";
skill=0.60000002;
};
};
};
};
description.txt
class CfgSounds
{
sounds[]={nam,eve,puk};
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 playerSnoring
{
name="playerSnoring";
sound[]={\custom\sfx\snoring.ogg,0.9,1};
titles[] = {};
};
};