CONSOLEPREFIXGL

Console Commands and Variables with Prefix GL_



Possible Flags: READONLY, DEPRECATED, DUMPTODISK, REQUIRE_LEVEL_RELOAD, REQUIRE_APP_RESTART, RESTRICTEDMODE

Alphabetically Sorted

Console Variables and Commands

    gl_advancePlaylist

      *TODO*

    gl_allowDevLevels

      
      Allow levels which aren't on the standard level list or dlc
      

    gl_allowEnsureBestHostCalls

      
      Set to 0 to stop the game doing pushed lobby-migrations
      

    gl_allowLobbyMerging

      
      Set to 0 to stop matchmaking games from attempting to merge
      

    gl_checkDLCBeforeStartTime

      
      When the server game start countdown gets to this time between games it will do DLC checks to make sure it has the DLC needed for both the levels being voted on
      

    gl_debug

      
      Turn on some debugging
      

    gl_debugBadServersList

      
      Set alternate servers to be bad
      

    gl_debugBadServersTestPerc

      
      Percentage chance of setting a bad server (if gl_debugBadServersList=1)
      

    gl_debugForceLobbyMigrations

      
      1=Force a lobby migration every gl_debugForceLobbyMigrationsTimer seconds
      

    gl_debugForceLobbyMigrationsTimer

      
      Time between forced lobby migrations, 2=Start the leave lobby timer after a host migration starts
      

    gl_debugLobbyBreaksGeneral

      
      Counter: General lobby breaks
      

    gl_debugLobbyBreaksHMHints

      
      Counter: Host Migration hinting error detected
      

    gl_debugLobbyBreaksHMShard

      
      Counter: Host Migration sharding detected in lobby
      

    gl_debugLobbyBreaksHMTasks

      
      Counter: Host Migration task error detected
      

    gl_debugLobbyHMAttempts

      
      Counter: host migration attempts
      

    gl_debugLobbyHMTerminations

      
      Counter: host migration terminations
      

    gl_debugLobbyRejoin

      
      1=Leave the lobby and rejoin after gl_debugLobbyRejoinTimer seconds
      

    gl_debugLobbyRejoinRandomTimer

      
      Random element to leave game timer
      

    gl_debugLobbyRejoinTimer

      
      Time till auto leaving the session
      

    gl_dummyUserlist

      
      Number of debug dummy users to display.
      

    gl_dummyUserlistNumTeams

      
      Sets the number of teams to split dummy players across, 0: Team 0,  1: Team 1,  2: Team 1&2,  3: Team 0,1&2.
      

    gl_dumpValidMaps

      *TODO*

    gl_enableOfflinePlaylistVoting

      
      Enabled voting on offline games, just to make testing easier. Requires gl_enablePlaylistVoting to also be set
      

    gl_enablePlaylistVoting

      
      Enabled voting on which level to play next within playlists that support it. Currently also needs gl_experimentalPlaylistRotationAdvance
      

    gl_experimentalPlaylistRotationAdvance

      
      Testing code that gets the first level from the playlist and advances it when the server enters the lobby. Here so can be easily disabled! Currently needed for gl_enablePlaylistVoting
      

    gl_findGameIdealPlayerCount

      
      Minimum number of players required for full score in the player submetric
      

    gl_findGameLanguageMultiplier

      
      Multiplier for language submetric
      

    gl_findGameLobbyMultiplier

      
      Multiplier for lobby state submetric
      

    gl_findGameNumJoinRetries

      
      Number of times to retry joining before creating our own game
      

    gl_findGamePingMultiplier

      
      Multiplier for ping submetric
      

    gl_findGamePingScale

      
      Amount to divide the ping by before clamping to 0->1
      

    gl_findGamePlayerMultiplier

      
      Multiplier for player submetric
      

    gl_findGameRandomMultiplier

      
      Multiplier for random submetric
      

    gl_findGameSkillMultiplier

      
      Multiplier for skill submetric
      

    gl_findGameStandardVariantMultiplier

      
      Multiplier for variant submetric if standard variant
      

    gl_findGameTimeoutBase

      
      How long to wait for results when finding a game
      

    gl_findGameTimeoutPerPlayer

      
      Extension to findGameTimeout for each player in session
      

    gl_findGameTimeoutRandomRange

      
      Randomization for the findGameTimeout
      

    gl_GameRules

      
      Set the game rules for the lobby
      

    gl_gameTimeRemainingRestrictLoad

      
      Don't start loading a level if there's only a limited amount of time remaining
      

    gl_getServerFromDedicatedServerArbitrator

      
      Should game lobby request server from dedicated server arbitrator
      

    gl_hostMigrationEnsureBestHostDelayTime

      
      Time after a player joins before we call ensurebesthost
      

    gl_hostMigrationEnsureBestHostGameStartMinimumTime

      
      Minimum amount of time before the game starts that we're allowed to check for a better host
      

    gl_hostMigrationEnsureBestHostOnReturnToLobbyDelayTime

      
      Time after the game countdown starts before we call ensurebesthost
      

    gl_hostMigrationEnsureBestHostOnStartCountdownDelayTime

      
      Time after the game countdown starts before we call ensurebesthost
      

    gl_hostMigrationUseAutoLobbyMigrateInPrivateGames

      
      1=Make calls to EnsureBestHost when in private games
      

    gl_ignoreBadServers

      
      Don't ignore bad servers (ones we have failed to connect to before)
      

    gl_initialTime

      
      How long you spend in the lobby on a newly created lobby
      

    gl_leaveGameTimeout

      
      Timeout for waiting for other players to leave the game before leaving ourselves
      

    gl_lobbyForceShowTeams

      
      Force the lobby to display teams all the time
      

    gl_Map

      
      Set map for the lobby
      

    gl_maxSessionNameTimeWithoutConnection

      
      Time a session name is allowed to persist before being removed
      

    gl_minPlaylistSizeToEnableVoting

      
      A playlist must contain at least this many levels for voting to be enabled, even when gl_enablePlaylistVoting is set. Note that setting it to 1 and having a playlist with 1 level in it will still work, but it'll present a vote with the same level as both voting candidates
      

    gl_precacheLogging

      
      Debug logging for the pre-caching of pak files in lobby
      

    gl_precachePaks

      
      Precache pak files in lobby
      

    gl_resetWrongVersionProfiles

      
      Reset player profiles rather than kicking players if the version doesn't match
      

    gl_say

      
      Send a chat message
      

    gl_searchSimulatorEnabled

      
      Enable/Disable the Session Search Simulator for testing Matchmaking
      

    gl_searchSimulatorFilepath

      
      Set the source XML file for the Session Search Simulator
      

    gl_serverIsAllocatedFromDedicatedServerArbitrator

      
      Indicates if this server should be allocated by the dedicated arbitrator
      

    gl_skillChangeUpdateDelayTime

      
      Amount of time after detecting a change in skill ranking, before we call SessionUpdate
      

    gl_skip

      
      Skips the game lobby
      

    gl_skipPreSearch

      
      Just create game before start searching
      

    gl_slotReservationTimeout

      
      How long it takes for slot reservations to time out
      

    gl_StartGame

      
      force start a game
      

    gl_startTimerMaxPlayerJoinResets

      
      Amount of times the start timer can be reset due to players joining before they are ignored
      

    gl_startTimerMinTimeAfterPlayerJoined

      
      Minimum time before a game can start after a player has joined
      

    gl_teamsay

      
      Send a chat message to team
      

    gl_time

      
      Time in lobby between games
      

    gl_timeBeforeStartOfGameForNoMatchMaking

      
      Amount of time at the end of the start countdown before we disable matchmaking (enabled after InGame is hit)
      

    gl_timeTillEndOfGameForNoMatchMaking

      
      Amount of game time remaining in which no matchmaking should occur
      

    gl_voip_debug

      
      Turn on game lobby voice debug
      

    gl_Vote

      
      Vote for next map in lobby (left or right)
      

    gl_voteDebug

      
      Turn on some map vote debugging
      

    gl_votingCloseTimeBeforeStart

      
      Playlist voting will close this many secs before game start countdown finishes
      

    gl_waitForBalancedGameTime

      
      Time to wait for enough players to make a balanced game before splitting squads and starting