# Client

### From Q4MAX

## Chat Tokens

- `#`A - Armor

- `#`C - Corpse

  The location where you last died
  sayteam 'Overrun at `#`C'

- `#`F - nearest Friendly player, i.e. teammate

- `#`H - Health

  sayteam 'Hurting bad - `#`H/`#`A'

- `#`I - nearest Item

  Shows the nearest available item.

- `#`K - nearest ammo

- `#`L - Location

  Nearest "significant" item spawn (weapon, armor, powerup, or MH), whether the item is there or not

- `#`P - last picked up item

- `#`R - nearest health or armor

- `#`W - Weapon

  Lists the current weapon and ammo you have.

## Sample Client Config

Most settings can be controlled via the GUI, but a client config file remains a very reliable way to manage your personal settings. The config settings below are provided as an example of the kind of settings you might want to change. You can find this config in q4max/cfg as well as a sample server config.

    //=============================================
    // Q4Max Specific Settings
    // More updates available at
    // http://www.q4max.com/wiki/index.php/Config

    // Models and Colors
    seta cg_teamColor	"255 255 255"
    seta cg_enemyColor	"0 255 0"
    seta cg_forceColors	"1"
    seta cg_forceModels	"1"
    seta cg_teamModel	""
    seta cg_enemyModel	""

    // Performance Settings
    seta r_vertexLight	"1"
    seta r_lightscale	"4"
    seta s_ambient	"0"

    // Weapon and Gib Effects
    seta cg_smoke_GL	"0"
    seta cg_smoke_RL	"0"
    seta cg_gibs	"0"
    seta cg_blood	"0"
    seta cg_weaponFovEffect	"1"

    // User Interface Options
    seta cg_noChatBeep	"0"
    seta hud_style	"cpmhud1"
    seta hud_lagometerPosition	"576 428"
    seta ui_autoAction	""			// e.g. "DEMO SS"

    // Team Comms
    // Note that the placement of single and double Quotes " and ' is very important.
    bind f4 "sayTeam '^2SECURE^7: #h/#a/#w loc: #l'; emote salute"
    bind f5 "sayTeam '^1DANGER^7: #h/#a/#w loc: #l'; emote taunt"
    bind f6 "sayTeam '^2DROPPING^7 #w loc: #l'; dropWeapon ; emote grab_a"
    bind f7 "sayTeam '^2ITEM AVAILABLE^7 #i loc: #l'; emote cheer"

    // Weapon Binds
    // You can add additional variables to each bind of course, or remove some if you want.
    // In general, if you change one variable on only one bind,
    // you will have to set a standard value of it in all the other bind.
    bind "0" "weapon 9; sensitivity 5; g_crosshaircustom 14"
    bind "1" "weapon 0; sensitivity 5; g_crosshaircustom 14"
    bind "2" "weapon 1; sensitivity 3; g_crosshaircustom 13"
    bind "3" "weapon 2; sensitivity 3; g_crosshaircustom 12"
    bind "4" "weapon 3; sensitivity 4; g_crosshaircustom 1"
    bind "5" "weapon 4; sensitivity 5; g_crosshaircustom 2"
    bind "6" "weapon 5; sensitivity 5; g_crosshaircustom 5"
    bind "7" "weapon 6; sensitivity 3; g_crosshaircustom 14"
    bind "8" "weapon 7; sensitivity 3; g_crosshaircustom 17"
    bind "9" "weapon 8; sensitivity 5; g_crosshaircustom 10"
    //EOF