Announcement

Collapse
No announcement yet.

How to add custom sounds in your game/missions

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • How to add custom sounds in your game/missions

    This is a quick tutorial on how to add custom sounds into your mission.

    A)
    Have your sound files converted to .ogg format.
    (You may do a search for free converter online)
    For this tutorial I have 2 example files/sounds.
    woosh1.ogg and akbar1.ogg

    B)
    1. Create a folder named "sounds"
    2. Place your sound file(s) into "sounds" folder

    http://www.tacticalgamer.com/attachm...1&d=1264305449

    C)
    1. Open/Create a "Description.ext" within your missions folder
    2. Add this into your Description.ext
    class CfgSounds
    {
    // List of sounds (.ogg files without the .ogg extension)
    sounds[] = {woosh1,Akbar1};

    // Definition for each sound
    class woosh1
    {
    name = "woosh1"; // Name for mission editor
    sound[] = {\sounds\woosh1.ogg, 0.4, 1.0};
    titles[] = {0, ""};
    };
    class akbar1
    {
    name = "akbar1"; // Name for mission editor
    sound[] = {\sounds\akbar1.ogg, 0.4, 1.0};
    titles[] = {0, ""};
    };
    };



    Now to play the sound/s you have few options but for the sake of this simple tutorial, we will use the "TRIGGER" example within the ArmA2 Mission Editor.

    D)
    1. Place a trigger on the map (an island of your choosing).
    2. Set the Activation to your preferred setting (BLUFOR, OPFOR, Etc)
    3. Click on "EFFECTS" on the bottom left of window.
    4. Click on the Voice option
    5. Scroll through until the end and you'll see your sound name. (in this case "akbar1")
    6. Run the game (press PREVIEW) and test it.

    http://www.tacticalgamer.com/attachm...1&d=1264305484

    Hope this helped!
    Happy mission editing!
    Attached Files

    TGU Instructor TG Pathfinder

    Former TGU Dean Former ARMA Admin Former Irregulars Officer

    "Do not seek death. Death will find you. But seek the road which makes death a fulfillment." - Dag Hammarskjold

  • #2
    Re: How to add custom sounds in your game/missions

    Nice. Does it do it in direct?
    |TG|Ghost02
    TG Pathfinder



    "I travel alone through the valley of the shadow of death, yet in my heart I carry no fear, for Gods hands will guide me to Truth and Honor."

    Comment

    Connect

    Collapse

    TeamSpeak 3 Server

    Collapse

    Advertisement

    Collapse

    Twitter Feed

    Collapse

    Working...
    X