Notice: fwrite(): Write of 44 bytes failed with errno=28 No space left on device in /home/rmrk/domains/rmrk.net/public_html/Sources/Cache/APIs/FileBased.php on line 96
[VXA] Icon/Color display in battle when selecting target.
Main Menu
  • Welcome to The RPG Maker Resource Kit.

[VXA] Icon/Color display in battle when selecting target.

Started by szbutler123, August 08, 2012, 03:11:12 PM

0 Members and 1 Guest are viewing this topic.

szbutler123

if I gave a monster name an Icon, such as \i[50]Slime. His name displays in battle with the appropriate icon. BUT, when I choose Attack or go to select an enemy to hit, it doesn't display the icon, it says \i[50]Slime instead of showing the Icon and the slimes name. This does the same if I try to change the color of an enemy's text, \c[20]Slime, etc.

Does anyone know how to fix this? I would imagine it's probably not too terrible of an issue, but if it could be addressed that would mean wonders to me as my battle system revolves around being able to see an icon next to an enemies name.

I've also tried Modern Algebra's ATS script but that didn't address the issue either.

Anyone have any ideas?

modern algebra

My Global Text Codes script might work. You would need to add a \* to the name as well though.

pacdiggity

This should work for all text codes in that specific window.
class Window_BattleEnemy < Window_Selectable
  def draw_item(index)
    change_color(normal_color)
    name = $game_troop.alive_members[index].name
    r = item_rect_for_text(index)
    draw_text_ex(r.x, r.y, name)
  end
end
it's like a metaphor or something i don't know