Skip to content

Console variables

These are the console variables (cvars) found while documenting gameplay, with their defaults. Server admins can change any of them, and many are cheat-protected.

The list isn't complete. It covers the cvars that affect the mechanics on this wiki.

123 variables extracted from the NT;RE source.
VariableDefaultDescription
bot_class-1Force all bots to spawn with the specified class number, or -1 to disable.1
cl_neo_lean_automatic0Automatic leaning around corners2
cl_neo_lean_viewmodel_only0Rotate view-model instead of camera when leaning3
mp_chattime15amount of time players can chat after the game is over (NEO default; used as the post-round delay)4
mp_falldamage1Whether to apply fall damage to players.5
mp_forcecamera0Restricts spectator modes for dead players (NEO default)6
mp_friendlyfire1Allows team members to injure other members of their team (NEO default)7
mp_timelimit0game time per map in minutes8
mp_weaponstay1NEO default. Respawn modes still remove dropped weapons regardless (src/game/shared/neo/weapons/weapon_neobasecombatweapon.cpp:1380).9
neo_ctg_round_timelimit3.25CTG round timelimit, in minutes.10
neo_dm_round_timelimit10.25DM round timelimit, in minutes.11
neo_lean_fp_angle20How many degrees does the camera lean.12
neo_lean_fp_lower_eyes2How low to bring eye-level when leaning.13
neo_lean_peek_left_amount7.5How far sideways will a full left lean view reach.14
neo_lean_peek_right_amount15.0How far sideways will a full right lean view reach.15
neo_lean_speed0.2Time to reach full lean16
neo_lean_thirdperson_roll_lerp_scale5Multiplier for 3rd person lean roll lerping.17
neo_lean_tp_angle35How many degrees does the player character lean.18
neo_round_limit0(Legacy) Max amount of rounds, 0 for no limit. Hidden; copies into sv_neo_ctg_round_limit.19
neo_round_sudden_death1If neo_round_limit is not 0 and round is past neo_round_limit, go into sudden death where match won't end until a team won.20
neo_score_limit7(Legacy) Neo score limit. Hidden; writing it copies the value into sv_neo_ctg_score_limit.21
neo_tdm_round_timelimit10.25TDM round timelimit, in minutes.22
neo_vote_game_mode1Vote on game mode to play. TDM=0, CTG=1, DM=3 (client, userinfo)23
sk_player_arm0.75(none) hitgroup damage multiplier24
sk_player_chest1(none) hitgroup damage multiplier25
sk_player_head1(none) hitgroup damage multiplier26
sk_player_leg0.6(none) hitgroup damage multiplier27
sk_player_stomach0.75(none) hitgroup damage multiplier28
sv_gravity800World gravity.29
sv_infinite_aux_power0(none)30
sv_neo_airfriction0Air friction.31
sv_neo_airfriction_objective0.5Air friction for ghost carrier.32
sv_neo_airstopspeed0Minimum stopping speed when in the air.33
sv_neo_bot_cloak_debug_perceive_always_on0Debug: Force bots to perceive all players as having cloaking on all the time34
sv_neo_bot_cloak_detection_bonus_assault_motion_vision15Bot cloak detection bonus for assault class detecting movement with motion vision35
sv_neo_bot_cloak_detection_bonus_disruption_effect8Bot cloak detection bonus for target being surrounded by the blue disruption effect36
sv_neo_bot_cloak_detection_bonus_lighting0Bot cloak detection bonus for target being in a well lit area (scaled by light intensity ratio 0.0-1.0)37
sv_neo_bot_cloak_detection_bonus_lighting_enabled0Enable/Disable bot cloak detection lighting bonus38
sv_neo_bot_cloak_detection_bonus_melee_range20Bot cloak detection bonus for being in melee range39
sv_neo_bot_cloak_detection_bonus_non_support2Bot cloak detection bonus for non-support classes40
sv_neo_bot_cloak_detection_bonus_observer_stationary3Bot cloak detection bonus for observer being stationary41
sv_neo_bot_cloak_detection_bonus_observer_walking1Bot cloak detection bonus for observer walking42
sv_neo_bot_cloak_detection_bonus_per_injury1Bot cloak detection bonus per injury event43
sv_neo_bot_cloak_detection_bonus_scope_range3Bot cloak detection bonus for being in scope range44
sv_neo_bot_cloak_detection_bonus_shotgun_range12Bot cloak detection bonus for being in shotgun range45
sv_neo_bot_cloak_detection_bonus_target_moving1Bot cloak detection bonus for target moving46
sv_neo_bot_cloak_detection_bonus_target_running3Bot cloak detection bonus for target running47
sv_neo_bot_cloak_detection_bonus_target_standing1Bot cloak detection bonus for target standing48
sv_neo_bot_cloak_detection_threshold_ratio_aim_on_target0.98Bot cloak detection threshold when considered aimed on target49
sv_neo_bot_cloak_detection_threshold_ratio_easy0.35Bot cloak detection threshold for easy difficulty observers50
sv_neo_bot_cloak_detection_threshold_ratio_expert0.50Bot cloak detection threshold for expert difficulty observers51
sv_neo_bot_cloak_detection_threshold_ratio_hard0.45Bot cloak detection threshold for hard difficulty observers52
sv_neo_bot_cloak_detection_threshold_ratio_normal0.40Bot cloak detection threshold for normal difficulty observers53
sv_neo_botsonly_warmup_round0Allow bots-only match to do warmup rounds.54
sv_neo_can_change_classes_anytime0Can players change classes at any moment, even mid-round?55
sv_neo_cap_reward0How much XP to reward for capturing the ghost. 0 = Rank up.56
sv_neo_cap_reward_dead0Whether dead players should receive the ghost capture or escape reward.57
sv_neo_change_suicide_player0Kill the player if they change the team and they're alive.58
sv_neo_change_threshold_interval0.25The interval threshold limit in seconds before the player is allowed to change team.59
sv_neo_class_limit_assault-1Maximum number of Assault class players per team (-1 = no limit, 0 = banned).60
sv_neo_class_limit_recon-1Maximum number of Recon class players per team (-1 = no limit, 0 = banned).61
sv_neo_class_limit_support-1Maximum number of Support class players per team (-1 = no limit, 0 = banned).62
sv_neo_comp0Enables competitive gamerules63
sv_neo_ctg_ghost_beacons_when_inactive0Show ghost beacons when the ghost isn't the active weapon.64
sv_neo_ctg_ghost_overtime45Adds up to this many seconds to the round while the ghost is held.65
sv_neo_ctg_ghost_overtime_enabled0Enable ghost overtime.66
sv_neo_ctg_ghost_overtime_grace10Number of seconds left in the round when the ghost is dropped in overtime.67
sv_neo_ctg_ghost_overtime_grace_decay0Slowly reduce the grace time as overtime goes on.68
sv_neo_ctg_round_limit0CTG max amount of rounds, 0 for no limit.69
sv_neo_ctg_score_limit7CTG score limit70
sv_neo_detpack_xp_limit4How many XP are required to unlock the detpack for recons (or -1 for no limit).71
sv_neo_dm_max_class_dur10The time in seconds when the player can change class on respawn during deathmatch.72
sv_neo_dm_round_limit0DM max amount of rounds, 0 for no limit.73
sv_neo_dm_score_limit7DM score limit74
sv_neo_dm_win_xp50The XP limit to win the match.75
sv_neo_exp_dmg_modifier1.485Explosive damage modifier76
sv_neo_falldmg_scale0.25Scale factor for NEO fall damage.77
sv_neo_gamemode_enforcement0How the gamemode are determined. 0 = By map, 1 = By sv_neo_gamemode_single, 2 = Random, 3 = Pre-match voting78
sv_neo_gamemode_random_allow11In bitwise, the gamemodes that are allowed for random selection. Default = TDM+CTG+DM. TDM=1, CTG=2, DM=879
sv_neo_gamemode_single3The gamemode that is enforced by the server. TDM=0, CTG=1, DM=380
sv_neo_ghost_carrier_bonus1Whether the ghost carrier on the winning team should receive extra XP.81
sv_neo_ghost_delay_secs3.3The delay in seconds until the ghost shows up after pick up.82
sv_neo_ghost_spawn_bias0Spawn ghost in the same location as the previous round on odd-indexed rounds (Round 1 = index 0)83
sv_neo_ghost_spawn_force-1Pin the ghost to a fixed neo_ghostspawnpoint every round. -1 uses default random selection. (cheat)84
sv_neo_ghost_view_distance45.72How far can the ghost user see players in meters.85
sv_neo_hitboxgroup_pen0When hitting outer limbs, do a second trace against head, chest and stomach86
sv_neo_ignore_wep_xp_limit0If true, allow equipping any loadout regardless of player XP.87
sv_neo_infinite_cloak0Don't drain cloak88
sv_neo_jumpbuffer0Allow Quake style jump buffering.89
sv_neo_latespawn_max_time15How many seconds late are players still allowed to spawn.90
sv_neo_loopback_warmup_round0Allow loopback server to do warmup rounds.91
sv_neo_mirror_teamdamage_duration7How long in seconds the mirror damage is active for the start of each round. Set to 0 for the entire round.92
sv_neo_mirror_teamdamage_immunity1If enabled, the victim will not take damage from a teammate during the mirror team damage duration.93
sv_neo_mirror_teamdamage_multiplier2 (release) / 0 (DEBUG build)The damage multiplier given to the friendly-firing individual. Set value to 0 to disable mirror team damage.94
sv_neo_pausematch_enabled0If enabled, players will be able to pause the match mid-game.95
sv_neo_player_restore1If enabled, the server will save players XP and deaths per match session and restore them if they reconnect.96
sv_neo_preround_freeze_time15The pre-round freeze time, in seconds.97
sv_neo_readyup_autointermission0If disabled, skips the automatic intermission at the end of the match.98
sv_neo_readyup_countdown5Set the countdown from fully ready to start of match in seconds.99
sv_neo_readyup_lobby0If enabled, players would need to ready up and match the players total requirements to start a game.100
sv_neo_readyup_skipwarmup1Skip the warmup round when already using ready up.101
sv_neo_readyup_teamplayersthres5The exact total players per team to be in and ready up to start a game.102
sv_neo_restore_session_allow_name_match0Permit restoring session with matching players name103
sv_neo_restore_xp_death_any_round0Permit giving XP at any round rather than restricting to only readyup stage (cheat)104
sv_neo_serverside_beacons1Whether ghost beacons should be processed server-side.105
sv_neo_spec_replace_player_afk_enable0Allow spectators to take over AFK players.106
sv_neo_spec_replace_player_afk_time_sec180Seconds of inactivity before a player is considered AFK for spectator takeover.107
sv_neo_spec_replace_player_bot_enable1Allow spectators to take over bots.108
sv_neo_spec_replace_player_min_exp0Minimum experience allowed to takeover players109
sv_neo_suicide_prevent_cap_punish1If enabled, if a player suicides and is the only one alive in their team, while the other team is holding the ghost, reward the ghost holder team a rank up.110
sv_neo_survivor_bonus1Whether surviving players on the winning team in CTG should receive extra XP.111
sv_neo_tdm_round_limit0TDM max amount of rounds, 0 for no limit.112
sv_neo_tdm_score_limit1TDM score limit113
sv_neo_teamdamage_assists0Whether to drain XP when assisting the death of a teammate.114
sv_neo_teamdamage_kick0If enabled, the friendly-firing individual will be kicked if damage is received during the sv_neo_mirror_teamdamage_duration, exceeds the sv_neo_teamdamage_kick_hp value, or executes a teammate.115
sv_neo_teamdamage_kick_hp900The threshold for the amount of HP damage inflicted on teammates before the client is kicked.116
sv_neo_teamdamage_kick_kills6The threshold for the amount of team kills before the client is kicked.117
sv_neo_time_alive_until_cant_change_loadout25.0How long after spawning changing loadouts is disabled118
sv_neo_warmup_godmode0If enabled, everyone is invincible on idle and warmup.119
sv_neo_warmup_round_time45The warmup round time, in seconds.120
sv_neo_wep_dmg_modifier1.485Weapon damage modifier.121
sv_neo_wep_xp_override-1Override the effective XP used for weapon eligibility checks, or -1 to disable.122
sv_stickysprint0(none)123

References

  1. src/game/server/neo/neo_player.cpp:156 ↩

  2. src/game/shared/neo/neo_predicted_viewmodel.cpp:305 ↩

  3. src/game/shared/neo/neo_predicted_viewmodel.cpp:304 ↩

  4. src/game/shared/multiplay_gamerules.cpp:67 ↩

  5. src/game/server/game.cpp:36 ↩

  6. src/game/shared/gamevars_shared.cpp:24 ↩

  7. src/game/shared/gamevars_shared.cpp:46 ↩

  8. src/game/shared/multiplay_gamerules.cpp:94 ↩

  9. src/game/server/game.cpp:42 ↩

  10. src/game/shared/neo/neo_gamerules.cpp:517 ↩

  11. src/game/shared/neo/neo_gamerules.cpp:523 ↩

  12. src/game/shared/neo/neo_predicted_viewmodel.cpp:149 ↩

  13. src/game/shared/neo/neo_predicted_viewmodel.cpp:151 ↩

  14. src/game/shared/neo/neo_predicted_viewmodel.cpp:147 ↩

  15. src/game/shared/neo/neo_predicted_viewmodel.cpp:148 ↩

  16. src/game/shared/neo/neo_predicted_viewmodel.cpp:146 ↩

  17. src/game/server/neo/neo_player.cpp:812-813 ↩

  18. src/game/shared/neo/neo_predicted_viewmodel.cpp:150 ↩

  19. src/game/shared/neo/neo_gamerules.cpp:482 ↩

  20. src/game/shared/neo/neo_gamerules.cpp:488 ↩

  21. src/game/shared/neo/neo_gamerules.cpp:477 ↩

  22. src/game/shared/neo/neo_gamerules.cpp:514 ↩

  23. src/game/shared/neo/neo_gamerules.cpp:78 ↩

  24. src/game/server/player.cpp:200 ↩

  25. src/game/server/player.cpp:198 ↩

  26. src/game/server/player.cpp:197 ↩

  27. src/game/server/player.cpp:201 ↩

  28. src/game/server/player.cpp:199 ↩

  29. src/game/shared/movevars_shared.cpp:22,37 ↩

  30. src/game/server/hl2/hl2_player.cpp:113 ↩

  31. src/game/shared/gamemovement.cpp:1724 ↩

  32. src/game/shared/gamemovement.cpp:1725 ↩

  33. src/game/shared/gamemovement.cpp:1726 ↩

  34. src/game/server/neo/neo_player.cpp:177-178 ↩

  35. src/game/server/neo/neo_player.cpp:183-184 ↩

  36. src/game/server/neo/neo_player.cpp:180-181 ↩

  37. src/game/server/neo/neo_player.cpp:223-224 ↩

  38. src/game/server/neo/neo_player.cpp:219-220 ↩

  39. src/game/server/neo/neo_player.cpp:211-212 ↩

  40. src/game/server/neo/neo_player.cpp:187-188 ↩

  41. src/game/server/neo/neo_player.cpp:190-191 ↩

  42. src/game/server/neo/neo_player.cpp:193-194 ↩

  43. src/game/server/neo/neo_player.cpp:214-215 ↩

  44. src/game/server/neo/neo_player.cpp:205-206 ↩

  45. src/game/server/neo/neo_player.cpp:208-209 ↩

  46. src/game/server/neo/neo_player.cpp:199-200 ↩

  47. src/game/server/neo/neo_player.cpp:196-197 ↩

  48. src/game/server/neo/neo_player.cpp:202-203 ↩

  49. src/game/server/neo/neo_player.cpp:169 ↩

  50. src/game/server/neo/neo_player.cpp:163 ↩

  51. src/game/server/neo/neo_player.cpp:166 ↩

  52. src/game/server/neo/neo_player.cpp:165 ↩

  53. src/game/server/neo/neo_player.cpp:164 ↩

  54. src/game/shared/neo/neo_gamerules.cpp:48 ↩

  55. src/game/server/neo/neo_player.cpp:149 ↩

  56. src/game/shared/neo/neo_gamerules.cpp:164 ↩

  57. src/game/shared/neo/neo_gamerules.cpp:165 ↩

  58. src/game/server/neo/neo_player.cpp:151 ↩

  59. src/game/server/neo/neo_player.cpp:152 ↩

  60. src/game/shared/neo/neo_gamerules.cpp:61 ↩

  61. src/game/shared/neo/neo_gamerules.cpp:60 ↩

  62. src/game/shared/neo/neo_gamerules.cpp:62 ↩

  63. src/game/shared/neo/neo_gamerules.cpp:211 ↩

  64. src/game/shared/neo/weapons/weapon_ghost.cpp:26 ↩

  65. src/game/shared/neo/neo_gamerules.cpp:536 ↩

  66. src/game/shared/neo/neo_gamerules.cpp:535 ↩

  67. src/game/shared/neo/neo_gamerules.cpp:537 ↩

  68. src/game/shared/neo/neo_gamerules.cpp:538 ↩

  69. src/game/shared/neo/neo_gamerules.cpp:505 ↩

  70. src/game/shared/neo/neo_gamerules.cpp:494 ↩

  71. src/game/shared/neo/weapons/weapon_detpack.cpp:71-72 ↩

  72. src/game/server/neo/neo_player.cpp:153 ↩

  73. src/game/shared/neo/neo_gamerules.cpp:509 ↩

  74. src/game/shared/neo/neo_gamerules.cpp:498 ↩

  75. src/game/shared/neo/neo_gamerules.cpp:532 ↩

  76. src/game/shared/neo/neo_gamerules.cpp:54 ↩

  77. src/game/shared/neo/neo_gamerules.cpp:4274 ↩

  78. src/game/shared/neo/neo_gamerules.cpp:115 ↩

  79. src/game/shared/neo/neo_gamerules.cpp:120 ↩

  80. src/game/shared/neo/neo_gamerules.cpp:118 ↩

  81. src/game/shared/neo/neo_gamerules.cpp:167 ↩

  82. src/game/shared/neo/neo_player_shared.cpp:64-65 ↩

  83. src/game/shared/neo/neo_gamerules.cpp:176 ↩

  84. src/game/shared/neo/neo_gamerules.cpp:177 ↩

  85. src/game/shared/neo/neo_player_shared.cpp:62 ↩

  86. src/game/shared/neo/neo_player_shared.cpp:858 ↩

  87. src/game/shared/neo/neo_gamerules.cpp:529 ↩

  88. src/game/server/neo/neo_player.cpp:227 ↩

  89. src/game/shared/gamemovement.cpp:1727 ↩

  90. src/game/shared/neo/neo_gamerules.cpp:51 ↩

  91. src/game/shared/neo/neo_gamerules.cpp:47 ↩

  92. src/game/shared/neo/neo_gamerules.cpp:147 ↩

  93. src/game/shared/neo/neo_gamerules.cpp:148 ↩

  94. src/game/shared/neo/neo_gamerules.cpp:141-146 ↩

  95. src/game/shared/neo/neo_gamerules.cpp:173 ↩

  96. src/game/shared/neo/neo_gamerules.cpp:56 ↩

  97. src/game/shared/neo/neo_gamerules.cpp:50 ↩

  98. src/game/shared/neo/neo_gamerules.cpp:163 ↩

  99. src/game/shared/neo/neo_gamerules.cpp:175 ↩

  100. src/game/shared/neo/neo_gamerules.cpp:172 ↩

  101. src/game/shared/neo/neo_gamerules.cpp:162 ↩

  102. src/game/shared/neo/neo_gamerules.cpp:161 ↩

  103. src/game/server/neo/neo_gamerules_restore.cpp:21 ↩

  104. src/game/server/neo/neo_gamerules_restore.cpp:16 ↩

  105. src/game/shared/neo/neo_player_shared.cpp:67 ↩

  106. src/game/shared/neo/neo_player_shared.cpp:71 ↩

  107. src/game/shared/neo/neo_player_shared.cpp:77-80 ↩

  108. src/game/shared/neo/neo_player_shared.cpp:70 ↩

  109. src/game/shared/neo/neo_player_shared.cpp:72-75 ↩

  110. src/game/shared/neo/neo_gamerules.cpp:153-157 ↩

  111. src/game/shared/neo/neo_gamerules.cpp:166 ↩

  112. src/game/shared/neo/neo_gamerules.cpp:503 ↩

  113. src/game/shared/neo/neo_gamerules.cpp:492 ↩

  114. src/game/shared/neo/neo_gamerules.cpp:181 ↩

  115. src/game/shared/neo/neo_gamerules.cpp:150 ↩

  116. src/game/shared/neo/neo_gamerules.cpp:151 ↩

  117. src/game/shared/neo/neo_gamerules.cpp:152 ↩

  118. src/game/server/neo/neo_player.cpp:3485 ↩

  119. src/game/server/neo/neo_player.cpp:154 ↩

  120. src/game/shared/neo/neo_gamerules.cpp:49 ↩

  121. src/game/shared/neo/neo_gamerules.cpp:53 ↩

  122. src/game/shared/neo/neo_weapon_loadout.cpp:111-112 ↩

  123. src/game/server/hl2/hl2_player.cpp:120 ↩