Server Modifier

版本 v0.6.1·更新於 2024-02-03

Mod designed to provide methods for modifying game experiments. (Experimental Research til v1.0.0)

模組介紹 作者原文

Server Modifier

This mod is designed around providing methods to customize your experience playing Lethal Company, making the game easier or harder depending on the preference of your group.:warning: This is experimental as I am very new at modding. Expect plenty of bugs.

Most stable version is version 0.4, as 0.5 introduces day manipulation.

Do not have friends I can consistently test update on, so updates are testing on single player until able to meet for multiplayer rounds.

Requirements

This mod uses BepInEx and Lethal Config as requirements.

The mod is currently being tested on version 47 of Lethal Company.

Currently unaware of any mods that conflict with this mod.

Usage

This mod adds UI elements to adjust elements before launching a save file.

Quota

These elements adjust how the quota is calculated for each round.

This is normally a value calculated based on the amount of excess profit you have and the number of fulfilled quotas.

| Component | Value Type | Short |

| --------- | ---------- | ---------- |

| Function | Enum | Function to calculate the quota |

| Start Value | Float | The quota value at the start of a new game |

| Rate Value | Float | The rate to change quota |

| Randomness | Float | The amount to randomly influence the quota |

There are currently three types of functions that can be selected:

  • Default - The default function for calculating the quota. All other values are ignored.
  • Linear - Applies the linear function $quota = start + (rate completed) + (randomness U[-1, 1])$
  • Exponential - Applies the exponential function $quota = start e^(rate completed) + (randomness * U[-1, 1])$

In these equations, start is "Start Value", rate is "Rate Value", randomness is "Randomness", U[a,b] is the uniform distribution between a and b, and e is Euler's number.

Overtime

These elements adjust how overtime is calculated at the end of each round.

This is normally a calculation based on the amount of excess profit you have and the number of days between when you turn in the quota and the deadline.

| Component | Value Type | Short |

| --------- | ---------- | ---------- |

| Excess Scalar | Float | The amount to multiply excess profit by |

| Early Scalar | Float | The amount to multiply the number of days early by |

The overtime is calculated as $overtime = (excess excessScalar) + (early earlyScalar)$, where excess is the amount of excess profit, early is the number of days early, excessScalar is "Excess Scalar", and earlyScalar is "Early Scalar".

The default for the game is $excessScalar = 0.2$ and $earlyScalar = 15.0$.

Days

These elements adjust how many days are in a round.

Normally the game is split into segments of 3 days for scrap collection at a set time rate and 1 day for submitting the scrap to the company.:warning: Recommended to adjust values on new saves: In testing, the day and time calculations performed by the game are very sensitive. Changing these values can have uninteded consequences on how the game progresses (skipping days, always on deadline, etc.). Therefore, it is recommended to make a new save file when adjusting these values.

These features are the newest features, meaning they are also the most unstable (won't crash the game, though produces interesting results sometime).

| Component | Value Type | Short |

| --------- | ---------- | ---------- |

| Days Remaining | Int | The number of days for collecting scrap |

The Days Remaining is set as a max of 9 days. Reading accounts of other mods attempting to adjust the number of days, weird things tended to happen to the company and enemy spawn when the number of days exceeded 10.

Company Buying Rate

These elements adjust how much the company buys scrap for.

| Component | Value Type | Short |

| --------- | ---------- | ---------- |

| Function | Enum | Function to calculate the buying rate |

| Final Rate | Float | The final rate to buy scrap |

| Rate Decrease | Float | The rate to decrease the buying rate per remaining day |

| Randomn

安裝與使用 安裝:BepInEx 外掛

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

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

前置依賴

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

BepInEx-BepInExPackAinaVT-LethalConfig

檔案與校驗

檔案名稱
Server_Modifier-0.6.1.zip
檔案大小
41.9 KiB