I've got a small (I think) request for a script.
I've created a second battle status window that I want to show monster data in.
I want to display the data as follows:
|----------------Window-----------------|
|Monster1 Name: Monster1 HP bar |
|Monster2 Name: Monster2 HP bar |
|Monster3 Name: Monster3 HP bar |
|Monster4 Name: Monster4 HP bar |
|----------------Window-----------------|
I won't ever have more than 4 monsters in a troop.
I can do some spriting (new or edits) title screen, game over, windowskin, etc. as payment. PM me or reply if you are interested.
Here is the current script for the window:
Thanks!
I've created a second battle status window that I want to show monster data in.
I want to display the data as follows:
|----------------Window-----------------|
|Monster1 Name: Monster1 HP bar |
|Monster2 Name: Monster2 HP bar |
|Monster3 Name: Monster3 HP bar |
|Monster4 Name: Monster4 HP bar |
|----------------Window-----------------|
I won't ever have more than 4 monsters in a troop.
I can do some spriting (new or edits) title screen, game over, windowskin, etc. as payment. PM me or reply if you are interested.
Here is the current script for the window:
Code:
#==============================================================================
# â– Window_BattleEnemyStatus
#==============================================================================
class Window_BattleEnemyStatus < Window_Base
#--------------------------------------------------------------------------
# Initialize
#--------------------------------------------------------------------------
def initialize
super(320, 320, 320, 160)
#super (304, 270, 400, 300)
self.contents = Bitmap.new(width - 32, height - 32)
self.contents.font.name = "Neuropol" # "Battle Status" window font
self.contents.font.size = 18
self.windowskin = RPG::Cache.windowskin(@windowskin_name)
#Added to erase window frame
#self.windowskin = RPG::Cache.windowskin("Empty.png")
@level_up_flags = [false, false, false, false]
refresh
end
#--------------------------------------------------------------------------
#--------------------------------------------------------------------------
def dispose
super
end
#--------------------------------------------------------------------------
#--------------------------------------------------------------------------
def level_up(actor_index)
@level_up_flags[actor_index] = true
end
#--------------------------------------------------------------------------
# Refresh
#--------------------------------------------------------------------------
def refresh
self.contents.clear
#monster info would be inserted here as in Window_BattleStatus
end
#--------------------------------------------------------------------------
# Update
#--------------------------------------------------------------------------
def update
super
if $game_temp.battle_main_phase
self.contents_opacity -= 4 if self.contents_opacity > 191
else
self.contents_opacity += 4 if self.contents_opacity < 255
end
end
end
Thanks!