CraftyBomber Map Creation

Discussion in 'Plugin Development' started by Stigosaurus, Aug 25, 2013.

  1. Offline

    Stigosaurus

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Hey, I am making a private plugin similar to ShotBow's CraftyBomber gamemode. I have a few questions on how they create the maps:

    Maps are generated with walls, floor, pillars and barriers. The space between each pillar and the outer wall is 2 blocks. Blocks connecting the pillars are barriers. Here's a screenshot:
    [IMG]
    • How can I find the length of the map when given the amount of pillars?
    • How can I generate pillars like the picture above?
    • How can I generate walls between each of the pillars (leaving the diagonal spaces empty)?
    I honestly have no idea where to start ;_;
  2. Offline

    chasechocolate

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Code:java
    1. int length = (numOfPillars * 4) + 2;

    Multiplying by 4 because the pillars are 2 blocks wide and have 2 blocks of space in between other pillars and adding 2 because there is 1 more space than pillars.
    Stigosaurus likes this.
  3. Offline

    macguy8

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    If you don't know how to copy a server, you shouldn't copy it at all.
  4. Offline

    MrSnare

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

Share This Page