Get an Epic Experience with Premium

Van32's CombatMusic

Audio & Video Login to Add Favorites
  • 1 Like
  • World of Warcraft
  • 335 Monthly Downloads
  • Supports: 6.0.2
  • 15,467 Total Downloads
  • Updated 10/11/2014
  • Created 03/16/2010
  • 18 Favorites
  • Project Site
  • Comments
  • Release Type: Release
  • License: All Rights Reserved
  • Newest File: release_v5.3.4
or
Support development! **
Donate

About Van32's CombatMusic

About

Van32's CombatMusic, or just CombatMusic is an addon that you can use to bring that RPG feel back to your World of Warcraft experience! It helps you by automatically playing music you choose when you get into fights ingame!

Important!

This addon is not distributed with any music files, as it would be copyright infringment. You will have to provide your own music following the instructions found in the README

You're not required to, but please donate. Buy me a coffee so I can make the addon better for everyone!

News

As things stand right now, it seems that CombatMusic will not be updatable for the foreseeable future. There is a bug with PlayMusic() where it will no longer play custom music files at all. I will let you know if something changes.

You are going to have to convert your entire media setup with CombatMusic to .ogg files as things stand right now. I hope this gets fixed soon

Have a suggestion? Found a bug in the AddOn? Follow this link to submit a ticket!

FAQ

Where'd Pet Battle support go?

  • It's been temporarily removed with version 5 because I wanted to get something out there now, instead of a while from now. I need to figure out exactly how I want to implement it and it's configuration before moving ahead with it. Expect to see it in the next major release though!

My CombatMusic doesn't play songs when I enter Combat! HALP!

  • All right, did you read the README first?
  • Check to make sure your songs are set up properly. You have to put them in Interface/Music, not in the CombatMusic folder, and they need to be named properly, or CombatMusic won't see them!
  • If they still don't work, submit a ticket!

Are there any addons this one doesn't work with?

  • Right now, yes. There's another addon called CoolStealth that CombatMusic is incompatible with.
  • Any addon that tries to do the same thing as CombatMusic is also more than likely incompatible with it.

Are you going to add mounted/per-zone music options?

  • No. The addon is called CombatMusic. To have that would not make sense. I want to keep it simple for the end-user (That would be you.) to set up and use. Having to add the files, and rename them for all the zones is too much.

Why 'Interface/Music' and not 'Interface\Addons\Van32s_CombatMusic\'?

  • Because?
  • No really. I took into consideration the Curse Client deleting all of your music files every time I updated the addon. Which it would do, if I stored them in it's directory.

Features

Overview

CombatMusic is designed, first and foremost, to play music when your character is in combat. It can do this in a variety of ways, with as many songs as you like.

The add-on is designed to tell the difference between a monster that is a boss, or not, and can play music appropriate to the encounter. It will pick songs randomly from your list of songs, or you can tell it to pick specific songs, it doesn't matter.

The main thing is; there's no playlists to set up, no code needs to be changed to make the addon run, it just works.

Want to see CombatMusic in action? Want to see what it really does? Go and check out this YouTube video!

In Combat

CombatMusic, when you enter combat, will first check to see what you or your focus has targeted. This is how it knows if you're fighting a boss or not. It checks those two, against a variety of different things, starting with your custom "BossList", a list of NPC names, and music, that you've set up for it. If it doesn't find it there, It'll check to see if it should play something from the "Bosses" folder, or from the "Battles" folder instead.

After Combat

After Combat, one of three things can happen:

  1. If you lost, CombatMusic will play the Game Over song.
  2. If it was a boss, it'll play your fanfare!
  3. Otherwise, it'll just fade out the music.

Other uses

CombatMusic won't just play the victory fanfare when you beat a boss, it'll play it for you when you level up as well... It'll also play the game over song whenever your character dies, not just during a fight... (My main's heard it more than 2000 times, if that's any reference.)

Commands

There's been a few extra commands added in since version 5.0, they're listed here.

CommandEffect
/cmOpens the options menu, main slash command
/cm challengeActivates Challenge mode
/cm level <x>Sets the 'dungeon level' for calculating bosses to x where x is between 1 and the level cap.
/cm level resetResets the 'dungeon level' to your current level.

This addon, and it's code files (excluding any included libraries, which are used with permission.) are the copyrighted material of Vandesdelca32, and are given to you to use and modify for personal use only. You may not redistribute any part of this addon, modified or original, without the author's express permission.

------------------------------------------------------------------------
r523 | vandesdelca32 | 2014-10-11 20:34:00 +0000 (Sat, 11 Oct 2014) | 1 line
Changed paths:
   A /tags/release_v5.3.4 (from /trunk:522)

Tagging latest stable build
------------------------------------------------------------------------
r522 | vandesdelca32 | 2014-10-11 20:32:29 +0000 (Sat, 11 Oct 2014) | 1 line
Changed paths:
   M /trunk/src/combatEngine.lua

Removed some debug messages.
------------------------------------------------------------------------
r520 | vandesdelca32 | 2014-10-11 20:24:07 +0000 (Sat, 11 Oct 2014) | 3 lines
Changed paths:
   M /trunk/src/combatEngine.lua

Implemented a working solution to the problem of music cutting out after a loading screen. Music will now only cut out during a loading screen, though the same song will not resume from where it left off when the loading screen is complete (There is no way to do this in the WoW API)

Fixes a bug related to instance encounters that cross one or more loading screens, where the music would revert to default ingame music for that area
------------------------------------------------------------------------
r519 | vandesdelca32 | 2014-10-11 17:15:09 +0000 (Sat, 11 Oct 2014) | 1 line
Changed paths:
   M /trunk/src/combatEngine.lua

Reverting revision 518, as it seems this task is actually impossible in the current API state. If anyone knows a way to do this, I would appreciate it.
------------------------------------------------------------------------
r518 | vandesdelca32 | 2014-10-11 06:53:36 +0000 (Sat, 11 Oct 2014) | 3 lines
Changed paths:
   M /trunk/src/combatEngine.lua

Music will now play if you are in combat when a loading screen completes. This should fix a 'bug' where music would stop playing during the Garrosh  Hellscream encounter in Siege of Orgrimmar.

(Though this won't play the same song, the music will change every loading screen)
------------------------------------------------------------------------

Comments

First Previous Page 6 of 11 Next Last
  • #76

    The song files do have to be named Battle1.mp3, Battle2.mp3, ..., Battlei.mp3, where i is the highest numbered song in the folder. You have to make sure that you restart WoW if you rename, add, or delete any of the files inside it's folder.

    Also, make sure you have them in Interface\Music\Battles for your battle songs, and Interface\Music\Bosses\ for your boss songs!

    Sorry it took so long to get back to you, I've been dealing with a real-life issue :(

    -- Vandesdelca32
    -- Andaendis @ Wyrmrest Accord

  • #82

    Not a problem!
    I didn't realize it would be a problem, as I usually muck up all my settings so I can see file extensions, for one.

    I don't realize that people actually use thier computer setups differently, so there you go. Sorry for the confusion, and glad to hear you got it working.

    -- Vandesdelca32
    -- Andaendis @ Wyrmrest Accord

  • #81
    Quote from Vandesdelca32 »

    If file extensions are hidden, then your files should just say "Battle1", "Battle2", "Battle3" ... If that's the case, then I have ABSOLUTELY No idea why they're not working.

    That's what I meant, sorry.


    Aha! That was my problem, I had the file extensions named but I was still naming them .mp3 so when I named them just Battle1 and Boss1 ect, it works fine now, thank you very much for your help.

  • #80

    If file extensions are hidden, then your files should just say "Battle1", "Battle2", "Battle3" ... If that's the case, then I have ABSOLUTELY No idea why they're not working.

    That's what I meant, sorry.

    -- Vandesdelca32
    -- Andaendis @ Wyrmrest Accord

  • #79

    I double checked and made sure my file extensions was hidden and they are, the files are just named Battle1.mp3 and Boss1.mp3 ect, and when I double click them in the folder they play in Windows Media Player just fine, they was also mp3 files before putting the code after and still are so that shouldn't be a problem, and i'm putting them in C:\Program Files (x86)\World of Warcraft\Interface\Music\Bosses and \Battles

  • #78

    If you open any of your boss or battle songs in your favourite MP3-compatible program, such as iTunes, do they play music then...?
    I can't stress enough that the music files are not part of the CombatMusic folder, but two levels up. On most 64-bit machines, this is "C:\Program Files (x86)\World of Warcraft\Interface\" (I know you said that you have it correct, but it is a question I get asked a lot)

    The only other suggestion I have is, are the files not actually MP3 files..? WoW can only play MP3 and OGG files, and CombatMusic currently (I'm going to make it work for .ogg too) only looks for files with a .mp3 extension, unfortunately. If you changed the extension of the files, they probably won't work.

    You can always get a converting program for free on the internet, and convert them to a WoW-supported format

    One more thing, if you haven't manually told windows to show file extensions, your files, if they were MP3s originally, will be currently named "Battle1.mp3.mp3"... If you are using 'default' folder options, "Hide file extensions for known file types" is on, so you can't see that it actually has the ".mp3" already. I hope this helps! ( I added this to the FAQ, because I didn't realize that it would potentially be a problem! :( )

    Last edited by Vandesdelca32 on 2/28/2012 9:19:26 PM

    -- Vandesdelca32
    -- Andaendis @ Wyrmrest Accord

  • #77
    Quote from Vandesdelca32 »

    The song files do have to be named Battle1.mp3, Battle2.mp3, ..., Battlei.mp3, where i is the highest numbered song in the folder. You have to make sure that you restart WoW if you rename, add, or delete any of the files inside it's folder.

    Also, make sure you have them in Interface\Music\Battles for your battle songs, and Interface\Music\Bosses\ for your boss songs!

    Sorry it took so long to get back to you, I've been dealing with a real-life issue :(


    No problem at all, I'm sorry to hear that.  I had them named Battle1.mp3 ect first and it didn't work and those are the paths that I have, it's still not working for me, I have 3 battle mp3 all named Battle1 Battle2 and Battle3 and in the game i did the /cm command and did battles 3 to set it that I had 3 songs in that folder, I have 4 in Bosses and did the same thing for that.

  • #71

    Does this only play for elites or for every normal combat because boss music plays for elites and  as for normal combat the addon just makes the wow music louder. I've set everything up right with the folders for sure but I'm just wondering if I've configured it wrong... Please help QQ

    Last edited by lukyonyx on 2/18/2012 9:46:57 AM
  • #72

    It's supposed to. Send me a link to a paste of your CombatMusic settings, if you can. Pastebin or something will do. I can tell you if there's something the matter with your config if you do this

    (You can find the settings in your WoW directory at WTF/<ACCOUNT>/SavedVariables/CombatMusic.lua, just open it up in any text editor and copy them there.)

    The only other thing I can think of is that the files in the Battles/ folder of music either aren't there, or aren't named properly, or in the right folder... Check for a folder called Interface/Music/Battles, and make sure the files all have the same name "Battles" and then a number, and then ".mp3"

    -- Vandesdelca32
    -- Andaendis @ Wyrmrest Accord

  • #74

    Well, it's definately not your settings, I can assure you that. If you don't actually have any songs in the Battles folder, but have Battles set, or that song can't be found, that's what it will do, just play the blizzard music louder. It's essentially a feature. If you want to use the same songs for bosses and battles, you have to copy the songs used for bosses, to the battles folder as well, and name them "battles" or it won't work... The setup is a bit weird like that, but that was the easiest way I figured I could do it. (The original CombatMusic wasn't even it's own addon, it was a script in Hack.)

    -- Vandesdelca32
    -- Andaendis @ Wyrmrest Accord

  • #73

    Here's the settings from the wow directory:

    CombatMusic_SavedDB = {
    ["Enabled"] = true,
    ["SVVersion"] = "2",
    ["GameOver"] = {
    ["Enabled"] = true,
    ["Cooldown"] = 30,
    },
    ["AllowComm"] = true,
    ["Music"] = {
    ["Enabled"] = true,
    ["FadeOut"] = 5,
    ["numSongs"] = {
    ["Bosses"] = 3,
    ["Battles"] = 3,
    },
    ["Volume"] = 0.85,
    },
    ["Victory"] = {
    ["Enabled"] = true,
    ["Cooldown"] = 30,
    },
    ["LevelUp"] = {
    ["Enabled"] = true,
    ["NewFanfare"] = false,
    },
    }
    CombatMusic_BossList = {
    }

     

  • #69
    Quote from Vandesdelca32 »

    I believe it's a bug in the Blizzard interface, where if you have your music off by default, CombatMusic restores that state before starting the song again...

    So, for example, if you have Fading set to 10, and engage another mob, but your music is off by default, it will just play another song instead.

    Easy way to fix this if you don't like ingame music, is turn on the music option, and turn the music volume down to 0. CombatMusic will change the volume to whatever you told it to (/cm volume <0-1>). This works for me all the time, and I've come up with a little personal thing I do... See if I can keep the same song going through an entire instance.. (Bosses don't count! Default fade of 5s too!)

     

    Very awesome! Thanks a ton!!

  • #67

    First off I'd like to say I love this addon. Been using it for a long time now. =)

     

    One thing I was wondering: Is there any way to make the addon keep playing the same battle music if you're going from one mob to the other? I have my fade set to "10" right now and as soon as my character drops out of combat, if I attack another mob it just starts another song =/ It'd be really cool if it just brought the same song back up if it was still in the middle of fading. I don't know if it's a bug or just how the system works. Thanks =)

  • #68

    I believe it's a bug in the Blizzard interface, where if you have your music off by default, CombatMusic restores that state before starting the song again...

    So, for example, if you have Fading set to 10, and engage another mob, but your music is off by default, it will just play another song instead.

    Easy way to fix this if you don't like ingame music, is turn on the music option, and turn the music volume down to 0. CombatMusic will change the volume to whatever you told it to (/cm volume <0-1>). This works for me all the time, and I've come up with a little personal thing I do... See if I can keep the same song going through an entire instance.. (Bosses don't count! Default fade of 5s too!)

     

    -- Vandesdelca32
    -- Andaendis @ Wyrmrest Accord

  • #70

    Awesome!! tyvm!

  • To post a comment, please login or register a new account.
Login to Curse

Don't have an account? Create One.

Get an epic experience with Curse Premium
  • Faster addon downloads
  • Premium-Only Beta Giveaways
  • Ad-Free Curse experience
  • Premium Curse Client
  • and many More Features
  • Learn More »

VIP trip to SMITE World Championship