Announcement

Collapse
No announcement yet.

Fix my custom music description.ext! (I Dun Goof'd)

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

  • Fix my custom music description.ext! (I Dun Goof'd)

    Here's the description.ext but I'm getting a random crash with an error about line 19, checked the RPT but nothing there related to this at all. From what I can tell, unless something has changed dramatically, there is nothing wrong with line 19. Any advice on where I messed up would be appreciated.

    Code:
    ///////////////////////////////////////////////////////////
    // Armed Assault Description File
    // Created with ArmA Edit - Version 1.3.4000
    ///////////////////////////////////////////////////////////
    
    showCompass = 1;
    showGPS = 1;
    showWatch = 1;
    respawn = "BASE";
    respawnDelay = 15;
    
    // NOTE: Your sound/radio files must be in the ...\mission\sound
    // folder and your music files in the ...\mission\music folder.
    class CfgMusic
    {
    	// List of tracks (.ogg files without the .ogg extension)
    	tracks[] = {Trouble In The Barracks};
    
    	// Definition for each sound
    	class Trouble In The Barracks
    	{
    		name = "Trouble In The Barracks"; // Name for mission editor
    		sound[] = {\music\Trouble In The Barracks.ogg, db + 0, 1.0};
    		titles[] = {0, ""};
    	};
    };
    If you can backtrace the problem, the consequences will never be the same.


    If the leader is filled with high ambition and if he pursues his aims with audacity and strength of will, he will reach them in spite of all obstacles.
    -Carl Von Clausewitz



    'The Great Game' -Blog on War in Afghanistan:

  • #2
    Re: Fix my custom music description.ext! (I Dun Goof'd)

    " around the file location and class name cannot have spaces... so it should read:

    Code:
    ///////////////////////////////////////////////////////////
    // Armed Assault Description File
    // Created with ArmA Edit - Version 1.3.4000
    ///////////////////////////////////////////////////////////
    
    showCompass = 1;
    showGPS = 1;
    showWatch = 1;
    respawn = "BASE";
    respawnDelay = 15;
    
    // NOTE: Your sound/radio files must be in the ...\mission\sound
    // folder and your music files in the ...\mission\music folder.
    class CfgMusic
    {
    	// List of tracks (.ogg files without the .ogg extension)
    	tracks[] = {TroubleInTheBarracks};
    
    	// Definition for each sound
    	class TroubleInTheBarracks
    	{
    		name = "Trouble In The Barracks"; // Name for mission editor
    		sound[] = {"\music\Trouble In The Barracks.ogg", db + 0, 1.0};
    		titles[] = {0, ""};
    	};
    };
    ---Bellicosity---

    Comment


    • #3
      Re: Fix my custom music description.ext! (I Dun Goof'd)

      d'oh, that got it. Thank you.


      If the leader is filled with high ambition and if he pursues his aims with audacity and strength of will, he will reach them in spite of all obstacles.
      -Carl Von Clausewitz



      'The Great Game' -Blog on War in Afghanistan:

      Comment

      Connect

      Collapse

      TeamSpeak 3 Server

      Collapse

      Advertisement

      Collapse

      Twitter Feed

      Collapse

      Working...
      X