KeybindManager
Adds a new phone app that allows you to manage custom keybinds for console commands. Automatically loads your saved keybinds on game start and saves new keybinds when the game is closed.
模組介紹 作者原文
Keybind Manager Mod for Schedule 1
Like using console commands to teleport around the map, give yourself money and items, or change the weather?\
Do you find yourself typing bind into the console every time you load up a game? Then this mod is for YOU!
This mod adds a new phone app that allows you to manage custom keybinds for console commands. Cross-compatible with both IL2CPP (main branch) and Mono (alternate branch)!
Features
- Add your favorite console commands to almost any key.
- Can't use keybinds already in use by the game - I mean, technically you can - but you shouldn't (for obvious reasons).
- View your list of saved keybinds.
- Edit any previously saved keybind if you just want to fix a typo or change the key.
- Delete any saved keybinds.
- Not sure what the Unity KeyCode is for the key you want? The mod has a button for that! Capture any supported key automatically.
- Not sure which command to use, or what it does? The mod has a built-in command reference that lists the same information from the in-game settings menu. No need to leave the mod to look up examples!
- This feature should automatically stay up to date with the game, as it pulls a reference from the console commands list from the game itself!
- Validation logic makes sure that the KeyCode you enter is supported by the game, and makes sure you don't accidentally add an empty command by mistake.
- Have a long list of saved commands? Can't remember if you've used a key already? The mod will warn you with a confirmation dialog if you attempt to save a new keybind with the same key code. You can overwrite the previous one or go back and change the new one before saving.
Roadmap
I have some more ideas that I'd like to try to implement with this mod. Here's a few of them, in no particular order:
- Add an option for per-save file keybinds.
- Add a profiles feature, so you can load up a different set of keybinds depending on what you're doing in-game.
- See if key combinations are possible (e.g. Shift + Alt + F1). I don't think the game supports this but it would be cool to get working.
If you have any ideas that you'd like to see in the mod, please post a comment either here or on the modding discord!
Requirements
Before you get started using this mod, you need to have these requirements installed to your Schedule 1 directory.
- MelonLoader v0.7.2
- S1API Forked by ifBars v3.1.12+
Supported Game Versions
The following versions of the game are currently known to work and are fully supported:
- v0.4.6f12 - main branch (IL2CPP)
- v0.4.6f12 - alternate branch (Mono)
Note: I don't have enough time to dedicate to supporting previous or beta branches of Schedule 1. Pirated versions of the game will never be supported!
Installation
- Make sure you have the requirements listed above.
- Download and install Mod Manager.
- If you want to install manually, download and extract the KeybindManager.dll file into your game's mod directory, e.g. C:\Program Files\Steam\Steamapps\common\Schedule 1\Mods
Configuration
- This mod uses MelonLoader to save keybind and config settings in the following file: /UserData/MelonPreferences.cfg
- Any mod managers that you may use that support MelonPreferences-style configs should support this mod.
- This config file will be automatically generated and modified by the mod and MelonLoader. You shouldn't ever have to touch this file directly.
Example Config
["Keybind Manager"]
Enabled = true
SavedKeybinds = '[{"Command":"teleport motel","Key":257},...]'
Credits/Thanks
- ifBars - for giving incredible support to the modding community, creating libraries and mods such as S1API, and all the helpful guidance in the Discord!
- Schedule 1 Modding Community Discord (link coming soon) - for being very welcoming and helpful to new mod developers!
安裝與使用 安裝:按包內說明操作
- 解壓本站下載的壓縮包,先讀包內的 readme / 說明檔案。
- 多數模組依賴遊戲的模組載入器:常見做法是用社群模組管理器(如 r2modman)選中本遊戲安裝,由管理器自動處理載入器與依賴。
- 手動安裝時,把模組檔案放進遊戲目錄下對應的 Mod / plugins 資料夾。
- 啟動遊戲確認載入成功;帶「前置依賴」的模組需要把依賴一併安裝。
不同模組的安裝位置差異較大,包內說明是最可靠的依據。
下面這些內容需要先安裝,否則該模組不會生效: