YoFakeParent-CardSabotage icon

CardSabotage

Pick your opponents' cards instead of your own. Adds Sabotage and Team Sabotage (team voting) game modes to the lobby.

Last updated 2 days ago
Total downloads 268
Total rating 0 
Categories Gamemodes
Dependency string YoFakeParent-CardSabotage-0.3.0
Dependants 0 other packages depend on this package

This mod requires the following mods to function

Ascyst-SetRounds-1.2.4 icon
Ascyst-SetRounds

Set the amount of rounds you want to play per game, as well as the point per round. Set using Mod Options

Preferred version: 1.2.4
BepInEx-BepInExPack_ROUNDS-5.4.1900 icon
BepInEx-BepInExPack_ROUNDS

BepInEx pack for ROUNDS. Preconfigured and ready to use.

Preferred version: 5.4.1900
olavim-RoundsWithFriends-2.2.2 icon
olavim-RoundsWithFriends

ROUNDS multiplayer extension

Preferred version: 2.2.2
willis81808-UnboundLib-3.2.14 icon
willis81808-UnboundLib

This is a helpful utility for ROUNDS modders aimed at simplifying common tasks.

Preferred version: 3.2.14

README

Card Sabotage

A ROUNDS mod where you don't draft your own deck: your opponents do it for you. The goal flips from "build the best deck" to "build the worst deck for each other".

Works with Rounds With Friends and SetRounds (any rounds-to-win / points-to-win values). Every player needs the mod installed. Only the host's settings apply.

Modes (online lobby > game mode list)

Each mode is its own entry in the lobby's game mode list, next to Deathmatch / Team Deathmatch: "Sabotage: Swap Picks", "Sabotage: Winner's Revenge", and so on. They play like free-for-all Deathmatch. Pick a different entry between matches to switch modes without leaving the lobby. Any non-Sabotage game mode plays vanilla.

Mode Who picks Who receives
Swap Picks Everyone An opponent (2 players: each other)
Winner's Revenge The round winner(s) A round loser
Loser's Revenge The round loser(s) A round winner
Sabotage Everyone Everyone A randomly assigned opponent, re-rolled every round
Loser's Choice The round loser(s), twice First pick: themselves. Second pick: a round winner

Team Sabotage (team voting)

"Team Sabotage: ..." entries are the same five modes on Team Deathmatch, decided per team:

  • Everyone on the picking team sees the same cards. Move with left/right, press Jump to vote (you can change your vote until voting ends). Vote counts show under each card.
  • Voting ends when everyone has voted or after 20 seconds.
  • Most votes wins. A tie is settled by a roll: the highlight spins across the tied cards, fast then slowing down, and stops on the winner (the host picks it at random, everyone sees the same roll). If nobody votes, all cards are in the roll.
  • Every player on the receiving team gets that same card.

Both Players Pick (toggle, Mods menu > Card Sabotage): in Winner's / Loser's Revenge and Loser's Choice the winners/other player normally pick no card of their own. With this on they still pick a card for themselves. Swap Picks and Sabotage Everyone already give everyone a card, so the toggle changes nothing there.

Edge cases: a drawn round falls back to vanilla picking. In free-for-all lobbies with several losers and one winner, Winner's Revenge only sabotages one loser per round (one winner = one pick).

Building

  1. Install ROUNDS, BepInEx (BepInExPack ROUNDS), UnboundLib, Rounds With Friends.

  2. Build with your install path (the dll is copied into BepInEx/plugins automatically):

    dotnet build -c Release -p:RoundsPath="C:\path\to\ROUNDS"

How it works

  • SabotagePlanner (pure C#, no Unity) decides picker -> recipient for each pick slot.
  • The host runs it on the UnboundLib PickStart hook and sends the plan to everyone, so skips and redirects are identical on every machine. Round winners come from round-score changes between picks.
  • A Harmony prefix on ApplyCardStats.Pick redirects the chosen card to the recipient, only while a sabotage pick is in progress. Prefixes on CardChoiceVisuals.Show / CardChoice.DoPick skip the slots the planner marks as Skip.

Known limitations / to verify in-game

  • Method and field names were checked against the installed game assembly's name tables (not a full decompile, so parameter order is from public mod sources): ApplyCardStats.Pick, CardChoice.DoPick, CardChoiceVisuals.Show, CardChoice.pickrID. IGameModeHandler.GetTeamScore comes from UnboundLib. This still needs a first in-game test. Watch the BepInEx console for "Redirecting card ...".
  • Offered cards are still filtered against the picker's deck, not the recipient's (so "allow multiple" and card-category rules look at the wrong player).
  • Team-type picks (PickerType.Team) are left vanilla.
  • Cards a mod adds directly (without going through ApplyCardStats.Pick) are not redirected.