Longer choice texts?

brandos

Veteran
Veteran
Joined
May 25, 2013
Messages
147
Reaction score
31
First Language
German
Primarily Uses
Is there a way to allow more letters for the choices? Especially when you use a higher resolution this would help a lot.
 

bgillisp

Global Moderators
Global Mod
Joined
Jul 2, 2014
Messages
13,522
Reaction score
14,255
First Language
English
Primarily Uses
RMVXA
In the default engine the system automatically sets it so that the choice box is at least as big as the largest text (or the graphics width, whichever is smaller). If that is not proving true with the high resolution dll and scripts then someone has overwritten the def update_placement under the class Window_Choicelist.

Though, I did discover the calculation does not account for escape characters well, so if you have many of those you can manually set the width of the box by changing how it is calculated under the update_placement function.
 

Celianna

Tileset artist
Veteran
Joined
Mar 1, 2012
Messages
10,557
Reaction score
5,592
First Language
Dutch
Primarily Uses
RMMV
A quick work around:


Write the choices out in a regular text window, like this:


1. This is a choice


2. This is an even longer choice


3. This is option number 3


4. This is the last one.


And then have the choice command only list the numbers the player can select (since the choice window is a separate window that pops out, so the text stays in view).
 

Nirwanda

Procrastimancer
Veteran
Joined
Nov 2, 2012
Messages
1,285
Reaction score
604
First Language
Spanish
Primarily Uses
RMMV
I don't know any other scripts with that feature, so (unless I'm wrong) you'll have to try to get in touch with Modern Algebra to see if he's willing to make a compatibility patch or go to the script request section.

I can't be of more help, sorry. Good luck. ;)
 

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
40,098
Reaction score
13,704
First Language
English
Primarily Uses
RMMV
I've moved this thread to RGSSx Script Support. Please be sure to post your threads in the correct forum next time. Thank you.


What is the problem it's causing? Saying there's a problem without giving any information doesn't really give us much to go on.
 

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

Latest Threads

Latest Posts

Latest Profile Posts

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'??
Yay, now back in action Happy Christmas time, coming back!






Back in action to develop the indie game that has been long overdue... Final Fallacy. A game that keeps on giving! The development never ends as the developer thinks to be the smart cookie by coming back and beginning by saying... "Oh bother, this indie game has been long overdue..." How could one resist such? No-one c

Forum statistics

Threads
105,857
Messages
1,017,018
Members
137,563
Latest member
MinyakaAeon
Top