170 lines
2.5 KiB
YAML
170 lines
2.5 KiB
YAML
game:
|
|
levels: 2
|
|
friendlyFire: true
|
|
|
|
map:
|
|
cellWidth: 22
|
|
cellHeight: 22
|
|
gridWidth: 40
|
|
gridHeight: 30
|
|
|
|
bricks:
|
|
# border
|
|
- type: -1
|
|
layer: 2
|
|
armor: -1
|
|
# none
|
|
- type: 0
|
|
layer: 0
|
|
armor: 0
|
|
# ace
|
|
- type: 1
|
|
layer: 0
|
|
armor: 0
|
|
# bush
|
|
- type: 2
|
|
layer: 3
|
|
armor: 0
|
|
# water
|
|
- type: 3
|
|
layer: 1
|
|
armor: 0
|
|
# armor
|
|
- type: 4
|
|
layer: 2
|
|
armor: 2
|
|
# brick
|
|
- type: 5
|
|
layer: 2
|
|
armor: 1
|
|
|
|
team_tanks: &team_tanks
|
|
tanks:
|
|
- group: any
|
|
type: 0
|
|
rate: 0.25
|
|
- group: any
|
|
type: 1
|
|
rate: 0.25
|
|
- group: any
|
|
type: 2
|
|
rate: 0.25
|
|
# - group: any
|
|
# type: 3
|
|
# rate: 0.25
|
|
|
|
teams:
|
|
- <<: *team_tanks
|
|
id: radiant
|
|
spawnInterval: 0
|
|
points:
|
|
- type: eagle
|
|
index: -1
|
|
x: 0
|
|
y: 28
|
|
direction: right
|
|
- type: tank
|
|
index: 0
|
|
x: 0
|
|
y: 0
|
|
direction: right
|
|
- type: tank
|
|
index: 1
|
|
x: 6
|
|
y: 10
|
|
direction: right
|
|
- type: tank
|
|
index: 2
|
|
x: 6
|
|
y: 16
|
|
direction: right
|
|
- type: tank
|
|
index: 3
|
|
x: 6
|
|
y: 22
|
|
direction: right
|
|
- type: tank
|
|
index: 4
|
|
x: 10
|
|
y: 28
|
|
direction: right
|
|
- <<: *team_tanks
|
|
id: dire
|
|
spawnInterval: 0
|
|
points:
|
|
- type: eagle
|
|
index: -1
|
|
x: 38
|
|
y: 0
|
|
direction: right
|
|
- type: tank
|
|
index: 0
|
|
x: 38
|
|
y: 28
|
|
direction: left
|
|
- type: tank
|
|
index: 1
|
|
x: 32
|
|
y: 18
|
|
direction: left
|
|
- type: tank
|
|
index: 2
|
|
x: 32
|
|
y: 12
|
|
direction: left
|
|
- type: tank
|
|
index: 3
|
|
x: 32
|
|
y: 6
|
|
direction: left
|
|
- type: tank
|
|
index: 4
|
|
x: 28
|
|
y: 0
|
|
direction: left
|
|
|
|
|
|
bullet: &bullet
|
|
width: 12
|
|
height: 12
|
|
speed: 0
|
|
piercing: 1
|
|
|
|
tanks:
|
|
any:
|
|
- type: 0
|
|
width: 36
|
|
height: 36
|
|
speed: 2.5
|
|
bullet:
|
|
<<: *bullet
|
|
speed: 8.0
|
|
bullets: 1
|
|
|
|
- type: 1
|
|
width: 40
|
|
height: 36
|
|
speed: 3.0
|
|
bullet:
|
|
<<: *bullet
|
|
speed: 8.5
|
|
bullets: 1
|
|
|
|
- type: 2
|
|
width: 40
|
|
height: 36
|
|
speed: 3.0
|
|
bullet:
|
|
<<: *bullet
|
|
speed: 9.0
|
|
bullets: 2
|
|
|
|
- type: 3
|
|
width: 42
|
|
height: 38
|
|
speed: 2.9
|
|
bullet:
|
|
<<: *bullet
|
|
speed: 9.0
|
|
piercing: 3
|
|
bullets: 2 |