Jump to content
  • 0

Radio Stary Sobor


lucho

Question

6 answers to this question

Recommended Posts

  • 0

https://community.bistudio.com/wiki/playSound

https://community.bistudio.com/wiki/Description.ext#cfgSounds

 

These two links should help you. Also, I believe you have to add the playSound into your mission.sqm under the stary sober sensor class. So when you enter that area it would play. You have to declare the sound in your Description.ext though.

 

Someone correct me if I'm wrong. I know there use to be an extremely easier way to do this but I can seem to find the thread on it.

Link to comment
Share on other sites

  • 0

maybe this helps

 

 

description after Picture

 

 

 

 

QuoteQuote

 

class CfgSounds { sounds[] = {   track1,track2 }; class track1 {   name="track1";   sound[]={"sound\track1.ogg",0.05,1};   titles[]={}; }; class track2 {   name="track2";   sound[]={"sound\track2.ogg",0.05,1};   titles[]={};   }; class track3 {   name="track3";   sound[]={"sound\track3.ogg",0.05,1};   titles[]={}; }; class track4 {   name="track4";   sound[]={"sound\track4.ogg",0.05,1};   titles[]={};     }; };  

Quote

Mission.sqm after

 

class Item1   {    side="LOGIC";    class Vehicles    {     items=5;     class Item0     {      position[]={-143.93861,0.52647489,2319.5012};      id=50;      side="LOGIC";      vehicle="FunctionsManager";      leader=1;      lock="UNLOCKED";      skill=0.60000002;     };  

 

 

Quote

};           class Item1               {             position[]={6330.15,0.044,7820.01};            id=5;            side="EMPTY";            vehicle="MAP_radio";            skill=0.60000002;         text="MAP_radio";            init="this addEventHandler [""HandleDamage"", {false}]; MAP_radio setpos [(getpos MAP_radio) select 0, (getpos MAP_radio) select 0.1, 0.6]; speakerpole = createVehicle [""Land_lamp_small_ep1"", position MAP_radio, [], 0, ""CAN_COLLIDE""];  speakerpole attachTo [MAP_radio,[0,+0.58,-1.6]];  speakerpole addEventHandler [""HandleDamage"", {false}];  speakerpole setVectorUp [-(vectorUp speakerpole select 0), -(vectorUp speakerpole select 1), -(vectorUp speakerpole select 2)];  speakerpole switchLight ""off"";    speakerpole = createVehicle [""Land_lamp_small_ep1"", position MAP_radio, [], 0, ""CAN_COLLIDE""];    speakerpole attachTo [MAP_radio,[0,+0.58,-1.6]];    speakerpole addEventHandler [""HandleDamage"", {false}];    speakerpole setVectorUp [-(vectorUp speakerpole select 0), -(vectorUp speakerpole select 1), -(vectorUp speakerpole select 2)];    speakerpole switchLight ""off"";     Loudspeaker2 = createVehicle [""MAP_radio"", position MAP_radio, [], 0, ""CAN_COLLIDE""];  Loudspeaker2 addEventHandler [""HandleDamage"", {false}];   loudspeaker2 attachTo [MAP_radio,[0,+0.38,0]];   loudspeaker2 setDir 10;";           };           class Item2           {             position[]={6330.15,0.044,7820.01};            id=6;            side="EMPTY";            vehicle="HeliHEmpty";            skill=0.60000002;            text="radio_H";            init="radio_H attachTo [MAP_radio,[0,0,0]];";           };  

Link to comment
Share on other sites

  • 0

Um, I don't really understand what you are trying to point out or tell me. Could you possibly be a bit more specific. I can tell you're not very fluent in English, but try your best and I'll try to figure out what you're telling me.

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Advertisement
  • Discord

×
×
  • Create New...