anyone can help me to make that windows? THANK YOU :elswt:
Note : i dont need HP bar, only numbers.
Lv, name, hp, exp have white font. Not soft blue.
the windows box style same as default.
No need face or sprite image.
and btw, scripts i use for my menu and items projects:
Code:
#===============================================================================
# YIA Simple Menu (requested by GreyInvidia)
# By YesImAaron
#
# IF USED MUST CREDIT
# YesImAaron
#===============================================================================
# This script set's up a simple menu at the bottom center of the screen
# The only commands in the menu are Items Save and Exit.
#===============================================================================
#===============================================================================
module YIA
#===============================================================================
# XPOS = x position of the menu
# YPOS = y position of the menu
# WIDTH = width of the menu
#===============================================================================
XPOS = 130
YPOS = 180
WIDTH = 300
end
#===============================================================================
# EDIT PAST HERE AT YOUR OWN RISK
#==============================================================================
# ** Window_YIA_Menu
#------------------------------------------------------------------------------
# This set's up the command window
#==============================================================================
class Window_YIA_Menu < Window_HorzCommand
#--------------------------------------------------------------------------
# * Object Initialization
#--------------------------------------------------------------------------
def initialize(x, y, width)
@window_width = width
super(x, y)
end
#--------------------------------------------------------------------------
# * Get Window Width
#--------------------------------------------------------------------------
def window_width
@window_width
end
#--------------------------------------------------------------------------
# * Get Digit Count
#--------------------------------------------------------------------------
def col_max
return 2
end
#--------------------------------------------------------------------------
# * Create Command List
#--------------------------------------------------------------------------
def make_command_list
add_command(Vocab::item, :item)
# add_command(Vocab::save, :save)
add_command(Vocab::game_end, :game_end)
end
end
class Scene_Map < Scene_Base
#--------------------------------------------------------------------------
# * Call Menu Screen
#--------------------------------------------------------------------------
alias :yia_call_menu call_menu
def call_menu
yia_call_menu
Sound.play_ok
SceneManager.call(Scene_YIA_Menu)
Window_MenuCommand::init_command_position
end
end
class Scene_YIA_Menu < Scene_MenuBase
#--------------------------------------------------------------------------
# * Start Processing
#--------------------------------------------------------------------------
def start
super
create_command_window
end
#--------------------------------------------------------------------------
# * Create Command Window
#--------------------------------------------------------------------------
def create_command_window
@command_window = Window_YIA_Menu.new(YIA::XPOS,YIA::YPOS,YIA::WIDTH)
@command_window.set_handler(:item, method(:command_item))
@command_window.set_handler(:save, method(:command_save))
@command_window.set_handler(:game_end, method(:command_game_end))
@command_window.set_handler(:cancel, method(:return_scene))
end
#--------------------------------------------------------------------------
# * [Item] Command
#--------------------------------------------------------------------------
def command_item
SceneManager.call(Scene_Item)
end
#--------------------------------------------------------------------------
# * [Save] Command
#--------------------------------------------------------------------------
def command_save
SceneManager.call(Scene_Save)
end
#--------------------------------------------------------------------------
# * [Exit Game] Command
#--------------------------------------------------------------------------
def command_game_end
SceneManager.call(Scene_End)
end
#--------------------------------------------------------------------------
# * Return to Calling Scene
#--------------------------------------------------------------------------
def return_scene
SceneManager.call(Scene_Map)
end
end
Code:
=begin
#--------------------------------------------------------------------------
#Very Simple Item Menu Edit
#Version 1,0
#June 6, 2014
#By smallhobbit (or lemongreen)
#--------------------------------------------------------------------------
A simple edit to the item menu so it only shows Items and Key Items as well as
gets rid of the Help Text; also, only regular Items have numbers. Supposed to
emulate the item menu from "Mad Father"
Just paste it in above Main and it'll work. (though probably not with other
Item menu changing scripts)
=end
class Window_ItemCategory < Window_HorzCommand
#--------------------------------------------------------------------------
# * Get Window Width
#--------------------------------------------------------------------------
def window_width
Graphics.width/2
end
#--------------------------------------------------------------------------
# * Get Digit Count (changed number)
#--------------------------------------------------------------------------
def col_max
return 1
end
#--------------------------------------------------------------------------
# * Create Command List (Items & Key Items only)
#--------------------------------------------------------------------------
def make_command_list
add_command(Vocab::item, :item)
# add_command(Vocab::key_item, :key_item)
end
end
class Window_ItemList < Window_Selectable
#--------------------------------------------------------------------------
# * Get Digit Count (changed number)
#--------------------------------------------------------------------------
def col_max
return 1
end
#--------------------------------------------------------------------------
# * Include in Item List? (removed weapons and armor)
#--------------------------------------------------------------------------
def include?(item)
case @category
when :item
item.is_a?(RPG::Item) && !item.key_item?
when :key_item
item.is_a?(RPG::Item) && item.key_item?
else
false
end
end
#--------------------------------------------------------------------------
# * Draw Item (changed draw_item_number)
#--------------------------------------------------------------------------
def draw_item(index)
item = @data[index]
rect = item_rect(index)
rect.width -= 4
draw_item_name(item, rect.x, rect.y, enable?(item))
if item.is_a?(RPG::Item) && !item.key_item?
draw_item_number(rect, item)
else
false
end
end
#--------------------------------------------------------------------------
# * Draw Number of Items
#--------------------------------------------------------------------------
def draw_item_number(rect, item)
draw_text(rect, sprintf(":%2d", $game_party.item_number(item)), 2)
end
end
class Scene_Item < Scene_ItemBase
#--------------------------------------------------------------------------
# * Start Processing (removed help window
#--------------------------------------------------------------------------
def start
super
create_category_window
create_item_window
end
#--------------------------------------------------------------------------
# * Create Category Window
#--------------------------------------------------------------------------
def create_category_window
@category_window = Window_ItemCategory.new
@category_window.viewport = @viewport
@category_window.y = 50
@category_window.x = 130
@category_window.set_handler(:ok, method(:on_category_ok))
@category_window.set_handler(:cancel, method(:return_scene))
end
#--------------------------------------------------------------------------
# * Create Item Window
#--------------------------------------------------------------------------
def create_item_window
wy = @category_window.y + @category_window.height
wh = Graphics.height - 150
@item_window = Window_ItemList.new(0, wy, Graphics.width/2, wh)
@item_window.viewport = @viewport
@item_window.x = 130
@item_window.set_handler(:ok, method(:on_item_ok))
@item_window.set_handler(:cancel, method(:on_item_cancel))
@category_window.item_window = @item_window
end
end