Create an account


Poll: Would you use different key settings for different game modes
You do not have permission to vote in this poll.
Yes i am already using different key settings
50.00%
2 50.00%
Yes if this feature was implemented i would use it
0%
0 0%
no i'll rather stick to one key config for all game modes.
50.00%
2 50.00%
Total 4 vote(s) 100%
* You voted for this item. [Show Results]

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[SUGGESTION] Different Input Key Settings for different Game Modes

#1
Hello, i would like to have different input key settings for different game modes, eg when playing normal dm i have E bound to the crylink, but when playing instagib i have E bound to the hook. It would be nice to not have to manually change the Key settings everytime when switching game mode. ^^
Reply

#2
Hello, I've worked on two resources to help in this regard. The first is the "keybind configurator" it's slightly broken, but still a useful way to visually modify your keybinds: https://z.github.io/kbx
The other is my config which supports what you're asking for, https://github.com/z/xonotic-config.pk3dir 
This is achieved with my "bind_swap" alias, excerpt below:
Code:
// Button Loaded Configs

alias bind_swap "exec binds-empty.cfg; exec config/binds-empty-ascii.cfg; exec config/binds-$new_bind_set.cfg; exec config/aliases/bind_swap.cfg; echo ^1[ ^4Loaded ^$new_bind_set_color$new_bind_set ^4Config ^1]; bf"

bind pgdn "set new_bind_set_color 5; set new_bind_set video; bind_swap"
bind pgup "set new_bind_set_color 6; set new_bind_set default; bind_swap"
bind end "set new_bind_set_color 7; set new_bind_set defrag; bind_swap"
bind home "set new_bind_set_color 3; set new_bind_set ctf; bind_swap"
What the above does, is 1) define a bind_swap alias that clears out old binds  2) executes the bind swap I want  3) displays a message to the user that the binds were swapped.
Reply



Possibly Related Threads…
Thread Author Replies Views Last Post
Question Slurs in game voicelines Ashurion-Neonix 3 780 05-04-2023, 11:25 PM
Last Post: ballerburg9005
Question Is adding a Quake-like laser to the main game a good idea? cushinga 2 734 03-28-2023, 04:59 PM
Last Post: ballerburg9005
  [SUGGESTION] Sumo game mode BuddyFriendGuy 2 1,712 02-24-2023, 02:32 AM
Last Post: BuddyFriendGuy
  [SUGGESTION] Single Player Tutorial Game(s) Space Ace 62 27,830 02-07-2023, 08:59 PM
Last Post: cushinga
Lightbulb [SUGGESTION] new game mechanic: Flash Steps ballerburg9005 6 2,339 08-22-2021, 06:21 PM
Last Post: ballerburg9005
Lightbulb [SUGGESTION] A NEW GAME MODE - HIDE AND SEEK! Kotangens 5 3,199 07-30-2020, 01:30 PM
Last Post: Kotangens
  [SUGGESTION] Relic Duels (game mode) munyul 5 4,523 02-11-2018, 10:59 AM
Last Post: martin-t
  [FIXED] Handle non-ASCII characters on http://dpmaster.deathmask.net/?game=xonotic Antares* 5 4,227 06-27-2017, 06:41 PM
Last Post: -z-
  [SUGGESTION] Match making/game schduler end user 6 5,205 07-05-2016, 09:56 AM
Last Post: end user
  [SUGGESTION] Input from a fairly new player fool 7 7,248 03-22-2016, 02:52 PM
Last Post: Lee_Stricklin

Forum Jump:


Users browsing this thread:
1 Guest(s)

Forum software by © MyBB original theme © iAndrew 2016, remixed by -z-