WhiteKnuckleCustomTrainer
A native pause-menu White Knuckle trainer with movement toggles, categorized item spawning, and live hand and hammer cosmetics.
模組介紹 作者原文
White Knuckle Trainer
This is a BepInEx plugin. Put WhiteKnuckleTrainer.dll in White Knuckle\BepInEx\plugins — not in White Knuckle_Data\Mods.
Open White Knuckle’s pause menu and select MOD MENU. Shift + Insert is also available. The trainer uses White Knuckle’s native pause-menu controls; it does not use the old IMGUI trainer window.
Native cheat / leaderboard protection
Every gameplay action is routed through EnsureNativeCheatMode(). It runs White Knuckle’s own cheats true command before enabling the action. This sets the game’s cheat state and prevents leaderboard uploads for that run. Turning an individual trainer option off does not restore leaderboard eligibility.
Features
- Player: God Mode, No Fall Damage, Infinite Stamina, Infinite Ammo / throwables / pitons, No Encumbrance.
- Movement: Infinite Jumps, configurable finite Multi-Jump count, movement speed, jump height, player gravity, time scale, Fly, Noclip, and Climb Anywhere.
- Items: curated live item-spawner categories, including trinkets.
- Perks: live registry browser using White Knuckle’s real AddPerk / RemovePerk paths.
- ESP: cached item radar, with distance, label-limit, on-screen, and occlusion controls.
- Cosmetics: dynamically loaded Hand and Hammer cosmetic lists.
- Tools: diagnostics text export and metadata-only level JSON export in BepInEx\config\WhiteKnuckleTrainer.
Game APIs used
- CommandConsole.instance.ExecuteCommand("cheats true", false)
- ENT_Player.GodMode, FlyCommand, Noclip, ClimbAnywhereCommand, AddPerk, RemovePerk
- Inventory.GetEncumberance() (Harmony override only; inventory contents are untouched)
- ENT_Player.Damage / Kill (falling-only Harmony protection)
- CL_GameManager.SetTimescaleMult(float)
- CL_AssetManager.GetFullCombinedAssetDatabase() and GetItemObjectPrefab
- Inventory.instance.AddItemToInventoryCenter
Build
Open WhiteKnuckleTrainer.csproj in Visual Studio 2022 and build Release. The output is bin\Release\netstandard2.1\WhiteKnuckleTrainer.dll.
Quick test order
- Pause → MOD MENU; verify the normal pause-menu button is not duplicated.
- Enable one Player or Movement feature; verify White Knuckle’s native cheat state activates.
- Test each Player and Movement toggle, then turn it off and verify vanilla behavior returns.
- Test a normal item spawn and a trinket spawn.
- Add then remove one perk.
- Enable ESP; test max distance, label cap, on-screen-only, and occlusion options.
- Export diagnostics and level data; verify both files in the config folder.
- Resume, restart/die, and verify enabled options attach cleanly to the recreated player.
安裝與使用 安裝:按包內說明操作
- 解壓本站下載的壓縮包,先讀包內的 readme / 說明檔案。
- 多數模組依賴遊戲的模組載入器:常見做法是用社群模組管理器(如 r2modman)選中本遊戲安裝,由管理器自動處理載入器與依賴。
- 手動安裝時,把模組檔案放進遊戲目錄下對應的 Mod / plugins 資料夾。
- 啟動遊戲確認載入成功;帶「前置依賴」的模組需要把依賴一併安裝。
不同模組的安裝位置差異較大,包內說明是最可靠的依據。
下面這些內容需要先安裝,否則該模組不會生效: