Page 1 of 1

Where's the @ gone?

Posted: 25 Nov 2012, 01:17
by aubergine
For some odd reason, console() seems to mysteriously strip the character @ from strings sent to the console.

Is there any way to stop it doing that?

I've tried replacing @ with ﹫ or @ but those just end up getting converted to character codes in the console messages. The same happens when trying various Mongolian characters that look a bit like @.

Any ideas?

EDIT: Currently using ∂ as a temporary replacement.

Re: Where's the @ gone?

Posted: 25 Nov 2012, 02:07
by Per
The console uses '@' to indicate newline and '#' a colour change.

Re: Where's the @ gone?

Posted: 25 Nov 2012, 05:01
by aubergine
Can scripts do the colour change thing? That would be super awesome!

EDIT: Tried all sorts of colour refs (hex, name, rgba, etc) after a # and couldn't get colour change working :(

Re: Where's the @ gone?

Posted: 25 Nov 2012, 14:41
by Per
As far as I can tell, the colour change thing is not actually being used for anything in the game, and since the port to GLC for text rendering, the actual code used to change colours disappeared, but it still kept swallowing all '#' characters and the documentation was not updated. The reason for its disappearance is probably performance. Maybe someone else knows more.