[common] diffilicity presets support
This commit is contained in:
@@ -34,39 +34,6 @@ player:
|
||||
- {type: bot2, rate: 0.27}
|
||||
- {type: bot3, rate: 0.15}
|
||||
|
||||
presets:
|
||||
# player1
|
||||
- id: 1 Player
|
||||
teams:
|
||||
- id: human
|
||||
players:
|
||||
- {<<: *human, index: 0, color: 0xFFFF00, human: 1}
|
||||
- id: bot
|
||||
spawnInterval: 3000
|
||||
life: 20
|
||||
players:
|
||||
- {<<: *bot, index: 0}
|
||||
- {<<: *bot, index: 1}
|
||||
- {<<: *bot, index: 2}
|
||||
- {<<: *bot, index: 3}
|
||||
# player2
|
||||
- id: 2 Players
|
||||
teams:
|
||||
- id: human
|
||||
players:
|
||||
- {<<: *human, index: 0, color: 0xFFFF00, human: 1}
|
||||
- {<<: *human, index: 1, color: 0x15C040, human: 2}
|
||||
- id: bot
|
||||
spawnInterval: 3000
|
||||
life: 20
|
||||
players:
|
||||
- {<<: *bot, index: 0}
|
||||
- {<<: *bot, index: 1}
|
||||
- {<<: *bot, index: 2}
|
||||
- {<<: *bot, index: 3}
|
||||
- {<<: *bot, index: 4}
|
||||
- {<<: *bot, index: 5}
|
||||
|
||||
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}
|
||||
@@ -116,7 +83,6 @@ tanks:
|
||||
skin: pc
|
||||
|
||||
- type: human3
|
||||
# upgrade: human3
|
||||
downgrade: human2
|
||||
width: 42
|
||||
height: 38
|
||||
@@ -181,3 +147,49 @@ bonuses:
|
||||
- {score: 500, type: shovel, duration: 10}
|
||||
- {score: 500, type: star}
|
||||
- {score: 500, type: gun}
|
||||
|
||||
presets:
|
||||
- id: 0
|
||||
name: easy
|
||||
teams:
|
||||
- id: human
|
||||
players:
|
||||
- {<<: *human, index: 0, color: 0xFFFF00, control: human-0}
|
||||
- id: bot
|
||||
spawnInterval: 3000
|
||||
life: 10
|
||||
players:
|
||||
- {<<: *bot, index: 0, control: bot-stupid}
|
||||
- {<<: *bot, index: 1, control: bot-stupid}
|
||||
|
||||
- id: 1
|
||||
name: normal
|
||||
teams:
|
||||
- id: human
|
||||
players:
|
||||
- {<<: *human, index: 0, color: 0xFFFF00, control: human-0}
|
||||
- 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:
|
||||
- id: human
|
||||
players:
|
||||
- {<<: *human, index: 0, color: 0xFFFF00, control: human-0}
|
||||
- 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}
|
||||
|
||||
@@ -29,15 +29,16 @@ player:
|
||||
team:
|
||||
base: &team
|
||||
players:
|
||||
- {<<: *player, index: 0}
|
||||
- {<<: *player, index: 0, control: bot-hard}
|
||||
|
||||
presets:
|
||||
- id: default
|
||||
- id: 0
|
||||
name: default
|
||||
teams:
|
||||
- id: alpha
|
||||
color: 0xFF4422
|
||||
players:
|
||||
- {<<: *player, index: 0, human: 1}
|
||||
- {<<: *player, index: 0, control: human-0}
|
||||
<<: *team
|
||||
- id: beta
|
||||
color: 0xFFD000
|
||||
|
||||
@@ -41,24 +41,25 @@ team:
|
||||
id: radiant
|
||||
color: 0xff4422
|
||||
players:
|
||||
- {<<: *player-slow, index: 0, human: 1, color: 0xff8866}
|
||||
- {<<: *player-fast, index: 1}
|
||||
- {<<: *player-slow, index: 2}
|
||||
- {<<: *player-fast, index: 3}
|
||||
- {<<: *player-slow, index: 4}
|
||||
- {<<: *player-slow, index: 0, control: human-0, color: 0xff8866}
|
||||
- {<<: *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}
|
||||
- {<<: *player-fast, index: 1}
|
||||
- {<<: *player-slow, index: 2}
|
||||
- {<<: *player-fast, index: 3}
|
||||
- {<<: *player-slow, index: 4}
|
||||
- {<<: *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: default
|
||||
- id: 0
|
||||
name: default
|
||||
teams:
|
||||
- <<: *radiant
|
||||
- <<: *dire
|
||||
|
||||
Reference in New Issue
Block a user