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)
    Minecraft account:
    MCUSERNAME
    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

    dukestar46

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

    codename_B

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

    Psychoma

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    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 !
  6. Offline

    codename_B

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

    dukestar46

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

    codename_B

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

    dukestar46

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    yes but do you leave it set up like that all the time when you run the server?
  10. Offline

    codename_B

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    What kind of a question is that? Do you have to have permissions running to use the permissions plugin? Of course you do.
  11. Offline

    Psychoma

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    great ! can't wait for v3 :p
  12. Offline

    codename_B

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    If you have any ideas (and/or code you want to contribute) I welcome everything!
  13. Offline

    Psychoma

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

    steveuci

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

    Legomaster

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

    dukestar46

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    cant wait for v3
  17. Offline

    codename_B

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    still working on a decent treegen :/
  18. Offline

    dukestar46

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

    codename_B

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Yes. First things first is actually getting the trees though.
  20. Offline

    Legomaster

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    are there any good sites where I can get height maps that work well with this plugin?
  21. Offline

    codename_B

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    http://google.com :p
  22. Offline

    codename_B

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    V3 is out people! :D
  23. Offline

    joeyismusic

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    what is the command? how does it work? why is there no wiki or FAQ?
  24. Offline

    codename_B

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

    nightpool

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Does this work with the custom generator options in MultiVerse V2?
  26. Offline

    codename_B

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Should do - why not test it and let me know?
  27. Offline

    nightpool

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Well, after some testing, it seems both features work, importing the world it generates, and generating a new one, but not in a user friendly way.
    EDIT: I also ran out of memory generating your default 'earth' map, but that seems to be a problem with my java settings, not your plugin.

    Some suggestions:
    -not auto generating the world, waiting for it to be called, either from bukkit or from external world managers, such as MV2
    -instead of using a config, have the user pass the image name (probably relative to the bananaImageToMap folder in plugins, rather then the server root) through the id parameter, see CleanroomGenerator for an example of a simple chunk generator that makes heavy use of the id parameter.
    - Doing both of these gets rid of the config file which is really serves very little purpose, and hampers using the plugin in the way that I want to, creating worlds based on images on the fly.

    Another idea that I just came up with, is to let users make multiple 'presets', config files like fire.yml or fun.yml, customizing other options then just the image, then pass those filenames in the id parameter.
  28. Offline

    codename_B

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    I'll have a look, if you want to contribute any code to help me do this, that's also welcome :D there are some things I just am not able to do.
  29. Offline

    nightpool

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Sure. Except for the presets one, they're really quite simple changes. The presets one would require you to expose more of your populator options, which from your OP it seems like you're planning to do anyway :). Do you have a Github I could use?
  30. Offline

    codename_B

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    First on the new RB? ;)
  31. Offline

    Styx Reborn

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Damn you
  32. Offline

    Psychoma

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    yay *happy happy*

    going to try it tomorrow :p

Share This Page