Forum Jump :

Author Message

VIPER[CWW]  

I'm a stable whore


Posts: 2126
Rank:


Level: Member

Country: en
Location:
Occupation:
Age: 30
In-game name: VIPER [RR]

 
#1 Posted at 2010-08-10 22:54        
     
Ok so I have made a trigger when after 20seconds the players hear the music, problem is it only works on one of the groups i have, even though the name has been assigned to the group who do not hear it :-[ in the triggers condition i have wrote this:

({_x in chinook} count units grp_raven) == (count units grp_raven)

and the name of the triggers is
turn music on

its very strange how the assigned group doesnt hear the music but the other group does, please help

Picture for reference is added:



Author Message

Dead3yez  

I am evil


Posts: 3113
Rank:


Level: Member

Country: en
Location: North Yorkshire
Occupation: dead3yez
Age: 29
In-game name: dead3yez

 
#2 Posted at 2010-08-10 23:33        
     
(({_x in chinook} count units grp_raven) == (count units grp_raven) - 1) && player in chinook

This might switch things around.


Advertisement


Author Message

VIPER[CWW]  

I'm a stable whore


Posts: 2126
Rank:


Level: Member

Country: en
Location:
Occupation:
Age: 30
In-game name: VIPER [RR]

 
#3 Posted at 2010-08-10 23:36        
     
by switch things round do you mean stop the other group from hearing the music? (i want them to hear it too :-) )


Author Message

Dead3yez  

I am evil


Posts: 3113
Rank:


Level: Member

Country: en
Location: North Yorkshire
Occupation: dead3yez
Age: 29
In-game name: dead3yez

 
#4 Posted at 2010-08-11 00:47        
     
Then keep your old trigger too.

I think it might swap things around, need to test it.


Author Message

VIPER[CWW]  

I'm a stable whore


Posts: 2126
Rank:


Level: Member

Country: en
Location:
Occupation:
Age: 30
In-game name: VIPER [RR]

 
#5 Posted at 2010-08-11 01:30        
     
kk i will test it asap and get back to you


Author Message

DarkXess  

Modsaholic Founder


Posts: 2878
Rank:


Level: Member

Country: cn
Location: PRC
Occupation:
Age: 38
In-game name: DarkXess

 
#6 Posted at 2010-08-12 20:51        
     
Hey Viper, im also trying to add a custom sound to my mission! its just an Air Raid style Siren,
one of the new ones from Israel.
Im trying to add it to my mission to sound when either enemy are in your base (domi2 stlye thing)
or when an artillery strike is
inbound, either way .. Can you help me or give me some directions, links etc to do it?

Thanks man.

1st - Check The Rules! 2nd - Use The Search!

Author Message

VIPER[CWW]  

I'm a stable whore


Posts: 2126
Rank:


Level: Member

Country: en
Location:
Occupation:
Age: 30
In-game name: VIPER [RR]

 
#7 Posted at 2010-08-13 01:01        
     
Yea sure i'll be happy to help, first what stage are you at?

1. Are you using your own sound or a vanilla sound?
2. Do you know where to put the sound if it is a custom sound (must be in .ogg format)
3. Have you got a description.ext file in your mission folder?

- For your description.ext write what i have wrote in this link below but change to the name of your file
NOTE: I have wrote that description.ext music script for two sounds

http://www.armaholic.com/forums.php?m=posts&q=11452&n=last#bottom

- Make a folder called music and put your sounds in there

- Then in the editor make a trigger and go on effects then select Track, scroll down and find your track name.

- Now in the triggers settings set activation to whatever side your enemy is on, and change the size of your trigger on axis a, axis b to form a sort of perimeter around your base, when your enemy sets foot in the base the Siren should sound off :-)

- With the artillery its a bit more complicated, i will have to get back to you with that.

PM me if the trigger doesnt work or you have problems with setting it up

VIPER


Author Message

DarkXess  

Modsaholic Founder


Posts: 2878
Rank:


Level: Member

Country: cn
Location: PRC
Occupation:
Age: 38
In-game name: DarkXess

 
#8 Posted at 2010-08-13 08:11        
     
Thank mate,.. anyways

1: ive had the sound made by a sound mod maker! its already been converted to .ogg made to loop, you name it! lol.

2: dunno where to put the sound, I just make a sound folder in the mission and put the target line pointing to it???

3: Noooooooooo... lol! its what I mean, I dont know how to start off with putting the sound in! so..

Em,.. going through this now ive seen your file! lol, ill give it a wizz.

Ok, now im seeing you wrote a tut! stupid me, ill try all this out and get back to you! thanks man. :)

Added 1 hour 44 minutes later:

haha mate! its perfect! works really cool.... thanks mate!

This post was edited by DarkXess (2010-08-13 09:55, ago)

1st - Check The Rules! 2nd - Use The Search!

Author Message

VIPER[CWW]  

I'm a stable whore


Posts: 2126
Rank:


Level: Member

Country: en
Location:
Occupation:
Age: 30
In-game name: VIPER [RR]

 
#9 Posted at 2010-08-13 15:58        
     
No problem mate glad to help, if you decide to include your artillery warning then let me know, I'm busy at the moment but might be able to come up with something, like a trigger surrounding the Artilllery Emplacements and a script to engage when they fire them.

Hopefully my question gets a good answer too eh ;-)