MZ Plugin for custom gauges compatible with VisuStella Plugins

So, as a matter of fact, VisuStella Plugins are maybe the best for MZ but the expensive prices on most of them limits what people can actually use (even if I am planning on buying a bundle for the end of the year).
But, for my plugin request, I was looking for something compatible with the VisuStella free plugins that allows for custom gauges for each and every characters :
For example, some may not use the HP gauges, while others have gauges based on variables, etc.
Is there a way to get custom gauges then?
I have tried some other plugins but they either did nothing at all or were not compatible with VisuStella.
I hope a free solution may be found 🙂
Peruse https://casper-gaming.itch.io/

for the CGMZ Core @casper667 has some great functions built out including a drawgauge function that should help you here.

Example of how I'm using them

1697292711841.png
Peruse https://casper-gaming.itch.io/

for the CGMZ Core @casper667 has some great functions built out including a drawgauge function that should help you here.

Example of how I'm using them

View attachment 280080
Sorry but i am not finding anything on the cgmz core nor anything related for free on casper's page :/
Thanks @TRIDIUM I forgot casp has it linked out of itch for the core
Thanks @TRIDIUM I forgot casp has it linked out of itch for the core
sorry, but the plugin is still not showing those options (checked and I have latest version)
sorry, but the plugin is still not showing those options (checked and I have latest version)
Its not in the plugin parameter or help. Its basically just a function they made within the Core. Look for

CGMZ_drawGauge
Its not in the plugin parameter or help. Its basically just a function they made within the Core. Look for

CGMZ_drawGauge
and... how do i use it then?:rswt2:
By creating a rectangle and then drawing it using that function.
By creating a rectangle and then drawing it using that function.
My javascript knowledge is -1... Sorry :rswt2:
Hi, [CGMZ] Core is mostly just a library for my other plugins to use, it doesn't really modify the game in any noticeable way, nor does it provide many plugin commands or options since it is just meant to be a library of shared functions multiple other CGMZ plugins use, so I don't need to copy and paste the same code throughout all my plugins, they can just use the shared function from my core.

However, sometimes people might find these functions useful and can use them in their own plugins or JS parameter note tags in other peoples plugins, provided [CGMZ] Core is installed. To use CGMZ_drawGauge, you need to be in either your own plugin, which it sounds like you are not if you don't know javascript, or you need to be in a JS parameter in some other plugin in a window object that lets you inject your own custom JS code into the window. Assuming you meet those conditions, you can use the function by calling:
Code:
this.CGMZ_drawGauge(rect, rate, color1, color2, color0);
Rect is a rectangle object which represents the size and position of the gauge you want to draw. You can create a rectangle object with the following code:
Code:
const rect = new Rectangle(x, y, width, height);
Where x and y are the coordinates of the upper left corner of your gauge, width is how long you want the gauge to be, and height is how tall you want the gauge to be.

In the draw gauge function, rate is a number between 0 and 1 that determines the % filled the gauge should be. color1 and color2 are the gradient colors used to fill the gauge, and color0 is an optional parameter (you don't need to include it) which will be the background color for the gauge.

Keep in mind that this will only draw a static gauge somewhere on a window, it will not have any of the fancy flash animations or other features of battle gauges. I use this in, for example, my achievement plugin because the gauges there don't need to update like they do in battles.
Hi, [CGMZ] Core is mostly just a library for my other plugins to use, it doesn't really modify the game in any noticeable way, nor does it provide many plugin commands or options since it is just meant to be a library of shared functions multiple other CGMZ plugins use, so I don't need to copy and paste the same code throughout all my plugins, they can just use the shared function from my core.

However, sometimes people might find these functions useful and can use them in their own plugins or JS parameter note tags in other peoples plugins, provided [CGMZ] Core is installed. To use CGMZ_drawGauge, you need to be in either your own plugin, which it sounds like you are not if you don't know javascript, or you need to be in a JS parameter in some other plugin in a window object that lets you inject your own custom JS code into the window. Assuming you meet those conditions, you can use the function by calling:
Code:
this.CGMZ_drawGauge(rect, rate, color1, color2, color0);
Rect is a rectangle object which represents the size and position of the gauge you want to draw. You can create a rectangle object with the following code:
Code:
const rect = new Rectangle(x, y, width, height);
Where x and y are the coordinates of the upper left corner of your gauge, width is how long you want the gauge to be, and height is how tall you want the gauge to be.

In the draw gauge function, rate is a number between 0 and 1 that determines the % filled the gauge should be. color1 and color2 are the gradient colors used to fill the gauge, and color0 is an optional parameter (you don't need to include it) which will be the background color for the gauge.

Keep in mind that this will only draw a static gauge somewhere on a window, it will not have any of the fancy flash animations or other features of battle gauges. I use this in, for example, my achievement plugin because the gauges there don't need to update like they do in battles.
thank you! I wasn't expecting a reply by you directly but I will see what I can do!
Hi, [CGMZ] Core is mostly just a library for my other plugins to use, it doesn't really modify the game in any noticeable way, nor does it provide many plugin commands or options since it is just meant to be a library of shared functions multiple other CGMZ plugins use, so I don't need to copy and paste the same code throughout all my plugins, they can just use the shared function from my core.

However, sometimes people might find these functions useful and can use them in their own plugins or JS parameter note tags in other peoples plugins, provided [CGMZ] Core is installed. To use CGMZ_drawGauge, you need to be in either your own plugin, which it sounds like you are not if you don't know javascript, or you need to be in a JS parameter in some other plugin in a window object that lets you inject your own custom JS code into the window. Assuming you meet those conditions, you can use the function by calling:
Code:
this.CGMZ_drawGauge(rect, rate, color1, color2, color0);
Rect is a rectangle object which represents the size and position of the gauge you want to draw. You can create a rectangle object with the following code:
Code:
const rect = new Rectangle(x, y, width, height);
Where x and y are the coordinates of the upper left corner of your gauge, width is how long you want the gauge to be, and height is how tall you want the gauge to be.

In the draw gauge function, rate is a number between 0 and 1 that determines the % filled the gauge should be. color1 and color2 are the gradient colors used to fill the gauge, and color0 is an optional parameter (you don't need to include it) which will be the background color for the gauge.

Keep in mind that this will only draw a static gauge somewhere on a window, it will not have any of the fancy flash animations or other features of battle gauges. I use this in, for example, my achievement plugin because the gauges there don't need to update like they do in battles.
Idk if this is the appropriate place nor way to ask this but... Would you happen to be open to commissions?
I have used many of your plugins and they have been really useful thus far.
I have a really big project and, at this point, I have come to the point my knowledge is not enough, so...

Original thread: https://forums.rpgmakerweb.com/threads/plugin-for-custom-gauges-compatible-with-visustella-plugins.162005/