Author Topic: Half-Height Map Color Scale  (Read 1670 times)

0 Members and 1 Guest are viewing this topic.

Offline Drewthegreat87

Half-Height Map Color Scale
« on: March 04, 2016, 01:50:29 PM »
Hello all,

On the Simutrans maps page under creating maps (or whatever it's called...), they have a tutorial which gives out grey scale values for shading the map for conversion to .ppm then going into Simutrans. That scale is set up for the old double height system of terrain that has been superseded by the half-height version from I think version 120.0.0 (right/wrong?) and onward. I was curious if somebody already has figured a new scale taking half-height into consideration? If not, I'll give it a go in my spare time and post the findings here once I get them.

Thanks!

Offline Spenk009

Re: Half-Height Map Color Scale
« Reply #1 on: March 05, 2016, 06:33:42 AM »
The maps are still read in the same way. It's just that now you can connect two height tiles difference with each other by means of a normal slope.

So the maps in half-heights are half their original height when loaded from the same image compared to old/full-height.

Offline Magpie

Re: Half-Height Map Color Scale
« Reply #2 on: June 10, 2016, 06:53:10 AM »
 I've been playing with heightfileds maps to create color palette for half-height. The grey scale at tutorial at simutrans maps will give you map with two half-height steps for every color. ( It's even a little bit bugged - it create double jump (4 half height slopes) between: R=203 G=203 B=203 andR=213 G=213 B=213

-Simutrans from heightmap create map raging from -19 to 20 (if you set water level to -20 at the map settings.) This is probably intended to leave you some levels (-32 to 32) for your infrastructure?
-So, I tried my own greyscale going down by 5 points (to be easy). 255,255,255 – 250,250,250 – - etc . It works well. It'll give you lvl 20 at 255,255,255 paint, lowest dry ground at 45,45,45 and an additional 5 sea levels.
RGB:
255,255,255
250,250,250
245,245,245
240,240,240
235,235,235
230,230,230
225,225,225
220,220,220
215,215,215
210,210,210
205,205,205
200,200,200
195,195,195
190,190,190
185,185,185
180,180,180
175,175,175
170,170,170
165,165,165
160,160,160
155,155,155
150,150,150
145,145,145
140,140,140
135,135,135
130,130,130
125,125,125
120,120,120
115,115,115
110,110,110
105,105,105
100,100,100
95,95,95
90,90,90
85,85,85
80,80,80
75,75,75
70,70,70
65,65,65
60,60,60
55,55,55
50,50,50
45,45,45 -dry land with sea level -20
40,40,40
35,35,35
30,30,30
25,25,25
20,20,20
15,15,15 -deepest sea