Save-Point
SephirothSpawn's Bars - Printable Version

+- Save-Point (https://www.save-point.org)
+-- Forum: Material Development (https://www.save-point.org/forum-8.html)
+--- Forum: Scripts Database (https://www.save-point.org/forum-39.html)
+---- Forum: RPGMaker XP (RGSS) Engine (https://www.save-point.org/forum-116.html)
+---- Thread: SephirothSpawn's Bars (/thread-2449.html)



SephirothSpawn's Bars - Raziel - 03-07-2008

SephirothSpawn's Bars
Version: 1.0

Introduction

An alternative to Cogwheel's Menu Bar's. It's also sexier. ;)

Features

Draws HP/SP/Exp and also parameters bars, whereever they are shown.

Screenshots

[Image: bar17un.th.png][Image: bar21el.th.png][Image: bar30te.th.png]

Script
Post this above main

Instructions

Just delete Cogwheel's bars and place this script above main. ^_^

FAQ

None so far.

FORUM ADMIN NOTE

DerVVulfman: "I added two lines into SephirothSpawn's script that prevents a problem when a statistic (such as SP) has 0 points.


Credits and Thanks

Credits and thanks to SephirothSpawn for the gradient bars script.

Author's Notes

Enjoy. :)


SephirothSpawn's Bars - sakhawat21 - 06-01-2010

I like your talking style! "It's also sexier. ;)" lol


SephirothSpawn's Bars - deValdr - 06-01-2010

You should make a list of reasons why this is more smexy than Cogwheel's


RE: SephirothSpawn's Bars - Iqus - 01-22-2013

I know this is one hell of an old post and the user isn't even in the forums anymore, but I got a question for anyone who can help me :/ Is there anyway to set a MAXIMUM value to the bar while representing the values? Say my character's parameters get to 255 tops, how can I make the bars to be fully filled when the stat reaches 255? Thanks beforehand and sorry again for reviving the undead :)


RE: SephirothSpawn's Bars - Taylor - 01-22-2013

Near the bottom of the script there's a line that goes draw_slant_bar(x, y + 18, para_begin, 999, 155, 4, para_color1, para_color2), simply edit the '999' to 255.


RE: SephirothSpawn's Bars - Iqus - 01-23-2013

Great! Thanks! =)


RE: SephirothSpawn's Bars - Omnizohar - 02-05-2013

Hi, first I'd like to say this is an amazing Bar script thats more prettier than Cogwheel's one but it seems like the script doesn't like it if any of my Actor's MaxSP is 0 at all times. I have certain classes that does not have any SP Growth and cogwheel's script never gave me any trouble xcept this one. Anyone would be kind enough to help out? Thanks in advance!


RE: SephirothSpawn's Bars - DerVVulfman - 02-05-2013

I guess Seph didn't account for that. Wow. You're the first person to notice that after all these years. In any case, I have a solution:

Place this bit of code on line 23, right above the # Draws Bar code. In doing this, the background for the bar will draw just fine. But it will exit if there is no value to send into the bar.
Code:
# Exit if bar is empty
    return if max==0

In any event, I just edited the script posted above and included the fix. I know Seph wouldn't mind.


RE: SephirothSpawn's Bars - Omnizohar - 02-12-2013

(02-05-2013, 06:11 PM)DerVVulfman Wrote: I guess Seph didn't account for that. Wow. You're the first person to notice that after all these years. In any case, I have a solution:

Place this bit of code on line 23, right above the # Draws Bar code. In doing this, the background for the bar will draw just fine. But it will exit if there is no value to send into the bar.
Code:
# Exit if bar is empty
    return if max==0

In any event, I just edited the script posted above and included the fix. I know Seph wouldn't mind.
Sorry for late reply [b]DerVVulfman[/b], been working all week and finally got sometime off but thanks a million for resolving the issue I have!

Edit: dunno why bbcode acted off but ohwell.