Help - Search - Members - Calendar
Full Version: How have I/do I edit the message window width please?
RPG RPG Revolution Forums > Game Engines > RPG Maker XP Discussion
neiljwd
Sort of revolved it: ISSUE WAS A PROBLEM BETWEEEN VERSIONS 1.04 and 1.02
HMMM.
I've stumbled across the answer.
Due to legitimate reasons ***** I'm currently on 1.02, where as my game was programmed on 1.04.

1.04 has the ability for BATCH text input. Whenever the game finds this now in 1.02 play test, is when the massive text box glitch occurs.
Single text boxes/new text creations work fine and appear normal.
Just this bug when it comes across batch entries from 1.04 time. No solution occurs to me sad.gif


Original Message
===============================================================

Basically lapsed project (but of course), retyrning to it, finding a change I can change back.
Somehow I've managed to MASSIVELY extend the message window.

Anyone know how I can edit it back down please?
I've managed to change the width of the message (red lines on this pic:)
Large Image

But that doesn't change the size of the box itself, jsut the allowed width for messages.

I've uploaded my game (13mb) in case yo uwant to open it up and see the scripts.
I'm running Goldwyn multiple Resolutions kit, and AMS, which are the likely culprits.
http://www.filefactory.com/file/6txa3dz6ku...tory_-_Copy_exe


I've done this tutorial http://www.rmxp.tigerseye.uk.com/tutorial_scriptf1.shtml
To ZERO effect, believe AMS is conflicting, but can't correct it myself, sorry for my noobishness.
But despite CTRL-F (width) through many scripts, no luck, Please help.
X-M-O
To do this, head back into the script editor, and in the script list, find the script called Window_Message. When you click on it, you will get this screen...



Now, we're not going to be changing much here - in fact, the most we will change is four values. You see where the script says 'super(80, 304, 480, 160)'? The numbers inside the brackets are the ones we will change. These four figures stand for these properties: x, y, width, height: the x-position of the object (left-to-right), the y-position of the object (up-to-down), the width of the object, and the height of the object. Now, I feel that my message box is a bit too wide and a bit too tall, so I'm going to decrease the width and the height of my message box. I'm going to change 480 to 400, and 160 to 140. See a screenshot...



See what I've changed?


(All of the above text/images come from http://www.rmxp.tigerseye.uk.com/tutorial_scriptf1.shtml and I don't take credit for it; just helping by finding and pulling that information out for you.) =]
neiljwd
QUOTE (X-M-O @ Sep 27 2012, 12:19 AM) *
To do this, head back into the script editor, and in the script list, find the script called Window_Message. When you click on it, you will get this screen...

Snipped


Now, we're not going to be changing much here - in fact, the most we will change is four values. You see where the script says 'super(80, 304, 480, 160)'? The numbers inside the brackets are the ones we will change. These four figures stand for these properties: x, y, width, height: the x-position of the object (left-to-right), the y-position of the object (up-to-down), the width of the object, and the height of the object. Now, I feel that my message box is a bit too wide and a bit too tall, so I'm going to decrease the width and the height of my message box. I'm going to change 480 to 400, and 160 to 140. See a screenshot...



See what I've changed?



(All of the above text/images come from http://www.rmxp.tigerseye.uk.com/tutorial_scriptf1.shtml and I don't take credit for it; just helping by finding and pulling that information out for you.) =]

I do appreciate you trying to help, thanks, but I referenced that very tutorial in my opening post, and it doesn't change the area I'm trying to alter.
It doesn't fix my problem.
neiljwd
HMMM.
I've stumbled across the answer.
Due to legitimate reasons ***** I'm currently on 1.02, where as my game was programmed on 1.04.

1.04 has the ability for BATCH text input. Whenever the game finds this now in 1.02 play test, is when the massive text box glitch occurs.
Single text boxes/new text creations work fine and appear.
Jsut this bug when it comes accross batch entries from 1.04 time. No solution occurs to me sad.gif



***** I have a legitimate version of 1.04, just I got a new SSD, and reformatted. Don't have the license key to re-register my game, so playing on a 1.02 version while I wait for Enterbrain to email me back/rectify my ticket.
X-M-O
Oh, I thought you were trying to find it in that tutorial. D=
I'm sorry that was my mistake. ><
neiljwd
No worries. Even any reply was encouraging, and reinvigorated me to look harder myself.

Well I'm back on my legitimate 1.04 version now,(Enterbrain emailed me back, yay) but the old version has 'infected' my code.
Meaning all batch text entries balloon the msg box massively sad.gif
Heck of a lot of editing sad.gif
diamondandplatinum3
Modern Algebra has an ATS formatting script, it might help.
neiljwd
QUOTE (diamondandplatinum3 @ Sep 27 2012, 03:39 PM) *
Modern Algebra has an ATS formatting script, it might help.


That looks super featured.
Does it use the same coding conventions of AMS?
OR are they slightly different? I can't just change the Message script I use, if they handle things differently, will mean all my progress is garbled.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2013 Invision Power Services, Inc.