Jump to content
Ventwig

VTS-Enemy HP Bars (With Boss Bars!)

Recommended Posts

Sorry, me stupid, here is

 

def draw_actor_hp(actor, x, y, width = 124)

draw_gauge(x, y, width, actor.hp_rate, hp_gauge_color1, hp_gauge_color2)

change_color(system_color)

draw_text(x, y, 30, line_height, Vocab::hp_a)

draw_current_and_max_values(x, y, width, actor.hp, actor.mhp,

hp_color(actor), normal_color)

end

Share this post


Link to post
Share on other sites

Script was edited with the 3 options!

There is a new number-functioned variable that lets you set it to either:

Draw the bar, word hp and both numbers

Draw the bar, word hp and current hp

Draw the bar and the word hp (looks weird without the word...)

 

There are probably bugs...ill update the main post though.

Can someone test that out, please?

Share this post


Link to post
Share on other sites

Hey, nice script man! This is exactly what I needed for my project!

 

1) I found one problem/bug: here's a screenshot of it

screenieie.png

What's taht arrow there? It's surely from the windowskin

it stays there for the whole duration of the battle

Is there a way to remove/fix it?

 

2) I have a suggestion for a feature to add

You should add a way to change DRAW_HP_NUMBERS in-game with a script call, that would be cool for example if you normally show enemies hp values in the game but in a boss fight (with only the boss in the troop) you don't want to show the boss' life amount.

Share this post


Link to post
Share on other sites

Hey, is there a way to make that some enemies don't have a Hud? If there isn't, do you plan on adding it on a future version?

Share this post


Link to post
Share on other sites

Hello, I really like your script.

if no other scripts I have or something, but when there are less than five enemies in battle, appears under the cursor bar tip, the arrow down as if indicating that more text on health bars of enemies .

and stays there throughout the Batlla.

 

someone else would that happen?

Share this post


Link to post
Share on other sites

This script is cool, but I must make a few suggestions.

 

1) Don't have the script alter Window_BattleLog. At all. Simply allow the user to change the coordinates of where the HP bars will show on the screen.

2) Allow users to show HP, MP, or TP.

3) Allow users to exclude enemies via note tags so those enemies will never show HP, MP, or TP bars.

 

With those features, I'd definitely use it.

Share this post


Link to post
Share on other sites

Thansk for all the comments everyone!

The sad thing is that i made this using the free trial and now have no means of editing it myself =/

 

Let me cover some suggestions/etc though:

For the arrow thing, i did notice that, and i, sadly, have no idea how to remove it XD

 

"change DRAW_HP_NUMBERS in-game with a script call"

I think you can do that without editing code, i dunno really XD

all my scripting was done with trial and error and winging it

 

With MP/TP, that was a planned update thing.

 

Exclusion via notetags, no idea how to use them XD

Share this post


Link to post
Share on other sites

That is a shame! I hope you find some means to continue your work! Is there any way you know of to make it only work for bosses,.. and not normal creatures? I love the idea of the Boss battle HP bar... but prefer to not clutter the screen when there is multiple creatures...

Any thoughts?

Share this post


Link to post
Share on other sites

As of now, no.

But i do have ideas on how to do that...if only the lite version had script suppourt!

Share this post


Link to post
Share on other sites

Updated as I have just recently bought the full version of RMVXA!

All the new features you guys have wanted! (Well, not all...)

 

Two things that are still needed:

1.Changing hp drawing method in a script call

2.Removing that annoying arrow -.-

 

For 1, i think i'll just change that into an in-game variable that the creator can switch, so, as you guys said, numbers can be shown normally but hidden for bosses! That will get done eventually.

 

For 2...help!

Share this post


Link to post
Share on other sites

I think this script would receive more popularity if you changed it so the HP bars appeared above the respective enemy

instead of a huge wall of text and numbers (somewhat of an eyesore...).

 

No offense, of course. I still appreciate your work.

Share this post


Link to post
Share on other sites

Yeah, i know. I agree.

But soooooooooo much work XD

 

I'm still so newb at scripting XD

But it does change in to way less of a wall if you use the default option, disabling the numbers and word "HP"

 

I saw one thats like that, though.

Edited by Ventwig

Share this post


Link to post
Share on other sites

Yeah, i know. I agree.

But soooooooooo much work XD

 

I'm still so newb at scripting XD

But it does change in to way less of a wall if you use the default option, disabling the numbers and word "HP"

 

I saw one thats like that, though.

You mind changing your original post to Levi Stepp, from ItsKouta since I changed my name? :3

 

Version 1.3 (Apr 12, 2012) - Fixed a horrible boss HP bug! Thanks ItsKouta Levi Stepp

Share this post


Link to post
Share on other sites

Okay Levi Stepp.

Got it done.

 

And new update!

Like people wanted, NO MORE UGLY ARROW!

 

Annnnnnnd......HOVERING BARS! <---im really happy about this.

It was actually really easy to do both! there were actually variables (or attr_blah-s) for those, whatever that means.

 

 

Any suggestions for future updates?

I'm thinking being able to change the drawing type mid-game, and a "scan" ability which will reveal hp/mp info slowly

 

Both are probably really difficult though

Edited by Ventwig

Share this post


Link to post
Share on other sites

Updated to work with my "VTS-Nova Battle Display" system!

 

Any suggestions anyone? I need something to do! The requests in this forum are too advanced for me... :D

Share this post


Link to post
Share on other sites

Hey there.

 

I would like to first say how awesome this script looks. PURE awesome.

 

I am, however, getting an error upon entering a battle:

 

"Script 'Enemy HP Bars' line 297: NameError occurred.

 

undefined local variable or method 'neo_guage_back_color' for

#<Window_Enemy_Hud:0xbf35998>"

 

Know what's up there?

Share this post


Link to post
Share on other sites

Yeah, that just means you dont have "Neo Gauge Ultimate Ace" when, in the configuration, you said you do.

 

It's on line 77

 

  NEO_ULTIMATE_ACE
 
make it false
 
It looks pretty ugly without it, though, i recommend just getting the script. It's in the OP.
 
And thanks :D

Share this post


Link to post
Share on other sites

Oh wow. Sorry about that, I missed the Neo Gauge bit. Works now.

 

Thanks!!

Share this post


Link to post
Share on other sites

hmmm....maybe its colliding with another script?

Or one thing you need to make sure is the neo gauge ultimate setting (in the config) is set properly if you do or do not have it!

Share this post


Link to post
Share on other sites

When I test, i get the same error as Capnmaf, but when I set it to false, it still doesn't work. Tried getting rid of all of my scripts, and it STILL doesn't work. Then I tried installing the stupid Neo Gauge thing and it STILL doesn't work. It's broken my game. Help!

 

 

Edit: I found another script. Thanks anyway! I'm sure it was difficult to make this, and I appreciate the work!

Edited by joeyhugg

Share this post


Link to post
Share on other sites

When I test, i get the same error as Capnmaf, but when I set it to false, it still doesn't work. Tried getting rid of all of my scripts, and it STILL doesn't work. Then I tried installing the stupid Neo Gauge thing and it STILL doesn't work. It's broken my game. Help!

 

 

Edit: I found another script. Thanks anyway! I'm sure it was difficult to make this, and I appreciate the work!

 

hmmm...sorry. I'm not sure what that problem is. 

But im happy you found another way to do it :)

Share this post


Link to post
Share on other sites

Update! For everyone who wanted it: NOTETAGS ARE NOW PART OF THE SCRIPT!

Plus a reverse mp feature.

 

Please report any bugs

Share this post


Link to post
Share on other sites

Update! For everyone who wanted it: NOTETAGS ARE NOW PART OF THE SCRIPT!

Plus a reverse mp feature.

 

Please report any bugs

 

 

 

I have a problem with the Boss Gauge. I keep getting this error whenever I add one.

 

Script 'VTS - Enemy HP Bars' line 366: NameError occured,

uninitialized constant EHUD::SHOW_MP

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.

×
Top ArrowTop Arrow Highlighted