RandomCreatureSize
Every creature (seagulls, fish, crabs, albatrosses, bosses) gets a random size: one value drives appearance, weight, price, save and multiplayer. Bigger creatures move slower.
模組介紹 作者原文
RandomCreatureSize — 隨機生物尺寸
English
Overview
Every creature in the game — seagulls, the whole fish family, crabs, albatrosses and bosses — gets a random visual size when it spawns. One value, s, drives everything:
appearance = weight = sell price = save = multiplayer — a single value throughout.
- Server-authoritative: the size is rolled on the server and written into the creature's synced weight field, so every client sees the exact same size (works in multiplayer with no extra sync).
- Per-axis jitter (±30% by default): length / width / height each jitter around s, derived deterministically from the object id — same body shape for everyone.
- Save persistence: a caught fish keeps its size after reloading (the saved weight is the size).
- Bosses use their own independent scale range (0.5–2 by default) and can be toggled separately.
- v1.1+: bigger creatures move slower (speed = 1 / size^exponent, floored) and HP scales linearly with size (×s, minimum 1).
- 100% vanilla when disabled: with every toggle off, behavior is identical to the unmodded game.
Installation
- Install BepInEx 5 (BepInExPack for How to Fish) into the game directory.
- Extract the zip and merge the BepInEx folder into the game folder (e.g. F:\steam\steamapps\common\How to Fish\How to Fish\).
- Start the game through Steam (steam://rungameid/4001890). The mod auto-loads; check BepInEx\LogOutput.log for RandomCreatureSize.
The plugin lives at BepInEx\plugins\RandomCreatureSize\RandomCreatureSize.dll.
Configuration
First launch generates BepInEx\config\top.yw.randomcreaturesize.cfg — edit it while the game is closed (or use the in-game Mod Menu if installed).
| Section | Key | Default | Description |
|---|---|---|---|
| General | Enabled | true | Master switch (off = fully vanilla) |
| Category | ScaleBirds | true | Seagulls |
| Category | ScaleFish | true | Fish family (caught fish / land fish / attacking fish) |
| Category | ScaleOthers | true | Other creatures (crabs, albatross, decoys...) |
| Category | ScaleBosses | true | Bosses (independent range; off = fully vanilla bosses) |
| Size | MinScale / MaxScale | 0.1 / 10 | Normal creature multiplier range |
| Size | BossMinScale / BossMaxScale | 0.5 / 2 | Boss multiplier range |
| Size | LogUniform | true | Log-uniform distribution (0.1/1/10 equally likely); false = uniform |
| Size | JitterEnabled | true | Per-axis jitter (off = pure uniform scaling) |
| Size | JitterPercent | 0.3 | Jitter amount (±30%) |
| Size | ExtremeBias | 0.3 | Bias toward extreme sizes (0 = log-uniform, 1 = always extreme) |
| Size | SpeedEnabled | true | Bigger creatures move slower (s≤1 keeps vanilla speed) |
| Size | SpeedPow | 0.5 | Speed decay exponent: speed = 1 / size^exponent |
| Size | SpeedMinFactor | 0.4 | Speed floor (slowest = 40% of vanilla, i.e. at most 60% slower) |
中文
模組簡介
遊戲內所有生物(海鷗、全魚類家族、螃蟹、信天翁、Boss)在生成時獲得隨機外觀尺寸。一個值 s 貫通一切:
外觀 = 重量 = 售價 = 存檔 = 聯機 —— 一個值全通。
- 服務器權威:尺寸在服務器擲點並寫入生物同步重量字段,所有客戶端看到完全一致的大小(聯機無需額外同步)。
- 分軸抖動(默認 ±30%):長/寬/高在 s 附近各自隨機,由 ObjectId 確定性派生 —— 所有人看到同一體型。
- 讀檔保持:釣上來的魚讀檔後保持尺寸(存檔重量就是 s)。
- Boss 獨立倍率(默認 0.5–2),可單獨開關。
- v1.1+:尺寸越大移動越慢(速度 = 1/尺寸^指數,有下限);血量隨尺寸線性變化(×s,最低 1)。
- 關閉全部開關後與原版完全一致。
安裝方法
- 先把 BepInEx 5(How to Fish 的 BepInExPack)裝進遊戲目錄。
- 解壓本 zip,把 BepInEx 文件夾合併進遊戲目錄(如 F:\steam\steamapps\common\How to Fish\How to Fish\)。
- 通過 Steam 啓動遊戲。插件自動加載,可在 BepInEx\LogOutput.log 中看到 RandomCreatureSize。
插件位置:BepInEx\plugins\RandomCreatureSize\RandomCreatureSize.dll
配置說明
首次啓動生成 BepInEx\config\top.yw.randomcreaturesize.cfg,關閉遊戲後編輯(裝了 Mod Menu 也可在遊戲內改)。
| 分區 | 鍵 | 默認 | 說明 |
|---|---|---|---|
| General | Enabled | true | 總開關(關閉 = 完全原版) |
| Category | ScaleBirds | true | 海鷗 |
| Category | ScaleFish | true | 魚類(釣上來的魚/陸跑魚/攻擊魚) |
| Category | ScaleOthers | true | 其他生物(螃蟹/信天翁/誘餌生物等) |
| Category | ScaleBosses | true | Boss(獨立倍率;關閉 = Boss 完全原版) |
| Size | MinScale / MaxScale | 0.1 / 10 | 普通生物倍率範圍 |
| Size | BossMinScale / BossMaxScale | 0.5 / 2 | Boss 獨立倍率範圍 |
| Size | LogUniform | true | 對數均勻(0.1/1/1
安裝與使用 安裝:按包內說明操作
- 解壓本站下載的壓縮包,先讀包內的 readme / 說明檔案。
- 多數模組依賴遊戲的模組載入器:常見做法是用社群模組管理器(如 r2modman)選中本遊戲安裝,由管理器自動處理載入器與依賴。
- 手動安裝時,把模組檔案放進遊戲目錄下對應的 Mod / plugins 資料夾。
- 啟動遊戲確認載入成功;帶「前置依賴」的模組需要把依賴一併安裝。
不同模組的安裝位置差異較大,包內說明是最可靠的依據。
下面這些內容需要先安裝,否則該模組不會生效: