Panda_Artist

Humble RPG Fan
Veteran
Joined
Dec 22, 2018
Messages
408
Reaction score
34
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,190
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,481
Reaction score
1,248
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
34
First Language
Portuguese
Primarily Uses
RMVXA
06.08.2022_23.10.35_REC.png

AYO

This is perfect!

Thanks so much for this !!
 

Latest Threads

Latest Profile Posts

WhitePaper.jpg

From China, with...white paper. :kaojoy:
This is a really good video
Testing Parry/Counter system straight from Action Sequence instead of utilizing the default counter.
Quite happy with the result so far.
Bex
This just blew my mind.
RMMZ can choose Tilesize.
No complicated Plugin needed, it is a simple inbuild Option.
This means you could literally use all your rm2k3 or vx-ace Tilesets and Characktersets in RMMZ.
This also makes me curious about experimenting with smaler Tiles and higher Screen Resolutions for non RPG Games.
mztilesize1414564.png
Did you know about this?

Forum statistics

Threads
126,983
Messages
1,182,867
Members
166,837
Latest member
kasuga24
Top