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
414
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,664
Reaction score
1,315
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
414
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,664
Reaction score
1,315
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
414
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,664
Reaction score
1,315
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
414
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

9 days left for Harold Jam... hope it's not too late to start gam mak
i think this girl has to be my favorite though :)
62702017_JJKXazrs2LInoZh.png
Wouldn't you know it? Every woman that is interested in me on FB is a bot. Maybe I should respond with 000100100011. If u r willing to date women on FB something has definitely went wrong with your life.
Hello world !! I've created a logo design for my game, I'm calling it "Soup Quest" (It was honestly the best I could come up with <:]) !!
[IMG]https://media.discordapp.net/attachments/866542330286178344/1076307540528332830/Soup_Quest_Game_Logo.png?width=473&height=473[/IMG]
P.S. ty to the person who told me about the "purple text not mixing well with dark mode". I'll be careful on using colored text in the future !!

Forum statistics

Threads
129,745
Messages
1,204,795
Members
170,835
Latest member
KathleenL42
Top