PEAK
You are viewing a potentially older version of this package. View Latest Version
Install with App

Details

Date Uploaded
Downloads
571
Size
350KB

BetterCoop

Climb PEAK in Pairs. One player carries the other for the whole Run, and the two steer that one body together: the Carrier on the keyboard, the Rider on the mouse. They share stamina and statuses, and they live, die, and come back together.

한국어

How it plays

Carrier (keyboard) Rider (mouse)
Move, jump, sprint, crouch Look and steer
Interact, pick up, drop, throw Use the held item
Hotbar, emotes, open the backpack wheel Scroll, ping, pick from the backpack wheel
  • The body walks where the Rider looks. To climb, the Rider holds the grip and the Carrier climbs.
  • Both players see through the Carrier's eyes, with the same HUD.
  • Tap the back-slot key to bring the back item to hand; hold it to open your own backpack, then the Rider clicks the item.
  • Pairs change when a campfire is lit, and optionally on a timer. A Pair can also trade roles with Swap Places. Items and statuses carry over; nothing is lost.
  • Late Pairing: a player who joins mid-Run, or whose partner leaves, is paired with another player without a partner, without waiting for a shuffle. A player who reconnects gets their partner back in their old role.
  • Rescue Carry: a Pair, or a player without one, picks up a passed-out scout as in the plain game, and the Pair's Rider holds them. Their time stops running out while they are carried.
  • Roster in the ESC menu is a paper form: the Pairs as a yearbook page of the scouts' passport photos, the time to the next shuffle, and where you swap places and set the role you would like. Its Carry Record tallies how long each scout carried, rode and rescued this Run, and how high they climbed carrying.
  • The Run Report on the Roster follows the Run as it goes, and back at the Airport a telegram says it is complete: how the Run ended and how long it took, who carried whom in each segment, everyone's Carry Record, and pencilled Merit Badges for the steadiest back, the comfiest passenger, the Rescue Ranger, and the best buddies. It stays until the next Run departs, and mods that shorten or skip the end screen leave it whole.
  • News comes in on paper from the left: a telegram, a scout's memo, a baggage tag for your things, or a red-stamped caution. When your own Pair or role is about to change, a little airmail letter pops out with your photo and your partner's and counts down in its postmark.

Installing

Install with a mod manager (Gale, r2modman, or Thunderstore Mod Manager). The Troop Leader (host) needs the mod. Players whose version works with the Troop Leader's are paired; anyone without the mod, or with a version that does not work with the Troop Leader's, climbs along without a Pair, and everyone is told who. The players who can pair need to be an even number unless the Troop Leader allows an odd one.

Settings

In the Roster of the ESC menu, or in your mod manager's config editor under in.kawala.bettercoop. The Troop Leader's values apply to the room, except your own Role Preference and the Debug settings; a new Troop Leader keeps the room's rules. Everyone reads the Run Rules on the Roster, and a telegram tells them when the rules change. The Troop Leader's Roster can also shuffle the Pairs at once, call off the coming shuffle, put every Pair back together, and lay the Pairs out as they like by moving the photos about as a draft, then announce them to everyone with a postmark: the Scoutmaster's hand reaches down and takes the paper. A discarded draft is crumpled up and tossed. At the Airport the Troop Leader plans the Pairs the same way before departure; the Pairs form as planned on arrival, and anyone left out is paired by lot. When the same scouts gather again, the plan's draft starts from the Pairs the last Run ended with.

Setting Default
Role Preference Random Carrier, Rider, or Random for either.
Honour Role Preferences On Off: roles are drawn by lot.
Allow Role Swaps On Off: only the Troop Leader sets roles.
Late Pairing On Off: players without a partner climb alone until the next shuffle.
Rider Picks From Backpack On Off: the Carrier picks from the backpack wheel.
Allow Odd Player Count Off The extra player plays without a Pair.
Campfire Shuffle On New Pairs at each campfire.
Timed Shuffle, Interval Off, 10 New Pairs every few minutes (1–60).
Hand Over Place, Items On, On A new Carrier takes over the place and items of the Carrier before them.
Rescue Carry On Off: Pairs carry no passed-out scout, and no one carries a passed-out Pair.
Carry Weight Off Carriers feel the weight of a person.
Verbose Log Off Turn on when reporting a bug, and send BepInEx/LogOutput.log.

Compatibility

BetterCoop works next to other mods, including ones that change carrying; while you are in a Pair, the Pair's rules win. It turns itself off beside Co-op Mod, and after a game update it does not fit yet.

For mod developers

BetterCoop.Api lets another mod read the Pairs without depending on BetterCoop's internals: Enabled (false while the mod is off, or sits out a room whose Troop Leader's version does not work with this one), RoleOf(character), TryGetPartner(character, out partner), TryGetSharedBody(character, out body) (a Rider plays through their Carrier's body), and the events PairsChanged, PairChangeStarting, and PairChangeFinished. ApiVersion rises only when a change breaks callers. A Rider's own character is idle while carried and its statuses are kept clear, so a mod that shows players' status should show the Shared Body instead.

Reference BetterCoop.dll as a soft dependency and keep the calls in a method of their own, so your mod still loads without BetterCoop:

[BepInDependency("in.kawala.bettercoop", BepInDependency.DependencyFlags.SoftDependency)]
public class MyPlugin : BaseUnityPlugin
{
    static bool HasBetterCoop => Chainloader.PluginInfos.ContainsKey("in.kawala.bettercoop");

    static bool IsRider(Character character) => HasBetterCoop && IsRiderInBetterCoop(character);

    [MethodImpl(MethodImplOptions.NoInlining)]
    static bool IsRiderInBetterCoop(Character character) =>
        BetterCoop.Api.RoleOf(character) == BetterCoop.Api.Role.Rider;
}

Antivirus warnings

Some antivirus programs flag BetterCoop.dll with a name ending in !ml: a machine-learning guess, common for mods because they change a game's code while it runs. BetterCoop runs only inside PEAK, downloads and starts nothing, and talks only to players in your room. Its source is at https://github.com/kawalain/peak-better-coop. Report the file as a false positive and restore it, or reinstall.

Credits

  • Sappheiros009: the original idea, from Co-op Mod. BetterCoop began as a fork of Co-op Mod and has since been rewritten; none of Co-op Mod's code remains.
  • Puro: ideas and testing.
  • kawalain: maintainer.

License

MIT

Thunderstore development is made possible with ads. Please consider making an exception to your adblock.