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

+2-1
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

+5-4
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

+1
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

-4
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

+1-5
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

-51
This file was deleted.

tests/gamemodes/dropshot.toml

-4
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

-4
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

-5
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

+3-4
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
+3-4
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
1+
[rlbot]
2+
launcher = "Steam"
3+
14
[match]
25
game_mode = "Soccer"
36
game_map_upk = "Park_Bman_P"
47

58
[mutators]
69
rumble = "BatmanRumble"
7-
8-
[[cars]]
9-
type = "human"
10-
team = 0

tests/gamemodes/gridiron.toml

-4
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
11
[match]
22
game_mode = "Gridiron"
33
game_map_upk = "BB_P"
4-
5-
[[cars]]
6-
type = "human"
7-
team = 0
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
11
[match]
22
game_mode = "Heatseeker"
33
game_map_upk = "Farm_HW_P"
4-
5-
[[cars]]
6-
type = "human"
7-
team = 0
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
11
[match]
22
game_mode = "Heatseeker"
33
game_map_upk = "Trainstation_Spooky_P"
4-
5-
[[cars]]
6-
type = "human"
7-
team = 0

tests/gamemodes/heatseeker.toml

-4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,2 @@
11
[match]
22
game_mode = "Heatseeker"
3-
4-
[[cars]]
5-
type = "human"
6-
team = 0

tests/gamemodes/heatseeker_ricochet.toml

-4
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,3 @@ game_mode = "Heatseeker"
44
# Barricade - "Labs_PillarHeat_P"
55
# Colossus - "Labs_PillarWings_P"
66
game_map_upk = "Labs_PillarGlass_P"
7-
8-
[[cars]]
9-
type = "human"
10-
team = 0

tests/gamemodes/hoops.toml

-4
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,3 @@ game_mode = "Hoops"
33
# DunkHouse - "HoopsStadium_P"
44
# TheBlock - "HoopsStreet_P"
55
game_map_upk = "HoopsStadium_P"
6-
7-
[[cars]]
8-
type = "human"
9-
team = 0

tests/gamemodes/knockout.toml

-4
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,3 @@ game_mode = "Knockout"
44
# Calavera - "KO_Calavera_P"
55
# Carbon - "KO_Carbon_P"
66
game_map_upk = "KO_Quadron_P"
7-
8-
[[cars]]
9-
type = "human"
10-
team = 0

tests/gamemodes/labs.toml

-4
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,3 @@
1414
# Barricade - "Labs_PillarHeat_P"
1515
# Colossus - "Labs_PillarWings_P"
1616
game_map_upk = "Labs_DoubleGoal_V2_P"
17-
18-
[[cars]]
19-
type = "human"
20-
team = 0

tests/gamemodes/nike_fc_showdown.toml

+1-6
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,9 @@
1-
21
[match]
32
game_mode = "Soccer"
43
game_map_upk = "swoosh_p"
54

65
[mutators]
76
ball_max_speed = "Fast"
87
ball_weight = "MagnusFutBall"
9-
ball_bounciness = "LowishBounciness"
8+
ball_bounciness = "Lowish"
109
ball_type = "Ekin"
11-
12-
[[cars]]
13-
type = "human"
14-
team = 0

tests/gamemodes/rumble.toml

-4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,2 @@
11
[match]
22
game_mode = "Rumble"
3-
4-
[[cars]]
5-
type = "human"
6-
team = 0

tests/gamemodes/snowday.toml

-4
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,3 @@ game_mode = "Snowday"
55
# Utopia Coliseum (Snowy) - "UtopiaStadium_Winter_P"
66
# Beckwith Park (Snowy) - "Park_Snowy_P"
77
game_map_upk = "Stadium_Winter_P"
8-
9-
[[cars]]
10-
type = "human"
11-
team = 0

tests/gamemodes/speed_demon.toml

-4
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,3 @@ ball_bounciness = "Low"
99
ball_size = "Large"
1010
respawn_time = "OneSecond"
1111
demolish = "OnContact"
12-
13-
[[cars]]
14-
type = "human"
15-
team = 0

tests/gamemodes/spike_rush.toml

-4
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,3 @@ game_map_upk = "ThrowbackStadium_P"
66
rumble = "SpikeRush"
77
respawn_time = "OneSecond"
88
game_event = "Rugby"
9-
10-
[[cars]]
11-
type = "human"
12-
team = 0

tests/gamemodes/spooky_cube.toml

+1-5
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,4 @@ ball_max_speed = "SuperFast"
77
ball_type = "SpookyCube"
88
ball_weight = "Light"
99
ball_bounciness = "High"
10-
boost_amount = "Unlimited_Boost"
11-
12-
[[cars]]
13-
type = "human"
14-
team = 0
10+
boost_amount = "UnlimitedBoost"

tests/gamemodes/spring_loaded.toml

-6
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,2 @@
1-
[match]
2-
31
[mutators]
42
rumble = "SpringLoaded"
5-
6-
[[cars]]
7-
type = "human"
8-
team = 0

tests/gamemodes/super_cube.toml

-4
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,3 @@ ball_type = "Cube"
77
ball_weight = "Light"
88
ball_bounciness = "High"
99
boost_amount = "UnlimitedBoost"
10-
11-
[[cars]]
12-
type = "human"
13-
team = 0

tests/gamemodes/tactical_rumble.toml

-4
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,3 @@ game_mode = "Rumble"
33

44
[mutators]
55
rumble = "Tactical"
6-
7-
[[cars]]
8-
type = "human"
9-
team = 0

tests/gamemodes/winter_breakaway.toml

-4
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
11
[match]
22
game_mode = "Hockey"
33
game_map_upk = "ThrowbackHockey_p"
4-
5-
[[cars]]
6-
type = "human"
7-
team = 0

tests/heatseeker.toml

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1+
#:schema https://rlbot.org/schemas/match.json
12
[rlbot]
2-
launcher = "steam"
3+
launcher = "Steam"
34

45
[match]
56
game_mode = "Heatseeker"
@@ -11,5 +12,5 @@ match_length = "Unlimited"
1112
max_score = "Unlimited"
1213

1314
[[cars]]
14-
type = "human"
15+
type = "Human"
1516
team = 0

tests/hivemind.toml

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1+
#:schema https://rlbot.org/schemas/match.json
12
[rlbot]
2-
launcher = "steam"
3+
launcher = "Steam"
34

45
[match]
56
game_mode = "Soccer"
@@ -9,7 +10,7 @@ game_map_upk = "Stadium_P"
910
match_length = "Unlimited"
1011

1112
[[cars]]
12-
type = "human"
13+
type = "Human"
1314
team = 0
1415

1516
[[cars]]

tests/hivemind/bot.toml

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
#:schema https://rlbot.org/schemas/agent.json
12
[settings]
23
name = "Hives"
34
loadout_file = "../necto/loadout.toml"

tests/human_vs_atba.toml

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1+
#:schema https://rlbot.org/schemas/match.json
12
[rlbot]
2-
launcher = "steam"
3+
launcher = "Steam"
34
auto_start_agents = true
45

56
[match]
@@ -11,7 +12,7 @@ enable_rendering = true
1112
match_length = "Unlimited"
1213

1314
[[cars]]
14-
type = "human"
15+
type = "Human"
1516
team = 0
1617

1718
[[cars]]

0 commit comments

Comments
 (0)