Map (console command): Difference between revisions
Jump to navigation
Jump to search
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.
Note:gamemode is only present in Counter-Strike: Global Offensive.
Confirm:Confirm whether CSS has this.
Example:
Tip:
The optional
m (Changed parameters of {{this is a}} to comply with the updated version. This action was performed by a bot.) |
No edit summary |
||
Line 7: | Line 7: | ||
The .[[BSP|bsp]] extension must be omitted. The game can access both maps in mounted [[VPK]]s and in the <code>maps\</code> folder. Maps that are in a subdirectory of <code>maps\</code> need to have the folder name included in the console command. | The .[[BSP|bsp]] extension must be omitted. The game can access both maps in mounted [[VPK]]s and in the <code>maps\</code> folder. Maps that are in a subdirectory of <code>maps\</code> need to have the folder name included in the console command. | ||
{{Note|{{code|gamemode}} is only present in {{csgo|1}}. | |||
{{Confirm|Confirm whether CSS has this.}} | |||
}} | |||
{{ModernExample|<code>map de_dust2 deathmatch</code>}} | {{ModernExample|<code>map de_dust2 deathmatch</code>}} |
Revision as of 07:42, 9 January 2025
This article is about the console command. For the place in a game, see Map (level design). For the file format, see MAP file format.
map
is a console command available in all Source games. It loads the specified map and starts a game on it.

Usage
map <mapname> [gamemode]
The .bsp extension must be omitted. The game 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 de_dust2 deathmatch


gamemode
parameter can be deathmatch, casual, competitive, armsrace, coopstrike ...
, see CS:GO Game Modes.Similar Commands
ConCommand | Description |
---|---|
map_background
|
Analogous to map but loads a map as a background for the main menu. The player will not be able to move normally, but they can still use the console to move, attack, etc. This was introduced and used in ![]() ![]() ![]() |
map_commentary
|
Analogous to map but also enables commentary mode, introduced in ![]() ![]() |
maps <substring>
|
Lists all the maps the game has access to that contain a certain character sequence. Use * to list all maps.
|