Adventure Game Studio

AGS Support => Advanced Technical Forum => Topic started by: simulacra on Fri 02/09/2005 02:53:41

Title: Dialog options get cut off (FIXED)
Post by: simulacra on Fri 02/09/2005 02:53:41
It seems that long dialog options are cut off after a certain length. It does not look to good, since the line goes black after 60% of the screen approximately. I guess there is a maximum length to these options.

Can this be fixed somehow or do I have to rewrite the options into shorter phrases? And does anyone know how long a dialog option can be before getting cut off?
Title: Re: Dialog options get cut off
Post by: Gregjazz on Fri 02/09/2005 03:56:57
Yes, there is a limit to the length of dialog options. I don't know of any way around it apart from creating your own dialogue system.
Title: Re: Dialog options get cut off
Post by: simulacra on Fri 02/09/2005 12:14:23
Do you know what the maximum length is?  :-\
Title: Re: Dialog options get cut off
Post by: Pumaman on Fri 02/09/2005 21:32:20
The maximum length of a dialog option is 150 characters. This should be well over 60% of the screen width, in fact text of this length would generally occupy two lines.
Title: Re: Dialog options get cut off
Post by: monkey0506 on Fri 02/09/2005 22:08:24
Why is that?  I mean, why isn't it 200 characters?  And I'm presuming that, based on what I've read here, you can't make a dialog option span multiple lines with the built in dialog system???  Wow...:D
Title: Re: Dialog options get cut off
Post by: Pumaman on Sat 03/09/2005 12:57:02
A dialog option can span multiple lines, which is why I'm curious about what the problem is here.
Title: Re: Dialog options get cut off
Post by: monkey0506 on Sat 03/09/2005 15:09:49
Well that's what I thought.

But still, why 150 characters instead of 200?  I presume that there is a reason?
Title: Re: Dialog options get cut off
Post by: simulacra on Sat 03/09/2005 16:56:24
(http://verkligheter.se/error.jpg)

Have a look at this. This is compiled in AGS v 2.70. I think it used to work properly in previous versions.
Title: Re: Dialog options get cut off
Post by: Pumaman on Sat 03/09/2005 17:16:52
Are the options cut off like that in the editor, or is the full text shown in the editor?

...

Hmm, it seems there's a bug in the Dump Text feature, where it will truncate dialog options to 70 characters when you import the dumped text back in. Have you used that feature recently?
Title: Re: Dialog options get cut off
Post by: simulacra on Sat 03/09/2005 19:17:04
It's the same in the editor. Didn't see that before. And I recently used the dump text feature. That's probably the issue.
Title: Re: Dialog options get cut off
Post by: Pumaman on Sat 03/09/2005 20:11:44
Yep, that makes sense. I'll fix the bug for the next version.

Edit by strazer: Fixed in AGS v2.71 Beta 5
Title: Re: Dialog options get cut off
Post by: simulacra on Sun 04/09/2005 02:04:36
Great!