Adding Actor Name to Ex. HUD

Status
Not open for further replies.

Nightblade50

Developer of "Delta Origins"
Veteran
Joined
Nov 10, 2016
Messages
2,133
Reaction score
4,253
First Language
English, French
Primarily Uses
RMVXA
Hi. I am using Galv's Explorer HUD here.
https://galvs-scripts.com/2012/11/05/explorers-hud/
So it shows the current states of the actor right above the weapon equipped.
But I want it to show the actor name instead of the states, but in the same place.
Galv has a screenshot of the HUD on the link I sent, so you can look at that to see what I mean.
Can someone edit his script to show actor name instead of the states?
Thanks in advance.
 

Nightblade50

Developer of "Delta Origins"
Veteran
Joined
Nov 10, 2016
Messages
2,133
Reaction score
4,253
First Language
English, French
Primarily Uses
RMVXA

TheoAllen

Self-proclaimed jack of all trades
Veteran
Joined
Mar 16, 2012
Messages
5,592
Reaction score
6,522
First Language
Indonesian
Primarily Uses
RMVXA
Will this works? (put below Galv's)
Code:
class Window_HudStatus < Window_Selectable
  def draw_basic_area(rect, actor)
    draw_actor_name(actor, rect.x + 104, rect.y, rect.width - 104)
    $game_temp.hud_update[4] = $game_party.members[0].state_icons
  end
end
 

Roninator2

Gamer
Veteran
Joined
May 22, 2016
Messages
2,660
Reaction score
563
First Language
English
Primarily Uses
RMVXA
Works for me. Thanks. I kept the states and just moved the name down below. Next I'll look at Using the sprite instead of the face. Either that or shrink the face or make the window bigger.
Code:
  def draw_basic_area(rect, actor)
    draw_actor_icons(actor, rect.x + 104, rect.y, rect.width - 104)
    draw_actor_name(actor, rect.x + 104, rect.y + 30, rect.width - 104)
    $game_temp.hud_update[4] = $game_party.members[0].state_icons
  end
 

Nightblade50

Developer of "Delta Origins"
Veteran
Joined
Nov 10, 2016
Messages
2,133
Reaction score
4,253
First Language
English, French
Primarily Uses
RMVXA
Will this works? (put below Galv's)
Code:
class Window_HudStatus < Window_Selectable
  def draw_basic_area(rect, actor)
    draw_actor_name(actor, rect.x + 104, rect.y, rect.width - 104)
    $game_temp.hud_update[4] = $game_party.members[0].state_icons
  end
end
Thanks Theo! It works!
Thread can be closed :)
 

slimmmeiske2

Little Red Riding Hood
Global Mod
Joined
Sep 6, 2012
Messages
7,842
Reaction score
5,225
First Language
Dutch
Primarily Uses
RMXP

This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

 
Status
Not open for further replies.

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

Couple hours of work. Might use in my game as a secret find or something. Not sure. Fancy though no? :D
Holy stink, where have I been? Well, I started my temporary job this week. So less time to spend on game design... :(
Cartoonier cloud cover that better fits the art style, as well as (slightly) improved blending/fading... fading clouds when there are larger patterns is still somewhat abrupt for some reason.
Do you Find Tilesetting or Looking for Tilesets/Plugins more fun? Personally I like making my tileset for my Game (Cretaceous Park TM) xD
How many parameters is 'too many'??

Forum statistics

Threads
105,862
Messages
1,017,047
Members
137,569
Latest member
Shtelsky
Top