Display Actor NICKNAME where CLASS is shown + DISPLAY TP BEFORE MP in battle / menu

Good Morning / Day / Afternoon / Evening everyone.

I have a request for three snippets

1.
I'm using a system that makes use of Actor Nicknames so I want these to be shown on the main menu next to their names instead of classes which I am not really using at all other than stats.

2. In my battle system TP is used far more than any magic based points, so I'd like TP to be shown after HP instead of MP.

3. Display a "%" after TP

I'D ALSO like TP to be shown in menus, in this order: HP TP MP

Is this possible to achieve?

Any help is appreciated.
This what you're after?
1622237661090.png

1622237673398.png
Yes exactly but I managed to do it myself!

Can you instead help me with setting up with prioritizing TP over MP in both menus and battles?

I'm using Ace Battle and Menu engines but please teach me how to do with with the default systems!
Here's my script for it:

Ruby:
class Window_Base < Window
  def draw_actor_simple_status(actor, x, y)
    y -= 15
    draw_actor_name(actor, x, y)
    draw_actor_level(actor, x, y + line_height * 1)
    draw_actor_icons(actor, x, y + line_height * 2)
    draw_actor_nickname(actor, x + 120, y)
    draw_actor_hp(actor, x + 120, y + line_height * 1)
    draw_actor_tp(actor, x + 120, y + line_height * 2)
    draw_actor_mp(actor, x + 120, y + line_height * 3)
  end
 
  def draw_actor_tp(actor, x, y, width = 124)
    draw_gauge(x, y, width, actor.tp_rate, tp_gauge_color1, tp_gauge_color2)
    change_color(system_color)
    draw_text(x, y, 30, line_height, Vocab::tp_a)
    change_color(tp_color(actor))
    draw_text(x + width - 42, y, 42, line_height, actor.tp.to_i.to_s + "%", 2)
  end
end

class Window_Status < Window_Selectable
  def draw_block1(y)
    draw_actor_name(@actor, 4, y)
    draw_actor_nickname(@actor, 128, y)
  end
end

class Window_BattleStatus < Window_Selectable
  def draw_gauge_area_with_tp(rect, actor)
    draw_actor_hp(actor, rect.x + 0, rect.y, 72)
    draw_actor_tp(actor, rect.x + 82, rect.y, 64)
    draw_actor_mp(actor, rect.x + 156, rect.y, 64)
  end
end
Can it be added to the Status Menu as well? exactly like it shows there?
Yeah, just edit the appropriate window class to call draw_simple_actor_status.
Okay, I will test it right now

28.05.2021_23.02.58_REC.png


how do I put it all a bit further upwards... SP is the TP btw
I wonder how I can make it so it is tilted further upwards to avoid that mess in the picture
See where I've put y -= 15? That's how to offset it. Find where it's providing the Y coordinate and then reduce it a bit.
Thank you, this was a big help! If I ever need any more help I won't hesitate to ask!
I do have an extra favour to ask:

Is it possible to make each of these (HP, MP, TP) shown in menu and battle or not depending on if a certain switch is on.

let's say I don't want TP to show until a certain point in the game and once the switch is on it shows.

Original thread: https://forums.rpgmakerweb.com/threads/display-actor-nickname-where-class-is-shown-display-tp-before-mp-in-battle-menu.136933/