[TF2] Replace hardcoded function keys on with console commands
Currently, to ready-up in competitive and MvM, the game is hardcoded to use KEY_F4. This raises the following issues:
- Modern small keyboard layouts without the function key row will need a workaround.
- Lack of user customisation or conflicting keybinds when F4 is bound by the user.
This also applies generally with the voting system where KEY_F1-KEY_F5 are hardcoded.
Instead, TF2 should have console command for these actions, bounded to the same function keys by default, therefore allowing more customisation.
player_ready_toggle is the command and can be bound to any other key
'vote option1' option2 etc... are the vote commands
Don't think they are hardcoded bc I've changed my f1 bind and needed to include it. "f1" = "vote option1; next_map_vote 0"
player_ready_toggle is the command and can be bound to any other key
'vote option1' option2 etc... are the vote commands
Don't think they are hardcoded bc I've changed my f1 bind and needed to include it. "f1" = "vote option1; next_map_vote 0"
They have console commands, but the lack of it isnt the issue here. The issue is that the F4 key can not be unbound, neither can the voting keys.
player_ready_toggle is the command and can be bound to any other key 'vote option1' option2 etc... are the vote commands Don't think they are hardcoded bc I've changed my f1 bind and needed to include it. "f1" = "vote option1; next_map_vote 0"
They have console commands, but the lack of it isnt the issue here. The issue is that the F4 key can not be unbound, neither can the voting keys.
This is true. I have bound my player_ready_toggle to F6, but F4 can still Ready Up in MVM. Even when binding F4 to another key (like loading Loadout Preset D, it will readies up, while going to the D loadout preset).