+ Novem 344 Posted February 4, 2013 No, what I'm saying is that it's basically impossible to check every single line of dialogue from the editor, thus you have to playtest it (especially because Yanfly's script is stretching my window and making the text box bigger, so you can't even preview). There are also a bagillion optional dialogues and such, and if I checked every single line of dialogue for an error such as this by playtesting, I would lose all of the time I gained back anyways. I'm no scripter, I'm just saying it's kind of annoying and it would be great if it was fixed. It's my only gripe, otherwise this is a fantastic and very helpful script. Although Killozapit said something about checking if there are words after it or not, and I think that's a good solution. I would just like it to fill a line before jumping to the next. Share this post Link to post Share on other sites
Tsukihime 1,489 Posted February 5, 2013 (edited) I'm probably misunderstanding the problem you are having. I was under the impression that you are having issues with certain words being split up because you have reached the end of the window, and it would look visually unappealing as a writer (I don't know, maybe the phrase "a car" should be treated as a single word and not broken up like Today I drove a car to work vs Today I drove a car to work So this is not a matter of sentences looking bad? Edited February 5, 2013 by Tsukihime Share this post Link to post Share on other sites
+ Novem 344 Posted February 5, 2013 No, it's more like this problem. blah blah blahblah blah blah blah It's weird how it just leaves a single word on a line while above and below it are filled. Share this post Link to post Share on other sites
Kayzee 4,032 Posted February 5, 2013 Well that should only happen if there is a hard return at the end of a line. I mean if you are going Blah blah blah blah.<return> Blah blah blah blah blah.<return> it might end up as Blah blah blah | blah.<return> Blah blah blah | blah blah.<return> Sounds to me like you might want to turn DEFAULT_WHITESPACE to true, then it will go Blah blah blah | blah. Blah blah | blah blah blah. | Share this post Link to post Share on other sites
+ Novem 344 Posted February 5, 2013 Nope, no returns for me. Huh, I turned it on and it appeared to be working, but now some words are running off of the window. Share this post Link to post Share on other sites
Kayzee 4,032 Posted February 5, 2013 uh... you arn't altering the texbox size anywhere are you? Share this post Link to post Share on other sites
Tsukihime 1,489 Posted February 5, 2013 He mentioned using yanfly's script to stretch windows not sure if that actually affects window size Share this post Link to post Share on other sites
+ Novem 344 Posted February 5, 2013 Yea it does, Yanfly's Core Engine resizes the window from 544X416 (what kinda non-sensical resolution is that anyways?) to 640X480. Share this post Link to post Share on other sites
Kayzee 4,032 Posted February 5, 2013 Well I mean the window... I use yanfly's core engine for 640x480 too and I don't have any cut off problems :/ Share this post Link to post Share on other sites
Wren 179 Posted February 5, 2013 Thanks for making this script, KiloZapit, I'm always having to playtest every dialog a few times checking for cut off words along the edge, and I bet this will save me a bunch of reworking dialogs. Share this post Link to post Share on other sites
+ Novem 344 Posted February 5, 2013 Well this is what I'm seeing... Share this post Link to post Share on other sites
Kayzee 4,032 Posted February 5, 2013 (edited) Wowwsa! I found a BUG (OH NO)! I updated the script. You see the problem with words going off the edge was when you had multiple white space characters in a row with whitespace collapse on, it would only check the size of the next word for the first whitespace character in a row! So obviously two spaces, or a space and a return, or such, would not split the line. Edited February 5, 2013 by KilloZapit 1 1 Share this post Link to post Share on other sites
+ Novem 344 Posted February 5, 2013 All I heard was... code babble, something about words going off an edge, code babble, code babble, and yet more code babble. hahaha, thanks for the update, time to see if it works, EDIT: ...aaaaand what do ya know? It works! Nice one! Share this post Link to post Share on other sites
Kayzee 4,032 Posted February 5, 2013 (edited) You know I do wonder... I always write my dialogue sort of like this, using manual hard breaks after sentences. Well, not all of them. Some of them I fit together like this. Yeah they do tend to run off the edge of the preview box. And sometimes sure it ends up | spitting lines in troublesome | ways. But it does give a good break | from one statement to another | and I like that. Otherwise it kind of all leads| together without stop. And it | becomes sort of hard to tell | where things start. Not a big | deal just something I thing I | should say. Edited February 5, 2013 by KilloZapit 1 Share this post Link to post Share on other sites
ShionKreth 0 Posted April 25, 2013 I have a question, using this script is causing the victory text to all appear as a single line, which I'm really surprised no one has mentioned, but maybe everyone knew where to go put the linebreaks unlike me. In what script would I affect that? Share this post Link to post Share on other sites
Kayzee 4,032 Posted April 26, 2013 Do you have DEFAULT_WHITESPACE set to true by any chance? I usually set it to false myself to preserve manual line breaks. Though if you want the "Vocab" script near the top of the script list contains the messages... you could put a "\br" at the end of some. Now I am half wondering if anyone would want separate default settings for battles actually. Share this post Link to post Share on other sites
ShionKreth 0 Posted April 26, 2013 (edited) Ah my god, I was digging so deep, completely overlooking the vocab, that's ridiculous. Thanks for the quick reply. I do have the whitespace set to true, I don't want the manual line break so I can read all the dialogue for show text while designing without having to scroll; I make many adjustments. It might not be a bad idea to have them separate, but now that you pointed me towards the vocab script so cleverly hidden RIGHT AT THE TOP OF THE LIST, that should be that for the issue. edit: is what I would say if that was working, it really should but doesn't seem to be accepting \br or \nl, I just keeping getting a square of sorts followed by an r or l respectively before each end battle message on the same line... Edited April 26, 2013 by ShionKreth Share this post Link to post Share on other sites
Kayzee 4,032 Posted April 26, 2013 (edited) Oh! That's right, you actually need to use "\\br" or "\\nl" because of shenanigans with ruby's strings. Edited April 26, 2013 by KilloZapit Share this post Link to post Share on other sites
ShionKreth 0 Posted April 26, 2013 That did the trick. Thanks magical fairy scriptor. Share this post Link to post Share on other sites
Kayzee 4,032 Posted April 26, 2013 You are very welcome! *sprinkles fairy dust on you* Share this post Link to post Share on other sites
Th0reK 0 Posted May 30, 2013 Hi, first of all thanks for your script, it's really useful, especially using Yanfly Message System. I'm having a bit of a problem with it though. I don't know why the script doesn't activate itself automatically, even if Iset it up to true inside the script. (DEFAULT_WORDWRAP = true). The script works fine if I set the \ww tag inside a message window, and I even need to activate it only once to make it works everytime.So I figured I could just leave a \ww inside the very first message window. Problem is, if you save and load the game you need to manually reset the script, meaning that I would need to put a \ww tag inside every single message box, but this would take a lot of time, since I have already lots of dialogues already in the game. What am I missing? I have a few Yanfly's scripts installed, along with a few generic and simple scripts (splash screen, title screen customization...). Thanks! Share this post Link to post Share on other sites
Kayzee 4,032 Posted May 30, 2013 Try moving the script to the bottom of the script list. Yanfly's scripts might overwrite a few things, so it needs to be placed after those. 1 Share this post Link to post Share on other sites
Th0reK 0 Posted May 30, 2013 Thank you so much for the quick reply! It works now! Share this post Link to post Share on other sites
Kayzee 4,032 Posted May 30, 2013 (edited) Hehe... Your very welcome. :3 *sprinkles some fairy dust on you* Edited May 30, 2013 by KilloZapit Share this post Link to post Share on other sites
zSprawl 0 Posted August 7, 2013 This script has greatly simplified my life. Thank you!! Share this post Link to post Share on other sites