Input | Commands | Output Window color not saving.

Posted by Shnar on Wed 03 Jun 2009 10:33 PM — 4 posts, 14,967 views.

#0
For some reason, every time I open a world, the Output Window sets the color to "Custom 10" (a hazel on black color). I set all my windows to be white background and so this makes for a jarring affect. I can go in and chance the options to "no change", and it works great, I save the world, but then next time I open the world, it changes back to "Custom 10".

Is there anything special I need to do to make this setting keep?

-shnar
Australia Forum Administrator #1
Sounds like you have found a bug. The "no change" colour would be saved as zero, but the output routine does not output values of zero, to save space.

There are a couple of workarounds - instead of "no change" choose a custom colour, and then in the custom colour configuration make that custom colour what you want (eg. black on white). That way, the custom colour at least looks OK.

The other method is to make sure Lua scripting is active, and that the script prefix (in the Scripting tab), is the "/" character. Then, in the scripting tab put this in the box for World Events -> Open:


!/SetOption ("echo_colour", 0)


What that does, is when the world file is opened, puts the echo colour back to "no change".
#2
Ah, so basically you're saying that if that option ever gets set, you can't really unset it? K, I'll just use that custom-color work around. Thanks :)

-shnar
Australia Forum Administrator #3
Without that script line, the option doesn't stay set. With the script line, it would always be "no change". Of course, you could delete the script line.