branchrust_reboot/main/midiconvarcancel

17 Commits over 610 Days - 0.00cph!

2 Years Ago
Cherry pick 66688 66820 66873 from media_projects (relative knob binding)
2 Years Ago
Add a comment so plastic lets me merge
2 Years Ago
Merge from main
2 Years Ago
Merge from main
4 Years Ago
Update some error strings
4 Years Ago
Add MIDI support for multiple commands separated with ; and toggle commands prefixed with
4 Years Ago
Don't allow empty commands
4 Years Ago
Merge from main
4 Years Ago
Added support for binding commands to MIDI channels, can use channel 0 to accept any channel (the old behaviour)
4 Years Ago
▄▍▌▇▅ ▌▇ ▅▇▅▌█▍ ▋▇ ▄▆▅▋▊▉ ▊▅▄▉▋ ▊▋▊▆▅ █▋▋▄ █▋ ▅▋▍ ▆ ▍▇▆█, █▋█ ▄▋▊▉ ▆▍▍█ ▋▌▌█▆▉█ ▅▄▇▋ ▅▋ ▌▆▅█▌█ ▊▆▌▉▄▍▅▊▌▊.▉▆▌▌▊▊▍▇▆▋▊ ▉▆ ▆▄▋▊▋▅▉█▅▇.█▇▅▍▆▋▉ ▄▍▉██▄▍ ▇▄▆
4 Years Ago
Use existing server directory method to save and load loadouts Use existing client directory method to save and load midi binds Return a pooled list
4 Years Ago
Cleanup, add some help strings to new commands
4 Years Ago
Merge from main
4 Years Ago
New convars for saving and loading a set of gear onto players for cinematics: "inventory.saveLoadout" saves the currently equipped belt and wear inventories into a file "inventory.deployLoadout" applies a saved loadout onto the given player "inventory.deployLoadoutInRange" applies a saved loadout onto all players in a radius
4 Years Ago
Codegen
4 Years Ago
Merge from main
4 Years Ago
Added a new MidiConvar system to map convar commands to midi inputs (buttons and knobs) Adds "BindKnob" command to map a knob to a command with a float value (eg "BindKnob 0 graphics.fov 70 90" to bind knob 0 to the fov) Adds "BindKeyOn" and "BindKeyOff" to bind a midi note (eg BindKeyOn 60 "graphics.dof_debug true" and BindKeyOff 60 "graphics.dof_debug false") Commands are automatically saved and loaded