Twitch Plays Into The Breach
- Run the game at the top left of the screen.
- Set up your stream
- Adjust any offsets
- Run the program with the game's process ID as the first argument
- You're good to go
Configuration
Set the following environment variables:
TWITCH_USERNAME
- lowercase Twitch username of the BotTWITCH_TOKEN
- OAuth token of the Bot, starting withoauth:
TWITCH_CHANNEL
- Stream channel name
Chat commands
Mouse:
click
- Click the mousemouse [x] [y]
- Move mouse to given x, y pixel coordinatesclick [x] [y]
- Click at a given x y point (similar to doingmouse x y
thenclick
)mouse [xy]
- Mouse at map coordinateclick [xy]
- Click at map coordinate
Mechs and units:
select [mech|deployed|mission] [1-3]
- Select mech/deployed/mission unit 1 to 3move [mech|deployed|mission] [1-3] [xy]
- Move unit to a given map coordinateweapon [1-2]
- Select weapondeselect|disarm
- Deselect / disarm weaponattack [mech|deployed|mission] [1-3] [weapon 1-2] [xy]
- Attack with a mech using a weapon at a given map coordinaterepair [mech 1-3] [xy]
- Repair the mech at this map coordinatenext
- Select next unit. Also usenext 2
to select the second next unit and so on
Moves and turns:
undo
- Undo movereset
- Reset turnendturn
- End turn
UI:
info [on|off]
- Toggle the info overlayorder [on|off]
- Toggle the attack order overlay