
RollOfTheScout
Only the host needs to install it: a class is automatically assigned to all players each run. / 仅需房主安装:每局自动为全员分配职业RollOfTheScout — 童子军的命运之骰
English | 中文
English
RollOfTheScout is a PEAK mod. Once the host installs it, at the start of every run it rolls a die for every player: each player is randomly assigned a class, and every class has its own mix of pros and cons. When a run ends, that run's class data is cleared automatically and classes are reassigned on the next run. The whole system runs only on the host (MasterClient) side and reaches every player through PEAK's own networked RPCs — clients do not need to install this mod to play normally.
Some highlights
- Host installs, everyone plays. Only the host needs this mod; other clients need nothing (but they may — and are encouraged to — install this mod's client display mod).
- Many classes, each distinct. The mod includes dozens of classes: serious ones (Explorer, Leader, Logistician, Doctor, Cook…) and chaotic ones (Pandora, Pacifist, Qu…).
- Highly configurable, supports live reload. Every class has options such as enable / max players / min players / draw weight; class effects have their own fine-grained options too, and in-game config changes take effect immediately.
- In-run class change (reclass). After fully eating a specific item once (the Glow Mushroom by default — adjustable), the eater rolls a die and immediately becomes a different random class.
- For details on each class in this mod, please read the mod class introduction document (ModClassIntroduction.md) included in the mod package.
Installation
Host (required)
- Install the required prerequisite BepInEx for PEAK (
BepInExPack_PEAK; this mod is developed against version 5.4.75301). - Download this mod and put the file
com.peakmodding.RollOfTheScout.dllintoPEAK/BepInEx/plugins/. - Launch the game — that's it.
Clients (nothing required)
- You can do nothing at all — everything is decided by the host.
- You may optionally install this mod's client display addon mod, so clients can see the live class assignment of the current run on their own screen.
Configuration
- Config files are generated automatically on first run(
BepInEx/config/com.peakmodding.RollOfTheScout.cfg). - Installing the ModConfig or ModConfigEnhance mod as well is recommended, so you can adjust the mod's config live in-game. You can also edit this mod's config file directly.
FAQ
- Does dying reroll my class? No. Within the same run, a player keeps the class they had when they died after being revived. Normally the only ways to change class are eating the reclass item or triggering a few class effects.
- Can a client who joins mid-run still get a class? Yes, absolutely. Players who join mid-run are assigned a class normally too (unless all classes are full).
- If a player leaves and rejoins, do they get a new class? Not exactly. A client who leaves and rejoins inherits their class data from before they left, while if the host leaves and rejoins, everyone's classes are reassigned.
License & credits
- License: GPLv3.
- This mod was made with Deepseek V4.1 Flash.
- The original design inspiration came from Silver (fengsheng).
- Special thanks to 待皓 and the other PEAK community friends for their great support of this mod.
Found a bug or have a suggestion? General contact:
- Email: [email protected]
中文
童子军的命运之骰 是一个 PEAK 模组。主机安装本模组后,每局游戏开局时都会为所有玩家各掷一次骰子:每人通过随机分配获得一个职业,而每个职业都有得有失、各具特色。每局游戏结束后,都会自动清除本局的职业数据,下一把重新分配。模组的整套逻辑只运行在**房主(MasterClient)**这一主机端上,并通过 PEAK 原版网络 RPC 作用于全体玩家—— 客机无需安装本模组 即可正常游玩。
一些特色
- 房主安装,全员可玩。 只有房主主机需要安装本模组,其他客机玩家无需安装(但可以且建议安装本模组的客机显示模组)。
- 大量职业,特色分明。 本模组包含数十个职业,既有正经的(先驱、领袖、后勤、医生、炊事员……),也有整活的(潘多拉之子、和平主义者、区……)。
- 高度可配置,支持热加载。 每个职业都有是否启用/最大人数/最小人数/抽取权重等配置项,各种职业效果也都有相应的细化配置项,游戏内配置修改后会即时生效。
- 局内转职系统。 完全食用一次特定物品(默认为「诡异菇」,可自行调整)后即可掷一次骰子:食用者会立即随机变为其他职业。
- 本模组各职业详情请查阅模组包中附带的模组职业介绍文档(ModClassIntroduction.md)。
模组安装
房主(必须安装)
- 为 PEAK 安装前置必需模组 BepInEx(
BepInExPack_PEAK,模组基于5.4.75301版本开发)。 - 下载本模组,并将文件
com.peakmodding.RollOfTheScout.dll放入PEAK/BepInEx/plugins/。 - 启动游戏即可。
客机(无需安装)
- 可以什么都不做——一切以主机为准。
- 可自选安装本模组的客机显示附属模组,让客机玩家能够于局内在自己屏幕上看到当局实时的职业分配信息。
配置文件
- 模组配置文件将在首次运行自动生成(
BepInEx/config/com.peakmodding.RollOfTheScout.cfg)。 - 建议额外安装 ModConfig模组 或 ModConfigEnhance模组 ,方便游戏内实时调整模组配置。你也可以直接编辑本模组的配置文件。
问答
- 死亡会导致职业刷新吗? 并不会。同一局内,玩家死亡后复活会保持死亡时的职业不变。正常情况下,想更换职业只能通过食用转职物品或触发少数职业效果。
- 中途新加入的客机玩家也能获得职业吗? 完全可以。中途新加入的玩家也会正常分配职业(除非职业都满员没空位了)。
- 中途退出的玩家回来会重新获得新职业吗? 不完全会。客机玩家退出重进会继承退出前的职业数据,而房主退出重进则会重新分配全员职业。
许可与致谢
- 许可证:GPLv3。
- 本模组使用Deepseek V4.1 Flash制作。
- 本模组最初设计灵感来自 Silver(fengsheng)。
- 特别感谢待皓等PEAK同好群群友对本模组的大力支持。
有BUG或建议?通用联系方式:
- 邮箱:[email protected]
- 欢迎加入PEAK同好群(QQ群:814891614)——模组更新将优先在此群内测