Ronyunderen

Veteran
Veteran
Joined
Jun 2, 2017
Messages
114
Reaction score
95
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.
 
Last edited:
Joined
Jan 25, 2022
Messages
44
Reaction score
45
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
114
Reaction score
95
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,258
Reaction score
1,159
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 Posts

Latest Profile Posts

Whoever decided that the 5th area of Xenoblade 3 had to be THAT big and be explored in the manner it does needs to be shot. My OCD cannot leave a tiny shard of the map hidden and those controls can go right on and f*** themselves. -.-

/rant off
Raggon wrote on NoPatience's profile.
:kaohi:
Anyone know of any good guides for editing the UI in RMMV?

Forum statistics

Threads
124,433
Messages
1,163,598
Members
163,243
Latest member
coldguyim
Top