Bind something to a key

Discuss anything to do with Nexuiz here.

Moderators: Nexuiz Moderators, Moderators

Bind something to a key

Postby mczero » Fri Sep 29, 2006 1:10 pm

Hello, I'm relatively new to Nexuiz and I must say that I'm very impressed by it !

Never had so much fun since my ol' UT99 days :D
The only thing I miss are bigger open maps- tznex03 is fine but not open enough for me :P
and a Sniper Rifle mod for that big maps, thats all...

My question is if it is possible to bind more than one console command to a key?
Because I want to switch fast between different graphic settings!



Keep up the good work Nex Team!
mczero
Newbie
 
Posts: 7
Joined: Thu Sep 28, 2006 8:39 pm

Postby Nil » Fri Sep 29, 2006 1:26 pm

To bind more than one command to a key use ";" as separator, e.g:
Code: Select all
bind h "say hi; say ho; say lo"

And welcome to Nexiuz!
Nil
Advanced member
 
Posts: 81
Joined: Wed Mar 01, 2006 5:10 pm

Postby esteel » Fri Sep 29, 2006 1:29 pm

just use
Code: Select all
bind key "command1; command2; command3"
or maybe create an alias first with
Code: Select all
alias alieasname "command1; command2"
bind key aliasname

If you just want to switch graphic quality
Code: Select all
bind key "exec low.cfg;vid_restart"
bind key "exec med.cfg;vid_restart"
bind key "exec normal.cfg;vid_restart"
bind key "exec high.cfg;vid_restart"
bind key "exec ultra.cfg;vid_restart"
bind key "exec ultimate.cfg;vid_restart"
are enough.
esteel
Site admin and forum addon
 
Posts: 3924
Joined: Wed Mar 01, 2006 8:27 am

Postby mczero » Fri Sep 29, 2006 2:02 pm

Ahh thank you, that works pretty well !
mczero
Newbie
 
Posts: 7
Joined: Thu Sep 28, 2006 8:39 pm


Return to Nexuiz - General Discussion

Who is online

Users browsing this forum: No registered users and 1 guest

cron