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
34
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,483
Reaction score
1,248
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
34
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,483
Reaction score
1,248
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
34
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,483
Reaction score
1,248
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
34
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

MaryFaces.png
Finally drew a face for my character Triple M, aka, Mary Mars McQueen. She's only ever had the TV thing on here head for her wrestling gimmick.
I have a screenshot from my Legend of Zelda: Breath of the Wild fan remake:
screenshot.png
I wish I'd been able to take a photo of the kittens at work. I love working at the pet shop... also those kittens just wanted my attention all day, but I had to stock the cat food and stick stickers on pet beds.
Of course, I did make some time for those sweet little kitties. They just wouldn't stop meowing!
Slightly late due to PC issues, but come and join me for Throwback Thursday! Tonight we'll be continuing Beneath a Steel Sky. https://twitch.tv/trihanstreams

Forum statistics

Threads
127,111
Messages
1,184,107
Members
167,061
Latest member
aaaaaagf2
Top