DynamicBarrierDecay
Makes barrier decay exponentialy instead of linearly. Configurable.
截圖 共 1 張
模組介紹 作者原文
Description
This mod changes how barrier works so that it decays exponentially; it decays faster with more barrier. Max health no longer has any affect on barrier decay rate. Includes configuration for for the barrier decay rate, and an option to remove the barrier cap.
The goal of this mod is to make barrier less of an "all or nothing" type of thing, as well as making it scale better with max health. For example, In vanilla, if you have aegis + bungus on a turret, picking up a couple of shield gens will increase your barrier decay and can mean the difference between max barrier and zero barrier.
Math
Vanilla
Barrier decays at a rate equal to 3.33% of your combined max health and shields per second.
The formula for barrier decay per second is (maxHealth + maxShields) / 30
Dynamic
Barrier decays exponentially with a half-life of 7.5 seconds, or at a rate of approximately 9.24% of your current barrier per second, with a minimum rate of 3 per second. These values are configurable.
The formula for barrier decay per second is max(minimumDecayRate, (barrier * ln(2) / halfLife) )
Graph
The following graphs show how barrier will decay over time with default settings, assuming you have max barrier at 240.
- Orange - Vanilla
- Cyan - Dynamic
Contact
- Issues can be posted on my github
- Discord: @zombieseatflesh7
- Art by SearchGoopsy
Changelog
2.0.2
- Updated for SOTS DLC
2.0.0
- Changed the formula and made barrier decay significantly faster
- Added configuration for barrier half-life and minimum decay speed
- Added a config to remove the barrier cap
- New mod icon
1.0.0
- Release
安裝與使用 安裝:BepInEx 外掛
- 本站下載的壓縮包就是模組本體,通常是 BepInEx 外掛(解壓後得到 .dll 或外掛資料夾)。
- 建議流程:用社群模組管理器(如 r2modman)選中本遊戲後匯入該模組,管理器會自動裝好 BepInEx 前置並處理依賴。
- 手動流程:先在遊戲目錄裝好 BepInEx 載入器,再把解壓出的 .dll 或外掛資料夾放進 BepInEx/plugins/。
- 啟動遊戲,BepInEx 控制台會列印載入日誌;確認這個模組出現在日誌裡即為安裝成功。
帶「前置依賴」的模組需要一併安裝,否則不會載入。功能開關通常在遊戲內或外掛自帶的設定檔裡調整。
下面這些內容需要先安裝,否則該模組不會生效: