Results 1 to 3 of 3

Thread: Adding custom music, creating campaigns etc.

  1. #1
    Staff Sergeant
    Join Date
    Jan 12 2010
    Location
    Umeå, Sweden
    Posts
    365

    Adding custom music, creating campaigns etc.

    Hi people,

    I am currently working on my first campaign, called Operation Dead Fox and
    I've just started out to create my own missions in arma but I have a few questions. First off, how to I add custom music/soundtracks? It seems like I don't get it working properly!

    This is how I've done:

    Documents/ArmaA/missions

    I wanted to put music into the mission named ''01%20-%20Taking%20the%20airfield.Sara''
    So I put this in a text document and saved it as ''Description.ext''

    class CfgSounds
    {
    // List of sounds (.ogg files without the .ogg extension)
    sounds[] = {ageofwar};

    // Definition for each sound
    class ageofwar
    {
    name = "ageofwar"; // Name for mission editor
    sound[] = {\sound\ageofwar.ogg, 1, 1.0};
    titles[] = {};
    };

    };

    I placed a map called ''Sound'' in that folder, containing a file called ''ageofwar.ogg'' (it should be .ogg, right?) Then, I started the game and choosed the appropiate mission and used a trigger in the mission editor, and in ''on act'' i wrote ''playSound ageofwar".

    But it doesn't work. I got no error message or anything, but I can't simply hear the sound.


    Another question I have is: How to I make soldiers sit down? What's the script for that?

    And finally, how do I save all my created missions as a campaign?

    EDIT: Another thing I wonder!

    1. How do I create text conversations ingame?

    2. I am currently creating a mission where you have to find a POW. I use 'Trigger' to indicate when you find him. However, ammidiately after you've found him, I want a ''Move to'' point to pop up.. but how do I do that? This would mean that when you walk into the trigger area, a ''move to'' point would pop up.
    Last edited by Cyper; Feb 15 2011 at 11:52.

  2. #2
    Warrant Officer ck-claw's Avatar
    Join Date
    Oct 29 2005
    Location
    On The End Of A Bottle Of Cider-Somerset - UK
    Posts
    2,650
    Quote Originally Posted by Cyper View Post

    I placed a map called ''Sound'' in that folder, containing a file called ''ageofwar.ogg'' (it should be .ogg, right?) Then, I started the game and choosed the appropiate mission and used a trigger in the mission editor, and in ''on act'' i wrote ''playSound ageofwar".
    Been awhile since i put music into missions!

    When you say 'map' i assume you mean folder called 'sound' in the mission folder?
    Then within that a file called:- ''ageofwar.ogg'' ?
    Then instead of the 'on atc' part:- click 'effects' bottom left of the trigger!
    Then under one of the options-might be track? if you've setup the desription.ext correct you should see you .ogg sound file listed and select that!


    How Ppl Treat Me Is Their Path, How I Respond Is Mine...

    Quote Originally Posted by Artisanal View Post
    Yet another white-knight who parachuted himself into the thread without using the search function.

  3. #3
    Staff Sergeant
    Join Date
    Jan 12 2010
    Location
    Umeå, Sweden
    Posts
    365
    Author of the Thread
    Quote Originally Posted by ck-claw View Post
    Been awhile since i put music into missions!

    When you say 'map' i assume you mean folder called 'sound' in the mission folder?
    Then within that a file called:- ''ageofwar.ogg'' ?
    Then instead of the 'on atc' part:- click 'effects' bottom left of the trigger!
    Then under one of the options-might be track? if you've setup the desription.ext correct you should see you .ogg sound file listed and select that!
    I downloaded and used ''ArmA editor'' when I created my Description.ext
    But it doesn't seems to work anyway. I can't understand what I'm doing wrong.

    Inside the mission map, I got the description.ext document, plus a folder called ''sounds'', containing the proper .ogg file. However, now I can't even load the mission. Instead the game closes down and I get the message:

    C:/Users/amnell/Documents/arma/missions/02%20-%20Operation%Dead%20Fox.afghan_village/description.ext, line 12: /CfgMusic/: 'S' encountered instead of '{'

    EDIT: After using google for quite a time, I found the solution to the problem; I just changed the .ogg files names, to a much shorter name, with no space,and it worked perfectly. So it was not the description.ext fault!
    Last edited by Cyper; Feb 27 2011 at 19:10.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •