RandomSizePlayer

版本 v0.0.9·更新於 2024-05-05

Change/Scale the size of the player or furniture according to the values in config (works on server-side)根據config中的數值改變玩家或者傢俱的大小(僅服務端有效)

截圖 共 1 張

模組介紹 作者原文

Random Size Player

It is highly recommended to use with LethalConfig by AinaVT, as this mod allows in-game modification of the parameters in parameters in config, which allows the player to reopen the room again to implement new character sizes without having to quit the game, and this allows the player to adjust the parameters for placing furniture sizes in real time within the game, which is VERY VERY convenient!

強烈建議搭配 LethalConfig by AinaVT使用,因爲該mod可以在遊戲內修改config中的參數,這使得玩家不用退出遊戲就可以再重新開啓房間實施新的人物大小,並且這可以使得玩家在遊戲內實時調整放置傢俱大小的參數,十分方便!

Features (英文版)

[1] Player size modification (server-side only)

As a host, when a new player join your room it will be applied with a customized size. You can:

  • give a fixed value for the aspect ratio that will be applied whenever a player joins the room.

Note that a player that is too large (>?????) or too short ( When generating a random size, generate 3 (-1,1) random numbers for width, height and thickness respectively, and then directly bring in the corresponding curve to calculate the corresponding size change ratio. The sharpness (1) actually multiplies the coefficient of -4i in the formula.

The lower the sharpness the more the curve tends to be the straight blue line, making the randomized values closer to the median and less likely to have extreme values close to 0.2 or 1.6, while the higher the sharpness the more the curve tends to be the black curve, making the probability of the median value much lower and the probability of the extreme value close to 0.2 or 1.6 much higher.

In short, you generally don't need to manually adjust the sharpness of a curve unless you want a more extreme distribution or a more uniform distribution of the player's random size.

Notes:

  • as the thickness of the player decreases, the player's visor becomes larger thus obscuring more of the field of view.
  • too tall players need to crouch to enter the door, some tall and wide/thick players may need to crouch + turn sideways to enter the door
  • too small players can easily be blocked from view after picking up the waste, and small players can easily fall into the gap and die.
  • too short players will not be scanned as targets by turrets.
  • players' movement and jumping speed are not affected by their size.

[2] Furniture size modification (server-side only and still under test)

  • Modifying the size of furniture

As a room owner, whenever you place a piece of furniture, the furniture applies the scaling given from the config file. When a client joins your room, it will synchronize all furniture sizes with you, and it will not be able to synchronize subsequent modifications made by the host after joining the room.

  • Save preset file for each furniture size

Since furniture sizes revert to their default sizes every time you open a room, whenever you as the host place a piece of furniture, the size parameters you apply to it are recorded in a furniture size preset file called save size-preset-file's name. You can adjust the value of load preset size file to determine whether or not to load the furniture size preset file called load size-preset-file's name when you open the room. All of these parameters can be adjusted in the config file. As for these preset files, they are saved to the path C:\xxxxx\xxxxx\AppData\LocalLow\ZeekerssRBLX\Lethal Company.

Notes:

  • oversized furniture can result in it being placed outside the ship and its seemingly unable to be placed again.
  • the actual size of the ghost furniture when in placement mode seems to be the same as the original default size, and as such can easily lead to the appearance of mold-through.

Features(中文版)

【1】玩家大小的修改(僅服務端有效)

作爲房主,你房間加入新的玩家時其會被應用以一個自定義的大小。你可以:

  • 給定寬高厚變化比例的固定值,每當玩家加入時則會應用這個固定值

需要注意的是,過大(>???)或者過矮( 生成一個隨機大小時,分別爲寬高厚生成3個(-1,1)的隨機數,然後直接帶入對應的曲線算出對應的大小變化比例。這裏的sharpness影響的就是公式中i的係數。

sharpness越低曲線就越趨於藍色直線,使得隨機得到的值更加接近中間值,更少出現接近0.2/1.6的極端值;而sharpness越高曲線就越趨於黑色曲線,使得中間值出現的概率大大降低,而接近0.2/1.6的極端值出現的概率則會大大升高。

總之,你一般不需要手動調整曲線的sharpness值,

安裝與使用 安裝:BepInEx 外掛

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

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

前置依賴

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

BepInEx-BepInExPack

檔案與校驗

檔案名稱
RandomSizePlayer-0.0.9.zip
檔案大小
163.3 KiB