DeyJay5

Veteran
Veteran
Joined
Oct 28, 2013
Messages
76
Reaction score
4
First Language
English
Primarily Uses
RMVXA
Pretty straightforward problem. I would like to remove MAT and MDF from appearing on the menu screen in both the equip and status menu. Is there any way to do this by editing the base script? If so, would someone be kind enough to walk me through it or post a link.

Thank you :)
 

bgillisp

Global Moderators
Global Mod
Joined
Jul 2, 2014
Messages
13,783
Reaction score
14,577
First Language
English
Primarily Uses
RMVXA
It can only be done via a script. I don't know of which one you will need but can put it in the right section so you can get it.

I've moved this thread to RGSSx Script Requests. Please be sure to post your threads in the correct forum next time. Thank you.

.
Tech Support is for problems in running the maker.
 

ZirconStorms

Veteran
Veteran
Joined
Dec 22, 2014
Messages
359
Reaction score
111
First Language
English
Primarily Uses
RMVXA
upload_2019-5-4_13-24-19.png
Status code:
Code:
#==============================================================================
# ** Window_Status / Edits by ZirconStorms: replace Window_Status in your game.
#------------------------------------------------------------------------------
#  This window displays full status specs on the status screen.
#==============================================================================

class Window_Status < Window_Selectable
  #--------------------------------------------------------------------------
  # * Object Initialization
  #--------------------------------------------------------------------------
  def initialize(actor)
    super(0, 0, Graphics.width, Graphics.height)
    @actor = actor
    refresh
    activate
  end
  #--------------------------------------------------------------------------
  # * Set Actor
  #--------------------------------------------------------------------------
  def actor=(actor)
    return if @actor == actor
    @actor = actor
    refresh
  end
  #--------------------------------------------------------------------------
  # * Refresh
  #--------------------------------------------------------------------------
  def refresh
    contents.clear
    draw_block1   (line_height * 0)
    draw_horz_line(line_height * 1)
    draw_block2   (line_height * 2)
    draw_horz_line(line_height * 6)
    draw_block3   (line_height * 7)
    draw_horz_line(line_height * 13)
    draw_block4   (line_height * 14)
  end
  #--------------------------------------------------------------------------
  # * Draw Block 1
  #--------------------------------------------------------------------------
  def draw_block1(y)
    draw_actor_name(@actor, 4, y)
    draw_actor_class(@actor, 128, y)
    draw_actor_nickname(@actor, 288, y)
  end
  #--------------------------------------------------------------------------
  # * Draw Block 2
  #--------------------------------------------------------------------------
  def draw_block2(y)
    draw_actor_face(@actor, 8, y)
    draw_basic_info(136, y)
    draw_exp_info(304, y)
  end
  #--------------------------------------------------------------------------
  # * Draw Block 3
  #--------------------------------------------------------------------------
  def draw_block3(y)
    draw_parameters(32, y)
    draw_equipments(288, y)
  end
  #--------------------------------------------------------------------------
  # * Draw Block 4
  #--------------------------------------------------------------------------
  def draw_block4(y)
    draw_description(4, y)
  end
  #--------------------------------------------------------------------------
  # * Draw Horizontal Line
  #--------------------------------------------------------------------------
  def draw_horz_line(y)
    line_y = y + line_height / 2 - 1
    contents.fill_rect(0, line_y, contents_width, 2, line_color)
  end
  #--------------------------------------------------------------------------
  # * Get Color of Horizontal Line
  #--------------------------------------------------------------------------
  def line_color
    color = normal_color
    color.alpha = 48
    color
  end
  #--------------------------------------------------------------------------
  # * Draw Basic Information
  #--------------------------------------------------------------------------
  def draw_basic_info(x, y)
    draw_actor_level(@actor, x, y + line_height * 0)
    draw_actor_icons(@actor, x, y + line_height * 1)
    draw_actor_hp(@actor, x, y + line_height * 2)
    draw_actor_mp(@actor, x, y + line_height * 3)
  end
  #--------------------------------------------------------------------------
  # * Draw Parameters
  #--------------------------------------------------------------------------
  def draw_parameters(x, y)
    6.times {|i| draw_actor_param(@actor, x, y + line_height * i, i + 2) }
  end
  #--------------------------------------------------------------------------
  # * Draw Experience Information
  #--------------------------------------------------------------------------
  def draw_exp_info(x, y)
    s1 = @actor.max_level? ? "-------" : @actor.exp
    s2 = @actor.max_level? ? "-------" : @actor.next_level_exp - @actor.exp
    s_next = sprintf(Vocab::ExpNext, Vocab::level)
    change_color(system_color)
    draw_text(x, y + line_height * 0, 180, line_height, Vocab::ExpTotal)
    draw_text(x, y + line_height * 2, 180, line_height, s_next)
    change_color(normal_color)
    draw_text(x, y + line_height * 1, 180, line_height, s1, 2)
    draw_text(x, y + line_height * 3, 180, line_height, s2, 2)
  end
  #--------------------------------------------------------------------------
  def draw_actor_param(actor, x, y, param_id)
    change_color(system_color)
    case param_id
    when 4,5
    when 6,7
    draw_text(x, y - (line_height * 2), 120, line_height, Vocab::param(param_id))
    change_color(normal_color)
    draw_text(x + 120, y - (line_height * 2), 36, line_height, actor.param(param_id), 2)
    else
    draw_text(x, y, 120, line_height, Vocab::param(param_id))
    change_color(normal_color)
    draw_text(x + 120, y, 36, line_height, actor.param(param_id), 2)
    end
  end
  #--------------------------------------------------------------------------
  # * Draw Equipment
  #--------------------------------------------------------------------------
  def draw_equipments(x, y)
    @actor.equips.each_with_index do |item, i|
      draw_item_name(item, x, y + line_height * i)
    end
  end
  #--------------------------------------------------------------------------
  # * Draw Description
  #--------------------------------------------------------------------------
  def draw_description(x, y)
    draw_text_ex(x, y, @actor.description)
  end
end

upload_2019-5-4_13-14-15.png
What do you plan to do with the empty space left in that Equip Status window?
 
Last edited:

DeyJay5

Veteran
Veteran
Joined
Oct 28, 2013
Messages
76
Reaction score
4
First Language
English
Primarily Uses
RMVXA
Thanks that script worked but only for the status screen. MAT and MDEF still show up on the equip menu screen. How do I remedy this?
 

TheoAllen

Self-proclaimed jack of all trades
Veteran
Joined
Mar 16, 2012
Messages
6,162
Reaction score
7,364
First Language
Indonesian
Primarily Uses
RMVXA
Thanks that script worked but only for the status screen. MAT and MDEF still show up on the equip menu screen. How do I remedy this?
Well, he did ask u about the blank space. I guess he didn't include it yet in the equip scene waiting for u to answer that?
 

DeyJay5

Veteran
Veteran
Joined
Oct 28, 2013
Messages
76
Reaction score
4
First Language
English
Primarily Uses
RMVXA
Oh, sorry I should have read properly. Regarding the equip status window, I dont really care about an empty space so long as theres no gaps between the wording. Thank you :)
 

Roninator2

Gamer
Veteran
Joined
May 22, 2016
Messages
3,021
Reaction score
677
First Language
English
Primarily Uses
RMVXA
This is all you need.
Code:
class Window_Base < Window
  def draw_actor_param(actor, x, y, param_id)
    change_color(system_color)
    case param_id
    when 4,5
    when 6,7
    draw_text(x, y - (line_height * 2), 120, line_height, Vocab::param(param_id))
    change_color(normal_color)
    draw_text(x + 120, y - (line_height * 2), 36, line_height, actor.param(param_id), 2)
    else
    draw_text(x, y, 120, line_height, Vocab::param(param_id))
    change_color(normal_color)
    draw_text(x + 120, y, 36, line_height, actor.param(param_id), 2)
    end
  end
end

class Window_EquipStatus < Window_Base
  def draw_item(x, y, param_id)
    case param_id
    when 2,3
      draw_param_name(x + 4, y, param_id)
      draw_current_param(x + 94, y, param_id) if @actor
      draw_right_arrow(x + 126, y)
      draw_new_param(x + 150, y, param_id) if @temp_actor
    when 4,5
    when 6,7
      draw_param_name(x + 4, y - (line_height * 2), param_id)
      draw_current_param(x + 94, y - (line_height), param_id) if @actor
      draw_right_arrow(x + 126, y - (line_height * 2))
      draw_new_param(x + 150, y - (line_height), param_id) if @temp_actor
    end
  end
  def draw_current_param(x, y, param_id)
    change_color(normal_color)
    case param_id
    when 2,3
      draw_text(x, y, 32, line_height, @actor.param(param_id), 2)
    when 4,5
    when 6,7
      draw_text(x, y - (line_height), 32, line_height, @actor.param(param_id), 2)
    end
  end
  def draw_new_param(x, y, param_id)
    new_value = @temp_actor.param(param_id)
    case param_id
    when 2,3
      change_color(param_change_color(new_value - @actor.param(param_id)))
      draw_text(x, y, 32, line_height, new_value, 2)
    when 4,5
    when 6,7
      change_color(param_change_color(new_value - @actor.param(param_id)))
      draw_text(x, y - (line_height), 32, line_height, new_value, 2)
    end
  end
end
 

DeyJay5

Veteran
Veteran
Joined
Oct 28, 2013
Messages
76
Reaction score
4
First Language
English
Primarily Uses
RMVXA
Thank you so much for the script, but I'm not entirely sure where to put it and what exactly I need to replace. Sorry I'm not good at scripting.
 

Roninator2

Gamer
Veteran
Joined
May 22, 2016
Messages
3,021
Reaction score
677
First Language
English
Primarily Uses
RMVXA
Well, not to sound smug but, you know the way you install any other script? it's just the same. Put this below materials and above main.
In it's own slot.
 

DeyJay5

Veteran
Veteran
Joined
Oct 28, 2013
Messages
76
Reaction score
4
First Language
English
Primarily Uses
RMVXA
Well, not to sound smug but, you know the way you install any other script? it's just the same. Put this below materials and above main.
In it's own slot.
Thanks for the script. Did you write it yourself? If not, may I ask where you got it so I can give proper credit?
 

Roninator2

Gamer
Veteran
Joined
May 22, 2016
Messages
3,021
Reaction score
677
First Language
English
Primarily Uses
RMVXA
Did you write it yourself? If not, may I ask where you got it so I can give proper credit?
Since it's been a year I don't really remember. But I'm pretty sure I wrote that little snippet.
 

DeyJay5

Veteran
Veteran
Joined
Oct 28, 2013
Messages
76
Reaction score
4
First Language
English
Primarily Uses
RMVXA
Since it's been a year I don't really remember. But I'm pretty sure I wrote that little snippet.
Thank you. Haha sorry for waiting a year to reply. I actually put my project on hold for a while and now I'm working on it again. I forgot I already asked this question and I went and posted it again haha. But thanks for your help, this does work for me.
 

Latest Threads

Latest Posts

Latest Profile Posts

If it gets 6 degrees hotter we've reach 100
I am finally done making the 'superbosses' in my game!
I'm happy because oh my gosh they were a lot of work, but I'm also sad because I love database work... And also because I loved making stupid powerful bosses ._.
Question for anyone who reads Slip into Ruby or Jump into Javascript: do I sometimes get too "explainy" with the methods/functions? Would it be more useful if I stuck to explaining what the code is doing rather than also delving into minutiae of the technical side of it?
That moment when you try to figure out a color scheme for an alien ship so that it's something other than "Grey on Grey".
It's up for viewing! See what happened when EquestriAlert got tested in 1997... or was it a test? Did somepony hack the system? Or did somepony push the wrong switch? Even Adagio Dazzle (the owner of the channel) has no clue.

Can you put the pieces together? Don't worry, the game isn't over yet! There's more pieces to add on!

Forum statistics

Threads
111,118
Messages
1,058,460
Members
144,338
Latest member
shadowsoul
Top