Skip to content

Commit b0fae3d

Browse files
authored
Mark rlbot tomls with schemas (#24)
1 parent 5887791 commit b0fae3d

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

44 files changed

+56
-190
lines changed

tests/atba/atba.bot.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
#:schema https://rlbot.org/schemas/agent.json
12
[settings]
23
# A unique string identifying this type of bot, typically on the form "<developer>/<botname>"
34
agent_id = "testing/atba"
@@ -21,7 +22,7 @@ fun_fact = "This is a test bot"
2122
source_link = "https://github.com/RLBot/RLBot"
2223
developer = "BotMaker"
2324
language = "Python 3"
24-
# ALL POSSIBLE TAGS: 1v1, teamplay, goalie, hoops, dropshot, snow-day, spike-rush, heatseeker, memebot
25+
# ALL POSSIBLE TAGS: 1v1, teamplay, goalie, hoops, dropshot, snow-day, rumble, spike-rush, heatseeker, memebot
2526
# NOTE: Only add the goalie tag if your bot only plays as a goalie; this directly contrasts with the teamplay tag!
2627
# NOTE: Only add a tag for a special game mode if you bot properly supports it
2728
tags = []

tests/default.toml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
1+
#:schema https://rlbot.org/schemas/match.json
12
[rlbot]
23
# use this along with launcher = "custom"
34
# launcher_arg = "legendary"
45
# "Steam", "Epic", "Custom", "NoLaunch"
5-
launcher = "steam"
6+
launcher = "Steam"
67
# Should RLBot start the bot processes automatically, or will a separate script start them
78
auto_start_agents = true
89
# Should RLBot wait for the bot processes to start before starting the match
@@ -12,7 +13,7 @@ wait_for_agents = true
1213
# What game mode the game should load.
1314
# Accepted values are "Soccer", "Hoops", "Dropshot", "Hockey", "Rumble", "Heatseeker", "Gridiron", "Knockout"
1415
game_mode = "Soccer"
15-
# Which map the game should load into
16+
# Which map the game should load into. Ensure the map doesn't end in '.upk'.
1617
game_map_upk = "Stadium_P"
1718
# Automatically skip replays after a goal. Also stops match replays from being saved.
1819
skip_replays = false
@@ -61,9 +62,9 @@ rumble = "Off"
6162
boost_strength = "One"
6263
# "Default", "Low", "High", "SuperHigh", "Reverse"
6364
gravity = "Default"
64-
# "Default", "Disabled", "FriendlyFire", "OnContact", "OnContactFF", "OnContactFF", "OnBallContact", or "OnBallContactFF"
65+
# "Default", "Disabled", "FriendlyFire", "OnContact", "OnContactFF", "OnBallContact", "OnBallContactFF"
6566
demolish = "Default"
66-
# "Three_Seconds", "TwoSeconds", "OneSecond", "DisableGoalReset"
67+
# "ThreeSeconds", "TwoSeconds", "OneSecond", "DisableGoalReset"
6768
respawn_time = "ThreeSeconds"
6869
# "Unlimited", "ElevenMinutes"
6970
max_time = "Unlimited"

tests/fashion/bot.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
#:schema https://rlbot.org/schemas/agent.json
12
[settings]
23
agent_id = "testing/fashion"
34
name = "Fashion"

tests/gamemodes/beach_ball.toml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,3 @@ ball_type = "Beachball"
99
ball_weight = "BeachBallCurve"
1010
ball_size = "Medium"
1111
ball_bounciness = "High"
12-
13-
[[cars]]
14-
type = "human"
15-
team = 0

tests/gamemodes/boomer_ball.toml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,8 @@
22
game_mode = "Soccer"
33

44
[mutators]
5-
boost_amount = "Unlimited_Boost"
5+
boost_amount = "UnlimitedBoost"
66
boost_strength = "OneAndAHalf"
77
ball_max_speed = "SuperFast"
88
ball_bounciness = "High"
99
ball_weight = "SuperLight"
10-
11-
[[cars]]
12-
type = "human"
13-
team = 0

tests/gamemodes/default.toml

Lines changed: 0 additions & 51 deletions
This file was deleted.

tests/gamemodes/dropshot.toml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
11
[match]
22
game_mode = "Dropshot"
33
game_map_upk = "ShatterShot_P"
4-
5-
[[cars]]
6-
type = "human"
7-
team = 0

tests/gamemodes/dropshot_rumble.toml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,3 @@ game_map_upk = "ShatterShot_P"
44

55
[mutators]
66
rumble = "Default"
7-
8-
[[cars]]
9-
type = "human"
10-
team = 0

tests/gamemodes/gforce_frenzy.toml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,7 @@
1-
21
[match]
32
game_mode = "Soccer"
43

54
[mutators]
65
boost_amount = "UnlimitedBoost"
76
boost_strength = "Five"
87
gravity = "Low"
9-
10-
[[cars]]
11-
type = "human"
12-
team = 0

tests/gamemodes/ghost_hunt.toml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
[rlbot]
2+
launcher = "Steam"
3+
14
[match]
25
game_mode = "Soccer"
36
game_map_upk = "Haunted_TrainStation_P"
@@ -7,7 +10,3 @@ ball_type = "Haunted"
710
rumble = "HauntedBallBeam"
811
game_event = "Haunted"
912
audio = "Haunted"
10-
11-
[[cars]]
12-
type = "human"
13-
team = 0

0 commit comments

Comments
 (0)