A tool to generate C# for your S&box gamemode's input actions.
This tool takes a gamemode package and reads its input settings. From that it constructs a C# class of input action data that can be used in your gamemode's code-base. The data contains the following items:
- Name - The name you gave the input, used in
Input.*
calls. - GroupName - The name you gave to group the input with others.
- KeyboardCode - The keyboard code you gave the input as a
string
. - GamepadCode - The gamepad code you gave the input as a
Gamepad.Code
.
This data is implicitly converted to its name so that it can be used seamlessly with the Input API.
2023-06-01.23-58-15_Trim.mp4
You can install the tool by downloading this repo or using Xeznos Tool Manager
Distributed under the MIT License. See the license for more information.