Simple Multi Player
A mod that enables multiplayer functionality in White Knuckle.Multi Discord Server: 256 characters are not enough to explain how to use it. See github page for details.詳情見github頁面.
模組介紹 作者原文
White Knuckle Multi Player Mod - White Knuckle Online MOD
中文 | English
Overview
This is a Unity MOD for the game White Knuckle, implementing basic networked player mapping (currently only maps grabbable player capsules).
Important Disclaimer:
- I am not a Unity/C# developer by profession.
- Some code in this project is AI-generated.
- Consequently, the quality of much of the code is likely very poor. Please use with caution.
- The online multiplayer functionality code is forked from a previous online mod project.
Known Issues:
- Chaotic object lifecycle management, which may lead to unexpected behavior.
Potential Future Goals:
graph RL
%% Module 2: Player Interaction
subgraph Player Interaction
2b[Item Grabbing/Stealing]
2c[Add New Items]
end
%% Module 3: Data Synchronization
subgraph Data Synchronization
3e[Sync Entity Data]
end
Completed Goals:
- Player position sync
- Player map sync – map remains the same after disk resurrection (please make good use of disk resurrection). Shortcut map sync is also supported (unstable, needs refactoring).
- Player vs. Player (PvP) and configurable PvP damage
- Players drop items upon death
- UI-based multiplayer lobby
- Player team grouping
- Climbable object sync (pitons, rebars, etc.)
- Scene item pickup sync
- Player-dropped item sync
- Death sync
- Entity data sync (semi-finished, needs further work)
Installation
Prerequisites
- Game: White Knuckle
- Framework: BepInEx (Use a version compatible with your game version)
Installation Steps
Download the required.zip file from the Releases page, then extract it into the BepInEx/plugins folder in your game directory.
MOD Features Details
Multiplayer Functionality
1.8.1
All new commands:
Player Customization:
- playername – Set an additional display name.
- playercolor / – Set the player's color.
- Example: playercolor white – Set to white using a preset. playercolor 255 255 255 – Set to white using RGB values.
- playermodel – Change the remote player model. Currently supports default and slugcat.
- Example: playermodel slugcat
Lobby Management:
- host [visibility] [max_players] – Create a lobby. For visibility options, see the lobbytype command.
- Example: host abcde host aaa friends 3
- join – Join a lobby by lobby name or lobby code. The parameter is first matched against lobby names. If multiple lobbies share the same name, joining by name will fail; please use the lobby code instead.
- Example: join abcde join 109775241951624817
- leave – Leave the current lobby.
- lobbyid – Get the lobby code and copy it to the clipboard.
- lobbylist – Get information about all available lobbies, including lobby codes and current player counts.
- lobbytype [public|private|friends] – Host only. Change lobby visibility. public = anyone can join, private = joinable only via lobby code, friends = visible and joinable only by friends.
- Example: lobbytype friends
- lobbyname – Host only. Change the lobby name.
- Example: lobbyname newname
- hostset – Host only. Transfer host privileges.
- Example: hostset 16422 or hostset 22 (for target Steam ID 561198279116422)
Other Commands:
- allplayer – Get the distance, position, and Steam ID of all connected players.
- talk – Speak in chat (text appears above your head and in the console). Chinese characters may require a font patch.
- Example: talk hello talk I have the high ground
- subtitletalk – Display a message via subtitles.
- Example: subtitletalk hello subtitletalk You underestimate my power
- invite – Invite a friend to join the lobby. (Thanks to Fugel for the code.)
- tpto – Requires cheats. Teleport to another player. Supports autocompletion.
- Example: tpto 16422 or tpto 22 (for target Steam ID 561198279116422)
check [steamId (full match)]n – Check other players for: backpack items inventory, perks perk, stamina stamina, health health, cheat mode cheats.
- Example: check inventory 561198279116422
Rule Controls:
- allowcheats [true|false] – Host only. Con
安裝與使用 安裝:按包內說明操作
- 解壓本站下載的壓縮包,先讀包內的 readme / 說明檔案。
- 多數模組依賴遊戲的模組載入器:常見做法是用社群模組管理器(如 r2modman)選中本遊戲安裝,由管理器自動處理載入器與依賴。
- 手動安裝時,把模組檔案放進遊戲目錄下對應的 Mod / plugins 資料夾。
- 啟動遊戲確認載入成功;帶「前置依賴」的模組需要把依賴一併安裝。
不同模組的安裝位置差異較大,包內說明是最可靠的依據。