ctf_map1.txt 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. gamesignloc = minigame.getSignLoc("ctfsign1");
  2. gamesworld = world.getGames();
  3. lobbyspawnloc = loc.new(gamesworld, 987, 84, 995);
  4. middleloc = loc.new(gamesworld, -5500, 64, -5500);
  5. radius = 200;
  6. numberofteams = 2;
  7. teamsize = 10;
  8. minplayers = 2;
  9. maxplayers = teamsize * numberofteams;
  10. mapname = "Battlefield";
  11. joinblocks = list.new(); //Liste der Blöcke, um einem Team zu joinen
  12. list.add(joinblocks, loc.new(gamesworld, 991, 84, 995));
  13. list.add(joinblocks, loc.new(gamesworld, 983, 84, 995));
  14. list1 = list.new();
  15. list.add(list1, loc.new(gamesworld, -5437, 85, -5499)); //team1
  16. list.add(list1, loc.new(gamesworld, -5437, 85, -5501)); //team2
  17. list2 = list.new();
  18. list.add(list2, loc.new(gamesworld, -5569, 85, -5499)); //team1
  19. list.add(list2, loc.new(gamesworld, -5569, 85, -5501)); //team2
  20. flaglocs = map.new();
  21. map.add(flaglocs, 0, list1);
  22. map.add(flaglocs, 1, list2);
  23. //Rotation der Banner
  24. flagrotation = map.new();
  25. map.add(flagrotation, 0, 12); //Osten
  26. map.add(flagrotation, 1, 4); //Westen
  27. //Spawn-Locations der Spieler
  28. spawnlocs = map.new();
  29. map.add(spawnlocs, 0, loc.new(gamesworld, -5451, 64, -5500, 90, 0));
  30. map.add(spawnlocs, 1, loc.new(gamesworld, -5555, 64, -5500, -90, 0));
  31. sword = item.create("STONE_SWORD", 1, null, null);
  32. bow = item.create("BOW", 1, null, null);
  33. arrows = item.create("ARROW", 32, null, null);
  34. food = item.create("COOKED_PORKCHOP", 32, null, null);
  35. gapple = item.create("GOLDEN_APPLE", 1, null, null);