Coding Dialogue Statements easier!

In this forum we discuss the future of Ren'Py, both bug fixes and longer-term development. Pre-releases are announced and discussed here.
User avatar
Eileen-Class Veteran
Posts: 1348
Joined: Mon Feb 02, 2015 8:35 pm
Projects: Template Maker for Ren'Py, What Life
Github: lunalucid
Skype: Discord: lunalucid#1991
Soundcloud: LunaLucidMusic
itch: lunalucid
Location: USA

Re: Coding Dialogue Statements easier!

#16 Post by namastaii » Sun Sep 15, 2019 11:55 am

Well normally when you're writing out the dialogue, you'd just put them in as you go. you could ctrl+f and type in character names in the script and "replace all"
like replace d with d " and do the same for after periods but making sure you just do the ones that are at then end of the line. other than that you might just have to go and place them in manually

Posts: 216
Joined: Mon Oct 12, 2015 3:04 pm

Re: Coding Dialogue Statements easier!

#17 Post by drKlauz » Sun Sep 15, 2019 1:45 pm

This script could do it automatically, just replace line editing part. Find first space in line, insert quote after it, then add quote to end of line. Line with character tags, like "bob happy Hi, i'm Bob!" are impossible to process automatically, you will need to manually find these and edit them accordingly, moving first quote at right position.
I may be available for hire, check my thread: viewtopic.php?f=66&t=51350

Post Reply

Who is online

Users browsing this forum: No registered users