Map (ConCommand)

From Valve Developer Community
Revision as of 21:09, 18 August 2018 by Pinsplash (talk | contribs) (added similar console commands)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

The map console command loads the specified map and starts a game on it. Warning: For multiplayer games, this command will kick everyone from your server before changing the map, or does a hard change, so to speak. If you want to soft change your map from console use the changelevel command.

Usage

map mapname (omit the .bsp extension)

Can access both maps in mounted VPKs and in the maps\ folder. Maps that are in a subdirectory of maps\ need to have the folder name included in the console command.

map_background

map_background is a command analogous to map that will load a map as a background. The player will not be able to move normally, but they can still use the console to move, attack, etc.

map_commentary

map_commentary is a command that is analogous to map but also enables commentary mode.

maps

maps lists all the maps the game has access to that begin with a certain prefix. Use * to list all maps.

See also