Dota Options¶
- class luafun.game.args.DotaOptions(game_mode: luafun.game.modes.DOTA_GameMode = 1, host_timescale: int = 2, dedicated: bool = True, ticks_per_observation: int = 4, game_id: str = '16bbe598-b52b-11eb-9c06-0242ac110002', port_radiant: int = 12120, port_dire: int = 12121, client_port: int = 27006, interactive: bool = False, draft: bool = False)[source]¶
Bases:
objectControls Dota 2 game console arguments
- Parameters
- host_timescale: int
Speed multiplier
- decicated: bool
Run the decicated server or rendered game
- ticks_per_observation: int
Number of frames before an observation is sent back Server runs at 30 frame per seconds
- game_id: str
Game id for logging & replay saves
- port_radiant: int
Port for radiant updates the game is listening to
- port_dire: int
Port for dire updates the game is listening to
- interactive: bool
Do not start the lobby right away and enable human players to jump in
- draft: bool
Enable bot drafting
Methods
args(paths)Generate the commandline arguments to pass down to the dota2 executable
- client_port: int = 27006¶
- dedicated: bool = True¶
- draft: bool = False¶
- game_id: str = '16bbe598-b52b-11eb-9c06-0242ac110002'¶
- game_mode: luafun.game.modes.DOTA_GameMode = 1¶
- host_timescale: int = 2¶
- interactive: bool = False¶
- port_dire: int = 12121¶
- port_radiant: int = 12120¶
- ticks_per_observation: int = 4¶