BonkCoop
Online co-op for 1-4 players over Steam. Same map for everyone, a wave of enemies per player, shared XP, no pause (you are protected while choosing), instant revive. Beta.
| Date uploaded | 2 months ago |
| Version | 0.4.0 |
| Download link | BonkCoop-BonkCoop-0.4.0.zip |
| Downloads | 1193 |
| Dependency string | BonkCoop-BonkCoop-0.4.0 |
This mod requires the following mods to function
BepInEx-BepInExPack_IL2CPP
BepInEx pack for IL2CPP x64 Unity games. Preconfigured and ready to use.
Preferred version: 6.0.755README
BonkCoop
Online co-op for Megabonk (1-4 players, over Steam). Written from scratch with stability as the first goal.
Beta. Tested with two game instances on one machine (lobby, stages, bosses, revive, game over, final boss) and in short sessions between two Steam accounts. 3-4 players are untested.
Found a bug or have a suggestion? Open an issue at https://github.com/lanterndevv/BonkCoop/issues and attach your
BepInEx/LogOutput.log (and your teammate's, if you can).
Planned features are listed in the roadmap.
Install
Install with a mod manager, or manually: BepInExPack IL2CPP 6.0.755, then put BonkCoop.dll in BepInEx/plugins/BonkCoop/.
Every player needs the same version of the mod and of the game (built for Megabonk 1.0.69). Do not run it together with other multiplayer mods.
How to play
- Main menu → Multiplayer → Create lobby → Invite (Steam overlay). Friends can also join from their Steam friends list or from the Multiplayer window.
- The host picks the map and the co-op difficulty. Everyone picks a character and presses Ready.
- The host presses Start.
The lobby is built from the game's own windows and buttons, so it follows the game's keyboard and gamepad navigation.
Options
The Options button on the Multiplayer screen has:
- Your own settings (only change what you see): teammate attacks, markers pointing to teammates that are off screen or down, and the names above teammates.
- Lobby rules (chosen by the host, the same for everyone): the upgrade timer and how long a revive takes.
They are saved in BepInEx/config/void.bonkcoop.cfg, so you can also change them from your mod manager.
Two players on one PC
You can run two copies of the game on one PC (for example one per monitor), each one joining the lobby with its own Steam account. Normally only the window with focus responds to input. In Options → Controls, give each window its own controls: for example keyboard & mouse in one and controller 1 in the other, or controller 1 and controller 2. A window with its own controls reads them even without focus. The Options screen tells you which window (1 or 2) you are in.
Rules
- Same map for everyone: every player sees the same chests, shrines and boss gate, and can use all of them.
- Enemies for everyone: each wave spawns once per player, around each of them. Enemies chase the nearest standing player.
- No pause: the game keeps running while someone picks an upgrade or opens a menu. While you pick an upgrade or open a chest you cannot be hurt and are not chased; after 30 seconds (a lobby rule) the first option is picked automatically. The pause menu does not protect you.
- Down and revive: at 0 HP you go down instead of dying. A teammate revives you by touching the circle around you: instantly, or by staying there a few seconds if the host chose so. Everyone who is down comes back when the team moves to the next stage. If the whole team is down, the run ends.
- Shared: XP, the magnet, power-ups (haste, rage, shield...), charge shrines (one player charges it, everyone picks a stat), map events, the boss, the portals and the crypt (the team crosses together after a short countdown).
- Individual: gold (you earn it from your own kills) and chests (each player opens their own copy).
- Enemy health grows slightly with the number of players (Easy / Normal / Hard in the lobby).
- Co-op runs count for silver, unlocks and achievements. They are never uploaded to the leaderboards.
Known limitations
- Teammates' attacks are a visual copy (the damage comes from their game): every weapon is drawn, including auras, but unusual trajectories and the SpaceNoodle whip are approximate.
- The game's enemy cap is shared by all players, so very late waves are smaller per player than in solo.
- Chests opened by another player stay closed on your screen (each player opens their own copy).
- No joining mid-run and no host migration: if the host leaves, everyone continues solo.
Español
Cooperativo online para 1-4 jugadores por Steam. Menú principal → Multijugador → Crear sala → Invitar. El juego y el mod muestran los textos en español si el juego está en español.
CHANGELOG
Changelog
0.4.0
Everyone needs to update: 0.4.0 only plays with 0.4.0.
- You now see all your teammates' weapons, including the ones that stay around the player: Aura, Frostwalker, Aegis, Chunkers, Space Noodle and Dragon's Breath.
- New Options button on the Multiplayer screen.
- Your own settings, which only change what you see: teammate attacks (turn them off if the screen gets too cluttered, #2), markers pointing to teammates and the names above teammates.
- Controls, for two players on one PC with two copies of the game: each window can use only the keyboard and mouse or only one controller, and then works without focus (#3).
- Lobby rules, chosen by the host and the same for everyone: the upgrade timer (15 s, 30 s, 60 s or no limit) and how long a revive takes (instant, 2 s or 5 s). The lobby shows the current rules to everyone.
- Everything is saved in the mod's config file, so you can also change it from your mod manager.
- Lobby: "Ready" resets for the next run (guests can press it again even before the host is back), leaving or closing the lobby with Back asks first, and characters and maps show their in-game names.
- Graveyard: guests now see the invincible ghost that shows up when the timer runs out (it was missing on their screen, and other enemies near it could freeze), and Boss Curse shrines count for the whole team, so coffins release the same minibosses for everyone and nobody gets a crypt key before the fight is over.
- Connection: when a teammate stops responding for a few seconds, the team panel says so; if it is the host, everyone sees a warning. A teammate dropped for not responding is announced as "lost connection".
- When you are down you can see your own revive circle, and the warning shows the revive progress.
0.3.1
- Fixed: in 0.3.0 the Create lobby button did nothing (and joining failed too). Everyone on 0.3.0 must update; 0.3.1 plays with 0.3.1 only.
0.3.0
Bug-fix release. Everyone needs to update: 0.3.0 cannot play with 0.2.x.
- XP orbs: fixed double XP with the magnet, orbs that paid nothing to whoever picked them up, lost XP with Echo Shard, and a corrupted orb list after many pickups. A downed player now receives the XP the team earned meanwhile when they get back up.
- Portal: a late key press can no longer skip a stage, the countdown is cancelled on game over, and the team waits for anyone still choosing an upgrade instead of discarding it.
- Crypt: entering or leaving revives downed players for everyone, and it can no longer be re-entered.
- Boss door: two presses at once no longer summon two bosses. Final boss: same pylons for everyone.
- The pause menu no longer makes you invulnerable (upgrade and chest windows still do, and keep you protected for a moment after you close them). Levelling up mid-air keeps your momentum.
- After one auto-pick timeout, later upgrades are no longer picked for you forever.
- When the last teammate leaves mid-run the game cleanly continues solo (no frozen host, stale HUD or hanging projectiles), and the next solo run is uploaded to the leaderboards again.
- Enemies: no more immortal ghost enemies on clients, spawns are shared fairly when the enemy cap is full, elite damage uses the attacker's own stat, and clients get swarm, miniboss and final swarm alerts.
- Network: a frozen or disconnected player is detected and dropped, a late map list is still applied, and the host ignores out-of-range or stale requests from guests.
- Guests join with their selected character instead of always Fox.
- New: an on-screen marker with name and distance points to teammates that are off screen or down.
0.2.1
- Documentation only: issues and feedback now live on GitHub. Same mod file as 0.2.0, so 0.2.0 and 0.2.1 players can play together.
0.2.0
- You now see your teammates' projectiles (visual only; the damage still comes from their game).
- XP orbs drop on every player's screen. When one player picks an orb up, everyone gets that XP once and the orb disappears for all.
- Graves, coffins, eggs, statues and character fights can be used by any player and now play out on every screen (before, they just disappeared for the other players).
- The crypt works in co-op: the team enters and leaves together after a short countdown, the dungeon is the same for everyone and its boss is shared.
- All players must update: 0.2.0 is not compatible with earlier versions.
0.1.2
- Enemies now spawn around every player: each wave spawns once per player, around each of them. Before, everything spawned around the host and enemies far from the host were pulled back to them (this is also why a challenge shrine activated by a guest seemed to spawn nothing).
- Enemy health no longer scales much with player count (Normal: +25% per extra player); the extra difficulty comes from the extra enemies.
- Revive is instant: touch the circle around a downed teammate.
- Gold is individual: you earn the gold of the enemies you kill. XP is still shared.
- The magnet pulls every player's XP, whoever picks it up. Power-ups (haste, rage, shield, time...) picked up by one player are given to everyone.
- Desert storms and tornadoes are the same for all players.
- All players must update: 0.1.2 is not compatible with earlier versions.
0.1.1
- The map is now identical for every player. Chests, shrines, the boss gate and the rest were placed differently for players with different save files; the host's layout is now applied to everyone.
- Everything on the map can be used by every player, not only by the host (challenge shrines, graves, eggs...).
- Charge shrines are shared: when one player charges it, everyone gets the stat reward.
- No more global pause. The game keeps running while someone picks an upgrade; that player is protected and is not chased until they choose (30 second limit).
- All players must update: 0.1.1 is not compatible with 0.1.0.
0.1.0
- First beta: Steam lobby, shared world (map, enemies, timers), shared XP and gold, global pause, down/revive, team game over and restart, stage boss, portals, final boss and victory.