Ronyunderen

Veteran
Veteran
Joined
Jun 2, 2017
Messages
97
Reaction score
88
First Language
English
Primarily Uses
N/A
Hello! Could you help me please if the state icon can change to text.
In my game, i only use 4 states: Death, Poison, Confused, Sleep.
I hope the state icon become text like: Dth, Psn, Cnf, Slp.
Any idea? Thank you!

limit:
  1. i never give enemy skill with multiple states. So each actor always get 1 state.
  2. I use default battle hud and system.
1653113666382.png
 
Last edited:
Joined
Jan 25, 2022
Messages
24
Reaction score
37
First Language
English
Primarily Uses
RMVXA
Double-clicking on the icon in the resource manager will let you choose what icon to use. In there, you can choose whatever icon you want, including empty icons, which will display nothing when applied in battle.

Additionally, while it would be more work, you could just edit the iconset.png file so that instead of an icon, you can draw in pixel art the word you want, and then in the resource manager remove the state name to avoid redundancy. I'd recommend paintnet if you don't have anything better for making pixel art, it's very basic, but it can do transparency, unlike the regular MS Paint software.
 

Ronyunderen

Veteran
Veteran
Joined
Jun 2, 2017
Messages
97
Reaction score
88
First Language
English
Primarily Uses
N/A
@BrickleYourFrickle wait, if i make my custom icon, the icon size + 3 letter on it will be too small? Can i make my custom size too? if icon size can change, i can make it.
 

Roninator2

Gamer
Veteran
Joined
May 22, 2016
Messages
4,131
Reaction score
1,109
First Language
English
Primarily Uses
RMVXA
Ruby:
class Game_BattlerBase
  def state_icons
    icons = states.collect {|state| state.name }
    icons.delete(0)
    icons
  end
end

class Window_Base < Window
  def draw_actor_icons(actor, x, y, width = 96)
    icons = (actor.state_icons + actor.buff_icons)[0, width / 24]
    icons.each_with_index {|n, i| draw_icon_name(n, x + 24 * i, y) }
  end
  def draw_icon_name(name, x, y)
    change_color(system_color)
    draw_text(x, y, 42, line_height, name)
  end
end
 

Latest Threads

Latest Profile Posts

The main game of my trilo/saga 50%OFF on Steam..... its now or never more
I swap between Ace and MZ so I can stay fresh but - what do you mean you can use subfolders in the plugin's folder for easier organization!?
Did some new music again, praise be. To the next song!
Watch Studio Blue play Numina by starlit in our latest RPG Maker Games Critique stream starting NOW!

Forum statistics

Threads
123,140
Messages
1,154,274
Members
161,477
Latest member
brendonkhong
Top