Tested the new version, and all seems to be in working order. The only thing I don't like is the fact that the music continues to play after the boss has been killed. It's sort of a back and forth between wanting to keep the music consistent for if the boss moves too far away for the health bar to appear (Ender Dragon...), versus wanting the music to stop playing when the boss isn't actually around for there to be a need for it. I enjoy fighting the WitherBoss, and often kill it in less than three minutes, if not under a minute. It would be odd to have the boss music playing for so long after it's been killed. The only solution I can see as current would be to make a perfect-looping track that's less than a minute in length.
So the system will only work with mobs that have a health bar, or would it pick up on any entity that you make a folder for in the config? I say this because not all boss mobs have health bars, depending upon the mod. I know the Umber Hulk from Dungeon Mobs doesn't, and it would certainly qualify as a miniboss, at least.
It may just have been the fact that I was in Survival when it started choosing the music selection, and I just happened to be in Creative when it started playing the song it chose. After that, it only played music in the 0/Creative directory, so it seems to be working.
Yeah, the way I set it up, it looks for a the boss health bar rendering on the screen, and plays music from the folder with the same name as the health bar.
I couldn't think of another way of telling if you were in a "boss fight". How do you suggest I should tell?
Yeah, the way I set it up, it looks for a the boss health bar rendering on the screen, and plays music from the folder with the same name as the health bar.
I couldn't think of another way of telling if you were in a "boss fight". How do you suggest I should tell?
I'm not sure how Battle Music does it, but I know there is some way to test whether an entity of a specific type is loaded in a chunk within a certain radius of the player. Other than that, I don't know. It would just be nice to be able to set up music to play for any mob. While the Umber Hulk may not be a boss, per se, the Phantom Knights from the Twilight Forest are, but don't have a health bar.
Currently, though, I'm more concerned with having the music stop when the boss is dead. Perhaps you could use the same interruptor you use for going to the menu to stop the boss music? A fade-out would also be welcome, but I'm not sure how difficult that would be to work in...
Tested the new version, and all seems to be in working order. The only thing I don't like is the fact that the music continues to play after the boss has been killed. It's sort of a back and forth between wanting to keep the music consistent for if the boss moves too far away for the health bar to appear (Ender Dragon...), versus wanting the music to stop playing when the boss isn't actually around for there to be a need for it. I enjoy fighting the WitherBoss, and often kill it in less than three minutes, if not under a minute. It would be odd to have the boss music playing for so long after it's been killed. The only solution I can see as current would be to make a perfect-looping track that's less than a minute in length.
I'm not sure how Battle Music does it, but I know there is some way to test whether an entity of a specific type is loaded in a chunk within a certain radius of the player. Other than that, I don't know. It would just be nice to be able to set up music to play for any mob. While the Umber Hulk may not be a boss, per se, the Phantom Knights from the Twilight Forest are, but don't have a health bar. Currently, though, I'm more concerned with having the music stop when the boss is dead. Perhaps you could use the same interruptor you use for going to the menu to stop the boss music? A fade-out would also be welcome, but I'm not sure how difficult that would be to work in...
Yeah, the music can stop when the health bar disappears. That wouldn't be too hard. I was just worried that if you look away from the boss the music would keep restarting itself, but I could put in another config option to enable/disable that. I don't think a fade-out would be viable (since I'm using the actual background music), but maybe a little "victory jingle" or victory song could play when you beat the boss (when the boss' health drops to 0 and the health bar disappears).
I can think of a way to have music play for any entity, but it would involve looping through every single loaded entity every game tick. That's probably what battle music does. And like you said before, I don't want to just copy them. Can you play different music for each boss with battle music?
Yeah, the music can stop when the health bar disappears. That wouldn't be too hard. I was just worried that if you look away from the boss the music would keep restarting itself, but I could put in another config option to enable/disable that. I don't think a fade-out would be viable (since I'm using the actual background music), but maybe a little "victory jingle" or victory song could play when you beat the boss (when the boss' health drops to 0 and the health bar disappears).
I can think of a way to have music play for any entity, but it would involve looping through every single loaded entity every game tick. That's probably what battle music does. And like you said before, I don't want to just copy them. Can you play different music for each boss with battle music?
You can set it to play music for any mob, or group of mobs. It just takes a bit more work with the config and such. Personally, I only care so much about having the music stop playing when the boss health bar displays as empty (it always does for a couple of ticks after the boss is dead), rather than have it play until the track ends. Getting the music to work for any mob is supplemental, but not quite so important.
As it turns out, C418 has made some music that suits a Sky dimension incredibly well...check out his Minecraft Volume Alpha and you'll see what I mean. If Mojang ever implements a Sky dimension, I don't think they'll need to comission him to make anything new for it.
maybe a little "victory jingle" or victory song could play when you beat the boss (when the boss' health drops to 0 and the health bar disappears).
So, not only was this mod already looking pretty cool, but if you do that!? My God, do you know how long I've been waiting for the means to have the Final Fantasy victory theme automatically every time I defeat a boss?
Also, I challenge you to add a feature that allows us to have songs/effects of our choosing play for specific achievements as well
Requests and excitement aside, well done. This is a mod I'd like to see develop further. There are a great number of places and moments where music could have been put in in Minecraft and you're doing a great job at finding them. Kudos.
Rollback Post to RevisionRollBack
Also, I've flipped shovel textures for Tinker's Construct and ExtraTiC for a more realistic-looking animation, check here: http://www.minecraft...hovel-textures/
You can set it to play music for any mob, or group of mobs. It just takes a bit more work with the config and such. Personally, I only care so much about having the music stop playing when the boss health bar displays as empty (it always does for a couple of ticks after the boss is dead), rather than have it play until the track ends. Getting the music to work for any mob is supplemental, but not quite so important.
There are 2 new config options. One cancels out the music when the health bar disappears. The other will play a "Victory" song or little jingle (or whatever you want to play) in a folder called Victory in the Bosses folder, or a Victory folder inside the specific boss' folder.
I'd actually suggest keeping the first one as false, and setting the second one to true, because the victory jingle cancels out the music anyway. You have the boss music "looping" until you kill the boss (even if you look away for a short time), but when the boss dies, the music ends with the jingle.
I just threw it in with a bunch of mods that add bosses, and unfortunately quite a few mods add their own heath bar system instead of using the default one, so it won't work with the bosses that have modded health bars. One example is Orespawn. All of the bosses in that mod use custom health bars.
Do you think boss music is worth adding to this mod if it's not always going to work (without pretty much copying what another mod does, which is silly)? Maybe it could just stay as a side feature, which only works with bosses that use the normal health bar.
As it turns out, C418 has made some music that suits a Sky dimension incredibly well...check out his Minecraft Volume Alpha and you'll see what I mean. If Mojang ever implements a Sky dimension, I don't think they'll need to comission him to make anything new for it.
Wow, that's a really nice album. I wish some of those were in the game (like the song Dog as a record, so you could find both records cat and dog).
I wonder if that exists as a mod: the ability to add custom records. I'm sure it does. =)
So, not only was this mod already looking pretty cool, but if you do that!? My God, do you know how long I've been waiting for the means to have the Final Fantasy victory theme automatically every time I defeat a boss?
Also, I challenge you to add a feature that allows us to have songs/effects of our choosing play for specific achievements as well
Requests and excitement aside, well done. This is a mod I'd like to see develop further. There are a great number of places and moments where music could have been put in in Minecraft and you're doing a great job at finding them. Kudos.
Well, I got it to play the victory song. =) I linked the file in the post above if you want to try it.
Music playing when you get achievements? That's a fantastic idea. =D I'll see how hard it would be to do.
Sweet, but the boss themes tend to take a while to start up and I've never gotten the victory theme to work. Where can I access the console to see what's going on?
Rollback Post to RevisionRollBack
Also, I've flipped shovel textures for Tinker's Construct and ExtraTiC for a more realistic-looking animation, check here: http://www.minecraft...hovel-textures/
Sweet, but the boss themes tend to take a while to start up and I've never gotten the victory theme to work. Where can I access the console to see what's going on?
There's a debug option in the config for the mod. Just enable that, then click on the Developer Console tab on your launcher once you've closed out of Minecraft after running the mod. You'll be able to see exactly what the mod was doing, and where the error came up.
There are 2 new config options. One cancels out the music when the health bar disappears. The other will play a "Victory" song or little jingle (or whatever you want to play) in a folder called Victory in the Bosses folder, or a Victory folder inside the specific boss' folder.
I'd actually suggest keeping the first one as false, and setting the second one to true, because the victory jingle cancels out the music anyway. You have the boss music "looping" until you kill the boss (even if you look away for a short time), but when the boss dies, the music ends with the jingle.
Excellent. This essentially adds everything I needed for the music functions in my modpack, and then some. There are myriad applications I can see for this, one of the biggest being used in a Metroid modpack in 1.7.2 in tandem with Metroid3.
I just threw it in with a bunch of mods that add bosses, and unfortunately quite a few mods add their own heath bar system instead of using the default one, so it won't work with the bosses that have modded health bars. One example is Orespawn. All of the bosses in that mod use custom health bars.
Do you think boss music is worth adding to this mod if it's not always going to work (without pretty much copying what another mod does, which is silly)? Maybe it could just stay as a side feature, which only works with bosses that use the normal health bar.
As I said before, having the ability to add custom music for every mob would be nice, but isn't necessary to this mod. The fact that you can set up music for just about everything else means that you can comfortably leave the job of adding music for every mob to BattleMusic.
Wow, that's a really nice album. I wish some of those were in the game (like the song Dog as a record, so you could find both records cat and dog).
Well, if you play my modpack after the next release, you'll see six or so of the unused tracks being used for a Sky dimension that I have in-the-works. "Door," "Chris," "Équinoxe," and "Excuse" for the survival themes, and "Droopy likes ricochet" and "Droopy likes your face" for the Creative themes. I'm looking through Volume Beta to find more music for the End and Creative themes for the Nether and End today.
Sweet, but the boss themes tend to take a while to start up and I've never gotten the victory theme to work. Where can I access the console to see what's going on?
You have to change some config options. I probably should have mentioned that, sorry. By default, it just lets the normal background music play, and has a chance of choosing what you put in the bosses folder.
You have to set the option "Play victory jingle when boss dies?" to true for the victory music to play.
If you set "Play only boss music when boss health bar present?" to true, it will still play the background music ambiently, but will only play tracks form the Bosses folder.
Setting "Play boss music immediately?" as true causes boss music (and only boss music, even if the above is false) to play when the boss' health bar appears, and loop as long as the health bar is still visible.
If "Cancel boss music when boss health bar goes away?" is true, when you look away from the boss and the health bar disappears, whatever music is playing will stop.
I'd recommend setting the first and third (victory music and the playing music immediately) to true, because the boss music will start playing when you start fighting the boss, and then when you beat the boss, the boss music will stop, and the victory music will play.
This essentially adds everything I needed for the music functions in my modpack, and then some. There are myriad applications I can see for this, one of the biggest being used in a Metroid modpack in 1.7.2 in tandem with Metroid3. As I said before, having the ability to add custom music for every mob would be nice, but isn't necessary to this mod. The fact that you can set up music for just about everything else means that you can comfortably leave the job of adding music for every mob to BattleMusic.
Great! I actually have another idea for a mod that might be really cool. The ability to add ambient sounds to different dimensions/biomes in the same way that this mod adds music. What do you think of that?
-snip-
Great! I actually have another idea for a mod that might be really cool. The ability to add ambient sounds to different dimensions/biomes in the same way that this mod adds music. What do you think of that?
Ambient sounds? Like cave droning and echoes in the Nether, and gusts of wind in the Sky dimension?
Ambient sounds? Like cave droning and echoes in the Nether, and gusts of wind in the Sky dimension?
....
Well echos would be very difficult to make because they would involve modifying and filtering the sound files that are currently playing. But that would be really cool.
Simple ambient sounds (looping or random) would be really simple to do though, especially with the experience I've had creating this mod.
Well echos would be very difficult to make because they would involve modifying and filtering the sound files that are currently playing. But that would be really cool.
Simple ambient sounds (looping or random) would be really simple to do though, especially with the experience I've had creating this mod.
You know what, just check your PMs. I think there's a better way to do this than just going back and forth on this thread and reloading the page every couple of minutes...
A random song you put in the Credits folder will play when the credit screen shows up. It should be just over 10 minutes long to cover the whole credits.
The folder names are based on the internal names for the achievements, but you should be able to figure out which is which. If you can't, you can look in the .lang files to see the in-game names.
Challenge complete. =P It can now play music when you get an achievement. It can play over top of the regular music, or cancel it out (option in the config file): http://www.mediafire...Choices-0.4.jar
The folder names are based on the internal names for the achievements, but you should be able to figure out which is which. If you can't, you can look in the .lang files to see the in-game names.
I'm going to assume this will work for modded achievements too, since everything else in the mod is inter-mod compatible.
Yeah, the way I set it up, it looks for a the boss health bar rendering on the screen, and plays music from the folder with the same name as the health bar.
I couldn't think of another way of telling if you were in a "boss fight". How do you suggest I should tell?
I'm not sure how Battle Music does it, but I know there is some way to test whether an entity of a specific type is loaded in a chunk within a certain radius of the player. Other than that, I don't know. It would just be nice to be able to set up music to play for any mob. While the Umber Hulk may not be a boss, per se, the Phantom Knights from the Twilight Forest are, but don't have a health bar.
Currently, though, I'm more concerned with having the music stop when the boss is dead. Perhaps you could use the same interruptor you use for going to the menu to stop the boss music? A fade-out would also be welcome, but I'm not sure how difficult that would be to work in...
Yeah, the music can stop when the health bar disappears. That wouldn't be too hard. I was just worried that if you look away from the boss the music would keep restarting itself, but I could put in another config option to enable/disable that. I don't think a fade-out would be viable (since I'm using the actual background music), but maybe a little "victory jingle" or victory song could play when you beat the boss (when the boss' health drops to 0 and the health bar disappears).
I can think of a way to have music play for any entity, but it would involve looping through every single loaded entity every game tick. That's probably what battle music does. And like you said before, I don't want to just copy them. Can you play different music for each boss with battle music?
You can set it to play music for any mob, or group of mobs. It just takes a bit more work with the config and such. Personally, I only care so much about having the music stop playing when the boss health bar displays as empty (it always does for a couple of ticks after the boss is dead), rather than have it play until the track ends. Getting the music to work for any mob is supplemental, but not quite so important.
So, not only was this mod already looking pretty cool, but if you do that!? My God, do you know how long I've been waiting for the means to have the Final Fantasy victory theme automatically every time I defeat a boss?
Also, I challenge you to add a feature that allows us to have songs/effects of our choosing play for specific achievements as well
Requests and excitement aside, well done. This is a mod I'd like to see develop further. There are a great number of places and moments where music could have been put in in Minecraft and you're doing a great job at finding them. Kudos.
Also, I've flipped shovel textures for Tinker's Construct and ExtraTiC for a more realistic-looking animation, check here:
http://www.minecraft...hovel-textures/
Okay, I've gotten it to cancel out:
http://www.mediafire.com/download/ec1636yaq4pqfd3/MusicChoices-0.4_beta2.jar
There are 2 new config options. One cancels out the music when the health bar disappears. The other will play a "Victory" song or little jingle (or whatever you want to play) in a folder called Victory in the Bosses folder, or a Victory folder inside the specific boss' folder.
I'd actually suggest keeping the first one as false, and setting the second one to true, because the victory jingle cancels out the music anyway. You have the boss music "looping" until you kill the boss (even if you look away for a short time), but when the boss dies, the music ends with the jingle.
I just threw it in with a bunch of mods that add bosses, and unfortunately quite a few mods add their own heath bar system instead of using the default one, so it won't work with the bosses that have modded health bars. One example is Orespawn. All of the bosses in that mod use custom health bars.
Do you think boss music is worth adding to this mod if it's not always going to work (without pretty much copying what another mod does, which is silly)? Maybe it could just stay as a side feature, which only works with bosses that use the normal health bar.
Wow, that's a really nice album. I wish some of those were in the game (like the song Dog as a record, so you could find both records cat and dog).
I wonder if that exists as a mod: the ability to add custom records. I'm sure it does. =)
Well, I got it to play the victory song. =) I linked the file in the post above if you want to try it.
Music playing when you get achievements? That's a fantastic idea. =D I'll see how hard it would be to do.
Also, I've flipped shovel textures for Tinker's Construct and ExtraTiC for a more realistic-looking animation, check here:
http://www.minecraft...hovel-textures/
There's a debug option in the config for the mod. Just enable that, then click on the Developer Console tab on your launcher once you've closed out of Minecraft after running the mod. You'll be able to see exactly what the mod was doing, and where the error came up.
Excellent. This essentially adds everything I needed for the music functions in my modpack, and then some. There are myriad applications I can see for this, one of the biggest being used in a Metroid modpack in 1.7.2 in tandem with Metroid3.
As I said before, having the ability to add custom music for every mob would be nice, but isn't necessary to this mod. The fact that you can set up music for just about everything else means that you can comfortably leave the job of adding music for every mob to BattleMusic.
Well, if you play my modpack after the next release, you'll see six or so of the unused tracks being used for a Sky dimension that I have in-the-works. "Door," "Chris," "Équinoxe," and "Excuse" for the survival themes, and "Droopy likes ricochet" and "Droopy likes your face" for the Creative themes. I'm looking through Volume Beta to find more music for the End and Creative themes for the Nether and End today.
There is, actually. There are two of them that I know of, but only one that's any good. The "Your records mod," found on PMC.
You have to change some config options. I probably should have mentioned that, sorry. By default, it just lets the normal background music play, and has a chance of choosing what you put in the bosses folder.
You have to set the option "Play victory jingle when boss dies?" to true for the victory music to play.
If you set "Play only boss music when boss health bar present?" to true, it will still play the background music ambiently, but will only play tracks form the Bosses folder.
Setting "Play boss music immediately?" as true causes boss music (and only boss music, even if the above is false) to play when the boss' health bar appears, and loop as long as the health bar is still visible.
If "Cancel boss music when boss health bar goes away?" is true, when you look away from the boss and the health bar disappears, whatever music is playing will stop.
I'd recommend setting the first and third (victory music and the playing music immediately) to true, because the boss music will start playing when you start fighting the boss, and then when you beat the boss, the boss music will stop, and the victory music will play.
Great! I actually have another idea for a mod that might be really cool. The ability to add ambient sounds to different dimensions/biomes in the same way that this mod adds music. What do you think of that?
Ambient sounds? Like cave droning and echoes in the Nether, and gusts of wind in the Sky dimension?
....
Well echos would be very difficult to make because they would involve modifying and filtering the sound files that are currently playing. But that would be really cool.
Simple ambient sounds (looping or random) would be really simple to do though, especially with the experience I've had creating this mod.
You know what, just check your PMs. I think there's a better way to do this than just going back and forth on this thread and reloading the page every couple of minutes...
http://www.mediafire.com/download/ap6hglso50j1lo5/MusicChoices-0.4_beta3.jar
A random song you put in the Credits folder will play when the credit screen shows up. It should be just over 10 minutes long to cover the whole credits.
Challenge complete. =P It can now play music when you get an achievement. It can play over top of the regular music, or cancel it out (option in the config file):
http://www.mediafire.com/download/0seaakj6c3l7ub0/MusicChoices-0.4.jar
The folder names are based on the internal names for the achievements, but you should be able to figure out which is which. If you can't, you can look in the .lang files to see the in-game names.
I'm going to assume this will work for modded achievements too, since everything else in the mod is inter-mod compatible.
Yep, works with modded achievements as well. =)
It was replaying achievement music when you re-loaded a world, but I've fixed that. I re-uploaded the file:
http://www.mediafire.com/download/0seaakj6c3l7ub0/MusicChoices-0.4.jar