Colored console messages (e.g. player.print) for 0.15

Suggestions that have been added to the game.

Moderator: ickputzdirwech

User avatar
Mooncat
Smart Inserter
Smart Inserter
Posts: 1196
Joined: Wed May 18, 2016 4:55 pm
Contact:

Colored console messages (e.g. player.print) for 0.15

Post by Mooncat »

I see you are working on (or planning to work on) rich text support for GUI in 0.15. I hope the console can also be benefited.

When you see something like this in your console:
WeNeedSomeColors.png
WeNeedSomeColors.png (905.63 KiB) Viewed 1665 times
you also wish them to have colors, don't you? :lol:

With rich text, I hope we can give the console messages some colors, like

Code: Select all

player.print("{color=#FF0000}This is red.{/color} and this is white.")
User avatar
aubergine18
Smart Inserter
Smart Inserter
Posts: 1264
Joined: Fri Jul 22, 2016 8:51 pm
Contact:

Re: Colored console messages (e.g. player.print) for 0.15

Post by aubergine18 »

That will be a dream for other things too, like EvoGUI, and if we can get it on floating text it would be sweet. Would be nice if we could also pass colors in via locale strings, for example:

-- cfg file:
some.str = blah {color=__1}__2{color} blah

Can we also get font tags too? That way it would be trivial to add in characters from glyph fonts, as well as set their color.
Better forum search for modders: Enclose your search term in quotes, eg. "font_color" or "custom-input" - it prevents the forum search from splitting on hypens and underscores, resulting in much more accurate results.
Post Reply

Return to “Implemented Suggestions”