How to use the rlbot.agents.base_agent.BOT_CONFIG_AGENT_HEADER function in rlbot

To help you get started, we’ve selected a few rlbot examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github SaltieRL / Saltie / agents / swarm / swarm_agent.py View on Github external
def create_agent_configurations(config: ConfigObject):
        super(SwarmAgent, SwarmAgent).create_agent_configurations(config)
        params = config.get_header(BOT_CONFIG_AGENT_HEADER)
        params.add_value('manager_path', str, default=os.path.join('examples', 'levi', 'torch_manager.py'),
                         description='Path to the manager bot')
github SaltieRL / Saltie / agents / torch_model / torch_model.py View on Github external
def create_agent_configurations(config: ConfigObject):
        super(TorchModelAgent, TorchModelAgent).create_agent_configurations(config)
        params = config.get_header(BOT_CONFIG_AGENT_HEADER)
        params.add_value('model_path', str, default=os.path.join('models', 'cool_atba.mdl'),
                         description='Path to the model file')
github SaltieRL / Saltie / agents / swarm / teacher_agent.py View on Github external
def create_agent_configurations(config: ConfigObject):
        super(TeacherAgent, TeacherAgent).create_agent_configurations(config)
        params = config.get_header(BOT_CONFIG_AGENT_HEADER)
        params.add_value('teacher_path', str, default=os.path.join('agents', 'cool_atba', 'cool_atba_agent.py'),
                         description='Path to the teacher bot')