• 0
AEon

The Console Commands of Reflex

Question

Update: For the latest Alphabetical List of Console Commands see the wiki!

 

 

There does not seem to exist a text version of the console commands. I put it together, mentioning default values and bindings I use (as inspiration). In  many cases I added short descriptions, seeing all this as a possible starting point for a future wiki... There are many commands marked with ???, where I have no idea what the command does.

 

Will be updating the below "raw" edit, as things get along. If anyone knows what the commands do, or has tips, post them in this thread.

 

Edit:

 

Moved the keylist here, to shorten the main post of commands:

// Keylist
// ------- ... valid <key>s and their names used in "bind <key> <command>":
a to z                      // letters, (German keyboard: öäüß fail!)
0 to 9                      // number keys
. , [ ] / ; "               // other keys, [ ] / ; " fail to work on DE keyboard
mouse1 to mouse5            // mouse buttons 1 to 5, if available
mousewheelup                // the mouse wheel
mousewheeldown
numpad0 to numpad9          // numbers on numerical keypad
numpadmultiply              // NK *
numpadadd                   // NK +
numpadseparator             // NK Enter ???
numpadsubstract             // NK -
numpaddecimal               // NK . (US) or NK , (DE keyboard)
numpaddivide                // NK /
up, down, left, right       // cursor keys
f1 to f12                   // function keys
ctrl, alt, shift, capslock  // modifiers, rebinding alt & shift is not recommended!
tab
enter
backspace
space
pageup, pagedown            // key block above cursor keys
end, home
insert, delete
Edited by AEon

Share this post


Link to post
Share on other sites

40 answers to this question

  • 0

Format may still change... but as it is... it really helps to be able to quickly look up the info on the wiki directly.

 

I will try to add a "Removed Command" category as well, for commands no longer used... to avoid confusion and to be able to look them up again. Also trying to track when commands became available.

Share this post


Link to post
Share on other sites
  • 0

is there any variable support in the cfg like quake 3?

 

I use a toggle command to bind 2 weapons to one key. Example; I use "alt" to toggle between the rocket launcher and the grenade launcher. 

 

Is there a way to do this in reflex?

 

Example of my weapbind cfg in q3a below:

//========================================================
// Weapons Bind
//========================================================

bind a "vstr rg"
bind alt "vstr rl"
bind s "vstr mg"
bind c "vstr lg"

//Railgun to Shotgun
set rg set "weapon 7; bind a vstr rgtosg; bind alt vstr rl; bind s vstr mg; bind c vstr lg"
set rg "weapon 7; bind a vstr rgtosg; bind alt vstr rl; bind s vstr mg; bind c vstr lg"
set rgtosg "weapon 3; bind a vstr rg"

//RocketLauncher to GrenadeLauncher
set rl set "weapon 5; bind alt vstr rltogl; bind a vstr rg; bind s vstr mg; bind c vstr lg"
set rl "weapon 5; bind alt vstr rltogl; bind a vstr rg; bind s vstr mg; bind c vstr lg"
set rltogl "weapon 4; bind alt vstr rl"

//MachineGun to Gauntlet
set mg set "weapon 2; bind s vstr mgtog; bind a vstr rg; bind alt vstr rl; bind c vstr lg"
set mg "weapon 2; bind s vstr mgtog; bind a vstr rg; bind alt vstr rl; bind c vstr lg"
set mgtog "weapon 1; bind s vstr mg"

//LightningGun to PlasmaGun
set lg set "weapon 6; bind c vstr lgtopg; bind a vstr rg; bind alt vstr rl; bind s vstr mg"
set lg "weapon 6; bind c vstr lgtopg; bind a vstr rg; bind alt vstr rl; bind s vstr mg"
set lgtopg "weapon 8; bind c vstr lg"

Share this post


Link to post
Share on other sites
  • 0

Is there a way to do bindtoggles?

When i'm building maps and want to change the snapdistance, most of the time i only use 2-3 values.

So is there a way to do something like this:

bindtoggle q me_snapshotdistance 16 4

you press q and it switches from 16 to 4 and by pressing q again from 4 to 16

 

There would be a different way to solve this tho

Create a bind that works like a slider

eg. you press the button and can change the value of the attached command with the mousewheel

 

Anyways I think bindtoggles are really useful in general. If there is already such a bind shame on me.

 

regards

-alphaa

Share this post


Link to post
Share on other sites
  • 0

Doing the toggle with different cfgs works, but feels extremely hacky. But it works.

Thanks for the advice!

 

Here is how i set it up:

 

bind keys in "_weaps.cfg"

// burst gun to melee
bind s weapon 2
addbind loadconfig _bg
// rocket launcher to grenade launcher
bind alt weapon 6
addbind alt loadconfig _rl
// rail gun to shot gun
bind a weapon 8
addbind a loadconfig _rg
// lightning gun to chain gun
bind c weapon 7
addbind c loadconfig _lg

then for each toggle a new cfg file,

example: "_rl.cfg"

loadconfig _weaps
bind alt weapon 4
addbind alt loadconfig _weaps

This way the bound weapons will reset for each switch, so you know exactly what you are switching to every time.

Of course load _weaps.cfg into the game.cfg

Share this post


Link to post
Share on other sites
  • 0

I saw a screenshoot that looked like picmip 5 or more. What command? Cant find any..

Share this post


Link to post
Share on other sites
  • 0

Is there a way to have a command bound on two keys? My friend wants jump bound on mousewheelup and spacebar.

Share this post


Link to post
Share on other sites
  • 0

Yes, you can use the console to set it. "bind game space +jump" and "bind game mousewheelup +jump". (pretty sure it is mousewheelup, but if you type "bindlist" in the console it should give you the full list of key names)

The "game"  part of that command makes it so it doesn't apply in map editor mode -  if you type the commands above and don't include "game"  then it will work universally.   

Share this post


Link to post
Share on other sites
  • 0

Is there a way to have a +/- toggle bound to a key?

i.e. Have r_fov 90 when mouse2 is depressed, and revert back to r_fov 130 when it's released?

Share this post


Link to post
Share on other sites
  • 0

I may need to go through all the console commands directly in the Reflex console and update the commands on the wiki... sigh.

Edited by AEon

Share this post


Link to post
Share on other sites
  • 0
3 hours ago, JUMPERJkE2H said:

Half of the sv_ commands doesn't work for me... idk why...

They're for servers, so unless the server is hosted on your own machine (in which case you'll have to callvote restart to restart the server), they won't work.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now