-
-
Save SupaHam/286b137f4cfc17d9e549 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
extents: &extents | |
- {id: 'boundaries', cuboid: {min: '0, 0, 0', max: '150.0, 150.0, 150.0'}} | |
- id: spawns | |
union: | |
- id: default | |
block: 1,2,3 | |
- block: 13.5, 1, 8.5 # First spawn | |
- block: 14.5, 1, 9.5 # Second spawn... etc. | |
# insert 22 more spawns | |
spawns: &spawns | |
default: {'default': {yaw: 30, pitch: 20}} | |
default: {extent: 'default', yaw: 30, pitch: 20} | |
spawns: | |
- spawns: {point-to: '0,~,0'} | |
- {extent: 'spawns', point-to: '0,~,0'} | |
modules: | |
- MapInfo: | |
blur-version: 1 | |
version: 0.1 | |
id: castle | |
name: Castle | |
description: Castles are cool. | |
authors: | |
- {uuid: '5552e21d-de79-40bc-89da-62ee63244fb2', role: 'Gameplay designer & Map designer'} | |
- {uuid: '5552e21d-de79-40bc-89da-62ee63244fb3', role: 'Map builder'} | |
- Extents: *extents | |
- Spawns: *spawns | |
- Teams: {id: 'survivors', name: 'Survivors', max: 24, chat-prefix: '&e', color: 'Yellow'} | |
- Boundaries: boundaries # 'boundaries' extent (See L2) | |
- LastPlayerAliveWinner | |
- Goal: | |
lives: 1 # each player gets one life. | |
- Stages: | |
- name: Pregame | |
modules: | |
- Invulnerable: true | |
- NextStage: 30s | |
- name: Initial | |
modules: | |
- Invulnerable: 1m # Invulnerability for 1 minute after the game starts | |
- Goal: | |
time-limit: 15m # first stage should only last 15 minutes | |
- name: Deathmatch | |
modules: | |
- Goal: | |
time-limit: 5m # deathmatch should only last 5 minutes | |
# TODO Figure out a proper way to specify a task for respawning players | |
# Maybe have the SurvivalGames module teleport players to spawn points on stage change. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment