Resize the Battle Commands Window

Zero0018

Apprentice
Member
Joined
Dec 24, 2014
Messages
133
Reaction score
1
First Language
English
Primarily Uses
I am using the custom .dll that makes it so you can increase your games resolution. I am using 1280x720. I am using HIME's auto position script which fixes the enemy positions in combat. The problem I am having is the party window is to big. With the new size each party member's box is stretched out horizontally.

Can someone please tell me what to edit to make it so the size is a constant and not scale with the width of the screen? I went through the whole script and tried changes values I thought would affect it, but I couldn't figure it out.

Also is there a way to adjust the action window at the top as well? Where it shows you the actions you performed.

derp.png
 
Last edited by a moderator:

♥SOURCE♥

Too sexy for your party.
Veteran
Joined
Mar 14, 2012
Messages
693
Reaction score
411
Primarily Uses
What battle script is that? Link?
 

Engr. Adiktuzmiko

Chemical Engineer, Game Developer, Using BlinkBoy'
Veteran
Joined
May 15, 2012
Messages
14,682
Reaction score
3,003
First Language
Tagalog
Primarily Uses
RMVXA
If you're using a custom battle script, which you clearly do since the default battle system doesn't look like that, it will be a good idea to edit it from there. So we will need to know what battle script you are using, and also a link to it's thread where we can actually see that script.
 

Zero0018

Apprentice
Member
Joined
Dec 24, 2014
Messages
133
Reaction score
1
First Language
English
Primarily Uses
Does no one know how to do this?
 

Tsukihime

Veteran
Veteran
Joined
Jun 30, 2012
Messages
8,564
Reaction score
3,846
First Language
English
You will have to show how you want the status window to look.


When you say "make it constant" I'm thinking it will stay small no matter how wide the screen is.


To me that might look strange, but maybe it's the way I'm imagining it.
 

Zero0018

Apprentice
Member
Joined
Dec 24, 2014
Messages
133
Reaction score
1
First Language
English
Primarily Uses
Ok. I want each party member's width to be set to a static number, not one that scales with the width of the screen.

If you look at how the party member window is in the default picture you can see how each members portion of the window is about the width of their picture. Now look at the custom picture. See how wide the gap is? I want it to be close in size to the default one, with maybe a little bit more width. I want to also make the command menu (attack, guard, etc.) a little bit wider as well.

I also want to be able to resize the TOP window that shows combat status to the same overall width as the full width of the below party menu. 

Default.png

Custom.png
 

Tsukihime

Veteran
Veteran
Joined
Jun 30, 2012
Messages
8,564
Reaction score
3,846
First Language
English
Ok. Can you provide a mock-up of how it should look in the wide screen? Just photoshop something together. It can even just be random rectangles.
 
Last edited by a moderator:

Zero0018

Apprentice
Member
Joined
Dec 24, 2014
Messages
133
Reaction score
1
First Language
English
Primarily Uses
Something like this:

Untitled.png
 
Last edited by a moderator:

Zero0018

Apprentice
Member
Joined
Dec 24, 2014
Messages
133
Reaction score
1
First Language
English
Primarily Uses
Am I not being clear in what I need help with or is this really just so hard that no one can help? I never knew adjusting the width of a party menu/status window would be so involved o_O
 

Engr. Adiktuzmiko

Chemical Engineer, Game Developer, Using BlinkBoy'
Veteran
Joined
May 15, 2012
Messages
14,682
Reaction score
3,003
First Language
Tagalog
Primarily Uses
RMVXA
Try this... put it below yanfly's

Code:
class Scene_Battle  alias scene_battle_create_all_windows_abe_adik create_all_windows   def create_all_windows    scene_battle_create_all_windows_abe_adik    @status_window.width = 544 #or whatever you want    @status_window.x = (Graphics.width - 544)/2  endend
 
Last edited by a moderator:

Zero0018

Apprentice
Member
Joined
Dec 24, 2014
Messages
133
Reaction score
1
First Language
English
Primarily Uses
Try this... put it below yanfly's

class Scene_Battle
  alias scene_battle_create_all_windows_abe_adik create_all_windows 
  def create_all_windows
    scene_battle_create_all_windows_abe_adik
    @status_window.width = 544 #or whatever you want
    @status_window.x = (Graphics.width - 544)/2
  end
end
First off thank you. Interesting how it changed the actual width, but the stupid party members box width is still jacked up. Is the window at the very top not called the status window? When I changed the line @status_window.x = (Graphics.width - 544)/2 /4 it actually moved the party window at the bottom more to the left. That's weird naming.

Do you know how to change the width of the party member's box (highlighted in red)? The w/e the name of the window @ the top is, also needs to be shrunk to the party window (highlighted in yellow). The last thing would be to increase the width and move the action box (highlighted in green).

=UPDATE=



Width.png
 
Last edited by a moderator:

Engr. Adiktuzmiko

Chemical Engineer, Game Developer, Using BlinkBoy'
Veteran
Joined
May 15, 2012
Messages
14,682
Reaction score
3,003
First Language
Tagalog
Primarily Uses
RMVXA
The windows move together because the way the status window, party command and actor command windows were set-up was that they use a single viewport, and the game just actually moves the viewport depending on whether which windows should be shown. To change the behavior, you'd need to separate them first.


As for the window at the top, I think it's kind of named like help window or something...
 

Zero0018

Apprentice
Member
Joined
Dec 24, 2014
Messages
133
Reaction score
1
First Language
English
Primarily Uses
The windows move together because the way the status window, party command and actor command windows were set-up was that they use a single viewport, and the game just actually moves the viewport depending on whether which windows should be shown. To change the behavior, you'd need to separate them first.
How?

Window_Help

  #--------------------------------------------------------------------------

  # * Object Initialization

  #--------------------------------------------------------------------------

  def initialize(line_number = 2)

    super(0, 0, Graphics.width - 700, fitting_height(line_number))

  end

 

This shrunk it. Very nice. Added the line:

@help_window.x = (Graphics.width - 940)

To your script and it produced the results I wanted. Refer to pic #1

 

What is the name for the window highlighted in orange? Refer to pic #2

1.png

2.png
 
Last edited by a moderator:

Engr. Adiktuzmiko

Chemical Engineer, Game Developer, Using BlinkBoy'
Veteran
Joined
May 15, 2012
Messages
14,682
Reaction score
3,003
First Language
Tagalog
Primarily Uses
RMVXA
that would be @log_window if I'm correct.
 

Zero0018

Apprentice
Member
Joined
Dec 24, 2014
Messages
133
Reaction score
1
First Language
English
Primarily Uses
Is there a guide somewhere that lists the name of all the frame/windows and what they do? If not, still need assistance.
 

Tsukihime

Veteran
Veteran
Joined
Jun 30, 2012
Messages
8,564
Reaction score
3,846
First Language
English
Change the width of @log_window. It's just a window with a dim background.
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

Couple hours of work. Might use in my game as a secret find or something. Not sure. Fancy though no? :D
Holy stink, where have I been? Well, I started my temporary job this week. So less time to spend on game design... :(
Cartoonier cloud cover that better fits the art style, as well as (slightly) improved blending/fading... fading clouds when there are larger patterns is still somewhat abrupt for some reason.
Do you Find Tilesetting or Looking for Tilesets/Plugins more fun? Personally I like making my tileset for my Game (Cretaceous Park TM) xD
How many parameters is 'too many'??

Forum statistics

Threads
105,865
Messages
1,017,059
Members
137,575
Latest member
akekaphol101
Top