Panda_Artist

Humble RPG Fan
Veteran
Joined
Dec 22, 2018
Messages
408
Reaction score
33
First Language
Portuguese
Primarily Uses
RMVXA
Good morning / Afternoon / evening , everyone.

I am in need of your assistance once again.

Is there a way to make it so that instead of the typical use of " > " for the paramater changes for new equipment it shows either an icon for a stat decrease and another if it's a stat increase?

For example, showing an upward arrow when the stat increases with the new equipment and a downward arrow icon if it's the opposite!

resulting in something similar to what's shown here in a screenie from Golden Sun

06.08.2022_20.23.29_REC.png

I would appreciate any help in this!

Here is the script i'm using!

 

BCj

Veteran
Veteran
Joined
Jun 19, 2014
Messages
1,931
Reaction score
1,185
First Language
Dutch
Primarily Uses
N/A
Actually, this would be nice for the default equip screen as well. Never been a huge ffan of just the text arrow.
 

Roninator2

Gamer
Veteran
Joined
May 22, 2016
Messages
4,384
Reaction score
1,213
First Language
English
Primarily Uses
RMVXA
Try this
Ruby:
# ╔═════════════════════════════════════╦════════════════════╗
# ║ Title: Display Icon for Equip Stat  ║  Version: 1.00     ║
# ║ Author: Roninator2                  ║                    ║
# ╠═════════════════════════════════════╬════════════════════╣
# ║ Function:                           ║   Date Created     ║
# ║   Draw an icon instead of the       ╠════════════════════╣
# ║   arrow on the equip screen         ║    05 Aug 2022     ║
# ╚═════════════════════════════════════╩════════════════════╝
# ╔══════════════════════════════════════════════════════════╗
# ║ Instructions:                                            ║
# ║    Change the numbers below to the icon you wish         ║
# ║    to use for the icons                                  ║
# ║    Increase is the icon for when stats go up             ║
# ║    Decrease is the icon for when stats go down           ║
# ╚══════════════════════════════════════════════════════════╝
# ╔══════════════════════════════════════════════════════════╗
# ║ Updates:                                                 ║
# ║   2022-Aug-05 - Initial publish                          ║
# ╚══════════════════════════════════════════════════════════╝
# ╔══════════════════════════════════════════════════════════╗
# ║ Terms of use:                                            ║
# ║ Free for all uses in RPG Maker VX Ace - except nudity    ║
# ╚══════════════════════════════════════════════════════════╝

module R2_Arror_Icon_Equip
    Increase = 111
    Decrease = 112
end
class Window_EquipStatus < Window_Base
  def draw_item(dx, dy, param_id)
    draw_background_colour(dx, dy)
    draw_param_name(dx + 4, dy, param_id)
    draw_current_param(dx + 4, dy, param_id) if @actor
    drx = (contents.width + 22) / 2
        old_value = @actor.param(param_id) if @actor
        new_value = @temp_actor.param(param_id) if @temp_actor
    if @actor && @temp_actor
      value = new_value - old_value
    else
      value = 0
    end
    draw_right_arrow_icon(drx, dy, value)
    draw_new_param(drx + 22, dy, param_id) if @temp_actor
    reset_font_settings
  end
  def draw_right_arrow_icon(x, y, value = 0)
        if value > 0
            draw_icon(R2_Arror_Icon_Equip::Increase, x, y)
        elsif value < 0
        draw_icon(R2_Arror_Icon_Equip::Decrease, x, y)
        end
  end
end
 
  • Like
Reactions: BCj

Panda_Artist

Humble RPG Fan
Veteran
Joined
Dec 22, 2018
Messages
408
Reaction score
33
First Language
Portuguese
Primarily Uses
RMVXA
06.08.2022_23.10.35_REC.png

AYO

This is perfect!

Thanks so much for this !!
 

Latest Posts

Latest Profile Posts

DamageEvil_5.png added!
index.php

Rendering the intro for the 4 time today, everytime it finished I noticed something that I found off and had to fix it and render it all over again...
Would not be so bad if it was not for my PC having the speed of a slug.:kaoswt2:
Tried something. Little sneak peak of Unity AD.
M42S7Us.gif

It's the little things. Lengthened the time the bar fades in and out to be a bit more comfortable.

Forum statistics

Threads
125,739
Messages
1,173,127
Members
164,891
Latest member
Shadowpalkia99
Top