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
408
Reaction score
33
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,384
Reaction score
1,213
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
408
Reaction score
33
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,384
Reaction score
1,213
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
408
Reaction score
33
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,384
Reaction score
1,213
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
408
Reaction score
33
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

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,122
Members
164,888
Latest member
EternalLord
Top