Skip to content

Commit c8d80fd

Browse files
Add Tabaxi (#339)
1 parent 8aff627 commit c8d80fd

File tree

6 files changed

+153
-0
lines changed

6 files changed

+153
-0
lines changed

RLBotPack/Tabaxi/Tabaxi.cfg

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
[Locations]
2+
# Path to loadout config. Can use relative path from here.
3+
looks_config = ./appearance.cfg
4+
5+
# Path to python file. Can use relative path from here.
6+
python_file = ./scratch_bot.py
7+
8+
# Name of the bot in-game
9+
name = Tabaxi
10+
11+
# Your scratch bot will start running early before the match fully launches, to give it more time.
12+
supports_early_start = True
13+
14+
[Bot Parameters]
15+
# The port to use when connecting Scratch to RLBot. Should be unique from all other bots.
16+
port = 39672
17+
18+
# We will automatically launch a browser with the correct settings to run your bot.
19+
spawn_browser = True
20+
21+
# The location of the Scratch file containing your bot.
22+
sb3file = Tabaxi.sb3
23+
24+
# The bot will run in an invisible browser.
25+
headless = True
26+
27+
# If you spawn multiple bots, each will get its own separate browser instance and pretend to be player 1.
28+
separate_browsers = True
29+
30+
# If your bots in the browser all on orange, we will pretend in Scratch that they're on the blue team.
31+
pretend_blue_team = True
32+
33+
[Details]
34+
# These values are optional but useful metadata for helper programs
35+
# Name of the bot's creator/developer
36+
developer = Eastvillage
37+
38+
# Short description of the bot
39+
description = A highly complex Scratch bots, featuring optimized ball prediction, an acceleration simulator, and speed flips, yet it plays like a bronze.
40+
41+
# Fun fact about the bot
42+
fun_fact = Making a good bot with such a slow language is a unique challenge.
43+
44+
# Link to github repository
45+
github =
46+
47+
# Programming language
48+
language = Scratch

RLBotPack/Tabaxi/Tabaxi.sb3

76.9 KB
Binary file not shown.

RLBotPack/Tabaxi/__init__.py

Whitespace-only changes.

RLBotPack/Tabaxi/appearance.cfg

Lines changed: 100 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,100 @@
1+
[Bot Loadout]
2+
# Primary Color selection
3+
team_color_id = 33
4+
# Secondary Color selection
5+
custom_color_id = 9
6+
# Car type (Octane, Merc, etc)
7+
car_id = 600
8+
# Type of decal
9+
decal_id = 671
10+
# Wheel selection
11+
wheels_id = 1975
12+
# Boost selection
13+
boost_id = 45
14+
# Antenna Selection
15+
antenna_id = 143
16+
# Hat Selection
17+
hat_id = 0
18+
# Paint Type (for first color)
19+
paint_finish_id = 274
20+
# Paint Type (for secondary color)
21+
custom_finish_id = 277
22+
# Engine Audio Selection
23+
engine_audio_id = 0
24+
# Car trail Selection
25+
trails_id = 0
26+
# Goal Explosion Selection
27+
goal_explosion_id = 1971
28+
# Finds the closest primary color swatch based on the provided RGB value like [34, 255, 60]
29+
primary_color_lookup = None
30+
# Finds the closest secondary color swatch based on the provided RGB value like [34, 255, 60]
31+
secondary_color_lookup = None
32+
33+
[Bot Loadout Orange]
34+
# Primary Color selection
35+
team_color_id = 37
36+
# Secondary Color selection
37+
custom_color_id = 61
38+
# Car type (Octane, Merc, etc)
39+
car_id = 600
40+
# Type of decal
41+
decal_id = 671
42+
# Wheel selection
43+
wheels_id = 1975
44+
# Boost selection
45+
boost_id = 45
46+
# Antenna Selection
47+
antenna_id = 143
48+
# Hat Selection
49+
hat_id = 0
50+
# Paint Type (for first color)
51+
paint_finish_id = 274
52+
# Paint Type (for secondary color)
53+
custom_finish_id = 277
54+
# Engine Audio Selection
55+
engine_audio_id = 0
56+
# Car trail Selection
57+
trails_id = 1948
58+
# Goal Explosion Selection
59+
goal_explosion_id = 1969
60+
# Finds the closest primary color swatch based on the provided RGB value like [34, 255, 60]
61+
primary_color_lookup = None
62+
# Finds the closest secondary color swatch based on the provided RGB value like [34, 255, 60]
63+
secondary_color_lookup = None
64+
65+
[Bot Paint Blue]
66+
# car_paint_id
67+
car_paint_id = 0
68+
# decal_paint_id
69+
decal_paint_id = 0
70+
# wheels_paint_id
71+
wheels_paint_id = 9
72+
# boost_paint_id
73+
boost_paint_id = 9
74+
# antenna_paint_id
75+
antenna_paint_id = 0
76+
# hat_paint_id
77+
hat_paint_id = 0
78+
# trails_paint_id
79+
trails_paint_id = 0
80+
# goal_explosion_paint_id
81+
goal_explosion_paint_id = 0
82+
83+
[Bot Paint Orange]
84+
# car_paint_id
85+
car_paint_id = 0
86+
# decal_paint_id
87+
decal_paint_id = 0
88+
# wheels_paint_id
89+
wheels_paint_id = 2
90+
# boost_paint_id
91+
boost_paint_id = 2
92+
# antenna_paint_id
93+
antenna_paint_id = 0
94+
# hat_paint_id
95+
hat_paint_id = 0
96+
# trails_paint_id
97+
trails_paint_id = 2
98+
# goal_explosion_paint_id
99+
goal_explosion_paint_id = 0
100+

RLBotPack/Tabaxi/logo.png

22.7 KB
Loading

RLBotPack/Tabaxi/scratch_bot.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
from rlbot.agents.base_scratch_agent import BaseScratchAgent
2+
3+
4+
class ScratchBot(BaseScratchAgent):
5+
pass

0 commit comments

Comments
 (0)