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.
(WARNING) |
(added similar console commands) |
||
Line 1: | Line 1: | ||
The '''map''' [[ConCommand|console command]] loads the specified map and starts a game on it. | The '''map''' [[ConCommand|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 {{ent|changelevel}} command.}} | ||
== Usage == | ==Usage== | ||
<code>map mapname</code> (omit the .bsp extension) | |||
Can access both maps in mounted [[ | 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. | ||
== See also == | ==map_background== | ||
* [[Console Command List]] | <code>map_background</code> is a command analogous to <code>map</code> 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== | |||
<code>map_commentary</code> is a command that is analogous to <code>map</code> but also enables [[commentary mode]]. | |||
==maps== | |||
<code>maps</code> lists all the maps the game has access to that begin with a certain prefix. Use <code>*</code> to list all maps. | |||
==See also== | |||
*[[Console Command List]] | |||
[[Category: Console Commands]] | [[Category: Console Commands]] |
Revision as of 14:09, 18 August 2018
The map console command loads the specified map and starts a game on it.

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.