Get an Epic Experience with Premium

Van32's CombatMusic

Audio & Video Login to Add Favorites
  • 2 Likes
  • World of Warcraft
  • 573 Monthly Downloads
  • Supports: 6.0.3
  • 15,714 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 7 of 11 Next Last
  • #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!

  • #65

    Would you consider using DBM-like criteria, or even the user's dbm, to recognise specific bosses and let us setup their specific music? You know, either use the same algorithmes to determine which boss it is, or determine it straight from DBM (if DBM loads "deathwing" timers etc., deathwing's specified music plays. Perhaps you'd even work with DBM's guys to make a DBM combatmusic pluggin?

  • #66

    That's actually a really good idea... At least for raids, but for the time being, I suggest focusing your tank and it will play boss music for that too.

     

    -- Vandesdelca32
    -- Andaendis @ Wyrmrest Accord

  • #62
    Cool addon, but would it be able to make it so that you would have different music when in mount, or even in different area's? at least that would make this addon even more awesome than it already is...
  • #63
    I will think about it. It was never really intended to be a feature of CombatMusic, hence the title. Perhaps as an add-on in the future...

    -- Vandesdelca32
    -- Andaendis @ Wyrmrest Accord

  • #59
    Hello, I love your addon, but I didn't comment "just" to say that, I have a question:

    Is it possible to choose a different song than "Victory" for LevelUp? If so: How to do that? If not: Will you consider to add such a function?
  • #60
    No, not currently. It wouldn't be hard at all to implement, I would just need to change the documentation to show it...

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