This sounds good guys. After seeing a similar thing on Sim City 3000 the first thing i thought when looking at the maps for Loco was that i wanted something like this. It will be great to convert some actual maps of coastlines and stuff. I will look forward to the one with the GUI!
It just loads a bmp file and outputs a scenario file. Not much reason to add a GUI. It would only slow down things
Just to put things straight if i do a square of land in grayscale under pixelvalue 25 will it be under the water?
Yes. (Actually, the pixelvalue is 20 now since I just updated mapgen to not use height 0)
Also, keep in mind that there are not 256 valid height levels in locomotion, so the pixelvalue is rounded to the closest valid height. The valid heights occur at approximately every 6.4th pixelvalue. So, a pixelvalue of 19 would still be rounded to 20 (sealevel).
If i do a square of land at pixelvalue 25 will it be below the water or visible?
(pixelvalue 20 now)
It will become a piece of green land at sealevel. (just like in the built in scenario editor)
In general will i need to keep any land i want generated above the 25 pixel mark?
Everything at or above sealevel becomes dry land. Everything below sealevel ends up under water. Just like in the built in scenario editor.
Also when i go into loco do i load the landscape in the editor? Will the landscape be written into the loco landscapes folder?
The landscape file is written to the location you specify at the command line. It is written to the directory where mapgen is located if no directory path is specified.
Just use the file->open menu in the locomotion scenario editor and locate the scenario file created by mapgen.
If you want to see an example of a generated scenario, I created this scenario using mapgen: http://www.tt-forums.net/viewtopic.php?t=10704
(Note that this scenario was created before I removed the use of height level 0, so there might be some glitch with level 0 tiles)