Panda_Artist

Humble RPG Fan
Regular
Joined
Dec 22, 2018
Messages
463
Reaction score
38
First Language
Portuguese
Primarily Uses
RMMV
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

Regular
Regular
Joined
Jun 19, 2014
Messages
1,996
Reaction score
1,339
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
Regular
Joined
May 22, 2016
Messages
5,235
Reaction score
1,565
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
Regular
Joined
Dec 22, 2018
Messages
463
Reaction score
38
First Language
Portuguese
Primarily Uses
RMMV
06.08.2022_23.10.35_REC.png

AYO

This is perfect!

Thanks so much for this !!
 

Latest Threads

Latest Profile Posts

I've been thinking about doing a jokey submission for the Christmas jam in which, like a cartoon special where all the characters "play" a counterpart in A Christmas Carol, my MagiCats would each play a role from the C.A. Smith story The Coming of the White Worm, with Cyprian as Evagh, Rousalie as Dooni and so forth. But in the end, I figure all my development efforts should go toward the game proper.
In twitter, square phoenix had successfully prompted chatgpt to make the mini game watermelon pangpang.

drew some stuff to see how frontview might look. not entirely sold on or off of it yet. "could" work, but something feels missing.
Shower Thoughts: ". . . Scammers would be OP in the Elder Scrolls. They could just get speech 100 and blatantly ask everyone for all of their money, and everyone would think it's a great investment. And then after being robbed blind, they'd say, with a smile on their face, 'need something?' "
Day #2 for advent is compiled. Please, go to their threads to share love! But, if you wanna talk to me…what’s your favorite Christmas carol or holiday song?

Forum statistics

Threads
136,696
Messages
1,268,866
Members
180,410
Latest member
keiynforth
Top