Now I know there has got to be a script that does this, I'm just clueless today when it comes to finding things...
What I'm looking for is a gauge much like the MP bar, but not to replace it. Like so
HP
MP
Custom Bar
I want to be able to set the growth and pull from this bar with the use of a skill. Much like Phantasy Star's Tech and Skill's.
As always thank you for your time good people of the internet. 🙂
A few pieces are required for this.
Some scripting knowledge:
Design of the bar's numerics:
- Character bindings ( will this be a statistic bound to a character? if so make sure to include statistics for it, and call the statistics in the same way the hp/mp bars do )
- Include skill note tags to pull from the bar's statistics. This can be a bit tricky, but i'm pretty sure its easier in Ace than normal VX.
- Changing the bound values ( make sure you have some sort of way to mutate the values )
Updating the bar:
- Redraw the bar based on the values, inside of the designated window.
-- bitmap.draw_rect(rect, color) should be sufficient for drawing a meter.
-- alter the rect to only draw a certain size bar.
- For active bars make sure you include it into an aliased update, otherwise including it into the refresh should be sufficient.
Make the bar modular:
- Create the methods in window_base and then call it from elsewhere to draw it. draw_new_bar(rect, color)->draws to current window bitmap by method design.
- Make sure to include it into the battle window in the section where you want it. This can be trickier than it sounds, but its not overly time consuming. Generally the results are immediate, and you can figure out ways to enhance on it very quickly.
Changing bar color:
- Choose the colors and such, make sure you logically fork the bar to display the colors depending how or when you want them to display.
Well darn, I'm lost. No scripting knowledge here. 🙁
Loos like it's a request for a script then..