RPG Maker Forums

Made this script for a request here, and sharing it for anyone else that wish to use it.

Features:

A way to use 64x64 icon pictures for skills.

Snapshot:



How to Use:

[1] Plug & Play, put the script below Material and Above Main in the script editor.

[2] Name your skill icon pictures "Skill_N", where N = skill id.

[3] Put those icon pictures in the Graphics\System folder.

Important:

The game will crash if it can't find a correct skill picture to display, so make sure to fill all skills with an icon picture of their own.

Compatibility:

Uses overwrite method for skill list window.

Might not be compatible with scripts that modify how skill icons are displayed in both Menu/Battle.

Terms of Use:

Free to use for both Commercial and non-commercial project.

Script:

Code:
#==============================================================================# ■ Meow Face Large Skill Icons#------------------------------------------------------------------------------# Display Skills using 64 x 64 icons#==============================================================================# How to Use:# [1] Plug & Play, Put this script below Material and above Main# [2] Put your skill pictures in the [Graphics\System] folder and name it "Skill_N" #     where N is the same as skill ID.#==============================================================================class Window_Base < Window  #--------------------------------------------------------------------------  # ○ New Method  #--------------------------------------------------------------------------  def draw_skill_icon(icon_id, x, y, enabled = true)    bitmap = Cache.system("Skill_"+icon_id.to_s)    rect = Rect.new(0, 0, 64, 64)    contents.blt(x, y, bitmap, rect, enabled ? 255 : translucent_alpha)  end  #--------------------------------------------------------------------------  # ○ New Method  #--------------------------------------------------------------------------  def draw_skill_name(skill, x, y, enabled = true, width = 172)    return unless skill    draw_skill_icon(skill.id, x, y, enabled)    change_color(normal_color, enabled)    draw_text(x + 68, y+12, width, line_height, skill.name)  endendclass Window_SkillList < Window_Selectable  #--------------------------------------------------------------------------  # ◎ Overwrite Method  #--------------------------------------------------------------------------  def item_height    64 + 2  end  #--------------------------------------------------------------------------  # ◎ Overwrite Method  #--------------------------------------------------------------------------  def draw_skill_cost(rect, skill)    if @actor.skill_tp_cost(skill) > 0      change_color(tp_cost_color, enable?(skill))      draw_text(rect, @actor.skill_tp_cost(skill))    elsif @actor.skill_mp_cost(skill) > 0      change_color(mp_cost_color, enable?(skill))      draw_text(rect, @actor.skill_mp_cost(skill))    end  end  #--------------------------------------------------------------------------  # ◎ Overwrite Method  #--------------------------------------------------------------------------  def draw_item(index)    skill = @data[index]    if skill      rect = item_rect(index)      rect.width -= 4      draw_skill_name(skill, rect.x, rect.y, enable?(skill))      rect.x += 68      rect.y += 12      draw_skill_cost(rect, skill)    end  endend

Latest Threads

Latest Posts

Latest Profile Posts

Our latest feature is an interview with... me?!

People4_2 (Capelet off and on) added!

Just beat the last of us 2 last night and starting jedi: fallen order right now, both use unreal engine & when I say i knew 80% of jedi's buttons right away because they were the same buttons as TLOU2 its ridiculous, even the same narrow hallway crawl and barely-made-it jump they do. Unreal Engine is just big budget RPG Maker the way they make games nearly identical at its core lol.
Can someone recommend some fun story-heavy RPGs to me? Coming up with good gameplay is a nightmare! I was thinking of making some gameplay platforming-based, but that doesn't work well in RPG form*. I also was thinking of removing battles, but that would be too much like OneShot. I don't even know how to make good puzzles!
one bad plugin combo later and one of my followers is moonwalking off the screen on his own... I didn't even more yet on the new map lol.

Forum statistics

Threads
106,035
Messages
1,018,455
Members
137,821
Latest member
Capterson
Top