Table of Contents

gear cvar

Your current gear setup is stored in your q3config.cfg file in format seta gear "ABCDEFG"1). Every weapon and item has its own letter; the combination must be in specific order (slightly different from the order of the in-game gear selection menu). To denote empty slots in the cvar, use A. The minimal legal gear requires at least sidearm, primary and one item in the first item slot: GLAAWAA for Deagle, LR300 and helmet.

The easiest way to figure out the proper strings is setting your desired gear via the menu and then typing /gear in the console.

The following table shows what gear can be placed in which slots (the slots are in correct order). Although you can use secondaries as primaries, you can’t have duplicate items (two shotguns). The letters are case-sensitive.

Sidearm Primary Secondary Grenades Item #1 Item #2 Item #3
Beretta F
Desert Eagle G
Glock2) f
Colt 19113) g
SPAS H H
MP5 I I
UMP45 J J
MAC-114) h h
HK69 K
LR300 L
G36 M
PSG-1 N
SR8 Z
AK-103 a
Negev c
M4 e
HE grenades O
Smoke grenades Q 5)
Kevlar vest R R R
Goggles S S S
Medkit T T T
Silencer U U U
Laser sight V V V
Helmet W W W
Extra ammo X X X

Simple gear bind

To avoid clicking in the menu for every weapon change, different gear combinations can be bound to a key in your own config file:

bind 8 "gear GMAARUT; ut_echo G36 + kevlar + silencer + medkit"
bind 9 "gear GLAAVUT; ut_echo LR300 + laser + silencer + medkit"
bind 0 "gear GZIAWTA; ut_echo SR8 + MP5 + helmet + medkit"

Now the gear with G36 can be selected by pressing 8, another gear with LR300 can be selected by pressing 9 and the last one with SR8 by pressing 0. ut_echo is a command that outputs a string to your screen (only you can see it). It’s customary to use colors in echoes — here omitted for visual clarity —, see the beginner’s guide for color codes and usage.

Advanced gear bind

This can be enhanced to a switchable gear setup, so that one key can rotate through different gear setups (see the beginner’s guide for explanation what vstr does):

set load-1 "set load vstr load-2; gear GMAARUT; ut_echo G36 + kevlar + silencer + medkit"
set load-2 "set load vstr load-3; gear GLAAVUT; ut_echo LR300 + laser + silencer + medkit"
set load-3 "set load vstr load-1; gear GZIAWTA; ut_echo SR8 + MP5 + helmet + medkit"
set load "vstr load-1"
bind 0 "vstr load"

Now you can endlessly rotate through gears using the 0 key.

Delayed-execution gear bind

This script allows you to rotate through numerous gears without actually setting the cvar until you’ve decided (to avoid triggering the flood protection of the server).

set load-1 "set load vstr load-2; set set-gear gear GMAARUT; ut_echo G36 + kevlar + silencer + medkit"
set load-2 "set load vstr load-3; set set-gear gear GLAAVUT; ut_echo LR300 + laser + silencer + medkit"
set load-3 "set load vstr load-1; set set-gear gear GZIAWTA; ut_echo SR8 + MP5 + helmet + medkit"
set load "vstr load-1"
set set-gear "gear GMAARUT"
bind 9 "vstr load" // rotate through gears
bind 0 "vstr set-gear" // set the selected gear

Advanced delayed-execution gear bind

This script is for hardcore gearheads who have several dozen of different setups, an amount that necessitates dividing the gears into classes that are selected by their own key.

set load-nothing "set set-gear ut_echo Nothing selected"

set load-weapon "vstr load-weapon-1"
set load-weapon-1 "set load-weapon vstr load-weapon-2; vstr load-g36; ut_echo G36 class"
set load-weapon-2 "set load-weapon vstr load-weapon-3; vstr load-lr300; ut_echo LR300 class"
set load-weapon-3 "set load-weapon vstr load-weapon-1; vstr load-sr8; ut_echo SR8 class"

set load-g36 "set load vstr load-g36-1; vstr load-nothing"
set load-lr300 "set load vstr load-lr300-1; vstr load-nothing"
set load-sr8 "set load vstr load-sr8-1; vstr load-nothing"

set load-g36-1 "set load vstr load-g36-2; set set-gear gear GMAARUT; ut_echo G36 + kevlar + silencer + medkit"
set load-g36-2 "set load vstr load-g36-3; set set-gear gear GMAARWT; ut_echo G36 + kevlar + helmet + medkit"
set load-g36-3 "set load vstr load-g36-1; set set-gear gear GMAAWUT; ut_echo G36 + helmet + silencer + medkit"

set load-lr300-1 "set load vstr load-lr300-2; set set-gear gear GLAAVUT; ut_echo LR300 + laser + silencer + medkit"
set load-lr300-2 "set load vstr load-lr300-3; set set-gear gear GLAARUT; ut_echo LR300 + kevlar + silencer + medkit"
set load-lr300-3 "set load vstr load-lr300-1; set set-gear gear GLAAVWT; ut_echo LR300 + laser + helmet + medkit"

set load-sr8-1 "set load vstr load-sr8-2; set set-gear gear GZIAWTA; ut_echo SR8 + MP5 + helmet + medkit"
set load-sr8-2 "set load vstr load-sr8-3; set set-gear gear GZJAWTA; ut_echo SR8 + UMP45 + helmet + medkit"
set load-sr8-3 "set load vstr load-sr8-1; set set-gear gear GZAAWTR; ut_echo SR8 + kevlar + helmet + medkit"

set load "ut_echo Nothing selected"
set set-gear "ut_echo Nothing selected"
bind 8 "vstr load-weapon" // select the weapon class
bind 9 "vstr load"
bind 0 "vstr set-gear"

The “nothing selected” message is a placeholder, simplifying editing when you’re changing your script for the n-th time — otherwise you’d have to remember to change the first gear of every class in two different places. If that’s not a problem for you and you want to switch gears as fast as possible, without the artificial delay when changing classes, replace the third section with

set load-g36 "set load vstr load-g36-1; set set-gear gear GMAARUT"
set load-lr300 "set load vstr load-lr300-1; set set-gear gear GLAAVUT"
set load-sr8 "set load vstr load-sr8-1; set set-gear gear GZIAWTA"

Troubleshooting

If your gear settings and/or binds are not working properly, there can be several reasons:

Links

Gear codes table in the official manual
Gear calculator & config generator for advanced binds
Both delayed-execution binds are based on Runamok’s scripts found on the official UrT forum

1) Don’t confuse gear with g_gear — the latter is used by server admins to disable weapons and items.
2) 4.2 only, starting with .009
3) , 4) 4.2 only, starting with .013
5) The letter P was used for flash grenades that existed in pre-3.x versions