Lol, the coding isn't complex. Actually, there is very little. ACTUALLY, now that I just revisited map maker (It's been a while, sorry xD) you don't need any coding at all; map maker does it for you. You'll just have to drag the height map into the terrains folder and make your own mask (if you'd like), plug them into map maker, and recreate it to your delight.