Tower Defense Twitch Overlay
The whole chat defends the reactor together, wave after wave.
A chat-driven co-op tower defense: enemies travel along fixed but per-wave reshuffled paths to the reactor in the center, and up to ten viewers build towers from a shared gold pool to stop them. With a coordinate grid so everyone sees exactly where they're placing.
!join
What this overlay does
// In short
The gold belongs to everyone, so every tower gets an argument. Enemies stream along fixed, orthogonal paths toward a shared reactor in the center of the arena, gathered through a funnel just before it. The paths stay the same for one round but are reshuffled every wave, and their number grows with the wave, so no two rounds look the same. Up to ten viewers share a gold pool and build their weapon towers on the grid squares with !set. A coordinate grid with letters and numbers along the edge shows everyone exactly where they're placing. There are six tower types with three tiers each, from the cheap pistol through MG, shotgun and frost to rocket and tesla with chain lightning. Slain enemies pay gold back into the pool, which the team uses to fund the next line of defense. Every wave gets bigger, faster and tougher, and every fifth wave sends a boss. Between waves a build phase runs with a large countdown bar, in which the paths of the coming wave are already visible so the team can plan deliberately. A build board shows the exact upgrade command, the cost and who built it per tower. If the reactor HP drops to zero, the round is over. Runs with internal gold with no bot at all, an optional reward goes through your loyalty bot. Survives any OBS reload.
Features
// What's inside
How a round works
// Step by step
Chat commands
// What your community types
| Command | Who | Effect |
|---|---|---|
!join | Viewer | Join the team, opens the lobby if no round is running |
!set <weapon> <field> | Viewer | Build a tower, for example !set mg b3, without a weapon the default one |
!upgrade <field> | Viewer | Upgrade the tower on the field, up to tier 3 |
!sell <field> | Viewer | Sell the tower, returns 60 percent of the investment |
!start | Mod | Skip the lobby or build countdown and start the wave immediately |
!skip | Mod | Cut the build countdown short and start the next wave |
!end | Mod | End the round and reset to idle |
Key settings
// What you tweak in config.js
maxPlayers- Maximum number of players in the team (default 10)
gridCols / gridRows- Size of the arena in fields (default 13 x 8)
startGold- Starting gold of the shared pool
coreHp- Hit points of the reactor
buildTimeSec- Length of the build phase between waves in seconds
lobbyCountdownSec- Countdown of the lobby before wave 1, 0 waits for the mod
maxRoutes- Upper limit of simultaneous paths, grows with the wave
showRoutes- Show the paths and entry portals
arenaScale / uiScale- Size of the arena and the control interface
Screenshots
// From the overlay