You are viewing a potentially older version of this package. View all versions.
CapackMods-RoleShuffle-4.1.0 icon

RoleShuffle

【HostOnlyMOD】With only the host installing the mod, enjoy random roles and a variety of upgrades and effects in every stage! ホスト導入だけで、ステージごとにランダムな役職とさまざまな強化・効果を楽しめます!

Date uploaded 5 hours ago
Version 4.1.0
Download link CapackMods-RoleShuffle-4.1.0.zip
Downloads 35
Dependency string CapackMods-RoleShuffle-4.1.0

This mod requires the following mods to function

BepInEx-BepInExPack-5.4.2305 icon
BepInEx-BepInExPack

BepInEx pack for Mono Unity games. Preconfigured and ready to use.

Preferred version: 5.4.2305
nickklmao-MenuLib-2.5.2 icon
nickklmao-MenuLib

A library for creating UI!

Preferred version: 2.5.2
nickklmao-REPOConfig-1.2.6 icon
nickklmao-REPOConfig

Edit mod configs in-game!

Preferred version: 1.2.6

README

RoleShuffle

English

Overview

RoleShuffle assigns every player a random role when a stage begins and clears all assigned roles when the stage ends. Each role specializes in a distinct gameplay theme built from vanilla upgrades or effects. Configurable base upgrade levels remain active between stages. When a role specializes in an upgrade, the role's configured level replaces that base level for the stage; every other managed upgrade stays at its base level.

Only the host needs RoleShuffle for gameplay effects. Players without the mod receive their role, upgrades, effects, and vanilla chat/TTS announcement normally. Participants who also install RoleShuffle can use the synchronized role HUD.

By default, upgrade items are removed from the shop pool so stage roles remain the source of temporary upgrades.

Requirements

  • BepInExPack 5.4.2305 or a later compatible version
  • REPOConfig 1.2.6 or a later compatible version
  • MenuLib 2.5.2 or a later compatible version

Installation

Install with a compatible mod manager, or place RoleShuffle.dll in the profile's BepInEx/plugins directory. Only the host needs the mod for gameplay effects.

Multiplayer

  • The host assigns roles and controls all gameplay settings.
  • Vanilla participants are fully supported and do not need RoleShuffle.
  • Installed participants receive the synchronized role HUD and the scrollable Roles page in the Escape menu; HUD layout settings are local to each installed player.
  • Single-player uses the same role system, but Jobless is excluded from random assignment when only one player is present.

Role command

  • Enter /roles in the in-game chat to check your own assigned role.
  • Vanilla participants can use this command when the host has RoleShuffle installed.
  • Outside an active stage, the response is YourRole:Unavailable.

How roles are assigned

  • One role is selected for each player at the start of a playable stage.
  • Enabled roles are selected by relative Weight.
  • With General.UniqueRoles = true, duplicate roles are avoided until every eligible role has been used once.
  • King is assigned to at most one player per stage.
  • Jobless is not selected in single-player or a one-player session.
  • Roles, role-specific upgrade overrides, hazards, healing effects, revival state, and the role HUD are cleared only when the stage actually transitions.

Roles

Role Default upgrade or effect Important limitation or risk Configurable values
Tank Health 21, replacing base Health No additional special effect. Health target 0100
Runner Base upgrades, with Speed 6 and Stamina 46 No additional special effect. Speed and Stamina targets 0100
Jumper Base upgrades, with Extra Jump 10 No additional special effect. Extra Jump target 0100
Lifter Base upgrades, with Strength 25 No additional special effect. Strength target 0100
Launcher Base upgrades, with Launch 10 No additional special effect. Launch target 0100
Climber Base upgrades, with Tumble Climb 50 and Range 20 No additional special effect. Tumble Climb and Range targets 0100
Flyer Base upgrades, with Tumble Wings 10 No additional special effect. Tumble Wings target 0100
Tracker Base upgrades, with Map Player Count 1 The role target is fixed at 1. Selection only
Ghost Base upgrades, with Death Head Battery 50 No additional special effect. Death Head Battery target 0100
Bomber Base upgrades; places an armed explosive, stun, shockwave, or duct-taped grenade at random after every 8 m traveled. Any player currently assigned Bomber can keep automatically generated Bomber grenades grabbed. Grenades can injure players and damage valuables. Duct-taped grenades release additional human grenades. At most 30 parent grenades are tracked per player; truck placement is off by default. On vanilla clients, a rejected non-Bomber grab may appear briefly before the host releases it. Distance, limit, truck placement, grenade types
Medic Base upgrades; heals nearby teammates for 5 HP every 2 seconds within 5 m, up to 200 total HP per stage. Never heals the Medic. Only living teammates within range are affected. Healing stops when that Medic's stage limit is exhausted. Amount, interval, radius, total limit
Phoenix Base upgrades; revives itself with 25 HP by default once per stage, at least 2 seconds after death. One use per stage. A failed-stage transition is held for at most 5 seconds while revival initializes. Revival HP cannot exceed the player's maximum HP. Revival HP, revival delay, failure grace
Jobless Base upgrades; takes 1 damage every 0.1 seconds while outside the truck. Can kill the player. Never selected randomly when only one player is present. Damage, interval
Rescuer Base upgrades; revives the nearest dead teammate within 3 m after 2 seconds with 25 HP by default. Up to 2 revivals per stage; the Rescuer must be alive and the target must have a Death Head. Revival HP cannot exceed the target's maximum HP. Revival HP, delay, radius, maximum revivals
Vampire Base upgrades; heals when an enemy dies within 10 m: Tier 1 = 5, Tier 2 = 10, Tier 3 = 50. Uses the enemy's vanilla Danger Level. The Vampire must be alive and close to the dying enemy. Amount per tier, radius
King Base upgrades; receives the vanilla Crown for the stage. Only one King can be assigned. The previous Crown holder is restored when the role ends. Selection only
Tuna Base upgrades; after a 5-second grace period at stage start, standing still for 3 seconds causes 1 damage every 0.1 seconds until moving. Can kill the player. The stationary timer starts after the initial grace period. Moving resets it immediately; lost health is not restored. Delay, damage, interval
Musician Base upgrades; each instrument note played by the Musician heals the Musician and living players within 10 m for 5 HP. Requires a vanilla musical valuable to be played by the Musician. Amount, radius
Mage Base upgrades; casts by exact chat keyword: star = Star Wand (10 HP), gravity = Zero Gravity Staff (10 HP), roll = Roll Staff (15 HP), void = Void Staff (30 HP), laser = Wizard Staff beam (50 HP). The beam begins 3 m in front of the player. A cast is rejected when current HP is less than or equal to its cost, so casting cannot kill the Mage. HP is consumed only after a successful cast. All spells are real vanilla hazards and can injure players or damage valuables. Casts share a 5-second cooldown by default. Cast cooldown, health cost per spell
Gambler Base upgrades; the first directly grabbed valuable each stage has a 50% chance to double in value and otherwise loses half its value. One wager per stage by default. The changed value affects the whole team and is rounded to the nearest $100. Win chance, win and loss multipliers, wager limit
Hunter Base upgrades; weapons use 75% of their normal battery consumption. When Hunter deals the last damage to an enemy, there is a 0.01% chance to set its orb drop to 10; otherwise there is a 10% chance to double its normal orb count. Only weapons currently equipped or held by Hunter receive the battery effect. Whole-bar costs are accumulated so their average consumption matches the configured percentage. Battery consumption, both orb chances, jackpot count
Stinker Base upgrades; records the path every 1 m and creates vanilla uranium-tableware break clouds one at a time. Only the newest pending point waits until Stinker is at least 1 m away. Uranium clouds can damage other players. Walking back into a cloud can still cause damage. Truck placement is off by default. Distance, safety distance, truck placement
Engineer Base upgrades; prevents held vanilla effect valuables from running their trap, frame-update, and dedicated activation paths. For effect valuables grabbed by an Engineer, the host keeps the activation-related grab state host-side so vanilla participants do not start local grab effects. The Engineer must still be holding the valuable. Trap state is cleared while held and for 0.25 seconds after release. Effects based only on grabbedLocal on an unmodded participant may remain client-side. Selection only

Configuration

All settings are available through REPOConfig. Host-controlled settings affect the session. Local settings affect only the installed player's HUD.

General, notifications, and HUD

Key Default Range / values Effect Control
General.Enabled true true, false Enables stage role assignment. Host
General.UniqueRoles true true, false Avoids duplicates until every enabled eligible role has been assigned once. Host
General.ShopUpgradeItemCount 0 030 Requests this number of upgrade items for each shop. 0 removes upgrade items from the shop pool. Host
Notifications.Enabled true true, false Enables role-name chat and TTS announcements. Host
Notifications.AnnouncementDelaySeconds 2.5 030 Delay before role announcements without Stage Flux. Host
Notifications.StageFluxAnnouncementDelaySeconds 5 030 Minimum delay before role announcements when Stage Flux is installed. RoleShuffle also waits for Stage Flux TTS to finish and for a 1.5-second quiet period. Host
HUD.Enabled true true, false Shows every synchronized role during a stage. Local
HUD.Anchor BottomLeft TopLeft, TopCenter, TopRight, MiddleLeft, MiddleCenter, MiddleRight, BottomLeft, BottomCenter, BottomRight Selects the HUD anchor. Local
HUD.Alignment Left Left, Center, Right Selects the role text alignment. Local
HUD.OffsetX 0 -38403840 Horizontal offset from the anchor in pixels. Local
HUD.OffsetY 0 -21602160 Vertical offset from the anchor in pixels. Local
HUD.ScalePercent 70 50200 HUD display scale percentage. Local
HUD.PlayersPerPage 8 220 Maximum players shown at once, including the pinned local player. Local
HUD.PageIntervalSeconds 5 130 Seconds each role page remains visible. Local
HUD.TransitionDurationSeconds 0.2 01 Duration of the fade between role pages. Local
HUD.PinLocalPlayer true true, false Keeps the local player's role visible on every page. Local

Base upgrades

These host settings define the upgrade target used whenever a role does not override that upgrade. Base levels remain active outside stages. Throw is excluded and is never changed by RoleShuffle.

Key Default Range / values Effect Control
Base Upgrades.HealthUpgradeLevels 1 0100 Base Health level. Host
Base Upgrades.StaminaUpgradeLevels 0 0100 Base Stamina level. Host
Base Upgrades.ExtraJumpUpgradeLevels 0 0100 Base Extra Jump level. Host
Base Upgrades.SpeedUpgradeLevels 0 0100 Base Speed level. Host
Base Upgrades.StrengthUpgradeLevels 0 0100 Base Strength level. Host
Base Upgrades.RangeUpgradeLevels 0 0100 Base Range level. Host
Base Upgrades.LaunchUpgradeLevels 0 0100 Base Launch level. Host
Base Upgrades.TumbleClimbUpgradeLevels 0 0100 Base Tumble Climb level. Host
Base Upgrades.TumbleWingsUpgradeLevels 0 0100 Base Tumble Wings level. Host
Base Upgrades.CrouchRestUpgradeLevels 0 0100 Base Crouch Rest level. Host
Base Upgrades.MapPlayerCountUpgradeLevels 0 01 Base Map Player Count level. Host
Base Upgrades.DeathHeadBatteryUpgradeLevels 0 0100 Base Death Head Battery level. Host

Role selection

Every role has an Enabled switch and a relative Weight. A role with Enabled = false or Weight = 0 is excluded from random assignment.

Role Enabled key and default Weight key and default Allowed values Control
Tank Tank.Enabled = true Tank.Weight = 100 Enabled: true, false; Weight: 01000 Host
Runner Runner.Enabled = true Runner.Weight = 100 Enabled: true, false; Weight: 01000 Host
Jumper Jumper.Enabled = true Jumper.Weight = 100 Enabled: true, false; Weight: 01000 Host
Lifter Lifter.Enabled = true Lifter.Weight = 100 Enabled: true, false; Weight: 01000 Host
Launcher Launcher.Enabled = true Launcher.Weight = 100 Enabled: true, false; Weight: 01000 Host
Climber Climber.Enabled = true Climber.Weight = 100 Enabled: true, false; Weight: 01000 Host
Flyer Flyer.Enabled = true Flyer.Weight = 100 Enabled: true, false; Weight: 01000 Host
Tracker Tracker.Enabled = true Tracker.Weight = 100 Enabled: true, false; Weight: 01000 Host
Ghost Ghost.Enabled = true Ghost.Weight = 100 Enabled: true, false; Weight: 01000 Host
Bomber Bomber.Enabled = true Bomber.Weight = 100 Enabled: true, false; Weight: 01000 Host
Medic Medic.Enabled = true Medic.Weight = 100 Enabled: true, false; Weight: 01000 Host
Phoenix Phoenix.Enabled = true Phoenix.Weight = 100 Enabled: true, false; Weight: 01000 Host
Jobless Jobless.Enabled = true Jobless.Weight = 100 Enabled: true, false; Weight: 01000 Host
Rescuer Rescuer.Enabled = true Rescuer.Weight = 100 Enabled: true, false; Weight: 01000 Host
Vampire Vampire.Enabled = true Vampire.Weight = 100 Enabled: true, false; Weight: 01000 Host
King King.Enabled = true King.Weight = 100 Enabled: true, false; Weight: 01000 Host
Tuna Tuna.Enabled = true Tuna.Weight = 100 Enabled: true, false; Weight: 01000 Host
Musician Musician.Enabled = true Musician.Weight = 100 Enabled: true, false; Weight: 01000 Host
Mage Mage.Enabled = true Mage.Weight = 100 Enabled: true, false; Weight: 01000 Host
Gambler Gambler.Enabled = true Gambler.Weight = 100 Enabled: true, false; Weight: 01000 Host
Hunter Hunter.Enabled = true Hunter.Weight = 100 Enabled: true, false; Weight: 01000 Host
Stinker Stinker.Enabled = true Stinker.Weight = 100 Enabled: true, false; Weight: 01000 Host
Engineer Engineer.Enabled = true Engineer.Weight = 100 Enabled: true, false; Weight: 01000 Host

Upgrade and special-role settings

Key Default Range / values Effect Control
Tank.HealthUpgradeLevels 21 0100 Health levels granted to Tank. Host
Runner.SpeedUpgradeLevels 6 0100 Speed levels granted to Runner. Host
Runner.StaminaUpgradeLevels 46 0100 Stamina levels granted to Runner. Host
Jumper.ExtraJumpUpgradeLevels 10 0100 Extra Jump levels granted to Jumper. Host
Lifter.StrengthUpgradeLevels 25 0100 Strength levels granted to Lifter. Host
Launcher.LaunchUpgradeLevels 10 0100 Launch levels granted to Launcher. Host
Climber.ClimbUpgradeLevels 50 0100 Tumble Climb levels granted to Climber. Host
Climber.RangeUpgradeLevels 20 0100 Range levels granted to Climber. Host
Flyer.WingsUpgradeLevels 10 0100 Tumble Wings levels granted to Flyer. Host
Ghost.DeathHeadBatteryUpgradeLevels 50 0100 Death Head Battery levels granted to Ghost. Host
Bomber.DistancePerGrenade 8 1100 Travel distance in meters required for each grenade placement. Host
Bomber.MaximumActiveGrenades 30 130 Maximum tracked grenades per Bomber. Host
Bomber.AllowTruckSpawns false true, false Allows grenade placement inside the truck. Host
Bomber.ExplosiveGrenadesEnabled true true, false Includes vanilla explosive grenades in the random selection. Host
Bomber.StunGrenadesEnabled true true, false Includes vanilla stun grenades in the random selection. Host
Bomber.ShockwaveGrenadesEnabled true true, false Includes vanilla shockwave grenades in the random selection. Host
Bomber.DuctTapedGrenadesEnabled true true, false Includes vanilla duct-taped grenades in the random selection. Host
Medic.HealAmount 5 1100 Health restored to each nearby teammate per tick. Host
Medic.HealIntervalSeconds 2 0.130 Seconds between Medic healing ticks. Host
Medic.HealRadius 5 130 Maximum healing distance in meters. Host
Medic.TotalHealingLimit 200 110000 Maximum total health restored by each Medic per stage. Only health actually missing from a target consumes the limit. Host
Phoenix.ReviveDelaySeconds 2 210 Seconds before Phoenix revival. Host
Phoenix.FailureGraceSeconds 5 115 Maximum seconds to hold a failed-stage transition while revival initializes. Host
Phoenix.RevivalHealth 25 11000 Health after Phoenix revival, capped at the player's maximum health. Host
Jobless.Damage 1 1100 Damage per tick outside the truck. Host
Jobless.DamageIntervalSeconds 0.1 0.0510 Seconds between damage ticks outside the truck. Host
Rescuer.ReviveDelaySeconds 2 010 Seconds a target must remain dead before rescue. Host
Rescuer.Radius 3 150 Maximum rescue distance in meters. Host
Rescuer.MaximumRevives 2 110 Maximum revivals for each Rescuer per stage. Host
Rescuer.RevivalHealth 25 11000 Health after a Rescuer revival, capped at the target's maximum health. Host
Vampire.Tier1HealAmount 5 1100 Health restored by a nearby Danger Level 1 enemy death. Host
Vampire.Tier2HealAmount 10 1100 Health restored by a nearby Danger Level 2 enemy death. Host
Vampire.Tier3HealAmount 50 1100 Health restored by a nearby Danger Level 3 enemy death. Host
Vampire.Radius 10 150 Maximum distance in meters from the dying enemy. Host
Tuna.StationaryDelaySeconds 3 0.130 Seconds without movement before damage begins. Host
Tuna.Damage 1 1100 Damage per stationary tick. Host
Tuna.DamageIntervalSeconds 0.1 0.0510 Seconds between stationary damage ticks. Host
Musician.HealAmount 5 1100 Health restored to the Musician and each living player in range per instrument note. Host
Musician.HealRadius 10 150 Maximum healing distance in meters from the Musician. Host
Mage.CastIntervalSeconds 5 0.130 Minimum seconds between chat-triggered casts. Host
Mage.StarHealthCost 10 0100 Health consumed after a successful star cast. Host
Mage.GravityHealthCost 10 0100 Health consumed after a successful gravity cast. Host
Mage.RollHealthCost 15 0100 Health consumed after a successful roll cast. Host
Mage.VoidHealthCost 30 0100 Health consumed after a successful void cast. Host
Mage.LaserHealthCost 50 0100 Health consumed after a successful laser cast. Host
Gambler.WinChancePercent 50 0100 Chance that a wager uses the win multiplier. Host
Gambler.WinValueMultiplier 2 010 Valuable multiplier applied to a winning wager. Host
Gambler.LoseValueMultiplier 0.5 010 Valuable multiplier applied to a losing wager. Host
Gambler.MaximumWagersPerStage 1 0100 Maximum wagers for each Gambler per stage. 0 disables wagering. Host
Hunter.WeaponBatteryConsumptionPercent 75 0100 Percentage of normal weapon battery consumption used by Hunter. Host
Hunter.DoubleOrbChancePercent 10 0100 Chance to double the normal orb count after Hunter defeats an enemy, checked only if the jackpot roll fails. Host
Hunter.JackpotOrbChancePercent 0.01 0100 Chance to replace an enemy's orb count with the jackpot count after Hunter defeats it. Host
Hunter.JackpotOrbCount 10 1100 Orb count used by Hunter's jackpot result. Host
Stinker.DistancePerCloud 1 1100 Travel distance in meters between recorded uranium-cloud trail points. Host
Stinker.MinimumSafetyDistance 1 130 Minimum distance Stinker must be from the newest pending point before its cloud is created. Older queued points are emitted sequentially. Host
Stinker.AllowTruckSpawns false true, false Allows uranium-cloud trail points to be recorded and created inside the truck. Host

The default base is Health 1 and 0 for every other managed upgrade. A role-specific upgrade is an absolute target, not a bonus added to the base. When that role ends, RoleShuffle restores the configured base target; upgrades not overridden by the role stay at their base targets. Levels are changed only at assignment, role changes, and stage transitions, without continuous monitoring. Tracker always targets Map Player Count 1 and therefore has no role-level setting. Throw is not managed. King has no effect-strength setting.

Notifications and HUD

  • At stage start, each player announces the assigned English role name through vanilla chat and TTS.
  • RoleShuffle's forced notification TTS does not attract enemies. Ordinary microphone input and other world sounds keep their vanilla behavior.
  • When Stage Flux is present, RoleShuffle uses the separate Stage Flux announcement delay to avoid overlapping stage-start messages.
  • RoleShuffle waits until Stage Flux TTS has finished and remains quiet for 1.5 seconds before announcing roles.
  • Installed participants see a one-column ROLES HUD at the bottom left by default. Their own role stays pinned while up to seven other players rotate every 5 seconds.
  • A ROLES button anchored to the bottom-right corner of the full screen in the Escape menu opens a scrollable list of all synchronized player assignments.
  • No role descriptions are displayed in-game.

Compatibility

Stage Flux is optional and is not required to install RoleShuffle.

  • Stage Flux Second Chance is evaluated before RoleShuffle Phoenix.
  • If Second Chance stops a failed-stage transition, Phoenix is preserved for later use and RoleShuffle does not clear the active roles.
  • If Phoenix stops the transition, RoleShuffle also preserves all active role state.
  • RoleShuffle clears its stage state only when the game's level transition actually runs.
  • Internal vanilla effect carriers used by RoleShuffle are marked for Stage Flux compatibility and do not interfere with player movement or grounded checks.

Gameplay notes

  • Bomber creates live vanilla hazards. Explosions and physics effects may injure players or damage valuables.
  • Mage fires live vanilla attacks selected by exact chat keywords. Projectiles and beams may injure players or damage valuables.
  • Jobless and Tuna continuously deal real damage under their stated conditions and can kill their owner. The damage is not automatically restored.
  • Medic never heals itself.
  • Phoenix revives itself once per stage. Rescuer revives other nearby players up to the configured limit. Each role uses its own configurable revival HP, with a default of 25.
  • Role-specific upgrade overrides return to their configured base levels at stage end. Other managed upgrades stay at their base levels, and Throw is untouched.
  • Setting every role to disabled or weight 0 leaves no eligible random role to assign.

日本語

概要

RoleShuffleは、ステージ開始時に各プレイヤーへランダムな役職を1つ割り当て、ステージ終了時に役職を解除します。各役職はバニラのアップグレードや効果を使った固有のゲームプレイテーマに特化しています。設定可能な基礎アップグレードはステージ外でも維持します。役職が特化するアップグレードは、ステージ中だけ基礎値ではなく役職の設定値へ置き換え、それ以外は基礎値を維持します。

ゲームプレイ効果はホストだけの導入で利用できます。MODを導入していない参加者にも、役職、アップグレード、効果、バニラのチャット/TTS通知が適用されます。RoleShuffleを導入している参加者は、同期された役職HUDも利用できます。

デフォルトでは、役職による一時強化を中心にするため、ショップのアップグレードアイテム出現数は0です。

必須MOD

  • BepInExPack 5.4.2305以降の互換バージョン
  • REPOConfig 1.2.6以降の互換バージョン
  • MenuLib 2.5.2以降の互換バージョン

導入方法

対応するMODマネージャーでインストールするか、RoleShuffle.dllをプロファイルのBepInEx/pluginsへ配置してください。ゲームプレイ効果はホストだけの導入で利用できます。

マルチプレイ

  • 役職の抽選とゲームプレイ設定はホストが管理します。
  • MOD未導入の参加者にも対応しており、RoleShuffleの導入は不要です。
  • MOD導入済みの参加者には同期された役職HUDと、Escメニュー内のスクロール可能なRolesページが表示されます。HUD配置設定は各導入者のローカル設定です。
  • シングルプレイでも同じ役職システムを使用しますが、参加者が1人だけのときはJoblessがランダム抽選から除外されます。

役職確認コマンド

  • ゲーム内チャットで/rolesを入力すると、自分に割り当てられた役職を確認できます。
  • ホストがRoleShuffleを導入していれば、MOD未導入の参加者も使用できます。
  • ステージ外ではYourRole:Unavailableと応答します。

役職の抽選

  • プレイ可能なステージの開始時、各プレイヤーへ役職を1つ割り当てます。
  • 有効な役職を相対的なWeightに基づいて抽選します。
  • General.UniqueRoles = trueの場合、抽選可能な役職を一巡するまで重複を避けます。
  • Kingは1ステージにつき最大1人です。
  • Joblessはシングルプレイまたは1人のセッションでは抽選されません。
  • 役職、役職用アップグレードの上書き、ハザード、回復効果、復活状態、役職HUDは、ステージが実際に遷移したときだけ解除されます。

役職一覧

役職 デフォルトのアップグレードまたは効果 主な制限・危険性 調整可能な値
Tank 基礎Healthを置き換えてHealth 21 追加の特殊効果はありません。 Health目標値0100
Runner 基礎アップグレード。Speed 6、Stamina 46へ置換 追加の特殊効果はありません。 SpeedとStaminaの目標値0100
Jumper 基礎アップグレード。Extra Jump 10へ置換 追加の特殊効果はありません。 Extra Jump目標値0100
Lifter 基礎アップグレード。Strength 25へ置換 追加の特殊効果はありません。 Strength目標値0100
Launcher 基礎アップグレード。Launch 10へ置換 追加の特殊効果はありません。 Launch目標値0100
Climber 基礎アップグレード。Tumble Climb 50、Range 20へ置換 追加の特殊効果はありません。 Tumble ClimbとRangeの目標値0100
Flyer 基礎アップグレード。Tumble Wings 10へ置換 追加の特殊効果はありません。 Tumble Wings目標値0100
Tracker 基礎アップグレード。Map Player Count 1へ置換 役職の目標値は1固定です。 抽選設定のみ
Ghost 基礎アップグレード。Death Head Battery 50へ置換 追加の特殊効果はありません。 Death Head Battery目標値0100
Bomber 基礎アップグレード。8 m移動するごとに、Explosive、Stun、Shockwave、Duct Tapedのいずれかの起動済みグレネードをランダム設置します。現在Bomberであるプレイヤーは、ほかのBomberが自動生成したグレネードも持ち続けられます。 プレイヤーや貴重品に被害を与える可能性があります。Duct Taped Grenadeは追加のHuman Grenadeを放出します。1人につき親グレネードを最大30個追跡し、トラック内設置はデフォルト無効です。バニラ参加者ではBomber以外の拒否された掴みが一瞬だけ表示される場合があります。 距離、上限、トラック内設置、グレネード種類
Medic 基礎アップグレード。5 m以内の仲間を2秒ごとに5 HP回復し、1ステージにつき合計200 HPまで回復します。 Medic自身は回復しません。範囲内で生存している仲間だけが対象です。そのMedicの上限を使い切ると回復を停止します。 回復量、間隔、範囲、合計上限
Phoenix 基礎アップグレード。死亡から最低2秒後、デフォルト25 HPで1ステージに1回だけ自己復活します。 1ステージにつき1回です。復活準備中は、失敗時のステージ遷移を最大5秒保留します。復活後HPはプレイヤーの最大HPを超えません。 復活後HP、復活遅延、失敗時猶予
Jobless 基礎アップグレード。トラック外にいる間、0.1秒ごとに1ダメージを受けます。 死亡する可能性があります。参加者が1人だけの場合はランダム抽選されません。 ダメージ、間隔
Rescuer 基礎アップグレード。3 m以内で最も近い死亡中の仲間を、死亡から2秒後にデフォルト25 HPで復活させます。 1ステージにつき最大2回です。Rescuerが生存し、対象のDeath Headが存在する必要があります。復活後HPは対象の最大HPを超えません。 復活後HP、遅延、範囲、最大復活回数
Vampire 基礎アップグレード。10 m以内で敵が死亡すると、Tier 1は5、Tier 2は10、Tier 3は50回復します。 敵のバニラDanger Levelを使用します。Vampireが生存し、死亡した敵の近くにいる必要があります。 Tier別回復量、範囲
King 基礎アップグレード。ステージ中、バニラのCrownを受け取ります。 Kingは最大1人です。役職終了時に以前のCrown所有者へ戻します。 抽選設定のみ
Tuna 基礎アップグレード。ステージ開始時の5秒間の猶予後、3秒間停止すると、移動するまで0.1秒ごとに1ダメージを受けます。 死亡する可能性があります。停止時間の計測は最初の猶予後に始まります。動くと即座にリセットし、失った体力は回復しません。 停止時間、ダメージ、間隔
Musician 基礎アップグレード。Musicianが楽器で音を鳴らすたびに、本人を含む10 m以内の生存プレイヤーを5 HP回復します。 Musician本人がバニラの楽器系貴重品を演奏する必要があります。 回復量、範囲
Mage 基礎アップグレード。チャット完全一致で、star = Star Wand(10 HP)、gravity = Zero Gravity Staff(10 HP)、roll = Roll Staff(15 HP)、void = Void Staff(30 HP)、laser = Wizard Staffのビーム(50 HP)を発射します。ビームはプレイヤーの前方3 mから発射します。 現在HPがコスト以下の場合は発動しないため、魔法のHP消費でMage自身が死亡することはありません。発動に成功した場合のみHPを消費します。すべて実体のあるバニラ攻撃で、プレイヤーや貴重品へ被害を与える可能性があります。デフォルトでは全魔法で5秒のクールダウンを共有します。 発射クールダウン、魔法ごとのHP消費量
Gambler 基礎アップグレード。各ステージで最初に直接つかんだValuableは、50%の確率で価格が2倍になり、それ以外では半額になります。 デフォルトでは1ステージにつき1回です。変更後の価格はチーム全体へ影響し、100ドル単位へ丸めます。 勝率、勝敗倍率、抽選回数
Hunter 基礎アップグレード。武器のバッテリー消費量が通常の75%になります。Hunterが最後にダメージを与えて敵を倒すと、0.01%の確率でオーブが10個になり、それ以外では10%の確率で通常個数の2倍になります。 Hunter本人が装備または保持している武器だけが対象です。バー単位の消費は蓄積計算し、平均消費量を設定割合へ合わせます。 バッテリー消費率、両方のオーブ確率、特賞個数
Stinker 基礎アップグレード。通った経路を1 mごとに記録し、バニラのウラン食器破壊時の雲を1つずつ順番に発生させます。安全距離1 mは最新の発生待ち地点だけに適用します。 ウラン雲はほかのプレイヤーへダメージを与えます。自分から雲へ戻るとダメージを受ける可能性があります。デフォルトではトラック内に発生しません。 距離、安全距離、トラック内発生
Engineer 基礎アップグレード。保持しているバニラの効果付きValuableについて、罠、フレーム更新、専用発動関数を抑止します。Engineerが掴んだ効果付きValuableの発動条件となる掴み情報はホスト内だけに保持し、バニラ参加者側のローカル演出開始も防ぎます。 保持中と離してから0.25秒間は罠状態をリセットします。MOD未導入参加者側のgrabbedLocalだけを使う効果は残る場合があります。 抽選設定のみ

設定

すべての設定はREPOConfigから変更できます。ホスト設定はセッション全体へ、ローカル設定はMOD導入者本人のHUDだけに反映されます。

一般、通知、HUD

キー デフォルト 範囲・値 内容 管理
General.Enabled true true, false ステージごとの役職割り当てを有効にします。 ホスト
General.UniqueRoles true true, false 抽選可能な役職を一巡するまで重複を避けます。 ホスト
General.ShopUpgradeItemCount 0 030 各ショップへ要求するアップグレードアイテム数です。0でショップの抽選対象から除外します。 ホスト
Notifications.Enabled true true, false 役職名のチャット/TTS通知を有効にします。 ホスト
Notifications.AnnouncementDelaySeconds 2.5 030 Stage Flux未導入時の役職通知までの秒数です。 ホスト
Notifications.StageFluxAnnouncementDelaySeconds 5 030 Stage Flux導入時、役職通知までに最低限待つ秒数です。Stage FluxのTTS終了後、さらに1.5秒間の無音を確認します。 ホスト
HUD.Enabled true true, false ステージ中、同期された全役職を表示します。 ローカル
HUD.Anchor BottomLeft TopLeft, TopCenter, TopRight, MiddleLeft, MiddleCenter, MiddleRight, BottomLeft, BottomCenter, BottomRight HUDの基準位置を選択します。 ローカル
HUD.Alignment Left Left, Center, Right 役職テキストの揃え方を選択します。 ローカル
HUD.OffsetX 0 -38403840 基準位置からの水平オフセットです。単位はピクセルです。 ローカル
HUD.OffsetY 0 -21602160 基準位置からの垂直オフセットです。単位はピクセルです。 ローカル
HUD.ScalePercent 70 50200 HUDの表示倍率です。 ローカル
HUD.PlayersPerPage 8 220 自分の固定表示を含め、同時に表示する最大人数です。 ローカル
HUD.PageIntervalSeconds 5 130 各役職ページを表示する秒数です。 ローカル
HUD.TransitionDurationSeconds 0.2 01 役職ページ切替時のフェード時間です。 ローカル
HUD.PinLocalPlayer true true, false 自分の役職をすべてのページへ固定表示します。 ローカル

基礎アップグレード

役職が置き換えない場合に使用するアップグレード目標値です。ホスト設定として動作し、基礎値はステージ外でも維持します。Throwは対象外で、RoleShuffleから変更しません。

キー デフォルト 範囲・値 内容 管理
Base Upgrades.HealthUpgradeLevels 1 0100 Healthの基礎値です。 ホスト
Base Upgrades.StaminaUpgradeLevels 0 0100 Staminaの基礎値です。 ホスト
Base Upgrades.ExtraJumpUpgradeLevels 0 0100 Extra Jumpの基礎値です。 ホスト
Base Upgrades.SpeedUpgradeLevels 0 0100 Speedの基礎値です。 ホスト
Base Upgrades.StrengthUpgradeLevels 0 0100 Strengthの基礎値です。 ホスト
Base Upgrades.RangeUpgradeLevels 0 0100 Rangeの基礎値です。 ホスト
Base Upgrades.LaunchUpgradeLevels 0 0100 Launchの基礎値です。 ホスト
Base Upgrades.TumbleClimbUpgradeLevels 0 0100 Tumble Climbの基礎値です。 ホスト
Base Upgrades.TumbleWingsUpgradeLevels 0 0100 Tumble Wingsの基礎値です。 ホスト
Base Upgrades.CrouchRestUpgradeLevels 0 0100 Crouch Restの基礎値です。 ホスト
Base Upgrades.MapPlayerCountUpgradeLevels 0 01 Map Player Countの基礎値です。 ホスト
Base Upgrades.DeathHeadBatteryUpgradeLevels 0 0100 Death Head Batteryの基礎値です。 ホスト

役職の抽選設定

全役職にEnabledと相対的なWeightがあります。Enabled = falseまたはWeight = 0の役職はランダム抽選から除外されます。

役職 Enabledキーとデフォルト Weightキーとデフォルト 設定可能値 管理
Tank Tank.Enabled = true Tank.Weight = 100 Enabled: true, false、Weight: 01000 ホスト
Runner Runner.Enabled = true Runner.Weight = 100 Enabled: true, false、Weight: 01000 ホスト
Jumper Jumper.Enabled = true Jumper.Weight = 100 Enabled: true, false、Weight: 01000 ホスト
Lifter Lifter.Enabled = true Lifter.Weight = 100 Enabled: true, false、Weight: 01000 ホスト
Launcher Launcher.Enabled = true Launcher.Weight = 100 Enabled: true, false、Weight: 01000 ホスト
Climber Climber.Enabled = true Climber.Weight = 100 Enabled: true, false、Weight: 01000 ホスト
Flyer Flyer.Enabled = true Flyer.Weight = 100 Enabled: true, false、Weight: 01000 ホスト
Tracker Tracker.Enabled = true Tracker.Weight = 100 Enabled: true, false、Weight: 01000 ホスト
Ghost Ghost.Enabled = true Ghost.Weight = 100 Enabled: true, false、Weight: 01000 ホスト
Bomber Bomber.Enabled = true Bomber.Weight = 100 Enabled: true, false、Weight: 01000 ホスト
Medic Medic.Enabled = true Medic.Weight = 100 Enabled: true, false、Weight: 01000 ホスト
Phoenix Phoenix.Enabled = true Phoenix.Weight = 100 Enabled: true, false、Weight: 01000 ホスト
Jobless Jobless.Enabled = true Jobless.Weight = 100 Enabled: true, false、Weight: 01000 ホスト
Rescuer Rescuer.Enabled = true Rescuer.Weight = 100 Enabled: true, false、Weight: 01000 ホスト
Vampire Vampire.Enabled = true Vampire.Weight = 100 Enabled: true, false、Weight: 01000 ホスト
King King.Enabled = true King.Weight = 100 Enabled: true, false、Weight: 01000 ホスト
Tuna Tuna.Enabled = true Tuna.Weight = 100 Enabled: true, false、Weight: 01000 ホスト
Musician Musician.Enabled = true Musician.Weight = 100 Enabled: true, false、Weight: 01000 ホスト
Mage Mage.Enabled = true Mage.Weight = 100 Enabled: true, false、Weight: 01000 ホスト
Gambler Gambler.Enabled = true Gambler.Weight = 100 Enabled: true, false、Weight: 01000 ホスト
Hunter Hunter.Enabled = true Hunter.Weight = 100 Enabled: true, false、Weight: 01000 ホスト
Stinker Stinker.Enabled = true Stinker.Weight = 100 Enabled: true, false、Weight: 01000 ホスト
Engineer Engineer.Enabled = true Engineer.Weight = 100 Enabled: true, false、Weight: 01000 ホスト

アップグレード・特殊役職設定

キー デフォルト 範囲・値 内容 管理
Tank.HealthUpgradeLevels 21 0100 Tankへ付与するHealthレベルです。 ホスト
Runner.SpeedUpgradeLevels 6 0100 Runnerへ付与するSpeedレベルです。 ホスト
Runner.StaminaUpgradeLevels 46 0100 Runnerへ付与するStaminaレベルです。 ホスト
Jumper.ExtraJumpUpgradeLevels 10 0100 Jumperへ付与するExtra Jumpレベルです。 ホスト
Lifter.StrengthUpgradeLevels 25 0100 Lifterへ付与するStrengthレベルです。 ホスト
Launcher.LaunchUpgradeLevels 10 0100 Launcherへ付与するLaunchレベルです。 ホスト
Climber.ClimbUpgradeLevels 50 0100 Climberへ付与するTumble Climbレベルです。 ホスト
Climber.RangeUpgradeLevels 20 0100 Climberへ付与するRangeレベルです。 ホスト
Flyer.WingsUpgradeLevels 10 0100 Flyerへ付与するTumble Wingsレベルです。 ホスト
Ghost.DeathHeadBatteryUpgradeLevels 50 0100 Ghostへ付与するDeath Head Batteryレベルです。 ホスト
Bomber.DistancePerGrenade 8 1100 グレネードを1個設置するために必要な移動距離です。単位はメートルです。 ホスト
Bomber.MaximumActiveGrenades 30 130 Bomberごとに追跡するグレネードの最大数です。 ホスト
Bomber.AllowTruckSpawns false true, false トラック内でのグレネード設置を許可します。 ホスト
Bomber.ExplosiveGrenadesEnabled true true, false ランダム抽選へバニラのExplosive Grenadeを含めます。 ホスト
Bomber.StunGrenadesEnabled true true, false ランダム抽選へバニラのStun Grenadeを含めます。 ホスト
Bomber.ShockwaveGrenadesEnabled true true, false ランダム抽選へバニラのShockwave Grenadeを含めます。 ホスト
Bomber.DuctTapedGrenadesEnabled true true, false ランダム抽選へバニラのDuct Taped Grenadeを含めます。 ホスト
Medic.HealAmount 5 1100 1回につき周囲の各プレイヤーを回復する量です。 ホスト
Medic.HealIntervalSeconds 2 0.130 Medicの回復間隔です。 ホスト
Medic.HealRadius 5 130 回復可能な最大距離です。単位はメートルです。 ホスト
Medic.TotalHealingLimit 200 110000 Medic一人が1ステージで回復できる合計HPです。対象が実際に失っているHPだけを消費します。 ホスト
Phoenix.ReviveDelaySeconds 2 210 Phoenixが復活するまでの秒数です。 ホスト
Phoenix.FailureGraceSeconds 5 115 復活準備中に、失敗時のステージ遷移を保留する最大秒数です。 ホスト
Phoenix.RevivalHealth 25 11000 Phoenix復活後のHPです。プレイヤーの最大HPが上限です。 ホスト
Jobless.Damage 1 1100 トラック外で1回ごとに受けるダメージです。 ホスト
Jobless.DamageIntervalSeconds 0.1 0.0510 トラック外でダメージを受ける間隔です。 ホスト
Rescuer.ReviveDelaySeconds 2 010 復活対象が死亡してから必要な秒数です。 ホスト
Rescuer.Radius 3 150 復活可能な最大距離です。単位はメートルです。 ホスト
Rescuer.MaximumRevives 2 110 Rescuer1人あたり、1ステージで復活できる最大回数です。 ホスト
Rescuer.RevivalHealth 25 11000 Rescuerによる復活後のHPです。対象の最大HPが上限です。 ホスト
Vampire.Tier1HealAmount 5 1100 周囲でDanger Level 1の敵が死亡した際の回復量です。 ホスト
Vampire.Tier2HealAmount 10 1100 周囲でDanger Level 2の敵が死亡した際の回復量です。 ホスト
Vampire.Tier3HealAmount 50 1100 周囲でDanger Level 3の敵が死亡した際の回復量です。 ホスト
Vampire.Radius 10 150 死亡した敵からの最大距離です。単位はメートルです。 ホスト
Tuna.StationaryDelaySeconds 3 0.130 停止してからダメージが始まるまでの秒数です。 ホスト
Tuna.Damage 1 1100 停止中に1回ごとに受けるダメージです。 ホスト
Tuna.DamageIntervalSeconds 0.1 0.0510 停止中にダメージを受ける間隔です。 ホスト
Musician.HealAmount 5 1100 楽器で音を鳴らすたびに、本人と範囲内の各生存プレイヤーを回復する量です。 ホスト
Musician.HealRadius 10 150 Musicianから回復可能な最大距離です。単位はメートルです。 ホスト
Mage.CastIntervalSeconds 5 0.130 チャット入力による魔法発射の最短間隔です。 ホスト
Mage.StarHealthCost 10 0100 starの発動成功後に消費するHPです。 ホスト
Mage.GravityHealthCost 10 0100 gravityの発動成功後に消費するHPです。 ホスト
Mage.RollHealthCost 15 0100 rollの発動成功後に消費するHPです。 ホスト
Mage.VoidHealthCost 30 0100 voidの発動成功後に消費するHPです。 ホスト
Mage.LaserHealthCost 50 0100 laserの発動成功後に消費するHPです。 ホスト
Gambler.WinChancePercent 50 0100 勝利倍率を適用する確率です。 ホスト
Gambler.WinValueMultiplier 2 010 勝利時にValuableへ適用する価格倍率です。 ホスト
Gambler.LoseValueMultiplier 0.5 010 敗北時にValuableへ適用する価格倍率です。 ホスト
Gambler.MaximumWagersPerStage 1 0100 Gambler1人が1ステージで抽選できる最大回数です。0で抽選を無効化します。 ホスト
Hunter.WeaponBatteryConsumptionPercent 75 0100 Hunterが使用する武器バッテリー消費量の通常時に対する割合です。 ホスト
Hunter.DoubleOrbChancePercent 10 0100 Hunterが敵を倒した際、特賞に外れた場合に通常のオーブ個数を2倍にする確率です。 ホスト
Hunter.JackpotOrbChancePercent 0.01 0100 Hunterが敵を倒した際、オーブ個数を特賞個数へ置き換える確率です。 ホスト
Hunter.JackpotOrbCount 10 1100 Hunterの特賞で使用するオーブ個数です。 ホスト
Stinker.DistancePerCloud 1 1100 ウラン雲の通過地点を記録する間隔です。 ホスト
Stinker.MinimumSafetyDistance 1 130 最新の発生待ち地点にウラン雲を発生させるために必要なStinker本人との最低距離です。古い待機地点は順番に発生します。 ホスト
Stinker.AllowTruckSpawns false true, false トラック内でウラン雲の地点記録と発生を許可します。 ホスト

デフォルトの基礎値はHealthが1、その他の管理対象アップグレードが0です。役職用アップグレード値は基礎値への加算ではなく、ステージ中の絶対的な目標値です。役職終了時は設定された基礎値へ戻し、役職が置き換えないアップグレードは基礎値を維持します。変更処理は役職付与、役職変更、ステージ遷移時だけ行い、常時監視はしません。TrackerはMap Player Countを常に1へ設定するため、役職用レベル設定はありません。Throwは管理対象外です。Kingには効果強度の設定がありません。

通知とHUD

  • ステージ開始時、各プレイヤーは割り当てられた英語の役職名をバニラのチャット/TTSで発言します。
  • RoleShuffleが生成する通知TTSでは敵が反応しません。通常のマイク入力やその他のワールド音はバニラの動作を維持します。
  • Stage Flux導入時は、ステージ開始通知が重ならないようStage Flux用の通知遅延を使用します。
  • Stage FluxのTTS終了後、1.5秒間の無音を確認してから役職を通知します。
  • MOD導入済みの参加者には、1列のROLES HUDがデフォルトで左下に表示されます。自分の役職を固定し、ほかのプレイヤーを最大7人ずつ5秒ごとに切り替えます。
  • Escメニュー表示中は、画面全体の右下に固定されたROLESボタンから、同期された全プレイヤーの役職をスクロール表示できます。
  • ゲーム内に役職説明は表示しません。

互換性

Stage Fluxは任意の対応MODであり、RoleShuffleの必須MODではありません。

  • Stage FluxのSecond ChanceをRoleShuffleのPhoenixより先に判定します。
  • Second Chanceが失敗時のステージ遷移を中断した場合、Phoenixは消費されず、RoleShuffleも現在の役職を解除しません。
  • Phoenixが遷移を中断した場合も、RoleShuffleは現在の役職状態を維持します。
  • RoleShuffleは、ゲーム本来のレベル遷移が実際に実行された場合だけステージ状態を解除します。
  • RoleShuffleが内部利用するバニラ効果用オブジェクトはStage Flux互換として扱われ、プレイヤーの移動や接地判定へ干渉しません。

ゲームプレイ上の注意

  • Bomberは起動済みのバニラハザードを生成します。爆発や物理効果によってプレイヤーや貴重品へ被害が出る可能性があります。
  • Mageは完全一致のチャットキーワードで選択した、実体のあるバニラ攻撃を発射します。発射体とビームはプレイヤーや貴重品へ被害を与える可能性があります。
  • JoblessTunaは条件を満たしている間、実際に継続ダメージを与え、死亡する可能性があります。受けたダメージは自動回復しません。
  • Medicは自身を回復しません。
  • Phoenixは1ステージに1回だけ自己復活します。Rescuerは設定された回数まで周囲の別プレイヤーを復活させます。復活後HPは役職ごとに設定でき、デフォルトは25です。
  • 役職が置き換えたアップグレードはステージ終了時に基礎値へ戻ります。その他の管理対象アップグレードは基礎値を維持し、Throwには触れません。
  • すべての役職を無効化するか、すべてのWeight0にすると、ランダム抽選できる役職がなくなります。

CHANGELOG

4.1.1

  • Gambler's spent effect is now restored whenever the team completes an extraction. Gambler reacts when a valuable doubles or is destroyed and is notified when the effect is restored.

4.1.0

  • Added configurable base upgrade levels for every supported vanilla player upgrade except Throw. Role-specific levels temporarily replace the matching base levels during a stage.
  • Added Hunter. Hunter weapons use 75% of their normal battery, and enemies defeated by Hunter can drop additional orbs.
  • Added Stinker. Stinker leaves sequential uranium clouds along the path traveled.
  • Added Engineer. Effect valuables held by Engineer are prevented from activating whenever possible.
  • Added Mage with five chat-selected vanilla spells: star, gravity, roll, void, and laser. Each spell has a configurable health cost and cannot be cast when it would kill the Mage.
  • Added separate configurable revival health values for Phoenix and Rescuer.
  • Redesigned the role HUD as a rotating one-column display that keeps the local player's role visible and supports large groups.
  • Added a scrollable Roles page to the Escape menu. The HUD and role list now remove players who leave during a stage.
  • Automatically generated Bomber grenades can now be held only by players currently assigned Bomber.
  • Changed Gambler's losing outcome from reducing a valuable's price to destroying the valuable.

4.0.3

  • Added /roles, allowing each player to check their own assigned role through in-game chat. Vanilla participants can use it when the host has RoleShuffle installed.
  • Added Duct Taped Grenades to Bomber's automatic grenade selection.
  • Added Gambler, which can randomly increase or decrease the value of a directly grabbed valuable.

4.0.2

  • Base Health upgrades now remain active between stages.
  • Role changes now adjust only the required upgrade difference instead of resetting Health to zero.

4.0.1

  • Added Health +1 to every role except Tank.
  • Phoenix and Rescuer now revive players with 25 HP by default.
  • Improved documentation consistency.

4.0.0

  • First Release