This is a locked, single-post thread from Creation Asylum. Archived here to prevent its loss.
No support is given. If you are the owner of the thread, please contact administration.
Introduction
RPG maker prior to XP have side view battle, XP took that away and just stick a picture near the stat bar. And now in VX, they took our battler graphics away completely! Now I just can't have that XD
So this script will displays battler's face graphic. It's just a simple script that I did while I was bored, but it's something to use while we wait for someone else to write something more awesome x_x
Features
You can see battler's face graphic
That's it XD
Screenshots
Demo
It's way toooo simple to have its own demo XD
Script
"Scriptttt~~~"
Code:
#==============================================================================
# ** Battler Face 1.0
# By Lettuce.
#------------------------------------------------------------------------------
# Allows you to see actor's face duing battle
#============================ Configuration ====================================
#Character's face transparency;P
CharOpa = 150
#==============================================================================
# ** Window_BattleStatus
#------------------------------------------------------------------------------
# This window displays the status of all party members on the battle screen.
#==============================================================================
class Window_BattleStatus < Window_Selectable
alias Lettuce_WBS_ini initialize
def initialize
super(0,0,416,128,1)
@column_max = $game_party.members.size
refresh
self.active = false
#self.opacity = 255
self.cursor_rect.set(0,self.index * 96, 90, 90)
end
def draw_item(index)
rect = item_rect(index)
rect.x += 4
rect.width -= 8
rect.height = 96
self.contents.clear_rect(rect)
self.contents.font.color = normal_color
actor = $game_party.members[index]
draw_actor_face2(actor,index*96,0,80)
draw_actor_name(actor,index*96 + 8, 0)
draw_actor_state(actor, index*96, 40, 20)
self.contents.font.size = 14
draw_hp_and_mp(actor, index*96, 50, 90)
self.contents.font.size = 17
#draw_actor_mp(actor, (index*3)+(index*90), 80, 70)
end
def update_cursor
if @index < 0
self.cursor_rect.empty
else
self.cursor_rect.set(index*96, 0, 90, 96)
end
end
end
#==============================================================================
# ** Window_Base
#------------------------------------------------------------------------------
# This is a superclass of all windows in the game.
#==============================================================================
class Window_Base < Window
def draw_actor_face2(actor, x, y, width = 96, height = 96)
draw_face2(actor.face_name, actor.face_index, x, y, width, height)
end
self.contents.fill_rect(x+5,y+35,width-10,7,back_color)
self.contents.gradient_fill_rect(x+7,y+37,(width-14)*actor.mp/actor.maxmp,3,mp_color1,mp_color2)
self.contents.draw_text(x+5,y+20,width-10,20,Vocab::mp,0)
self.contents.draw_text(x+5,y+20,width-10,20,actor.mp.to_s + "/" + actor.maxmp.to_s,2)
end
end
Instructions
Just put it under Material section, and you'll get what you see in the screenshot
Compatibility
Might not work with large party script >_<
Credits and Thanks
me :0
Terms and Conditions
Do whatever you like as long as you leave my name it it <3 Would be nice if you inform me about it though ^^[size="5"][/size][color="#FF0000"][/color]