[common] added LevelPack

This commit is contained in:
2019-06-14 16:06:22 +03:00
parent 4c3f1ca0fc
commit e39de4467d
82 changed files with 1321 additions and 1149 deletions

View File

@@ -0,0 +1,215 @@
game:
friendlyFire: false
complete:
- team: human
map:
cell:
width: 22
height: 22
grid:
width: 26
height: 26
bricks:
- {type: border, index: -1, layer: 2, armor: -1}
- {type: none, index: 0, layer: 0, armor: 0}
- {type: ace, index: 1, layer: 0, armor: 0}
- {type: bush, index: 2, layer: 3, armor: 0}
- {type: water, index: 3, layer: 1, armor: 0}
- {type: armor, index: 4, layer: 2, armor: 2}
- {type: brick, index: 5, layer: 2, armor: 1}
player:
human: &human
life: 3
protect: 5
tanks:
- {type: human0, rate: 1}
bot: &bot
color: 0xFFFFFF
bonus: 0.25
tanks:
- {type: bot0, rate: 0.30}
- {type: bot1, rate: 0.28}
- {type: bot2, rate: 0.27}
- {type: bot3, rate: 0.15}
team:
human: &team_human
id: human
players:
- {<<: *human, index: 0, color: 0xFFFF00, control: 'null'}
- {<<: *human, index: 1, color: 0x15C040, control: 'null'}
eagle: {}
points:
- {team: human, type: eagle, index: -1, direction: right, x: 12, y: 24}
- {team: human, type: tank, index: 0, direction: top, x: 8, y: 24}
- {team: human, type: tank, index: 1, direction: top, x: 16, y: 24}
- {team: bot, type: tank, index: -1, direction: bottom, x: 0, y: 0}
- {team: bot, type: tank, index: -2, direction: bottom, x: 12, y: 0}
- {team: bot, type: tank, index: -3, direction: bottom, x: 24, y: 0}
bullet: &bullet
width: 12
height: 12
speed: 0
piercing: 1
tanks:
- type: human0
upgrade: human1
width: 36
height: 36
speed: 2.5
bullet:
<<: *bullet
speed: 8.0
bullets: 1
skin: pa
- type: human1
upgrade: human2
width: 40
height: 36
speed: 3.0
bullet:
<<: *bullet
speed: 8.5
bullets: 1
skin: pb
- type: human2
upgrade: human3
width: 40
height: 36
speed: 3.0
bullet:
<<: *bullet
speed: 9.0
bullets: 2
skin: pc
- type: human3
downgrade: human2
width: 42
height: 38
speed: 2.9
bullet:
<<: *bullet
speed: 9.0
piercing: 3
bullets: 2
skin: pd
- type: bot0
width: 38
height: 36
speed: 2.0
bullet:
<<: *bullet
speed: 7.0
bullets: 1
score: 100
skin: ba
- type: bot1
width: 40
height: 36
speed: 4.0
bullet:
<<: *bullet
speed: 7.0
bullets: 1
score: 200
skin: bb
- type: bot2
width: 38
height: 36
speed: 2.0
bullet:
<<: *bullet
speed: 9.0
bullets: 1
score: 300
skin: bc
- type: bot3
width: 40
height: 36
speed: 1.8
bullet:
<<: *bullet
speed: 8.0
bullets: 1
score: 400
hits: 3
skin: bd
bonuses:
- {score: 500, type: clock, duration: 10}
- {score: 500, type: grenade}
- {score: 500, type: helmet, duration: 20}
- {score: 500, type: life}
- {score: 500, type: shovel, duration: 10}
- {score: 500, type: star}
- {score: 500, type: gun}
presets:
- id: 0
name: easy
teams:
- {<<: *team_human}
- id: bot
spawnInterval: 3000
life: 10
players:
- {<<: *bot, index: 0, control: bot-stupid}
- {<<: *bot, index: 1, control: bot-stupid}
- id: 1
name: normal
teams:
- {<<: *team_human}
- id: bot
spawnInterval: 3000
life: 20
players:
- {<<: *bot, index: 0, control: bot-stupid}
- {<<: *bot, index: 1, control: bot-stupid}
- {<<: *bot, index: 2, control: bot-hard}
- {<<: *bot, index: 3, control: bot-hard}
- id: 2
name: hard
teams:
- {<<: *team_human}
- id: bot
spawnInterval: 1000
life: 30
players:
- {<<: *bot, index: 0, control: bot-hard}
- {<<: *bot, index: 1, control: bot-hard}
- {<<: *bot, index: 2, control: bot-hard}
- {<<: *bot, index: 3, control: bot-hard}
- {<<: *bot, index: 4, control: bot-hard}
- {<<: *bot, index: 5, control: bot-hard}
controls:
- id: 0
name: 1 Player
values:
- playerId: [human, 0]
control: human-0
name: Player 1
- id: 1
name: 2 Player
values:
- playerId: [human, 0]
control: human-0
name: Player 1
- playerId: [human, 1]
control: human-1
name: Player 2

View File

@@ -0,0 +1,110 @@
game:
friendlyFire: true
complete:
- team: alpha
map:
cell:
width: 22
height: 22
grid:
width: 20
height: 20
bricks:
- {type: border, index: -1, layer: 2, armor: -1}
- {type: none, index: 0, layer: 0, armor: 0}
- {type: ace, index: 1, layer: 0, armor: 0}
- {type: bush, index: 2, layer: 3, armor: 0}
- {type: water, index: 3, layer: 1, armor: 0}
- {type: armor, index: 4, layer: 2, armor: 2}
- {type: brick, index: 5, layer: 2, armor: 1}
- {type: wood, index: 6, layer: 2, armor: 0.5}
player:
default: &player
life: 10
protect: 1.5
tanks:
- {type: default, rate: 1}
team:
base: &team
players:
- {<<: *player, index: 0, control: bot-hard}
presets:
- id: 0
name: default
teams:
- id: alpha
color: 0xFF4422
<<: *team
- id: beta
color: 0xFFD000
<<: *team
- id: gamma
color: 0x3EFE00
<<: *team
- id: delta
color: 0x00FFF8
<<: *team
- id: epsilon
color: 0x00B37F
<<: *team
- id: zeta
color: 0xFC00FF
<<: *team
- id: eta
color: 0x8F00FD
<<: *team
- id: theta
color: 0xB66F00
<<: *team
points:
- {team: alpha, type: tank, index: 0, direction: right, x: 0, y: 0}
- {team: beta, type: tank, index: 0, direction: right, x: 2, y: 0}
- {team: gamma, type: tank, index: 0, direction: right, x: 4, y: 0}
- {team: delta, type: tank, index: 0, direction: right, x: 6, y: 0}
- {team: epsilon, type: tank, index: 0, direction: right, x: 0, y: 2}
- {team: zeta, type: tank, index: 0, direction: right, x: 2, y: 2}
- {team: eta, type: tank, index: 0, direction: right, x: 4, y: 2}
- {team: theta, type: tank, index: 0, direction: right, x: 6, y: 2}
bullet: &bullet
width: 12
height: 12
speed: 0
piercing: 1
tanks:
- type: default
width: 38
height: 36
speed: 2.3
bullet:
<<: *bullet
speed: 12.0
bullets: 2
score: 100
skin: pc
bonuses: []
controls:
- id: 0
name: 1 Player
values:
- playerId: [alpha, 0]
control: human-0
name: Player 1
- id: 1
name: 2 Player
values:
- playerId: [alpha, 0]
control: human-0
name: Player 1
- playerId: [beta, 0]
control: human-1
name: Player 2

View File

@@ -0,0 +1,148 @@
game:
friendlyFire: true
complete:
- team: radiant
map:
cell:
width: 22
height: 22
grid:
width: 40
height: 30
bricks:
- {type: border, index: -1, layer: 2, armor: -1}
- {type: none, index: 0, layer: 0, armor: 0}
- {type: ace, index: 1, layer: 0, armor: 0}
- {type: bush, index: 2, layer: 3, armor: 0}
- {type: water, index: 3, layer: 1, armor: 0}
- {type: armor, index: 4, layer: 2, armor: 2}
- {type: brick, index: 5, layer: 2, armor: 1}
player:
base: &player
protect: 3
fast: &player-fast
<<: *player
tanks:
- {type: fast, rate: 1}
slow: &player-slow
<<: *player
tanks:
- {type: slow, rate: 1}
team:
base: &team
life: 20
eagle:
score: 500
radiant: &radiant
<<: *team
id: radiant
color: 0xff4422
players:
- {<<: *player-slow, index: 0, control: bot-hard}
- {<<: *player-fast, index: 1, control: bot-hard}
- {<<: *player-slow, index: 2, control: bot-hard}
- {<<: *player-fast, index: 3, control: bot-hard}
- {<<: *player-slow, index: 4, control: bot-hard}
dire: &dire
<<: *team
id: dire
color: 0x3284ff
players:
- {<<: *player-slow, index: 0, control: bot-hard}
- {<<: *player-fast, index: 1, control: bot-hard}
- {<<: *player-slow, index: 2, control: bot-hard}
- {<<: *player-fast, index: 3, control: bot-hard}
- {<<: *player-slow, index: 4, control: bot-hard}
presets:
- id: 0
name: default
teams:
- <<: *radiant
- <<: *dire
points:
- {team: radiant, type: eagle, index: -1, direction: right, x: 0, y: 28}
- {team: radiant, type: tank, index: 0, direction: right, x: 0, y: 0}
- {team: radiant, type: tank, index: 1, direction: right, x: 6, y: 10}
- {team: radiant, type: tank, index: 2, direction: right, x: 6, y: 16}
- {team: radiant, type: tank, index: 3, direction: right, x: 6, y: 22}
- {team: radiant, type: tank, index: 4, direction: right, x: 10, y: 28}
- {team: dire, type: eagle, index: -1, direction: right, x: 38, y: 0}
- {team: dire, type: tank, index: 0, direction: left, x: 38, y: 28}
- {team: dire, type: tank, index: 1, direction: left, x: 32, y: 18}
- {team: dire, type: tank, index: 2, direction: left, x: 32, y: 12}
- {team: dire, type: tank, index: 3, direction: left, x: 32, y: 6}
- {team: dire, type: tank, index: 4, direction: left, x: 28, y: 0}
bullet: &bullet
width: 12
height: 12
speed: 0
piercing: 1
tanks:
- type: slow
width: 38
height: 36
speed: 2.3
bullet:
<<: *bullet
speed: 12.0
bullets: 1
score: 100
skin: bc
- type: fast
width: 40
height: 36
speed: 4.0
bullet:
<<: *bullet
speed: 8.0
bullets: 1
score: 100
skin: bb
bonuses:
- {type: clock, duration: 10}
- {type: grenade}
- {type: helmet, duration: 20}
- {type: life}
- {type: shovel, duration: 10}
- {type: star}
controls:
- id: 0
name: 1 Player
values:
- playerId: [radiant, 0]
control: human-0
color: 0xff8866
name: Player 1
- id: 1
name: 2 Player Coop
values:
- playerId: [radiant, 0]
control: human-0
color: 0xff8866
name: Player 1
- playerId: [radiant, 1]
control: human-1
color: 0xff8866
name: Player 2
- id: 2
name: 2 Player VS
values:
- playerId: [radiant, 0]
control: human-0
color: 0xff8866
name: Player 1
- playerId: [dire, 0]
control: human-1
color: 0x4294ff
name: Player 2