VE - Target Arrow Modification - Changing the Size and Text and Icons of the enemy window

Panda_Artist

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

I am in need of your assistance once again.


This script allows you to create an icon to select targets... however... I do not like that the window on the top is so large and I would like the window to be smaller and have only for example just one line of text, and the status icons would be displayed on the side of the enemy battler's name (or the designations All Enemies, All Allies) etc.


Essencially...

27.06.2022_22.08.55_REC.png

here is my game project... I would like to reduce the window on the top to occupy only what's highlited in red, and the icons to show up on the side of the battler's name.

is this possible to achieve???

Any help is appreciated.
 
Last edited:

Roninator2

Gamer
Veteran
Joined
May 22, 2016
Messages
4,260
Reaction score
1,159
First Language
English
Primarily Uses
RMVXA
is this possible to achieve???
Did you get this adjusted? That window should be the help window and since it's two lines I would say you have something that is adjusting the size.
Look for that script and find the Window_Help section for the fitting_height(2)
 

Panda_Artist

Humble RPG Fan
Veteran
Joined
Dec 22, 2018
Messages
381
Reaction score
28
First Language
Portuguese
Primarily Uses
RMVXA
Sorry for the late reply. I did that and it did wonders.

But... how do I now make it so the state icons show up on the left of the Enemy Battler's name?

13.07.2022_02.27.54_REC.png

when I add the state it does this... how do I make it so the icons show up on the left rather than doing this? That is the part i'm having trouble.

any help is appreciated
 

Roninator2

Gamer
Veteran
Joined
May 22, 2016
Messages
4,260
Reaction score
1,159
First Language
English
Primarily Uses
RMVXA
But... how do I now make it so the state icons show up on the left of the Enemy Battler's name?
What do you have that is showing the states on the battlers. I don't recall if this is a default function.
 

Panda_Artist

Humble RPG Fan
Veteran
Joined
Dec 22, 2018
Messages
381
Reaction score
28
First Language
Portuguese
Primarily Uses
RMVXA
Victor's Target Arrow script displays the enemy's states and buffs below their name on the top window when you select them... I think itbis somewhere from line 500 onwards... I tried tinkering it but to no effect. Any help is appreciated.
 

Roninator2

Gamer
Veteran
Joined
May 22, 2016
Messages
4,260
Reaction score
1,159
First Language
English
Primarily Uses
RMVXA
Try this. Since you make the window smaller it seems that the icons are not showing anymore.
Ruby:
class Window_Help < Window_Base
  def draw_target_icons
    icons = (@target.state_icons + @target.buff_icons)[0, contents_width / 24]
    x = @align == 0 ? 0 : (contents_width - icons.size * 24) / (3 - @align)
    icons.each_with_index {|n, i| draw_icon(n, x - 24 * i - 30, 0)}
  end
end
 

Panda_Artist

Humble RPG Fan
Veteran
Joined
Dec 22, 2018
Messages
381
Reaction score
28
First Language
Portuguese
Primarily Uses
RMVXA
I played around a bit with your code and was able to position the icons, and the name too!!

THANK YOU SO MUCH FOR THIS no more pesky double windows!!!

13.07.2022_19.54.16_REC.png
 

Attachments

  • 13.07.2022_19.50.45_REC.png
    13.07.2022_19.50.45_REC.png
    368.6 KB · Views: 2
  • 13.07.2022_19.52.28_REC.png
    13.07.2022_19.52.28_REC.png
    39.8 KB · Views: 2

Latest Threads

Latest Profile Posts


Calf survival story with a happy ending.
well here's that concept art!
WIN_20220812_16_53_56_Pro (2).jpg
Whaddya think? Name suggestions?
Some character designs of 'Coin Locker'.
(there may be some future designs along the process.)


Untitled1294_20220813055849.png
1660339609612.png
Really need to come up with better names for my folders.
rpgmakerxp wrote on caethyril's profile.
Hi, I saw you comment a google drive link to add a specific script to a kadowa plugin for battle voices here: https://forums.rpgmakerweb.com/inde...attacking-defending-skills-damage-ect.119148/

I'd like to add "multiple possible battle voices" for stuff too, can you please let me know what to change cause the link isn't working.

Forum statistics

Threads
124,456
Messages
1,163,796
Members
163,276
Latest member
Ciberfreak
Top