If you've ever tried to make a map with the mapgen you've probably had trouble getting the right colors to make it have the right height well have trouble no more here is the very solution you were looking for. This topic will help you get the very specific colors you need to have a good map!
Here are the Hex codes for the different elevations
Code: Select all
Locomotion Heights and their corresponding Hex Codes
Height Hex Code
<-48ft>----------<#000000>
<-32ft>----------<#060606>
<-16ft>----------<#0d0d0d>
<0ft>----------<#131313>
<16ft>----------<#1a1a1a>
<32ft>----------<#202020>
<48ft>----------<#262626>
<64ft>----------<#2d2d2d>
<80ft>----------<#333333>
<96ft>----------<#3a3a3a>
<112ft>----------<#404040>
<128ft>----------<#464646>
<144ft>----------<#4d4d4d>
<160ft>----------<#535353>
<176ft>----------<#5a5a5a>
<192ft>----------<#606060>
<208ft>----------<#666666>
<224ft>----------<#6d6d6d>
<240ft>----------<#737373>
<256ft>----------<#7a7a7a>
<272ft>----------<#808080>
<288ft>----------<#868686>
<304ft>----------<#8d8d8d>
<320ft>----------<#939393>
<336ft>----------<#9a9a9a>
<352ft>----------<#a0a0a0>
<368ft>----------<#a6a6a6>
<384ft>----------<#adadad>
<400ft>----------<#b3b3b3>
<416ft>----------<#bababa>
<432ft>----------<#c0c0c0>
<448ft>----------<#c6c6c6>
<464ft>----------<#cdcdcd>
<480ft>----------<#d3d3d3>
<496ft>----------<#dadada>
<512ft>----------<#e0e0e0>
<528ft>----------<#e6e6e6>
<544ft>----------<#ededed>
<560ft>----------<#f3f3f3>
<576ft>----------<#fafafa>
For those interested here's how I did it.
First off I'd like to say that it took me a while to perfect this palette and hope people will appreciate the time I spent to create this for the benefit of all to use it.
List of important numbers I used to calculate the correct colors for map creating
256- the # of colors in the Locomotion color palette
16- the number of ft. each level
(-48-576)- the height range of Locomotion
The Calculations
First I needed need to know the number of elevation levels that are allowed, so I did this:
Range of elevation at +4 sea level
-48 - 576
lowest highest
To find the total amount of elevation I had to do some math (-48)-576=(-624)
Since your total elevation cant be negative you invert it and it's 624ft
alright now since the total elevation is 624ft and each level is 16ft you divide
624/16=39 but basic math doesn't count the 0ft level as a level so you have to +1
So the total number of levels is 40 for most of the time I worked on this, this is where I was stuck until I realized that: the color palette of Locomotion is 256 colors so I needed a grey-scale palette that also had 256 colors I quickly created a palette to start from and I figured the best way to get 40 colors from 256 evenly was to divide it so I divided: 256/40=6.4 From that information in hand I opened up Excel and created a chart that would tell me the numbers of the color to pick without me actually doing the math my self and easily creating an accurate Palette that helped me create my first map. I hope you use this to your advantage. Enjoy.
Good Luck,
Zane