Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
Save the script as description.ext in your Mission folder!
------------------------------- (without these line)
class CfgSounds
{
sounds[] = {};
class storm
{
name = "storm";
sound[] = {"sounds\storm.ogg", +5, 1, 10};
titles[] = {};
};
};
---------------------------- (without these line)
Change storm to your file name
+5 is volume
10 is distance when hearable
Place this in the init field from radio: this say3D "name";
change name to your sound file!
You can use "Any Video Converter"
http://www.any-video-converter.com/products/for_video_free/
Place the sound in your Mission folder, in sounds folder!
Hey man I just saw this after my last post! I know of 3d sound, but is there a way I can adjust the barrier of where I don't want the sound to play? Or adjust the distance it can be heard? Check out my other post if you want to know more about what it is I'm trying to do, but I will definitely lately try this when I get home!
Change in this line "sound[] = {"sounds\storm.ogg", +5, 1, 10}" the 10 in the scrpt, in the number you want to hear the sound!
10 = 10 meters hearable
You cant adjust the barrier, if you use the sound from an object! You can use an trigger, make the trigger 10 x 10, if the distance is 10 meter, and than place the trigger so that the sound is´nt hearable in the area, where you did´nt want hear the sound!
Tigger:
Activation by: Blufor
present
Activation: this say3D "name";
Edit: I see you post! You want hear the sound when you come in an room, than must the sound distance smaler, 1 meter, or use an smaller trigger place them behind the door! When the trigger filled the room, 4 x4 meter (trigger/ room size) for example! Than should the sound distance 2 meter in the script!
Did you have follow these steps from above?
You have to put the OGG file in
Documents\Arma 3\missions\your_mission\sounds
After getting this working and set up let say i want to play another audio file on another object how would you do that?
class CfgSounds
{
sounds[] = {};
class crank
{
name = "crank";
sound[] = {"sounds\crank.ogg", +5, 1, 10};
titles[] = {};
};
class grid
{
name = "grid";
sound[] = {"sounds\grid.ogg", +5, 1, 10};
titles[] = {};
};
class mgscodec
{
name = "mgscodec";
sound[] = {"sounds\mgscodec.ogg", +5, 1, 10};
titles[] = {};
};
class mgsalert
{
name = "mgsalert";
sound[] = {"sounds\mgsalert.ogg", +5, 1, 10};
titles[] = {};
};
};