I have a question. I want to play a Soundfile, when a Player enters Devils Castle. I tried to place a Trigger and added a Sound to a Folder - this worked; When the Player entered Devils Castle you could hear the Music. I wanted to do this to the Server, so I "manipulated" the Servers description.ext:
class CfgSounds
{
sounds[] =
{
playerSnoring,horror,gangnamstyle,nam,eve,puk
};
class playerSnoring
{
name="playerSnoring";
sound[]={\fixes\sounds\snoring.ogg,0.9,1};
titles[] = {};
};
class gangnamstyle
{
name="gangnamstyle";
sound[]={\fixes\sounds\gangnamstyle.ogg,0.9,1};
titles[] = {};
};
class horror
{
name = "horror"; // Name for mission editor
sound[] = {\sound\horror.ogg, 1, 1.0};
titles[] = { };
};
class nam
{
name = "Siren1";
sound[] = {\fixes\sounds\SirenLoopMono.ogg, db+5, 1.0};
titles[] = {""};
};
class eve
{
name = "Siren2";
sound[] = {\fixes\sounds\Sirens.ogg, db+5, 1.0};
titles[] = {""};
};
class puk
{
name = "Siren3";
sound[] = {\fixes\sounds\Sirens2.ogg, db+5, 1.0};
titles[] = {""};
};
saved everything, created the pbo File but nothing happens when I enter the Triggerzone. In the init.sqf I added:
Question
dkmo
Hello,
I have a question. I want to play a Soundfile, when a Player enters Devils Castle. I tried to place a Trigger and added a Sound to a Folder - this worked; When the Player entered Devils Castle you could hear the Music. I wanted to do this to the Server, so I "manipulated" the Servers description.ext:
saved everything, created the pbo File but nothing happens when I enter the Triggerzone. In the init.sqf I added:
and my "trigger.sqf" looks like this:
where is the fault? (Sry 4 my english skills)
Hope u can help me.
Link to comment
Share on other sites
5 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now