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

    DrAgonmoray

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Holy-

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

    codename_B

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    I LIKE CAEK @iffa DO U LYK KAEK?
    rockxz2135 likes this.
  5. Offline

    TheBritishEditor

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

    codename_B

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Aww thanks, do let me know what you decide to do with it.
  7. Offline

    Minecraft93

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    so any picture? so could i use an aerial map of STALKER Shadow of Chernobyl's PDA Map To Make a Mine craft map?
  8. Offline

    codename_B

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    That's correct.
    Black and white heightmaps work best though - I was experimenting with some Quake3 heightmaps and they looked damn good in-game!
  9. Offline

    TheBritishEditor

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    D:

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

    codename_B

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

    Minecraft93

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    same i wanna try this :D
  12. Offline

    TheBritishEditor

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    No, I can't dowload your plugin. D:
  13. Offline

    codename_B

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Oops - I had some experimental .htaccess stuff leftover :p my bad.

    You should be able to download it now ^^
  14. Offline

    codename_B

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Can you download it now? :)
  15. Offline

    Minecraft93

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    ok it works fine now thanks
  16. Offline

    codename_B

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Keep me posted on the image you use, and how it turns out etc :)
  17. Offline

    Minecraft93

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

    codename_B

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    You wouldn't happen to have forgotten to place earth.jpg into your plugins folder would you?
  19. Offline

    Minecraft93

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    nope i put it in. still errors. then i tried my own picture and still error
  20. Offline

    codename_B

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    so plugins/earth.jpg exists?
    What operating system?
  21. Offline

    Minecraft93

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    windows 7 ultimate edition. x86 back compatible.
  22. Offline

    codename_B

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

    codename_B

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    I'm on the same OS and am having no problems. Try the new version and make sure that plugins/earth.jpg exists.
  24. Offline

    Minecraft93

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




  25. Offline

    codename_B

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

    SwearWord

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

    codename_B

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Hi, I finally managed to replicate your error.

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

    codename_B

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

    Minecraft93

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Ok nice the issue is fixed :D!!! lol ok now once i use my own photo it errors out all over again
  30. Offline

    codename_B

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

    Minecraft93

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Im using the Earth.jpg since my photo wont work.

    [IMG]

    Uploaded with ImageShack.us

Share This Page