Difference between revisions of "Map List"
(Add curmap cvar) |
m (duh alphabetical fix) |
||
Line 14: | Line 14: | ||
Clears the map list. '''WARNING: No request for confirmation. Use at your own risk!''' | Clears the map list. '''WARNING: No request for confirmation. Use at your own risk!''' | ||
+ | ===curmap=== | ||
+ | Usage: '''nextmap''' | ||
+ | A read-only [[cvar]] for servers that checks the map number. Useful for [[if]] statements. | ||
===forcenextmap=== | ===forcenextmap=== | ||
Line 31: | Line 34: | ||
Progresses to the next map in the current map list. Similar to [[forcenextmap]], only progresses naturally (with intermission). | Progresses to the next map in the current map list. Similar to [[forcenextmap]], only progresses naturally (with intermission). | ||
− | |||
− | |||
− | |||
− |
Revision as of 16:02, 6 August 2008
One of the key features in Odamex is a dynamic maplisting functionality to create dynamic servers. Each entry in the map list currently contains a map name (such as E1M1 and MAP01) and a PWAD file. Currently, the map list supports only one pwad at a time. More special functionality for inputting and saving/loading the map list is under development.
addmap
Usage: addmap (map name) [...]
Adds a map to the map list, any following arguments are passed to the wad console command.
Note: You do not need to keep specifying the wad after its loaded for each subsequent addmap command, doing this will cause the server to reconnect any clients when the map changes, thus any clients which reconnect will have their "state" (weapons, ammo, points) reset.
clearmaplist
Usage: clearmaplist
Clears the map list. WARNING: No request for confirmation. Use at your own risk!
curmap
Usage: nextmap A read-only cvar for servers that checks the map number. Useful for if statements.
forcenextmap
Usage: forcenextmap
Progresses to the next map in the current map list. Similar to nextmap, only progresses quickly (without intermission).
maplist
Usage: maplist
Displays the entire map list in the console.
nextmap
Usage: nextmap
Progresses to the next map in the current map list. Similar to forcenextmap, only progresses naturally (with intermission).