Nainstalovat Steam
přihlásit se
|
jazyk
简体中文 (Zjednodušená čínština)
繁體中文 (Tradiční čínština)
日本語 (Japonština)
한국어 (Korejština)
ไทย (Thajština)
български (Bulharština)
Dansk (Dánština)
Deutsch (Němčina)
English (Angličtina)
Español-España (Evropská španělština)
Español-Latinoamérica (Latin. španělština)
Ελληνικά (Řečtina)
Français (Francouzština)
Italiano (Italština)
Bahasa Indonesia (Indonéština)
Magyar (Maďarština)
Nederlands (Nizozemština)
Norsk (Norština)
Polski (Polština)
Português (Evropská portugalština)
Português-Brasil (Brazilská portugalština)
Română (Rumunština)
Русский (Ruština)
Suomi (Finština)
Svenska (Švédština)
Türkçe (Turečtina)
Tiếng Việt (Vietnamština)
Українська (Ukrajinština)
Nahlásit problém s překladem
after 6 hours of searching through peoples faulty work and errors and the youtube videos that dont work i finally found it..... I didnt sleep all night until i found the proper script and steps to get it to work.
class CfgMusic
{
sounds[] = {01,02};
class 01
{
name = "01";
sound[] = {"music\sound1.ogg", db+10, 1.0};
titles[] = {0,""};
};
class 02
{
name = "02";
sound[] = {"music\sound2.ogg", db+10, 1.0};
titles[] = {0,""};
};
};
Place this in your description.ext in your documentary>arma3>mission>YOURMISSIONFILE
"Then place your music files in your mission folder in a subfolder named music, so sound1.ogg would be placed "C:\Users\YOURPCNAME\Documents\Arma 3\missions\YOURMISSIONNAME.Stratis\music\sound1.ogg"
Then to trigger the sound create a trigger in the editor, choose effects and music. scroll down to the bottom of the music list and you will see 01 and 02 the names of my music files as defined above, choose which one you want. Then just set your trigger to what ever you want to trigger your sound and preview your mission. You should hear your music files when you activate the trigger. you can adjust the volume of your music by editing the bit in description.ext "db+10".
Set your trigger condition to true to just activate your music straight from mission start.
Hope that helps "
you have to use trigger to make it work! I can't believe i stayed up all night doing this crap. I was getting a bunch of errors with what other people were telling me to do. It was saying missing files and crap... Also convert your mp3 file into OGG (free easy and fast) then put it in a folder called "music" within your mission folder.
tell me if it works for you, i will help if it doesn't
Sweet, glad it helped you out buddy ;)
If you are looking to play music at a particular point in a mission, or when players reach a particular position consider using a trigger. Select the music to be played when the Condition of the trigger is true.
I will often have the trigger play "Mission Accomplished" music whenever a player completes a task.
Or if you want more dynamic music, to change whenever the Mode of the player changes, consider using the BIS_fnc_jukebox function. When players are in Stealth mode you can have the mission play one type of music, and when they switch into Combat mode play a completely different type of music.
Run from your init.sqf for example,
The list of music titles was kept short for example purposes. If your music title list is long enough, it could play different music for the entire duration of the mission without repeating.
First, this is a thread about adding custom music to missions, not a tutorial. It doesn't matter if the mission uses Zeus, is single-player, or multiplayer.
Second, Doldrey explained how to add new custom music to your missions very well. So well, in fact, that all I could contribute was how to play existing music in your missions.
As far as playing your song anytime you want, if it doesn't already exist in the game I would advise following Doldrey's example, and then learn how to write scripts in order to develop your own audio-player user-interface.
2nd options would be using Steam Overlay
https://community.bistudio.com/wiki/Category:Eden_Editor
BIS has developed the scripting language for Arma III since 2000, beginning with Operation Flashpoint released in 2001. It is a culmination of 20+ years of development. There are 2,500+ commands, and 2,000+ functions in their scripting language.
The Description.ext file that Doldrey mentioned above controls the information about your mission, and the init.sqf file initializes your mission. Other script files can also be called through event handlers or triggers.
This is the core of Arma III. What the game is all about - The Eden Editor. Granted, you can simply play missions already created by others and never create one yourself, but that is a waste of Arma III's capabilities.
Arma III is not a first-person shooter game. It is platform from which first-person shooter games are created.
Concerning your radio suggestion, this 12 minute YouTube video may be of some assistance:
Make a multiplayer radio play music with say3D