[*Exclusive] <+ [Neo-Gauge] ->, 3 colors gauge with outline~ + New HP/MP Gauge!! |
|
|
|
|
Apr 9 2008, 10:46 PM
|

Looking for scripter to hire? PM me *O*

Group: +Gold Member
Posts: 1,038
Type: Scripter
RM Skill: Undisclosed

|
Neo GaugeVersion 1.0 by Woratana Release Date: 09/04/2008 IntroductionHere is the script to make 3 colors gauge, and draw 3 levels outline. (You can choose to use outline or not though  ) I scripted it after saw some screenshots from my friend's XP game that using Cogwheel gauge, then I think VX should have other kind of gauge rather than normal gradient_fill_rect  You can use this in your game/script for other use by copy the Neo-Gauge part. And if you want to use it for HP/MP gauge, I've scripted that for you It's now support horizontal and vertical line. Feels free to edit it as you want, or ask me if you've any question about this script. FeaturesCODE # - Support horizontal/vertical gradient bar # - Draw 3 colors gradient / user can choose spot to draw second color # - Easy to setting gauge style # - 2 New methods to help edit bitmap ScreenshotSome of screenshots when I tested it:  < Test vertical gauge   ScriptsHere is Neo Gauge part~
neogauge15.txt ( 7.03K )
Number of downloads: 1359It contains method to draw neo gauge + some (maybe) useful methods for bitmap.  If you want to use Neo Gauge for HP/MP gauge in your game, then get this script too.
neohpmpgauge15.txt ( 3.08K )
Number of downloads: 1511It's using red for HP bar, and blue for MP bar, and you can easily change it. Just look for the lines that I commented in this script. ** If you are using Neo Gauge for limit break too, add this script below HP/MP Gauge part. CODE class Window_Base < Window HPMP_GAUGE_X_PLUS = HPMP_GAUHE_X_PLUS end InstructionPlace this script above main, and it will work fine  You can setup Neo-Gauge to the style you like in part CODE # NEO GAUGE SETTING # For HP/MP gauge script, there are some settings that you can change in. CODE # NEO HP/MP GAUGE SETTING # You can change gauge back color in this part: CODE #------------------------------------------------------------ # * Neo Gauge Back Color: Return back colors # Set Gauge back color here~ # #------------------------------------------------------------ Look for these 3 lines: CODE c1 = Color.new(0, 0, 0) # Black [Color1] c2 = Color.new(100, 100, 100) # Dark Gray [Color2] c3 = Color.new(200, 200, 200) # Light Gray [Color3] c1 is color in the left side, c2 is in the center, and c3 is in the right side. HP/MP gauge's colors are in these parts CODE # [Rewrite] * Draw HP gauge and CODE # [Rewrite] * Draw MP Gauge CompatibilityNo report for compatibility yet. However, I think the script part for HP/MP gauge may crash with other script that do something with: - draw_actor_hp_gauge- draw_actor_mp_gaugeAuthor's NotesFree for use in your non-commercial work if credit included. If your project is commercial, please contact me. Please do not redistribute this script without permission. And don't post this script out of http://rpgrevolution.com/ without permission.
__________________________
Check out my NEW blog!!! MVP (Most Valuable Poster) Award 2008 
|
|
|
|
|
|
|
|
|
Apr 12 2008, 10:17 AM
|

Looking for scripter to hire? PM me *O*

Group: +Gold Member
Posts: 1,038
Type: Scripter
RM Skill: Undisclosed

|
Thanks! :3 You can just copy the script in def draw_actor_hp_gauge from here: http://www.rpgrevolution.com/forums/index....post&id=545CODE gwidth = width * actor.hp / actor.maxhp cg = neo_gauge_back_color c1, c2, c3 = cg[0], cg[1], cg[2] draw_neo_gauge(x,y, width, HPMP_GAUGE_HEIGHT, c1, c2, c3) c1 = Color.new(139,0,0) # Dark Red c2 = Color.new(255,0,0) # Pure Red c3 = Color.new(255,255,0) # Pure Yellow draw_neo_gauge(x, y, gwidth, HPMP_GAUGE_HEIGHT, c1, c2, c3, false, false, width, 30) change line: CODE gwidth = width * actor.hp / actor.maxhp to CODE gwidth = (formula to calculate left HP/MP/whatever)
__________________________
Check out my NEW blog!!! MVP (Most Valuable Poster) Award 2008 
|
|
|
|
|
|
|
|
|
Apr 13 2008, 04:46 PM
|

Looking for scripter to hire? PM me *O*

Group: +Gold Member
Posts: 1,038
Type: Scripter
RM Skill: Undisclosed

|
@Kami no kitsune Done!  I hope you like it >_>~ CODE class Window_Base #------------------------------------------------------------ # * Overdrive Color # Set Overdrive back color here~ # #------------------------------------------------------------ def neo_gauge_overdrive(max) if max # Max Overdrive Gauge c1 = Color.new(255, 127, 0) c2 = Color.new(255, 255, 36) c3 = Color.new(255, 127, 0) else # Normal Overdrive Gauge c1 = Color.new(238, 238, 0) c2 = Color.new(218, 165, 32) c3 = Color.new(238, 238, 0) end return c1, c2, c3 end #=================================================================== def draw_actor_od_gauge(actor, x, y, width = 120) return unless actor.od_gauge_visible? gw = width * actor.overdrive / actor.max_overdrive cg = neo_gauge_back_color c1, c2, c3 = cg[0], cg[1], cg[2] draw_neo_gauge(x + HPMP_GAUGE_X_PLUS, y + WLH - 8 + HPMP_GAUGE_Y_PLUS, width, HPMP_GAUGE_HEIGHT, c1, c2, c3) if gw == width # Max? p 'max!' cg = neo_gauge_overdrive(true) else # Not Max~ cg = neo_gauge_overdrive(false) end c1, c2, c3 = cg[0], cg[1], cg[2] draw_neo_gauge(x + HPMP_GAUGE_X_PLUS, y + WLH - 8 + HPMP_GAUGE_Y_PLUS, gw, HPMP_GAUGE_HEIGHT, c1, c2, c3, false, false, width, 50) end end You need 2 scripts in the first post to make this run >_>~ place it above main. You can change overdrive bar color from: QUOTE def neo_gauge_overdrive(max) if max # Max Overdrive Gauge
# COLORS FOR MAX GUAGE c1 = Color.new(255, 127, 0) c2 = Color.new(255, 255, 36) c3 = Color.new(255, 127, 0)
else # Normal Overdrive Gauge # COLORS FOR NORMAL GUAGE c1 = Color.new(238, 238, 0) c2 = Color.new(218, 165, 32) c3 = Color.new(238, 238, 0)
end return c1, c2, c3 end Neo-gauge require 3 colors instead of 2 colors as normal gauge
__________________________
Check out my NEW blog!!! MVP (Most Valuable Poster) Award 2008 
|
|
|
|
|
|
|
|
|
Apr 13 2008, 07:42 PM
|

Level 5

Group: Member
Posts: 70
Type: Event Designer
RM Skill: Beginner

|
I think that I'm doing something wrong, because when i use this add-on for the overdrive I get an error about HPMP_GAUGE_X_PLUS being an uninitialized variable. I think I'm doing something wrong. I put this addon as a new script with the name 'Wora neo overdrive' above main and below the other two scripts. The exact error is CODE Script 'Wora neo overdrive' line 25: NameError ocurred. uninitalized constant Window_Base::HPMP_GAUGE_X_PLUS
__________________________
|
|
|
|
|
|
|
|
|
Apr 13 2008, 07:46 PM
|

Looking for scripter to hire? PM me *O*

Group: +Gold Member
Posts: 1,038
Type: Scripter
RM Skill: Undisclosed

|
@Endzeit Someone already ask me about this too.  I may do it. Not sure yet. @Kami Oh! XD That's because I mispell that word in this script, http://www.rpgrevolution.com/forums/index....post&id=545so, in the script above (HP/MP gauge part) change, HPMP_GAUHE_X_PLUS to HPMP_GAUGE_X_PLUS
__________________________
Check out my NEW blog!!! MVP (Most Valuable Poster) Award 2008 
|
|
|
|
|
|
|
|
|
May 19 2008, 12:21 PM
|

Group: Member
Posts: 1
Type: None
RM Skill: Undisclosed

|
Do you have a script that shows an action bar on the battle? Like a character turn bar, that fills up based on his agility status? Just like old ff battles
|
|
|
|
|
|
|
|
|
May 19 2008, 07:09 PM
|

Group: Banned
Posts: 0
Type: None
RM Skill: Undisclosed

|
I now only need to know how to get the overdrive script to work. Any help will be great thnx.
This post has been edited by TheSoupKitchen: May 19 2008, 08:42 PM
|
|
|
|
|
|
|
|
|
May 20 2008, 03:47 AM
|

Level 20

Group: Revolutionary
Posts: 405
Type: Event Designer
RM Skill: Skilled

|
@woratana WOOO-HOOO!!! Great Script mate! I love it!!!
BTW how is your quest script going? I want to use a good quest script so bad and you are our only hope. ^^
__________________________
Nobody dies a virgin. Sooner or later life f***s everybody.
|
|
|
|
|
|
|
|
|
May 20 2008, 03:32 PM
|

Group: Banned
Posts: 0
Type: None
RM Skill: Undisclosed

|
Ok nvm i got it working
This post has been edited by TheSoupKitchen: May 21 2008, 04:45 PM
|
|
|
|
|
|
|
|
|
May 21 2008, 06:16 PM
|
Level 4

Group: Member
Posts: 46
Type: None
RM Skill: Undisclosed

|
Can you make it compatible with DVV's Limitbreak script?
|
|
|
|
|
|
|
|
|
May 21 2008, 06:29 PM
|

Looking for scripter to hire? PM me *O*

Group: +Gold Member
Posts: 1,038
Type: Scripter
RM Skill: Undisclosed

|
Sure! try this  I haven't test, let me know it works or not~ CODE class Window_Base #------------------------------------------------------------ # * Overdrive Color # Set Overdrive back color here~ # #------------------------------------------------------------ def neo_gauge_overdrive(max) if max # Max Overdrive Gauge c1 = Color.new(255, 127, 0) c2 = Color.new(255, 255, 36) c3 = Color.new(255, 127, 0) else # Normal Overdrive Gauge c1 = Color.new(238, 238, 0) c2 = Color.new(218, 165, 32) c3 = Color.new(238, 238, 0) end return c1, c2, c3 end #===================================================================
def draw_actor_lb(actor, x, y, width = 120) return unless actor.lb_gauge_visible? gw = width * actor.limitbreak / LB_MAX cg = neo_gauge_back_color c1, c2, c3 = cg[0], cg[1], cg[2] draw_neo_gauge(x + HPMP_GAUGE_X_PLUS, y + WLH - 8 + HPMP_GAUGE_Y_PLUS, width, HPMP_GAUGE_HEIGHT, c1, c2, c3) if gw == width # Max? p 'max!' cg = neo_gauge_overdrive(true) else # Not Max~ cg = neo_gauge_overdrive(false) end c1, c2, c3 = cg[0], cg[1], cg[2] draw_neo_gauge(x + HPMP_GAUGE_X_PLUS, y + WLH - 8 + HPMP_GAUGE_Y_PLUS, gw, HPMP_GAUGE_HEIGHT, c1, c2, c3, false, false, width, 50) end end Before try it, read post #8 in this topic and change as I said in there first.
__________________________
Check out my NEW blog!!! MVP (Most Valuable Poster) Award 2008 
|
|
|
|
|
|
|
|
Guest_From_Ariel_*
|
May 22 2008, 09:40 AM
|
Guests

|
could it be made compatible with Mog basic menu plus's exp gauge ?
|
|
|
|
|
|
|
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:
RPG RPG Revolution is an Privacy
Policy and Legal
|
|