[proto] update message names
This commit is contained in:
143
src/common/resources/dota/config.yaml
Normal file
143
src/common/resources/dota/config.yaml
Normal file
@@ -0,0 +1,143 @@
|
||||
game:
|
||||
levels: 8
|
||||
friendlyFire: true
|
||||
complete: []
|
||||
|
||||
map:
|
||||
cellWidth: 22
|
||||
cellHeight: 22
|
||||
gridWidth: 40
|
||||
gridHeight: 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
|
||||
control: bot
|
||||
protect: 3
|
||||
tanks:
|
||||
- {type: slow, rate: 0.5}
|
||||
- {type: fast, rate: 0.5}
|
||||
human1: &human1
|
||||
<<: *player
|
||||
control: human
|
||||
color: 0xf055a0
|
||||
human2: &human2
|
||||
<<: *player
|
||||
control: human
|
||||
color: 0xa055f0
|
||||
|
||||
team:
|
||||
base: &team
|
||||
life: 20
|
||||
players:
|
||||
- {<<: *player, index: 0}
|
||||
- {<<: *player, index: 1}
|
||||
- {<<: *player, index: 2}
|
||||
- {<<: *player, index: 3}
|
||||
- {<<: *player, index: 4}
|
||||
radiant: &radiant
|
||||
id: radiant
|
||||
color: 0xff4422
|
||||
<<: *team
|
||||
dire: &dire
|
||||
id: dire
|
||||
color: 0x2244ff
|
||||
<<: *team
|
||||
|
||||
presets:
|
||||
# player1
|
||||
- id: player1
|
||||
teams:
|
||||
- <<: *radiant
|
||||
players:
|
||||
- {<<: *human1, index: 0}
|
||||
- {<<: *player, index: 1}
|
||||
- {<<: *player, index: 2}
|
||||
- {<<: *player, index: 3}
|
||||
- {<<: *player, index: 4}
|
||||
- <<: *dire
|
||||
# player2_coop
|
||||
- id: player2_coop
|
||||
teams:
|
||||
- <<: *radiant
|
||||
players:
|
||||
- {<<: *human1, index: 0}
|
||||
- {<<: *human1, index: 1}
|
||||
- {<<: *player, index: 2}
|
||||
- {<<: *player, index: 3}
|
||||
- {<<: *player, index: 4}
|
||||
- <<: *dire
|
||||
# player2_vs
|
||||
- id: player2_vs
|
||||
teams:
|
||||
- <<: *radiant
|
||||
players:
|
||||
- {<<: *human1, index: 0}
|
||||
- {<<: *player, index: 1}
|
||||
- {<<: *player, index: 2}
|
||||
- {<<: *player, index: 3}
|
||||
- {<<: *player, index: 4}
|
||||
- <<: *dire
|
||||
players:
|
||||
- {<<: *human2, index: 0}
|
||||
- {<<: *player, index: 1}
|
||||
- {<<: *player, index: 2}
|
||||
- {<<: *player, index: 3}
|
||||
- {<<: *player, index: 4}
|
||||
|
||||
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
|
||||
skin: bc
|
||||
|
||||
- type: fast
|
||||
width: 40
|
||||
height: 36
|
||||
speed: 4.0
|
||||
bullet:
|
||||
<<: *bullet
|
||||
speed: 8.0
|
||||
bullets: 1
|
||||
skin: bb
|
||||
|
||||
bonuses:
|
||||
- {type: clock, duration: 10}
|
||||
- {type: grenade}
|
||||
- {type: helmet, duration: 20}
|
||||
- {type: life}
|
||||
- {type: shovel, duration: 10}
|
||||
- {type: star}
|
||||
Reference in New Issue
Block a user