Skip to content

Console Variables

themuffinator edited this page Nov 5, 2024 · 6 revisions
  • bot_name_prefix: allows changing bot name prefixes (blank to remove) (default "B|")

  • g_allow_admin: allows administrative powers (default 1)

  • g_allow_custom_skins: when set to 0, reverts any custom player models or skins to stock replacements (default: 0)

  • g_allow_forfeit: Allows a player to forfeit the match, currently only for Duels (default 1)

  • g_allow_kill: enables use of 'kill' suicide command (default 1)

  • g_allow_mymap: allow mymap (map queuing function) (default 1)

  • g_allow_spec_vote: Allows/prohibits voting from spectators. (default 1)

  • g_allow_vote_midgame: Allows/prohibits voting during a match. (default 0)

  • g_allow_voting: General control over voting, 0 prohibits any voting. (default 0)

  • g_arena_start_armor: sets starting armor value in arena modes, range from 1-999, value affects armor tier (default 200)

  • g_arena_start_health: sets starting health value in arena modes, range from 1-999 (default 200)

  • g_corpse_sink_time: sets time in seconds for corpses to sink and disappear (default: 60)

  • g_dm_allow_no_humans: when set to 1, allows matches to start or continue with only bots (default 1)

  • g_dm_do_readyup: Enforce players to ready up to progress from match warmup stage (requires g_dm_do_warmup 1). (default 0)

  • g_dm_do_warmup: Allow match warmup stage. (default 1)

  • g_dm_force_join: replaces g_teamplay_force_join, the menu forces the cvar change so this gets around that, it now applies to regular DM too so the change makes sense.

  • g_dm_holdable_adrenaline : when set to 1, allows holdable Adrenaline during deathmatch (default 1)

  • g_dm_no_self_damage: when set to 1, disables any self damage after calculating knockback (default: 0)

  • g_dm_overtime: Set stoppage time for each overtime session in seconds. Currently only applies to Duels. (default 120)

  • g_dm_powerup_drop: when set to 1, drops carried powerups upon death (default: 1)

  • g_dm_powerups_minplayers: Sets minimum current player load to allow powerup pickups, 0 to disable (default 0)

  • g_dm_respawn_delay_min: the counterpart to g_dm_force_respawn_time, this sets a minimum respawn delay after dying (default: 1)

  • g_dm_respawn_point_min_dist: sets minimum distance to respawn away from previous spawn point (default: 256, max = 512, 0 = disabled)

  • g_dm_respawn_point_min_dist_debug: when set to 1, prints avoiding spawn points when g_dm_respawn_point_min_dist is used (default: 0)

  • g_dm_spawnpads: Controls spawning of deathmatch spawn pads, removes pads when set to 0, 1 only removes in no item game modes, 2 forces pads in all dm matches. (default: 1)

  • g_drop_cmds: bitflag operator, allows dropping of item types (default 7):

    • &1: allow dropping CTF flags
      
    • &2: allow dropping powerups
      
    • &4: allow dropping weapons and ammo
      
  • g_fast_doors: When set to 1, doubles the default speed of standard and rotating doors (default 1)

  • g_frag_messages: draw frag messages (default 1)

  • g_gametype: cvar sets gametype by index number, this is the current list:

  1. Campaign (not used at present, use deathmatch 0 as usual)
  2. Free for All
  3. Duel
  4. Team Deathmatch
  5. Capture the Flag
  6. Clan Arena
  7. Freeze Tag (WIP)
  8. CaptureStrike
  9. Red Rover
  10. Last Man Standing
  11. Horde
  12. Race (WIP)
  • g_inactivity: Values above 0 enables an inactivity timer for players, specifying number of seconds since last input to point of flagging the player as inactive. A warning is sent to the player 10 seconds before triggering and once triggered, the player is moved to spectators. Inactive clients are noted as such using the 'players' command. (default: 120)

  • g_instagib_splash: enables a non-damaging explosion from railgun shots in instagib, allows for rail jumping or knocking foes about (default 0)

  • g_knockback_scale: scales all knockback resulting from damage received (default 1.0)

  • g_ladder_steps: Allow ladder step sounds, 1 = only in campaigns, 2 = always on (default 1)

  • g_match_lock: when set to 1, prohibits joining the match while in progress (default 0)

  • g_motd_filename: points to filename of message of the day file, reverts to default when blank (default motd.txt)

  • g_mover_speed_scale: sets speed scaling factor for all movers in maps (doors, rotators, lifts etc.) (default: 1.0f)

  • g_no_powerups: disable powerup pickups (Quad, Protection, Double, Haste, Invisibility, etc.)

  • g_owner_auto_join: when set to 0, avoids auto-joining a match as lobby owner (default 1)

  • g_round_countdown: sets round countdown time (in seconds) in round-based gametypes (default 10)

  • g_ruleset: gameplay rules (default 2):

  1. Quake II Rerelease
  2. Muff Mode (rebalanced Q2Re)
  3. Quake III Arena style
  • g_showhelp: when set to 1, prints a quick explanation about game modifications to players. (default: 1)

  • g_starting_armor: sets starting armor for players on spawn (0-999) (default 0)

  • g_starting_health: sets starting health for players on spawn (1-999) (default 100)

  • g_teamplay_allow_team_pick: When set to 0, denies the ability to pick a specific team during teamplay. This changes the join menu accordingly. (default 0)

  • g_teamplay_auto_balance: Set to 1, enforces team rebalancing during a match. The last joined player(s) of the stacked team switches teams but retain their scores. (default 1)

  • g_teamplay_force_balance: When set to 1, prohibits joining a team with too many players. (default: 0)

  • g_teamplay_item_drop_notice: When set to 1, sends team notice of item drops. (default 1)

  • g_teleporter_freeze: When set to 0, does not freeze player velocity when teleporting. (default: 0)

  • g_vampiric_exp_min: with vampiric damage enabled, sets expiration minimum health value (default 0)

  • g_vampiric_health_max: sets maximum health cap from vampiric damage (default 999)

  • g_vampiric_percentile: set health percentile bonus for vampiric damage (default 0.67f)

  • g_vote_flags: Bitmask to disable specific vote options. (default 0)

  • g_vote_limit: Sets maximum number of votes per match per client, 0 for no limit. (default 3)

  • g_warmup_ready_percentage: in match mode, sets percentile of ready players out of total players required to start the match. Set to 0 to disable readying up. (default: 0.51f)

  • g_weapon_projection: changes weapon projection offset. 0 = normal, 1 = always force central handedness, 2 = force central view projection. looks strange with view weapons. (default: 0)

  • hostname: set string for server name, this gets printed at top of game menu for all to see. Limit this to 26 chars max.

  • maxplayers: Set max number of players in the game (ie: non-spectators), it is capped to maxclients. In team games, team max size will be maxplayers/2 and rounded down.

  • mercylimit: Sets score gap limit to end match, 0 to disable (default 0)

  • noplayerstime: Sets time in minutes in which there have been no players to force a change of map, 0 to disable (default 0)

  • roundlimit: sets number of round wins to win the match in round-based gametypes (default 8)

  • roundtimelimit: sets round time limit (in minutes) in round-based gametypes (default 2)

Clone this wiki locally