[common] added LevelPack
This commit is contained in:
215
src/common/resources/config/classic.yaml
Normal file
215
src/common/resources/config/classic.yaml
Normal 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
|
||||
Reference in New Issue
Block a user