GOHBSH(Get Over Here: Battle Status HUD)
+3
Light
crazedanimekid
Kyle?
7 posters
OmegaDev :: Coding Plaza :: RGSS2 (VX)
Page 1 of 1
GOHBSH(Get Over Here: Battle Status HUD)
GOHBSH
Maker: Kyle?
Made: 24/06/2010
Version: 0.3
Version Log:
V0.1 - Created
V0.2 - Fixed a BIG! Bug
V0.3 - Added more fetures
Introduction
This script allows you to change the font in
the Battle Status window and the size also it's
Opacity
Future Improvements
- Icon's next text - Done!
- Choose to use cursor or not - (Will Make soon )
Suggestions are welcome
How to Use
See Script
Screenshots(1)
Credits
See Script
Script
- Spoiler:
- Code:
#===============================================================================
# Get Over Here: Battle Status HUD
# Version: 0.3
# Made 24/06/2010
# Maker: Kyle?
# Credits: Dark Gaia and EvenAngels
#===============================================================================
#----------------------------------------------------------------------------
# Set Up
#----------------------------------------------------------------------------
module GOHBSH
Font_Size = 20 # 20 is defualt and Reccomended
Status_Font = ["Verdana", "Arial", "Courier New"] # From Yanfly Message Melody
Status_Window_Opacity = 255 # 255 is reccomended
ACom_Font = ["Verdana"] # This is the Actor Command Font
PCom_Font = ["Verdana"] # This is the Party Command Font
Fight_Icon = 1 # This is the icon used for the Party command "Fight"
Escape_Icon = 134 # This is the icon used for the Party command "Escape"
end
class Window_BattleStatus < Window_Selectable
#--------------------------------------------------------------------------
# * Object Initialization
#--------------------------------------------------------------------------
def initialize
super(0, 0, 416, 128)
refresh
self.active = false
self.opacity = GOHBSH::Status_Window_Opacity
def update_cursor
self.cursor_rect.empty
end
end
#--------------------------------------------------------------------------
# * Draw Item
# index : Item number
#--------------------------------------------------------------------------
def draw_item(index)
rect = item_rect(index)
rect.x += 4
self.contents.clear_rect(rect)
self.contents.font.color = normal_color
actor = $game_party.members[index]
draw_actor_name(actor, 4, rect.y)
draw_actor_state(actor, 114, rect.y, 48)
self.contents.font.color = hp_color(actor)
self.contents.font.size = GOHBSH::Font_Size
self.contents.font.name = GOHBSH::Status_Font
draw_actor_hp(actor, 174, rect.y, 120)
draw_actor_mp(actor, 310, rect.y, 70)
end
end
#==============================================================================
# ** Window_ActorCommand
#------------------------------------------------------------------------------
# This window is used to select actor commands, such as "Attack" or "Skill".
#==============================================================================
class Window_ActorCommand < Window_Command
#--------------------------------------------------------------------------
# * Object Initialization
#--------------------------------------------------------------------------
def initialize
super(128, [], 1, 4)
self.active = false
self.opacity = GOHBSH::Status_Window_Opacity
self.contents.font.name = GOHBSH::ACom_Font
self.contents.font.size = GOHBSH::Font_Size
end
#--------------------------------------------------------------------------
# * Setup
# actor : actor
#--------------------------------------------------------------------------
def setup(actor)
s1 = Vocab::attack
s2 = Vocab::skill
s3 = Vocab::guard
s4 = Vocab::item
if actor.class.skill_name_valid # Skill command name is valid?
s2 = actor.class.skill_name # Replace command name
end
@commands = [s1, s2, s3, s4]
@item_max = 4
refresh
self.index = 0
end
end
#==============================================================================
# ** Window_PartyCommand
#------------------------------------------------------------------------------
# This window is used to select whether to fight or escape on the battle
# screen.
#==============================================================================
class Window_PartyCommand < Window_Command
#--------------------------------------------------------------------------
# * Object Initialization
#--------------------------------------------------------------------------
def initialize
s1 = " " + Vocab::fight
s2 = " " + Vocab::escape
super(128, [s1, s2], 1, 4)
draw_item(0, true)
draw_item(1, $game_troop.can_escape)
draw_icon(GOHBSH::Fight_Icon, 0, 0)
draw_icon(GOHBSH::Escape_Icon, 0, 25)
self.active = false
self.opacity = GOHBSH::Status_Window_Opacity
self.contents.font.name = GOHBSH::PCom_Font
self.contents.font.size = GOHBSH::Font_Size
end
end
Last edited by Kyle? on Fri Jul 02, 2010 1:48 am; edited 1 time in total (Reason for editing : Updated)
Kyle?- Platinum Cookiez
- Posts : 500
Gald : 418
Stats
Cookies: 5
Re: GOHBSH(Get Over Here: Battle Status HUD)
Updated to Version 0.2
Kyle?- Platinum Cookiez
- Posts : 500
Gald : 418
Stats
Cookies: 5
Re: GOHBSH(Get Over Here: Battle Status HUD)
Updated to Version 0.3
Kyle?- Platinum Cookiez
- Posts : 500
Gald : 418
Stats
Cookies: 5
Re: GOHBSH(Get Over Here: Battle Status HUD)
Looks great.
Keep up the good work.
Keep up the good work.
crazedanimekid- Platinum Cookiez
- Posts : 501
Gald : 1277
Stats
Cookies: 0
Re: GOHBSH(Get Over Here: Battle Status HUD)
A legend... SUPERB. :3
Snacks- Bronze Cookiez
- Posts : 326
Gald : 1164
Stats
Cookies: 0
Re: GOHBSH(Get Over Here: Battle Status HUD)
Beatiful, nearly flawless!
Peva- Development Moderator
- Posts : 1281
Gald : 4414
Stats
Cookies: 0
Re: GOHBSH(Get Over Here: Battle Status HUD)
I copied your script into a txt file, and I'm looking at it confused.
Ummm...
And do you edit setup in Window_Actor_Command at all?
Ummm...
- Code:
class Window_BattleStatus < Window_Selectable
def initialize
blah_blah
def update_cursor
self.cursor_rect.empty
end
end
def draw_item(index)
method_stuff
end
end
And do you edit setup in Window_Actor_Command at all?
Last edited by IMP1 on Thu Jul 08, 2010 1:29 pm; edited 1 time in total
IMP1- Coding Moderator
- Posts : 503
Gald : 1399
Stats
Cookies: 5
Re: GOHBSH(Get Over Here: Battle Status HUD)
def initialize
blah_blah
Creative.
But is this script compatible Tatenkai's Sideview Battle System? Or any sideview at that?
blah_blah
Creative.
But is this script compatible Tatenkai's Sideview Battle System? Or any sideview at that?
moneymenace- Resource Moderator
- Posts : 538
Gald : 1337
Stats
Cookies: 0
Re: GOHBSH(Get Over Here: Battle Status HUD)
It works well
Peva- Development Moderator
- Posts : 1281
Gald : 4414
Stats
Cookies: 0
Re: GOHBSH(Get Over Here: Battle Status HUD)
For those wondering if it works with the Tankentai SBS, there's a really easy way to find out... It's called "trying it out".
IMP1- Coding Moderator
- Posts : 503
Gald : 1399
Stats
Cookies: 5
Similar topics
» Can anyone do me a battle system?
» Actor Face in Battle
» Simple Battle Icons
» Epicest battle contest
» Does anyone have any good battle music?
» Actor Face in Battle
» Simple Battle Icons
» Epicest battle contest
» Does anyone have any good battle music?
OmegaDev :: Coding Plaza :: RGSS2 (VX)
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum
|
|