Get an Epic Experience with Premium

Van32's CombatMusic

Audio & Video Login to Add Favorites
  • 2 Likes
  • World of Warcraft
  • 576 Monthly Downloads
  • Supports: 6.0.3
  • 15,717 Total Downloads
  • Updated 10/28/2014
  • Created 03/16/2010
  • 20 Favorites
  • Project Site
  • Comments
  • Release Type: Release
  • License: All Rights Reserved
  • Newest File: release_v5.4.0
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

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.

------------------------------------------------------------------------
r536 | vandesdelca32 | 2014-10-28 23:31:04 +0000 (Tue, 28 Oct 2014) | 1 line
Changed paths:
   A /tags/release_v5.4.0 (from /trunk:535)

Tagging latest stable build
------------------------------------------------------------------------
r535 | vandesdelca32 | 2014-10-28 23:29:23 +0000 (Tue, 28 Oct 2014) | 4 lines
Changed paths:
   M /trunk/src/combatEngine.lua
   M /trunk/src/core.lua
   M /trunk/src/init.lua
   M /trunk/src/locale/enUS.lua
   M /trunk/src/options.lua

* Fixed another Find And Replace bug...
* In-game Music disabled warning will properly show once now, and properly detect that music is disabled.
* Changed Music Disabled to a chat message, instead of a static popup.
* Removed AddBossList localization to use default ADD instead
------------------------------------------------------------------------
r534 | vandesdelca32 | 2014-10-27 17:35:32 +0000 (Mon, 27 Oct 2014) | 1 line
Changed paths:
   M /trunk/src/init.lua

* Added localization string to music disabled pop-up.
------------------------------------------------------------------------
r533 | vandesdelca32 | 2014-10-27 17:20:47 +0000 (Mon, 27 Oct 2014) | 2 lines
Changed paths:
   M /trunk/src/core.lua
   M /trunk/src/init.lua

- CombatMusic won't keep re-enabling your music if you've turned it off ingame.
+ CombatMusic will now warn you with a dialog once per session when your music is disabled. This will happen the first time you enter combat.
------------------------------------------------------------------------
r532 | vandesdelca32 | 2014-10-27 08:59:35 +0000 (Mon, 27 Oct 2014) | 1 line
Changed paths:
   M /trunk/src/combatEngine.lua
   M /trunk/src/core.lua

* God I am such a derp with Find and Replace... Don't let me use it ever again. :P
------------------------------------------------------------------------
r531 | vandesdelca32 | 2014-10-27 08:57:24 +0000 (Mon, 27 Oct 2014) | 2 lines
Changed paths:
   M /trunk/src/core.lua

* Changed music system to use MP3 files again instead.
- Go away period, you're not wanted.
------------------------------------------------------------------------
r530 | vandesdelca32 | 2014-10-27 08:53:34 +0000 (Mon, 27 Oct 2014) | 2 lines
Changed paths:
   M /trunk/src/combatEngine.lua
   M /trunk/src/core.lua
   M /trunk/src/init.lua
   M /trunk/src/options.lua
   D /trunk/src/petbattles.lua

- Remove petbattles.lua It never did anything anyway...
* Changed copyright notices to reflect licence on Curse.
------------------------------------------------------------------------
r529 | vandesdelca32 | 2014-10-27 08:47:04 +0000 (Mon, 27 Oct 2014) | 2 lines
Changed paths:
   M /trunk
   M /trunk/src/locale/enUS.lua

* add Libs to svnignore.
- remove localization from debug versions.
------------------------------------------------------------------------
r528 | vandesdelca32 | 2014-10-19 08:06:14 +0000 (Sun, 19 Oct 2014) | 1 line
Changed paths:
   M /trunk/src/combatEngine.lua

* Optimized fading changes so it will no longer look up the setting for log fading every tick, only once at start of fade.
------------------------------------------------------------------------
r527 | vandesdelca32 | 2014-10-19 07:58:43 +0000 (Sun, 19 Oct 2014) | 1 line
Changed paths:
   M /trunk/src/combatEngine.lua

* Fixed a bug where selecting linear fading would cause the music to fade out instantly.
------------------------------------------------------------------------
r526 | vandesdelca32 | 2014-10-19 07:53:05 +0000 (Sun, 19 Oct 2014) | 2 lines
Changed paths:
   M /trunk/src/combatEngine.lua
   M /trunk/src/core.lua

* Fixed a bug where selecting "BOSSONLY" fadeout mode would cause music to never fade out.
+ Added option to toggle Logarithmic fading. With this option disabled, it will go back to the way CombatMusic used to do fading out, linearly. The sound level will constantly decrease over the course of the music's fade out. With Log mode on, it will fade the music out slower in the beginning and increase the amount the music fades down each tick, resulting in a curved volume level, but a sharp drop-off near the end.
------------------------------------------------------------------------
r525 | vandesdelca32 | 2014-10-18 08:12:36 +0000 (Sat, 18 Oct 2014) | 3 lines
Changed paths:
   M /trunk/src/CombatMusic.toc
   M /trunk/src/combatEngine.lua

+ UNTESTED: Fading can now be configured more thoroughly. You can now set when fading will occur: always, never, only for bosses, or only for regular fights.
- Song Fadeout slider can no longer be set to 0, Set Fade Mode to "Never" instead.
* Changed some localization strings, including labelling "All" as "Always" now, which is more grammatically correct...
------------------------------------------------------------------------
r524 | vandesdelca32 | 2014-10-15 23:49:31 +0000 (Wed, 15 Oct 2014) | 3 lines
Changed paths:
   M /trunk/src/CombatMusic.toc

Remove Version number from TOC, marking addon as Incompatible.

There is a bug currently in 6.0.2 that causes CombatMusic to fail to play any custom music at all. I will update it as soon as there is a confirmed fix to the PlayMusic bug
------------------------------------------------------------------------
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
  • #87

    I've just started to use this addon.  I've noticed that it does not play boss music in non heroic cata dungeons.  Is this working as intended or is this a bug?  I have not had time to check on other toons how it behaves.

    Last edited by Jayroo79 on 5/26/2012 11:32:35 PM
  • #88

    The way it checks is based on your and the mob's level. So if you were to go into dungeon geared for level 83 per se, at level 85, the level difference just isn't there (2 levels by the way)

    -- Vandesdelca32
    -- Andaendis @ Wyrmrest Accord

  • #91

    No, unfortunately... Something that I will be sure to add in the next version.

    -- Vandesdelca32
    -- Andaendis @ Wyrmrest Accord

  • #90

    Thank you.  Now it makes sense.  Lovely mod by the way.  Does it support multiple DING, Victory and GameOver files?

  • #89

    By two levels, I mean at level 85, the mob has to be level 87+ Elite to play boss music. (90+ for a non-elite)

    -- Vandesdelca32
    -- Andaendis @ Wyrmrest Accord

  • #83

    I've been using this add-on for quite some time and really love it! Fighting bosses in WOW is just that much more epic.

    There IS a slight bug with the 4.5.0 version, though, and I wanted to let you know about it.

    I only use this add-on for Boss fights. I have the Battle Music folder empty and have Battles turned off in-game with /cm battle off (or whatever it is, if that's not it). However, I noticed today that the regular WOW background music was fading off then suddenly turning back on again every time a fight was over. I originally thought it was my Zelda Loot Extended add-on, then I noticed that it wasn't the looting itself causing it, it was the end of combat.

    I went back to the 4.4.0 version and the issue was fixed right away. It just seems to be fading the music after combat no matter what, even if a certain battle type is disabled, instead of only when music from our CombatMusic folders is playing.

    Thanks for your hard work with this add-on.

  • #85

    Turns out the fix was right in front of me the entire time... This makes a panda cry, and me too, for not noticing... It was as easy as swapping two lines of code.

    Thanks for pointing it out, and expect to see your bug fixed in the next release.

    PS. (Thanks for the feedback! it's a great thing to know if users are unhappy with features or something's broken) 

    Last edited by Vandesdelca32 on 5/2/2012 3:55:57 AM

    -- Vandesdelca32
    -- Andaendis @ Wyrmrest Accord

  • #86

    Thanks for the Quick Fix!

  • #75

    I have been reading through these comments and tried everything, checked my combatmusic.lua and everything seems to be fine, I read the tutorial and did everything that you suggested to do, I have 3 songs in battle music which I named Battle1 through Battle3.mp3 and even tried nameing them Battles1 ect like you mentioned in one of these comments, I can't get the sound to work in the game though, I go out and fight monsters and the WoW music just fades out all way then comes back in really loudly, any suggestions?

  • #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

  • 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