Enemy HUD
Version: 1.1
Author: Pacman
Date: 10/4/2012
Version History
- <Version 1.0> 2012.02.12 - Original Release
- <Version 1.1> 2012.04.10 – Updated for ‘boss’ idea and better… code.
Planned Future Versions
- Somehow changing the tags of the enemies so that you can change the displays in-game.
Description
This script displays enemy stats (HP, MP, TP, stat icons) in the battle screen whilst selecting which enemy to target. It also includes special tags to prevent any of these stats from being drawn. And yes, enemies do have TP. New in 1.1, you can make the numbers of the enemy’s gauges hidden. This would be specifically useful for boss battles.
Features
- Displays enemies' HP, MP, TP (yes, enemies have TP), name and statuses in the window selection screen.
- Simple notebox tags to exclude any of these from being drawn.
- Simple notebox tag to prevent numbers being drawn on the gauges (also works for actors, because I’m lazy).
Screenshots
(https://rmrk.net/proxy.php?request=http%3A%2F%2Fi.imgur.com%2FQSAhP.jpg&hash=f9c495c3132a5fd273a147fcf89aad160c58a9f2)
(https://rmrk.net/proxy.php?request=http%3A%2F%2Fi.imgur.com%2F5FS4P.jpg&hash=1b07bdecdcd9e54532669811d41ade0133ca5ee9)
Some demonstrations of the differing displays of each of the enemies. Too lazy to put the boss feature in a screenshot :)
Instructions
Paste above main, at the top of your custom scripts list. Follow instructions in script header.
Script
Get it at Pastebin (http://pastebin.com/8uaRqEBx).
Credit
Thanks
- Pacman again, for the original VX script. :P
Support
Just post here or PM me if your problem is embarrassing.
Known Compatibility Issues
I overwrote a method in Scene_Battle, so for extra caution make sure it's near the top of your custom script list.
Demo
Nah.
Author's Notes
Check out my blag (http://pacmanvx.wordpress.com/)! It has blue! BLUE!
This will probably work well with Change Gauge Display (http://rmrk.net/index.php/topic,44968.0.html).
Restrictions
Free for use in non-commercial projects, with credit. For commercial projects (seriously?) contact me.
Updated the Pastebin link, I'll update the topic soon. Kinda can't be bothered right now ^_^
Also if you use the addon that blocks out the enemy name, I suggest this snippet to make selecting enemies easier.
module WHITEN_ENEMY
FLICKER = true
FLICKER_RATE = 45
end
class Window_EnemyHUD < Window_BattleStatus
def update
super
return unless active
type = :whiten
if WHITEN_ENEMY::FLICKER
@last_sprite_effect_type = enemy.sprite_effect_type
@change_counter = 0 if @change_counter.nil? or @change_counter >
WHITEN_ENEMY::FLICKER_RATE
@change = @change_counter > (WHITEN_ENEMY::FLICKER_RATE / 2)
type = @last_sprite_effect_type
type = :whiten if @change
end
enemy.sprite_effect_type = type
@change_counter += 1 if WHITEN_ENEMY::FLICKER
end
end