Inactive [INACTIVE][WGEN] BananaImageToMap v3.1 - now with proper ores! [1000]

Discussion in 'Inactive/Unsupported Plugins' started by codename_B, Jun 22, 2011.

  1. Offline

    codename_B

    BananaImageToMap
    turn any image into a world!

    Version 3.1
    Download Here
    Github


    Configuration options:
    • image to use
    This plugin allows you to turn any image into a world - this means it can be generated with, for example, BananaMapRender, and do stuff like this!



    That's right, heightmaps translated to maps in-game, for zero effort, just configure the worldname and the image and you're away!

    Remember:
    You need to configure your bukkit.yml correctly and start with a fresh world before using this or it will not work.
    Code:
    worlds:
          worldname:
                 generator: BananaImageToMap
    
    Includes:
    • CavePopulator
    • DesertPopulator
    • DungeonPopulator
    • FlowerPopulator
    • LakePopulator
    • Mushroom Populator
    • QuarryPopulator
    • Ruins Populator - thanks @Nightgunner5
    • Snow Populator
    • SpookyRoomPopulator
    • TorchPopulator - thanks @Nightgunner5
    • Tree Populator - thanks @heldplayer and @SpaceManiac
    • Ores! - thanks @Notch
    Fun extras:
    • Will generate a heightmap image if you don't specify any!
    Screenshots:
    [​IMG]

    [​IMG]

    Changelog:
    • v1 - released awesome plugins
    • v2 - added block populator for ores, thanks @Pandarr also added awesome cavegen, thanks me!
    • v3 - added fixed populators and cleaned up code, thanks @SpaceManiac (no extra configuration options this time - sorry) :p
    • v3.1 - re-added caves (minus the memory leak) - added proper ore population :D
     
    glen3b, hammale, TAT and 9 others like this.
  2. Offline

    DrAgonmoray

    Holy-

    You never cease to amaze me. +1 internetz
     
  3. Offline

    codename_B

    I LIKE CAEK @iffa DO U LYK KAEK?
     
    rockxz2135 likes this.
  4. Holy mother hubbin' son of a gum chewing funk beast.

    codename_B, you are one of the best plugin coders in the history of Minecraft server modification.

    Bless you.
     
  5. Offline

    codename_B

    Aww thanks, do let me know what you decide to do with it.
     
  6. Offline

    Minecraft93

    so any picture? so could i use an aerial map of STALKER Shadow of Chernobyl's PDA Map To Make a Mine craft map?
     
  7. Offline

    codename_B

    That's correct.
    Black and white heightmaps work best though - I was experimenting with some Quake3 heightmaps and they looked damn good in-game!
     
  8. D:

    Just got done getting my map ready, then I get 403 forbidden! Naooo!
     
  9. Offline

    codename_B

    Using this
    [​IMG]

    Here's a bit of that Quake3 heightmap.
    [​IMG]
    I've added tree generation to my dev version - working on resources etc to make it a viable map alternative :D

    But yeah, atm you can have maps from any file you want - yes... ANY, but I wouldn't recommend having an online map if your map is formed from something... unsavoury.

    Remember, with great power, comes great responsibility.
    Try a different webhost? Or upload to tinypic or something? How are you rendering it?
     
  10. Offline

    Minecraft93

    same i wanna try this :D
     
  11. No, I can't dowload your plugin. D:
     
  12. Offline

    codename_B

    Oops - I had some experimental .htaccess stuff leftover :p my bad.

    You should be able to download it now ^^

    Can you download it now? :)

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 16, 2016
  13. Offline

    Minecraft93

    ok it works fine now thanks
     
  14. Offline

    codename_B

    Keep me posted on the image you use, and how it turns out etc :)
     
  15. Offline

    Minecraft93

     
  16. Offline

    codename_B

    You wouldn't happen to have forgotten to place earth.jpg into your plugins folder would you?
     
  17. Offline

    Minecraft93

    nope i put it in. still errors. then i tried my own picture and still error
     
  18. Offline

    codename_B

    so plugins/earth.jpg exists?
    What operating system?
     
  19. Offline

    Minecraft93

    windows 7 ultimate edition. x86 back compatible.
     
  20. Offline

    codename_B

    Hi, I've just uploaded a new version with more error logging.

    Redownload and try now? I'm going to get this working for you tonight.

    I'm on the same OS and am having no problems. Try the new version and make sure that plugins/earth.jpg exists.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 16, 2016
  21. Offline

    Minecraft93

    well im getting this now. Some times it will work and sometimes i get this null pointer error.

    but a config file did show up and a *noisy* map file showed up....




     
  22. Offline

    codename_B

    Perhaps change the directory to use the windows \
    so change your config file to have 'plugins\earth.jpg' instead of 'plugins/earth.jpg'

    Try that for me.
     
  23. Offline

    SwearWord

    @codename_B
    Wow I just finished writing a quick windows application to do the same thing. I'm not sure if you're considering this but one thing I did was to give the options of specifying a second image that is colored and would determine the block types above sea level. This way you don't have to write code to randomly generate different areas and users can specify how everything looks and if they want lakes in certain areas, etc. Although judging from this I assume you set transparency to water?

    One question in terms of speed and efficiency, did you go pixel by pixel and place blocks up to the height for that xyz coordinate? Or did you do something more clever and if so are you willing to share?
     
  24. Offline

    codename_B

    Hi, I finally managed to replicate your error.

    If you could please re-download for me, that would be great :)

    It's all hooked into the terrain generation api, what I'm doing is creating an array of integers. I can certainly look into the blocktypes above sea level, at the minute I'm working on getting rid of this wierd bug that has just been uncovered. We have "biomes" to handle "randomly" generated areas though!

    As far as sharing goes, source is in the .jar, as always.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 16, 2016
  25. Offline

    Minecraft93

    Ok nice the issue is fixed :D!!! lol ok now once i use my own photo it errors out all over again
     
  26. Offline

    codename_B

    YAAAY :D

    I'm very happy to hear that, if you post some screenshots of the heightmap you used and how it turned out I would be very appreciative! :D

    Remember, the smoother the heightmap, the smoother the map. An ideal size for a heightmap is 1000x1000px - which is a decent sized minecraft server map too, so if you have a smaller heightmap and resize it to that size, the terrain will be a lot smoother :)
     
  27. Offline

    Minecraft93

    Im using the Earth.jpg since my photo wont work.

    [​IMG]

    Uploaded with ImageShack.us
     
  28. Offline

    SwearWord

    On your server how long does it take to generate a 1000x1000 map? Doesn't have to be very accurate.
     
  29. Offline

    codename_B

    Just fyi - if you change images you have to stop the server and delete the world folder or give the world a different name before you start seeing any difference.

    It's quicker than generating a notchmap.
    It is accurate though, just by it's nature lol.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 16, 2016
  30. Offline

    rockxz2135

    I always found minecraft hard to masteerbate to... but now.. i can change porn to maps ;D

    What about another plugin like this that generates a flat map? I can't be the first server owner that wanted a flat map at a configurable height... can I?

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 16, 2016

Share This Page