News:

Simutrans.com Portal
Our Simutrans site. You can find everything about Simutrans from here.

Relief map colors to match ground colors

Started by Spike, November 02, 2010, 02:57:07 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Spike

Maybe this exists and I just don't know it. But while working on pak.Excentrique, I noticed that the relief map shows ground in green, regardless of the real ground texture or color. I guess this works for most paks, but in pak.Excentrique the mismatch becomes quite apparent.

It'd be nice if the relief map could take the colors automatically from the ground/climate textures, but it would also work for me if I could configure the colors somewhere, to match my ground textures.

An_dz

Maybe add the use of MapColor= parameter in dat file?
This can work if exist or at least it can be a suggestion for next Simutrans. ;)

Spike

MapColor currently (IIRC) only allows one of 255 fixed colors. And it's not allowed for grounds IIRC. (I haven't seen Simutrans code since 5 years, so I don't know much about the current code).

If this is the way to go, I'd like to have the MapColor syntax expanded, maybe like colors are often denoted in web applications:

MapColor=#RRGGBB

Would still be cool if Simutrans could precalculate the colors from the textures :)

prissi

Simutrans can still only use only the 256 predefined colors for the map.