Commands
Q4Max-specific Console Commands
The following commands have been added/changed in Q4Max.
Client commands:
- weapon - Switches to the given weapon - an alias of _impulseX.
- referee - Used to make yourself a referee, granting limited admin rights.
- players - Lists all players, and a unique player id to use with other commands.
- maplist - Lists all the maps available on the server.
- callvote - Provides a way to vote for many votable options.
Referee commands:
- abort - Abandons the current game and returns to warmup.
- allready - Readies up all players and begins the game.
- lockteams - Locks teams to prevent players joining mid-game.
- unlockteams - Unlocks teams to allow players to join.
- marine - Puts a given player on the marine team.
- strogg - Puts a given player on the strogg team.
- remove - Removes a given player from a team.
- pause - Pauses a game.
weapon
- Summary
- Switches to the given weapon - an alias of _impulseX.
- Parameters
- 0-9
- Description
- This command acts just the same as _impluse0 - _impulse9, switching to the selected weapon. Unlike _impluseX it works within a bind along with others. For example: bind l "weapon 1; sensitivity 5"
referee
- Summary
- Used to make yourself a referee, granting limited admin rights.
- Parameters
- Password (string)
- Description
- This command can be used to become a referee, and is intended to allow "trusted" clients to become a limited admin on the server to run a match. The password supplied must be the same as the ref_password cvar as set on the server. You must do this before you can execute any of the referee commands.
players
- Summary
- Lists all players, and a unique player id to use with other commands.
- Parameters
- None.
- Description
- This provides a list of the players, and a unique id for each player. This id is used as a parameter to other commands. Additionally it shows whether the player is a spectator, whether they are marked as ready, and in a team game shows their team.
maplist
- Summary
- Lists all the maps available on the server.
- Parameters
- None.
- Description
- This provides a list of all the maps that are on the server which support the current game-mode. This allows the player to know the maps they can vote for using thie callvote map command.
callvote
- Summary
- Calls a vote on a given option.
- Parameters
- <votename> [setting]
- Description
- This allows a player to vote for a specific setting to be changed. The <votename> parameter indicates what is votable, and the [setting] parameter indicates the value requested. There are many votable settings - these can be listed, complete with a description using "callvote ?". Using this command with no [setting] parameter will display the current state of this setting. Note that server operators can disable specific votes if they do not wish any given setting to be votable. Common votes include "callvote mode CA" or "callvote map mp/swq4dm1".
abort
- Summary
- Abandons the current game and returns to warmup.
- Parameters
- None.
- Description
- This command is intended to be used when a match needs to be abandoned. It sets all players to "not ready", and resets the game back to the warmup.
allready
- Summary
- Readies up all players and begins the game.
- Parameters
- None.
- Description
- This forces all players to be "ready", even if they have not readied up themselves, thus allowing the game to begin.
lockteams
- Summary
- Locks teams to prevent players joining mid-game.
- Parameters
- None.
- Description
- This locks all teams, ensuring that no new players may join the teams. To unlock the teams, use the unlockteams command. Generally this would be used in a tournament match to ensure that any joining players must remain as spectators. This command is only valid in a team game.
unlockteams
- Summary
- Unlocks teams to allow players to join.
- Parameters
- None.
- Description
- This is the reverse of lockteams, and unlocks the teams allowing players to join the team. This command is only valid in a team game.
marine
- Summary
- Puts a given player on the marine team.
- Parameters
- <player id>
- Description
- This forces the given player to join the marine team. The referee may do this even if the teams are locked, thus allowing known players to join a locked team. This command is only valid in a team game.
strogg
- Summary
- Puts a given player on the strogg team.
- Parameters
- <player id>
- Description
- This forces the given player to join the marine team. The referee may do this even if the teams are locked, thus allowing known players to join a locked team. This command is only valid in a team game.
remove
- Summary
- Removes a given player from a team.
- Parameters
- <player id>
- Description
- This removes the given player from whichever team they are currently on, and makes them a spectator. This command is only valid in a team game.
pause
- Summary
- Pauses a game.
- Parameters
- None
- Description
- This command pauses the current game, halting all player movement, events, and times. This is intended for use in cases such as a player suffering extreme lag / disconnecting during a match etc. Note that this command cannot be used in the Tourney mode. We recommend tournaments are played in the Duel mode.