Main Menu
  • Welcome to The RPG Maker Resource Kit.

[VXA]Adding Icons to Everything

Started by EmperorAlan, June 22, 2013, 05:16:09 AM

0 Members and 1 Guest are viewing this topic.

EmperorAlan

Is it possible to insert icons on Terms and script line? Yanfly's command icon works perfect, but it doesn't insert Icon on some database terms such as HP, MP, and stats. So, does anyone have idea to insert them? Thank you.

&&&&&&&&&&&&&

#1
  def process_draw_icon(icon_index, pos)
    draw_icon(icon_index, pos[:x], pos[:y])
    pos[:x] += 24
  end


Line 324-327 of Window_Base.
&&&&&&&&&&&&&&&&

modern algebra

You wouldn't really want to use that unless you were modifying the scripts directly and using the draw_text_ex method.

If you just want a script to do it, then my Global Text Codes script will do the trick.

It allows you to use the \I[n] text code in any terms anywhere as long as you also put a \* in the same field. For example, to add an icon to HP, you would just need to go to that term in the database and make it:

\*\i[32] HP

Replace the 32 with the index of whatever icon you want to use.

EmperorAlan

That's exactly what I'm looking for, solved!