diff --git a/RLBotPack/Tabaxi/Tabaxi.cfg b/RLBotPack/Tabaxi/Tabaxi.cfg new file mode 100644 index 00000000..15108ac2 --- /dev/null +++ b/RLBotPack/Tabaxi/Tabaxi.cfg @@ -0,0 +1,48 @@ +[Locations] +# Path to loadout config. Can use relative path from here. +looks_config = ./appearance.cfg + +# Path to python file. Can use relative path from here. +python_file = ./scratch_bot.py + +# Name of the bot in-game +name = Tabaxi + +# Your scratch bot will start running early before the match fully launches, to give it more time. +supports_early_start = True + +[Bot Parameters] +# The port to use when connecting Scratch to RLBot. Should be unique from all other bots. +port = 39672 + +# We will automatically launch a browser with the correct settings to run your bot. +spawn_browser = True + +# The location of the Scratch file containing your bot. +sb3file = Tabaxi.sb3 + +# The bot will run in an invisible browser. +headless = True + +# If you spawn multiple bots, each will get its own separate browser instance and pretend to be player 1. +separate_browsers = True + +# If your bots in the browser all on orange, we will pretend in Scratch that they're on the blue team. +pretend_blue_team = True + +[Details] +# These values are optional but useful metadata for helper programs +# Name of the bot's creator/developer +developer = Eastvillage + +# Short description of the bot +description = A highly complex Scratch bots, featuring optimized ball prediction, an acceleration simulator, and speed flips, yet it plays like a bronze. + +# Fun fact about the bot +fun_fact = Making a good bot with such a slow language is a unique challenge. + +# Link to github repository +github = + +# Programming language +language = Scratch diff --git a/RLBotPack/Tabaxi/Tabaxi.sb3 b/RLBotPack/Tabaxi/Tabaxi.sb3 new file mode 100644 index 00000000..039608b6 Binary files /dev/null and b/RLBotPack/Tabaxi/Tabaxi.sb3 differ diff --git a/RLBotPack/Tabaxi/__init__.py b/RLBotPack/Tabaxi/__init__.py new file mode 100644 index 00000000..e69de29b diff --git a/RLBotPack/Tabaxi/appearance.cfg b/RLBotPack/Tabaxi/appearance.cfg new file mode 100644 index 00000000..9532ede6 --- /dev/null +++ b/RLBotPack/Tabaxi/appearance.cfg @@ -0,0 +1,100 @@ +[Bot Loadout] +# Primary Color selection +team_color_id = 33 +# Secondary Color selection +custom_color_id = 9 +# Car type (Octane, Merc, etc) +car_id = 600 +# Type of decal +decal_id = 671 +# Wheel selection +wheels_id = 1975 +# Boost selection +boost_id = 45 +# Antenna Selection +antenna_id = 143 +# Hat Selection +hat_id = 0 +# Paint Type (for first color) +paint_finish_id = 274 +# Paint Type (for secondary color) +custom_finish_id = 277 +# Engine Audio Selection +engine_audio_id = 0 +# Car trail Selection +trails_id = 0 +# Goal Explosion Selection +goal_explosion_id = 1971 +# Finds the closest primary color swatch based on the provided RGB value like [34, 255, 60] +primary_color_lookup = None +# Finds the closest secondary color swatch based on the provided RGB value like [34, 255, 60] +secondary_color_lookup = None + +[Bot Loadout Orange] +# Primary Color selection +team_color_id = 37 +# Secondary Color selection +custom_color_id = 61 +# Car type (Octane, Merc, etc) +car_id = 600 +# Type of decal +decal_id = 671 +# Wheel selection +wheels_id = 1975 +# Boost selection +boost_id = 45 +# Antenna Selection +antenna_id = 143 +# Hat Selection +hat_id = 0 +# Paint Type (for first color) +paint_finish_id = 274 +# Paint Type (for secondary color) +custom_finish_id = 277 +# Engine Audio Selection +engine_audio_id = 0 +# Car trail Selection +trails_id = 1948 +# Goal Explosion Selection +goal_explosion_id = 1969 +# Finds the closest primary color swatch based on the provided RGB value like [34, 255, 60] +primary_color_lookup = None +# Finds the closest secondary color swatch based on the provided RGB value like [34, 255, 60] +secondary_color_lookup = None + +[Bot Paint Blue] +# car_paint_id +car_paint_id = 0 +# decal_paint_id +decal_paint_id = 0 +# wheels_paint_id +wheels_paint_id = 9 +# boost_paint_id +boost_paint_id = 9 +# antenna_paint_id +antenna_paint_id = 0 +# hat_paint_id +hat_paint_id = 0 +# trails_paint_id +trails_paint_id = 0 +# goal_explosion_paint_id +goal_explosion_paint_id = 0 + +[Bot Paint Orange] +# car_paint_id +car_paint_id = 0 +# decal_paint_id +decal_paint_id = 0 +# wheels_paint_id +wheels_paint_id = 2 +# boost_paint_id +boost_paint_id = 2 +# antenna_paint_id +antenna_paint_id = 0 +# hat_paint_id +hat_paint_id = 0 +# trails_paint_id +trails_paint_id = 2 +# goal_explosion_paint_id +goal_explosion_paint_id = 0 + diff --git a/RLBotPack/Tabaxi/logo.png b/RLBotPack/Tabaxi/logo.png new file mode 100644 index 00000000..5ee5e2cc Binary files /dev/null and b/RLBotPack/Tabaxi/logo.png differ diff --git a/RLBotPack/Tabaxi/scratch_bot.py b/RLBotPack/Tabaxi/scratch_bot.py new file mode 100644 index 00000000..d74d8053 --- /dev/null +++ b/RLBotPack/Tabaxi/scratch_bot.py @@ -0,0 +1,5 @@ +from rlbot.agents.base_scratch_agent import BaseScratchAgent + + +class ScratchBot(BaseScratchAgent): + pass