Create an account


Poll: Would you use different key settings for different game modes
This poll is closed.
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
Lightbulb [SUGGESTION] A NEW GAME MODE - HIDE AND SEEK! Kotangens 5 841 07-30-2020, 01:30 PM
Last Post: Kotangens
  [SUGGESTION] Single Player Tutorial Game(s) Space Ace 63 10,566 05-12-2020, 09:10 AM
Last Post: _para
  [SUGGESTION] Relic Duels (game mode) munyul 7 2,248 02-11-2018, 11:38 AM
Last Post: Lyberta
  [FIXED] Handle non-ASCII characters on http://dpmaster.deathmask.net/?game=xonotic Antares* 5 2,064 06-27-2017, 06:41 PM
Last Post: -z-
  [SUGGESTION] Match making/game schduler end user 6 3,044 07-05-2016, 09:56 AM
Last Post: end user
  [SUGGESTION] Input from a fairly new player fool 7 4,201 03-22-2016, 02:52 PM
Last Post: Lee_Stricklin
  [SUGGESTION] Lua scripting for the game? darkhog 2 2,378 09-05-2015, 05:33 PM
Last Post: TimePath
  [SUGGESTION] a sub-forum for user and game server admin communication BuddyFriendGuy 6 3,264 09-04-2015, 02:12 AM
Last Post: BuddyFriendGuy
  [SUGGESTION] A game package should contain all needed components kanatov 2 2,876 03-10-2015, 10:58 PM
Last Post: kanatov
  [SUGGESTION] Make game knowledge/info more obvious - i.e. tips Archer 7 7,073 01-21-2015, 02:03 AM
Last Post: Mr. Bougo

Forum Jump:


Users browsing this thread:
1 Guest(s)

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