The RPG Maker Resource Kit

RMRK RPG Maker Creation => VX Ace => VXA Scripts Database => Topic started by: Ventwig on April 09, 2012, 10:43:04 PM

Title: Ventwig's Enemy HP Bars
Post by: Ventwig on April 09, 2012, 10:43:04 PM
Ventwig's Enemy HP Bars - Version 1.2
By Ventwig

This topic is updated more: (Script is on pastebin, so it's updated on this topic, but script only)
http://www.rpgmakervxace.net/topic/2562-ventwigs-enemy-hp-bars-with-boss-bars/

Features
-Shows the HP for up to 8 enemies (default troop max)
-Two rows of bars, re-sizes to one when there's only one enemy
-Fixes itself when an enemy dies
-Also adds an option to add wait time between skills (to show off HP bars  )
-Can show a long boss bar for cooler boss battles!\
-Compatible with Neo Gauge Ultimate Ace!
-Compatible with Yanfly Engine Ace (Though Yanfly has an animated HP bar thing for that  )

Screenshots
(https://rmrk.net/proxy.php?request=http%3A%2F%2Fi.imgur.com%2Fomrqh.jpg&hash=8084ed7e3d9116bff36fe2b5acc5a3cd10e9f55a)
(https://rmrk.net/proxy.php?request=http%3A%2F%2Fi.imgur.com%2FTUXc4.jpg&hash=6bade7b8c1363adf908c20f07bf42f913578231d)
In version 1.2, boss HP bars!

Neo Gauge Ultimate Ace
Plug and play gauges!
http://rmrk.net/inde...p?topic=45005.0
By Wortana originally(in VX), translated to Ace by Pacman

How to Use
Copy into materials, but above main.
Place above Neo Gauge Ultimate Ace if used.
Almost plug and play, just the switch needs to be ON for the window to show,
Setup for bossbars in the script

Script
The script is updated on pastebin:
http://pastebin.com/KK6zx1i3

FAQ
Q: Why won't status icons show?!
A: That's a plan for an update. Can't be THAT hard

Q: Why isn't my boss bar showing?
A: Make sure the boss was the first enemy you put in the troop, and make sure you set up the bosses right in the customization

EXTRA
Thatnks to Lyan for pointing it out, you can set the y of the window to 0 and just
remove the battlelog lines so they don't overlap, or you could just
set the MSG_CURRENT_ACTION to false so it won't keep showing "Eric Attacks!"

Also, it IS possible to have more than one boss monster, but the hp bar will only show for the first one.
Also, if you place two of one boss with the same id (Werewolf A, Werewolf , when werewolf A dies,
Werewolf B will have a boss hp bar as long as Werewolf B is the second troop member.

When Werewolf A is alive, Werewolf B will have a small HP bar, though


Credit and Thanks
-Me, Ventiwg
-Shaz helped me out with refreshing the hud and simplifying it.

Updates
Version 1 (Apr 8, 2012) - Release
Version 1.2 (Apr 9, 2012) - Boss HP bars!
Version 1.21 (Apr 9, 2012) - Hidden HP!
Version 1.2 (Apr 9, 2012) - Reverted back, hidden HP was buggy

Update Plans
-Showing enemy status via icons.
-Option to show MP
-Any suggestions would be considered

Script is updated here: http://www.rpgmakervxace.net/topic/2562-ventwigs-enemy-hp-bars-with-boss-bars/
Or post suggestions there, too :)