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

    alexlight

    i know the land is not shaped as i want it because when i replace the .jar by v1 i get what i want
    v2 provided here seems not to work

    is it possible to edit your first post and put only one link plz because i have no idea which one is the good one
     
  3. Offline

    codename_B

    Which version?
    Hi, you need to add the world to bukkit.yml in order for v2 or above to work.

    I will be releasing more specific documentation when V3 is released, as well as removing the links to v1 and v2
     
  4. Offline

    alexlight

    i put my workd in bukkit yaml but maybe i did it wrong


    Code:
    worlds:
        noisy:
            generator: BananaImageToMap
    settings:
        spawn-radius: 1
        update-folder: update
    aliases:
        icanhasbukkit:
        - version
    database:
        username: bukkit
        isolation: SERIALIZABLE
        driver: org.sqlite.JDBC
        password: walrus
        url: jdbc:sqlite:{DIR}{NAME}.db
    thanks
     
  5. Offline

    codename_B

    Looks fine to me - working with V2?
     
  6. Offline

    alexlight

    all working now thanks a lot
    just got to create my picture now ^^
     
  7. Offline

    codename_B

  8. Offline

    dukestar46

    Hi I'm using v2 all I'm trying to di is make a big land with water all the way around it. But as soon as I make my image bigger then 410x410 the land gets cut off at the edge. So the water isn't all the way around it. My image is just black and white so it's working. Just not how I would like. Would you be able to show a working example of a land with water around it that is at least 2000x2000 thanks
     
  9. Offline

    codename_B

    Hi, I don't understand what you're asking for. I generally use images around 4000x4000px with no issues, just it's not all generated at once (obviously) it's dynamically generated.
     
  10. Offline

    dukestar46

    I will try to give it another go. Also when I run the v2 that you have posted on the 1st page it says it's v1.0 in the cmd.
    Also when do you think v3 will be ready?
    Thanks alot
     
  11. Offline

    codename_B

    v2.1 is already ready if you wish to use it
    http://uf6.info/bcode/BananaImageToMap.jar

    v3 won't be released until I get a custom tree generator working to my satisfaction, so could be a while.
     
  12. Offline

    Psychoma

    i have a question (well in fact many)
    are there nasty squares on the surface, like normal ?? :confused:
    or what are they for ?

    other questions, do you plan to set levels for ore ?
    like lev 0-16 diamond and so on ?

    and do you plan some kind of option to increase/reduce donjons number and/or size ?
    and for these squares on my picture ? since i want create my world with some ruins they are cool, but not so many

    and i notice i got no sand and no clay, is that normal in V2 or did i do my picture wrong ?
    [​IMG]

    keep the great job !
     
  13. Offline

    codename_B

    Those "nasty squares" are quarries. Concentrated pockets of gravel/cobblestone.

    At the minute I don't generate clay and only generate sand on "desert biomes" which if you look, you have a little of in the screenshot.

    The block population is all random, it's only the height of the terrain determined by the image, looks like you've got the general idea though. Sorry about the lack of trees, it's being worked on.

    Everything will be configurable in v3 - at the minute I'm just adding enough things to the populator to make it interesting and optimising my code (the memory usage difference between v2 and v2.1 is a whole 75% less, wow!)
     
  14. Offline

    dukestar46

    Are you ment to leave
    worlds:
    world:
    generator: BananaImageToMap
    in there after you have ran this once?
    do you also leave the plugin in the plugin folder?
    an what dose the config do i have changed the worldname: to world it dont change anything
     
  15. Offline

    codename_B

    Hi, you're supposed to have that there BEFORE you run it, it sets the generator for your world so you better be generating one from scratch.
     
  16. Offline

    dukestar46

    yes but do you leave it set up like that all the time when you run the server?
     
  17. Offline

    codename_B

    What kind of a question is that? Do you have to have permissions running to use the permissions plugin? Of course you do.
     
  18. Offline

    Psychoma

    great ! can't wait for v3 :p
     
  19. Offline

    codename_B

    If you have any ideas (and/or code you want to contribute) I welcome everything!
     
  20. Offline

    Psychoma

    well the only idea i can submit is using 2 picture files
    one in grayscal for topography
    one in color for type of landscape
    yellow -> sand for 2 ou 3 cube depth , then 2 ou 3 sandtone
    green -> same as you have now
    blue -> water (but this mays conflict with the topographic map)
    red -> lava
    gray -> stone/gravel
    white -> cover with snow /ice
    (brown -> forest )

    i guess this would mean recode everything xD
    if i can just change the number/size of stuff that's already enough for me

    btw i noticed that flowers where not generated on the top of dirt, but in holes
     
  21. Offline

    steveuci

    The problem the developer may have with that idea is that, as far as I know, the biomes are generated by the level's seed value, so even if he does this, you'll likely end up with some deserts where you want them but it's snowing on them. Or your designated snow areas will melt if they aren't snowy biomes, etc.

    I did see a biome editor somewhere around here in its early stages but it's something that is used after the map's already been generated so that doesn't seem like a good fit for what you're trying to do either.
     
  22. Offline

    Legomaster

    Is there any chance of skyland-like worlds? So instead of generating caves and stuff it would cut off land below a certain point and make floating islands in the sky?
     
  23. Offline

    dukestar46

    cant wait for v3
     
  24. Offline

    codename_B

    still working on a decent treegen :/
     
  25. Offline

    dukestar46

    i wish i could help you but i now nothing about java
    Are you going to add a config so you can edit the water level an how many trees and how many lava holes?
     
  26. Offline

    codename_B

    Yes. First things first is actually getting the trees though.
     
  27. Offline

    Legomaster

    are there any good sites where I can get height maps that work well with this plugin?
     
  28. Offline

    codename_B

    http://google.com :p
     
  29. Offline

    codename_B

    V3 is out people! :D
     
  30. Offline

    joeyismusic

    what is the command? how does it work? why is there no wiki or FAQ?
     
  31. Offline

    codename_B

    There is no command, it's a world generator. Why would I need an FAQ for a plugin that doesn't have any use without external configuration? Want me to add permissions? iConomy? Worldguard regions support?
     

Share This Page