MZ Track Name Displayer For Battles

Hey all! Just was wondering if something like this exists for inside of a battle scene?
Or if anyone could tell me how to maybe modify the plugin to also show the name in the battle scene.
Thanks! 🙂
You would have to check the MZ script call list, but if there is a script to return the name of the current track in battle you could just have SRD HUDMaker Ultra display it.
You would have to check the MZ script call list, but if there is a script to return the name of the current track in battle you could just have SRD HUDMaker Ultra display it.
AudioManager._currentBgm.name;
is this correct to go into the 'code' section for the text object? I never use HUD Maker :/

UPDATE: Nope, that's not it 🙁
You would have to check the MZ script call list, but if there is a script to return the name of the current track in battle you could just have SRD HUDMaker Ultra display it.
Looking through the script calls, anything that would return the currently playing BGM as a text or string. Is there any way to convert an '(Audio Object)' to some form of text or name? Thanks 🙂
Worked for me in MV. I don't have MZ so I can't test the MZ version
Looking through the script calls, anything that would return the currently playing BGM as a text or string. Is there any way to convert an '(Audio Object)' to some form of text or name? Thanks 🙂
AudioManager._currentBgm.name is correct. However, it will throw an error if there is no current bgm, so I would use something like this:
JavaScript:
AudioManager._currentBgm?.name ?? "None"
AudioManager._currentBgm.name is correct. However, it will throw an error if there is no current bgm, so I would use something like this:
JavaScript:
AudioManager._currentBgm?.name ?? "None"
1702894480158.png

The box just shows up blank where the song name should be...
1702894553330.png

Is everything looking right? thanks.
View attachment 288459
The box just shows up blank where the song name should be...
View attachment 288460
Is everything looking right? thanks.
I literally showed you the exact code I put into HUDMaker in the the post I just linked in the last thread you made about this and showed you it worked.
View attachment 288459
The box just shows up blank where the song name should be...
View attachment 288460
Is everything looking right? thanks.
I don't use Hud Maker, so I couldn't tell you the proper way to set it up. All I can say is that the script that I provided is correct.

If you're interested, I have tossed together a little plugin that will display the name of the BGM at the beginning of battle. I have included some options so that you can adjust the position and appearance of the window, as well as the duration that it stays visible.

*edit* Updated plugin to version 1.10
I literally showed you the exact code I put into HUDMaker in the the post I just linked in the last thread you made about this and showed you it worked.
Sorry for not communicating this, but I did use that code, it's actually the first thing I tried. No luck. I guess it may be different for MV?
If you're interested, I have tossed together a little plugin that will display the name of the BGM at the beginning of battle. I have included some options so that you can adjust the position and appearance of the window, as well as the duration that it stays visible.
Thank you so much! Is it ok if I modify it a bit? (I will give credit, of course) 😀
Thank you so much! Is it ok if I modify it a bit? (I will give credit, of course) 😀
No problem. Feel free to modify it as much as you want. Use in commercial games is fine--just don't try to sell the plugin itself.
No problem. Feel free to modify it as much as you want. Use in commercial games is fine--just don't try to sell the plugin itself.
Thanks! Also, I've run into a bug with the plugin that I'm not sure how to fix.
When the window disappears, it leaves a giant cutout of where it was, obscuring other windows 🙁
1702912571975.png

As you can see, the skill description window is being cut off.
Any fixes?
Thanks! Also, I've run into a bug with the plugin that I'm not sure how to fix.
When the window disappears, it leaves a giant cutout of where it was, obscuring other windows 🙁
View attachment 288466
As you can see, the skill description window is being cut off.
Any fixes?
Oops. One of my other plugins was automatically fixing that problem, so I didn't notice. I have updated my earlier post with a new version of the plugin. Please give that a shot and see if it helps. I have also added some new plugin parameters, so please make sure to right click the plugin in your plugin manager, and choose "Refresh".
Oops. One of my other plugins was automatically fixing that problem, so I didn't notice. I have updated my earlier post with a new version of the plugin. Please give that a shot and see if it helps. I have also added some new plugin parameters, so please make sure to right click the plugin in your plugin manager, and choose "Refresh".
Thank you so much!! ^^
Your plugin is really useful 😀

Original thread: https://forums.rpgmakerweb.com/threads/track-name-displayer-for-battles.163942/