CraftyBomber Map Creation

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

Thread Status:
Not open for further replies.
  1. Offline

    Stigosaurus

    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. 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. If you don't know how to copy a server, you shouldn't copy it at all.
     
  4. Good old macguy8 :D
     
Thread Status:
Not open for further replies.

Share This Page