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

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    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
    hammale, TAT, AS1LV3RN1NJA and 8 others like this.
  2.  
  3. Offline

    SwearWord

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    On your server how long does it take to generate a 1000x1000 map? Doesn't have to be very accurate.
  4. Offline

    codename_B

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    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.
  5. Offline

    codename_B

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    It's quicker than generating a notchmap.
    It is accurate though, just by it's nature lol.
  6. Offline

    rockxz2135

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    I always found minecraft hard to masteerbate to... but now.. i can change porn to maps ;D
  7. Offline

    rockxz2135

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    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?
  8. Offline

    SwearWord

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Just input an image of a single grey.
  9. Offline

    iSHFTx

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    if someone makes a map out of pron i will love you forever
  10. Offline

    compgurusteve

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Does this have to be generated using a single world server only?
  11. Offline

    codename_B

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    No, it just adds another world to a single world/multiworld server.
  12. Offline

    Juze

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    @codename_B : HOLY SHI-

    Title CB# is wrong though. Must be latest RB. :)
  13. Offline

    codename_B

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Getting ahead of myself is all :p changed back
  14. Offline

    ChrizC

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    What happens to chunks outside of the imported image's area? Are they just generated normally?

    Chris
  15. Offline

    codename_B

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    No, they're water 5 levels deep with stone to bedrock after that.
  16. Offline

    Juze

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    [IMG]

    umadbro? Just kidding, I love this plugin. :)

    Terrain kept generating because I renamed noisy to world, as MultiVerse threw me an error on world teleport.
  17. Offline

    Wakko

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    That's.... disturbing.... :eek:
    rockxz2135 likes this.
  18. Offline

    codename_B

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Both hilarious and genius - but yes if you change the world name, you lose the custom generator.
  19. Offline

    Juze

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
  20. Offline

    narrowtux

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Nice one!
    Can you also add support for a color.jpg where we can store the colors that the most top block of the world should have?
  21. Offline

    codename_B

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    [IMG]
    [IMG]

    Some screenshots of how the dungeon generator is looking
  22. Offline

    codename_B

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    If you write me a function to convert RGB into block values, I will add this.
  23. Offline

    narrowtux

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    I've got some code lying around in my dev-folder, which can convert an image to woolcolors. But this isn't finished yet, and it's not java, but C++ ;)
  24. Offline

    codename_B

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    [IMG]
    [IMG]

    Some screenshots of the cave generation system.
  25. Offline

    codename_B

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Hey, it's just integers to integers.
  26. Offline

    compgurusteve

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Yeah for some reason, i'm unable to create the image/find it.
    Here's my config:
    banana:
    worldname: rook
    directory: C:\Documents and Settings\Steven\Desktop\Minecraft server\plugins\rook.jpg

    I'll generate the map in the server, once it's complete i'll stick in into SSP and use /fly to try to find out where it's at. But it just seems to generate a new notch world.
  27. Offline

    codename_B

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    ?
    It generates a completely different world, with the name of "rook".
    It will only generate the chunks that are loaded while the worldgenerator is active, so if you use, for example, SSP to play on the map, of course it will generate a notchWorld!
  28. Offline

    narrowtux

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Yeah, but when I put an image of the earth in there, it should see which is grass and which is water and which is stone at least
  29. Offline

    codename_B

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    I'm doing the heightmap from shading, so it would have to be black for water and white for land (standard heightmap format really)

    Have a play around

    ps. version 2 will be out as soon as @Pandarr is done his populator :D
  30. Offline

    Wakko

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    So outside of the image the world generates normally?
    How much area does the picture generate?
    I'm assuming 1 block per pixel?
  31. Offline

    Jeff Miller

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Pure. Gene. E. Us. Seriously. Look at my face: :eek: does it not look serious? Of course it does.

    I am going to use Tektonic to make 2D map jpgs of my current worlds and then import them with this. It will be like bizarro world except all made out of dirt. All my houses and trees will be height mapped dirt piles.

    Ooh! Then I could repeat the process on that output for even more bizarre images of images of worlds made into a map. I should probably put a limit on my recursion before I run out of heap space.
  32. Offline

    xenofixus

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Any chance you could add support for a color map too? :D

Share This Page