Survariants

版本 v1.0.9·更新於 2025-10-08

A system for adding survivor variants.

模組介紹 作者原文

Survariants

a system for adding survivor variants.

to use, just:

using Survariants;

SurvivorVariantDef variant = ScriptableObject.CreateInstance(); // create a new variant

(variant as ScriptableObject).name = "The Name Of Your Variant";

variant.DisplayName = "The Name Of Your Variant'

variant.VariantSurvivor = Survivor; // the SurvivorDef of your variant

variant.TargetSurvivor = TargetSurvivorDef; // the survivor the variant is for

variant.RequiredUnlock = RequiredUnlock; // optional: unlock requirement

variant.Description = Description; // the flavor text of your variant in the variants tab

Survivor.hidden = true; // make your survivor not appear in the css bar

SurvivorVariantCatalog.AddSurvivorVariant(variant); // add your variant!

Changelog

1.0.9

  • fixed nullref spam if your last played survivor got uninstalled (this bricked multiplayer if it happened and you had dante installed)

1.0.8

  • added controller support
  • fixed the variant slots being sized wrong

1.0.7

  • no longer shows a greyed out variant button for survivors who dont own a variant

1.0.6

  • updated for SOTS

1.0.5

  • throws an actual descriptive error if you try to add a variant with no assigned description
  • discards attempts at adding the same variant to multiple survivors

1.0.4

  • ACTUALLY included the previous merge change (oops x2)

1.0.3

  • uses bodyColor for the ui instead of primaryColor since primaryColor is unused in vanilla (oops)
  • assigning variants to variants will merge them (assigning Variant A as a variant of Variant B which is a variant of Commando will make Variant A a variant of Commando)

1.0.2

  • now defaults color, display name, and unlock to the ones on the variant survivordef if not specified

1.0.1

  • fixed display name inserting:: automatically
  • fixed quotes being automatically inserted into descriptions
  • display name takes a token now
  • description takes a token now
  • lmao

1.0.0

  • release

安裝與使用 安裝:BepInEx 外掛

  1. 本站下載的壓縮包就是模組本體,通常是 BepInEx 外掛(解壓後得到 .dll 或外掛資料夾)。
  2. 建議流程:用社群模組管理器(如 r2modman)選中本遊戲後匯入該模組,管理器會自動裝好 BepInEx 前置並處理依賴。
  3. 手動流程:先在遊戲目錄裝好 BepInEx 載入器,再把解壓出的 .dll 或外掛資料夾放進 BepInEx/plugins/。
  4. 啟動遊戲,BepInEx 控制台會列印載入日誌;確認這個模組出現在日誌裡即為安裝成功。

帶「前置依賴」的模組需要一併安裝,否則不會載入。功能開關通常在遊戲內或外掛自帶的設定檔裡調整。

前置依賴

下面這些內容需要先安裝,否則該模組不會生效:

bbepis-BepInExPackRiskofThunder-HookGenPatcher

檔案與校驗

檔案名稱
Survariants-1.0.9.zip
檔案大小
525.9 KiB