gemot encubed  

Go Back   gemot encubed > Gemot > Production & Help

Production & Help For discussions regarding production aspects, especially localisation, of visual novels and related games.

Reply
 
Thread Tools Display Modes
  #1  
Old 2013-04-30, 11:33
qazmlpok qazmlpok is offline
Visitor
 
Join Date: Feb 2009
Posts: 8
Default Help with puttext in NScripter

Hi, I'm trying to use the gettext function to insert entire script lines for a VN that I'm translating. This method is somewhat working, but chokes upon reaching an @ in the script. Strangely, the @ is processed and the game enters clickwait mode, but upon clicking it immediately crashes with an error message stating that EOF was unexpectedly reached. The line number it is giving is 10884, while the script file itself has 10895 lines - so almost, but not quite the end of the file.

I can't find any way to make this symbol work. Nothing I put after it avoids the crash, including nothing at all. Doing a separate puttext "@" doesn't work either; in that case nothing happens at all.

Is there any way to make puttext work with the script token?
Reply With Quote
  #2  
Old 2013-05-03, 13:49
Unregistered
Guest
 
Posts: n/a
Default

I'm not sure if I understand the problem correctly, but if you're trying to print a message containing "@" somewhere and it fails, try using a fullwidth "ï¼ " instead (Alt+65312 on keypad in Windows).
Reply With Quote
  #3  
Old 2013-05-04, 04:53
qazmlpok qazmlpok is offline
Visitor
 
Join Date: Feb 2009
Posts: 8
Default

Quote:
Originally Posted by Unregistered View Post
I'm not sure if I understand the problem correctly, but if you're trying to print a message containing "@" somewhere and it fails, try using a fullwidth "ï¼ " instead (Alt+65312 on keypad in Windows).
That would display an @ sign. I'm trying to use the syntax marker @ through puttext.

For example:
puttext "Test line@Second part"

I want this to display "Test line", enter clickwait mode, then display "Second part".

I'm doing this for wordwrapping. I've discovered "luacall text" and "NSCALL_text()", which gives me the text of every line as it would be displayed. Then I'm supposed to use puttext to actually display the text, but as the text contains the @ and \ syntax markers, it breaks. I haven't been able to find any way to make these work, nor any way to emulate them.
Reply With Quote
  #4  
Old 2013-08-22, 12:32
Yirba's Avatar
Yirba Yirba is offline
Member
 
Join Date: May 2011
Location: United Kingdom
Posts: 13
Default

Just do:

Code:
`Test line`@/
`Second part`\
???
__________________
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may post new threads
You may post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
*NScripter API updates Sonozaki Futago-tachi Technical Issues 40 2009-12-14 15:07
Nscripter Problems Rikdo_Osaka Technical Issues 3 2007-06-28 07:57
Nscripter history Mihara Technical Issues 1 2006-08-21 06:08
Font colors in NScripter? Starchanchan Technical Issues 1 2006-07-22 11:15
NScripter Mania! gp32 General Discussion 25 2005-06-18 06:41


All times are GMT -8. The time now is 09:25.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.