How to add State Icons in the Battle Status Window

I'm not using any Battle plugins for my MZ project, I'd just like to know how to have more than 1 State Icon in the Status Window in the Battle Scene.

Right now there is only 1 that rotates between different States.
you'll need to find a plugin that does what you want, or request a new one if you don't find one.

only plugins can change the battlescreen that way.
you'll need to find a plugin that does what you want, or request a new one if you don't find one.

only plugins can change the battlescreen that way.
I'm just looking for which .js file I need to edit and what code to implement. As far as I know, there is no plugin that does this currently for MZ, not even VisuStella's States/Skills plugin.
that requires a bit more than just a few edits.

for example you can display more icons, but never all possible icons - so you'll still need to cycle if more states are placed then your assigned space on the screen allows.

besides, you should never edit the base files, you should always write a plugin to override the wrong base functions with new functions.
that requires a bit more than just a few edits.

for example you can display more icons, but never all possible icons - so you'll still need to cycle if more states are placed then your assigned space on the screen allows.

besides, you should never edit the base files, you should always write a plugin to override the wrong base functions with new functions.
Honestly, at this point, I would be happy with anything more than 1 icon.

2 would be nice, 3 would be better, and 4 would be outstanding. My project is not a State heavy game so 4 would be perfect.

I have a self made plugin where I have all my Battle edits so I'll just stick the code in there. I never edit the vanilla .js files. 🙂
O, that can work - but you should at least place a comment in the plugin folder that only x states are dispplayed and further ignored even if you only plan to use it for yourself - you might change your opinion a few years later, and then the note prevents you from wondering what is going on
O, that can work - but you should at least place a comment in the plugin folder that only x states are dispplayed and further ignored even if you only plan to use it for yourself - you might change your opinion a few years later, and then the note prevents you from wondering what is going on
Haha, good point! I've seen your name around the forums. If I'm not mistaken, you're a bit of a Java guru, is that true? And if so... think you could steer me in the right direction on this? I'd be eternally grateful.
no, I'm not - and it's javascript, not Java.
Java is to javascript like ham is to hamster - they start with the same letters but have nothing to do with each other.

However, I have a professional education in programming, and that means I can understand the structures even without knowing the exact code - that helps a lot.
But very few people here in the forum have a master's degree equivalent...

So I could tell you the structure, but neither the exact code nor where to place it. At least not without getting my reference books studied again, and for health reasons I don't have the time and concentration for that anymore (medically retired)
no, I'm not - and it's javascript, not Java.
Java is to javascript like ham is to hamster - they start with the same letters but have nothing to do with each other.

However, I have a professional education in programming, and that means I can understand the structures even without knowing the exact code - that helps a lot.
But very few people here in the forum have a master's degree equivalent...

So I could tell you the structure, but neither the exact code nor where to place it. At least not without getting my reference books studied again, and for health reasons I don't have the time and concentration for that anymore (medically retired)
Understood. Well, thank you for the input. It's good to at least know it's possible. I'll wait and hope someone wanders in here who can help me write this. 🙂
I'd just like to know how to have more than 1 State Icon in the Status Window in the Battle Scene.

Like this?
Spoiler
1674271303345.png
Plugin I just wrote for you. Very rough draft... & only 4 states displayed as you mentioned above

CTB_BattleStatusWindowStatesMZ: Click Here to Download
Like this?
Plugin I just wrote for you. Very rough draft... & only 4 states displayed as you mentioned above

CTB_BattleStatusWindowStatesMZ: Click Here to Download
THAT IS IT!!

I haven't tested this yet but when I do and it works, what name would you like me to use when I credit you in my game?

God bless you friend! 🙂
THAT IS IT!!
☺️

I haven't tested this yet but when I do and it works, what name would you like me to use when I credit you in my game?
No credit necessary really but if you do want to credit just credit under ct_bolt is good for me 🙂

Let me know how it goes when you test, seems to work nicely from my brief testing :popcorn:
☺️


No credit necessary really but if you do want to credit just credit under ct_bolt is good for me 🙂

Let me know how it goes when you test, seems to work nicely from my brief testing :popcorn:
Oh I'm definitely crediting you for this. I just tested and it works beautifully, just like your screenshot... and it works great with StellaVistu's States Plugin so I can even have the turn countdown numbers too. Absolutely beautiful friend!! 😀

Is there any possible way to get those icons to stack vertically? I can tinker around with it later tonight if you don't want to spend anymore time with this plugin. Either way, you have my sincere gratitude! 😀
Oh I'm definitely crediting you for this. I just tested and it works beautifully, just like your screenshot... and it works great with StellaVistu's States Plugin so I can even have the turn countdown numbers too. Absolutely beautiful friend!! 😀
Yay! That's great to hear ☺️

Is there any possible way to get those icons to stack vertically?
Yep added parameters to the plugin now so you can customize as needed & can also support as many states now as desired too 🙂

New Version:

Can even customize to make a 2 by 2+ grid even that looks like this:
Spoiler
1674274227811.png
Did that by doing this:
Spoiler
1674275205309.png

To have them stack vertically like this:
Spoiler
1674275554881.png
You could do something like this:
Spoiler
1674275595149.png

Either way, you have my sincere gratitude! 😀
No prob. Happy to help out ☺️
Yay! That's great to hear ☺️


Yep added parameters to the plugin now so you can customize as needed & can also support as many states now as desired too 🙂

New Version:

Can even customize to make a 2 by 2+ grid even that looks like this:
Did that by doing this:
To have them stack vertically like this:
You could do something like this:


No prob. Happy to help out ☺️
WHO are you and where did you come from?!? This is a god-tier plugin, friend, and more than I could ever ask for.

I noticed you have an Itch.io page. How can I support you? Can I donate some bucks for this on your Itch page?
WHO are you and where did you come from?!?
lol! :blush: Thank you :eswt:

This is a god-tier plugin, friend, and more than I could ever ask for.
Aww shucks thank you, I do what I can ☺️

I noticed you have an Itch.io page. How can I support you? Can I donate some bucks for this on your Itch page?
Sure thing ☺️ Donations are always appreciated.
If you ever want any commission work done too feel free to PM me 😉

Also updated again to include scaling option, just because idk lol
Spoiler
1674277369967.png

1674277383715.png
I know why you added scaling, because you're a god-tier programmer, lol. I was going send you a donation in the morning cause I'm in bed but realized I saved my credit card on Itch.io so there you go.

I'll definitely be sending you a PM on here for commission work in the future. I'm a graphic designer with little JS experience so I could really use someone like you.

If you ever need a Photoshopper let me know. 🙂 You'll be hearing from me again soon I'm sure. Thanks again for this!
I know why you added scaling, because you're a god-tier programmer, lol.
lol :blush: ☺️

I was going send you a donation in the morning cause I'm in bed but realized I saved my credit card on Itch.io so there you go.

I'll definitely be sending you a PM on here for commission work in the future. I'm a graphic designer with little JS experience so I could really use someone like you.
Thank you, much appreciated ☺️

If you ever need a Photoshopper let me know. 🙂 You'll be hearing from me again soon I'm sure. Thanks again for this!
Awesome sounds great! Very welcome!

Adding another couple features now I think, just really toying around with ideas now honestly lol

State overlays/animations on the state icons...


thoughts? Seems like it could be a cool effect & thinking I'll also make an option to be able to choose both image files & could be separate from the standard iconset & states image files

Edit:
v1.20 Release now does have an option to use state overlays 😉
Spoiler
1674283004260.png

oh & forgot to mention and not sure if you already knew but every parameter can be javascript

Next versions I think I will make options for the image files and cell data.
(sadly I guess I need to go to sleep now though so I can wake up on time for work in the morning.. retail life *sigh* lol)
lol :blush: ☺️


Thank you, much appreciated ☺️


Awesome sounds great! Very welcome!

Adding another couple features now I think, just really toying around with ideas now honestly lol

State overlays/animations on the state icons...


thoughts? Seems like it could be a cool effect & thinking I'll also make an option to be able to choose both image files & could be separate from the standard iconset & states image files

Edit:
v1.20 Release now does have an option to use state overlays 😉

oh & forgot to mention and not sure if you already knew but every parameter can be javascript

Next versions I think I will make options for the image files and cell data.
(sadly I guess I need to go to sleep now though so I can wake up on time for work in the morning.. retail life *sigh* lol)

Does your brilliance know no end? Seriously this is incredible. I can see alot of uses for this. VisuStella charges $8 for a plugin that just does the State effects and yours does so much more. Perhaps you should charge for this too. 🙂
no, I'm not - and it's javascript, not Java.
Java is to javascript like ham is to hamster - they start with the same letters but have nothing to do with each other.

However, I have a professional education in programming, and that means I can understand the structures even without knowing the exact code - that helps a lot.
But very few people here in the forum have a master's degree equivalent...

So I could tell you the structure, but neither the exact code nor where to place it. At least not without getting my reference books studied again, and for health reasons I don't have the time and concentration for that anymore (medically retired)
This is a really great explanation, before I didn't understand the difference between javascript and Java. I hope everything is going well with your health. Thank you!

Original thread: https://forums.rpgmakerweb.com/threads/how-to-add-state-icons-in-the-battle-status-window.154288/