1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. Hey Guest, is it this your first time on the forums?

    Visit the Beginner's Box

    Introduce yourself, read some of the ins and outs of the community, access to useful links and information.

    Dismiss Notice

Heightmap to KAG map converter!

Discussion in 'Maps' started by Robinskie, Dec 6, 2012.

  1. Robinskie

    Robinskie Drill Rusher

    Messages:
    124
    This is an old and buggy tool! Use this instead: https://forum.kag2d.com/threads/heightmap-to-kag-map-htk.14110/#post-214926

    A small Game Maker program I made. It converts heightmaps to .png files.
    You load the heightmap, select which line you want to use for the terrain, decide if you want to make it symmetric. And voilĂ  there you have terrain generated for you!
    The terrain is based on the value of the color. So completely white = dirt to the top of the map and completely black = endless pit.
    The maps are always saved with a height of 255, but you can edit that later in Paint.NET

    Example:
    I used this line of this heightmap:
    heightmap.jpg

    And it gave me this.
    hmap.png

    'Nother example (I made it symmetric):
    HeightMapExample.png

    hmap2.png

    Download link: https://forum.kag2d.com/attachments/hmaptokmap-zip.14033/?temp_hash=c070d180140a04c81b35cf4fe24d64e4
     

    Attached Files:

  2. Ulthuanelf

    Ulthuanelf Shark Slayer

    Messages:
    68
    Nice work bro. :):thumbs_up:

    I think you should tweak the height/width ratio a bit tough.
     
  3. Robinskie

    Robinskie Drill Rusher

    Messages:
    124
    Yeah, I'm gonna add a scaling option in the future.
     
  4. JacKD

    JacKD Ballista Bolt Thrower

    Messages:
    496
    I like it cause it's weird :)

    Nice job
     
  5. PhirePuncher

    PhirePuncher Shipwright

    Messages:
    66
    This is very interesting...
    Perhaps ill use this as a starting point for one of my future maps!
     
  6. dangertank44

    dangertank44 Shark Slayer

    Messages:
    53
    Wonderful idea, I agree with the others. There should be a scale. It would be interesting to do Mt Everest :3
     
  7. Robinskie

    Robinskie Drill Rusher

    Messages:
    124