From c534cf20fdb5e363b2b082af6eeb79746fe61250 Mon Sep 17 00:00:00 2001 From: shmyga Date: Wed, 12 Jun 2019 21:45:28 +0300 Subject: [PATCH] [common] add death mode map --- src/common/resources/death/config.yaml | 2 +- src/common/resources/death/levels/level001.txt | 4 ++-- src/common/resources/death/levels/level002.txt | 4 ++++ 3 files changed, 7 insertions(+), 3 deletions(-) create mode 100644 src/common/resources/death/levels/level002.txt diff --git a/src/common/resources/death/config.yaml b/src/common/resources/death/config.yaml index 9cf579a..219e7ed 100644 --- a/src/common/resources/death/config.yaml +++ b/src/common/resources/death/config.yaml @@ -1,5 +1,5 @@ game: - levels: 2 + levels: 3 friendlyFire: true complete: - team: alpha diff --git a/src/common/resources/death/levels/level001.txt b/src/common/resources/death/levels/level001.txt index 0765bda..ed68093 100644 --- a/src/common/resources/death/levels/level001.txt +++ b/src/common/resources/death/levels/level001.txt @@ -1,4 +1,4 @@ data: "002555520000255552000025555200002555520000255552000025555200002255220000225522000022552200000055000000005500000000550000111155111111115511111111551111111155111111115511111111551111555533555555553355555555335555555444455555544445555554444555555533555555553355555555335555111155111111115511111111551111111155111111115511111111551111000055000000005500000000550000002255220000225522000022552200002555520000255552000025555200002555520000255552000025555200" -points: [{direction: right, index: 0, y: 0, team: alpha, x: 0, type: tank}, {direction: right, index: 0, y: 0, team: beta, x: 9, type: tank}, {direction: right, index: 0, y: 0, team: gamma, x: 19, type: tank}, {direction: right, index: 0, y: 0, team: delta, x: 28, type: tank}, {direction: right, index: 0, y: 13, team: epsilon, x: 0, type: tank}, {direction: right, index: 0, y: 13, team: zeta, x: 9, type: tank}, {direction: right, index: 0, y: 13, team: eta, x: 19, type: tank}, {direction: right, index: 0, y: 13, team: theta, x: 28, type: tank}] -name: Test map size +points: [{index: 0, direction: right, y: 0, x: 0, team: alpha, type: tank}, {index: 0, direction: right, y: 0, x: 2, team: beta, type: tank}, {index: 0, direction: right, y: 0, x: 4, team: gamma, type: tank}, {index: 0, direction: right, y: 0, x: 6, team: delta, type: tank}, {index: 0, direction: right, y: 2, x: 0, team: epsilon, type: tank}, {index: 0, direction: right, y: 2, x: 2, team: zeta, type: tank}, {index: 0, direction: right, y: 2, x: 4, team: eta, type: tank}, {index: 0, direction: right, y: 2, x: 6, team: theta, type: tank}] +name: garages size: {width: 30, height: 15} diff --git a/src/common/resources/death/levels/level002.txt b/src/common/resources/death/levels/level002.txt new file mode 100644 index 0000000..0b9bbca --- /dev/null +++ b/src/common/resources/death/levels/level002.txt @@ -0,0 +1,4 @@ +data: "440022002200001100002200220044440022002200001100002200220044000000000000554455000000000000000000000000554455000000000000220044005544001100445500440022220044005544001100445500440022000000440000001100000044000000000000440000001100000044000000220055000000554455000000550022220055000000554455000000550022000044000044001100440000440000000044000044001100440000440000005500005500001100005500005500005500005500001100005500005500114411114411114411114411114411114411114411114411114411114411005500005500001100005500005500005500005500001100005500005500000044000044001100440000440000000044000044001100440000440000220055000000554455000000550022220055000000554455000000550022000000440000001100000044000000000000440000001100000044000000220044005544001100445500440022220044005544001100445500440022000000000000554455000000000000000000000000554455000000000000440022002200001100002200220044440022002200001100002200220044" +points: [{index: 0, direction: right, y: 2, x: 2, team: alpha, type: tank}, {index: 0, direction: right, y: 8, x: 8, team: beta, type: tank}, {index: 0, direction: right, y: 8, x: 20, team: gamma, type: tank}, {index: 0, direction: right, y: 2, x: 26, team: delta, type: tank}, {index: 0, direction: right, y: 26, x: 2, team: epsilon, type: tank}, {index: 0, direction: right, y: 20, x: 8, team: zeta, type: tank}, {index: 0, direction: right, y: 20, x: 20, team: eta, type: tank}, {index: 0, direction: right, y: 26, x: 26, team: theta, type: tank}] +name: target +size: {width: 30, height: 30}