Console commands: Difference between revisions

Add forcerename
(Add player limit arguments for addmap and insertmap)
(Add forcerename)
Tag: Source edit
 
(11 intermediate revisions by 2 users not shown)
Line 5: Line 5:
{| class="wikitable sortable" border="2" width="100%"
{| class="wikitable sortable" border="2" width="100%"
! colspan="3" scope="row" height="35px" | <b>Zandronum Console Commands</b>
! colspan="3" scope="row" height="35px" | <b>Zandronum Console Commands</b>
|-
! colspan="3" scope="row" height="35px" | <b>Updated to:</b> Zandronum 1.1.1 - <b>Revision:</b> 130718-2050
|-
|-
! width="20%"                    | Command <!-- Command name -->
! width="20%"                    | Command <!-- Command name -->
Line 28: Line 26:
|AddBot
|AddBot
AddBot "Strife Guy"
AddBot "Strife Guy"
AddBot "Strife Guy" "Red"
|Both
|Both
|Allows the possibility to add a bot into the game.  Bots can be added just by random (AddBot) or use a specific bot (AddBot "BotName").  Zandronums's bot compatibility is different compared to ZDoom's bot compatibility, for example, the bots movement compared the two are different along with the bots response. However, these bots are only usable for deathmatch related game modes with no support for Team based games and cooperative games.  
|Allows the possibility to add a bot into the game.  Bots can be added just by random (AddBot) or use a specific bot (AddBot "BotName").  Zandronums's bot compatibility is different compared to ZDoom's bot compatibility, for example, the bots movement compared the two are different along with the bots response. An optional team name can be specified for the bot to join.
|-
|-
|AddMap
|AddMap
Line 37: Line 37:
|Server
|Server
|When using 'SV_MapRotation', AddMap can be used to define what maps to include into the map list.
|When using 'SV_MapRotation', AddMap can be used to define what maps to include into the map list.
{{Devfeature|3.1|alpha}} AddMap also supports optional minimum and maximum player limits.
AddMap also supports optional minimum and maximum player limits.
|-
|-
|Ban
|Ban
Line 83: Line 83:
|Changes the map with an intermission screen.
|Changes the map with an intermission screen.
*Maps that are not specified to the servers map rotation list are not available.
*Maps that are not specified to the servers map rotation list are not available.
|-
|NextMap
|Changes to the next map. If the map rotation is enabled, this will go to the next map in rotation; otherwise it proceeds to the nextmap defined in the current map's MAPINFO.
|-
|NextSecret
|Changes to the secret map, if the current map has a nextsecret defined in its MAPINFO. Otherwise, this behaves like a normal nextmap vote.
|-
|-
|FragLimit
|FragLimit
Line 98: Line 104:
|PointLimit
|PointLimit
|Changes the PointLimit integer value.
|Changes the PointLimit integer value.
|-
|''Flag''
|Changes whether the given [[DMFlags|DMFlag]] is enabled. The vote type to use when changing a flag is the console variable of that flag.
|-
|-
|} <!-- Child table ends here! -->
|} <!-- Child table ends here! -->
Line 212: Line 221:
|Both
|Both
|Terminates the current Zandronum session.
|Terminates the current Zandronum session.
|-
|ForceRename
ForceName "offensive name"
|Server
|{{Devfeature|3.2|alpha}} Forcibly changes the name of the specified player to a generic name similar to "Player 1234".
|-
|ForceRename_IDX
ForceRename_IDX 5
|Server
|{{Devfeature|3.2|alpha}} Forcibly changes the name of the specified player to a generic name similar to "Player 1234".
|-
|-
|GameVersion
|GameVersion
Line 269: Line 288:
|Server
|Server
|Inserts a map to the map rotation list, after [Position]. Use CCMD maplist to list the rotation with index numbers.
|Inserts a map to the map rotation list, after [Position]. Use CCMD maplist to list the rotation with index numbers.
{{Devfeature|3.1|alpha}} InsertMap also supports optional minimum and maximum player limits.
InsertMap also supports optional minimum and maximum player limits.
|-
|-
|InvDrop
|InvDrop
Line 419: Line 438:
|Both
|Both
|Remove <b>all</b> bots from the game.
|Remove <b>all</b> bots from the game.
|-
|ResetMap
|Server
|{{Devfeature|3.2|alpha}} Resets the current map. This is akin to the [[ResetMap]] ACS function, or when the map is reset after all players died in Survival.
|-
|-
|Resurrect
|Resurrect
Line 434: Line 457:
|Players within the team can communicate with each other and not publicly to other non-team players or the opposite team.
|Players within the team can communicate with each other and not publicly to other non-team players or the opposite team.
|-
|-
|SayTo '''(<font color="darkblue">Zandronum 3.1</font> <font color="red">only</font>)'''
|SayTo
SayTo "Player 123" "Hello!"
SayTo "Player 123" "Hello!"
|Both
|Both
|Allows the player/server to communicate privately with each other privately which other players cannot see, using the name of the player who will receive the message. If you want to send a private message to the server, use "Server" as the name instead.
|Allows the player/server to communicate privately with each other privately which other players cannot see, using the name of the player who will receive the message. If you want to send a private message to the server, use "Server" as the name instead.
|-
|-
|SayTo_IDx '''(<font color="darkblue">Zandronum 3.1</font> <font color="red">only</font>)'''
|SayTo_IDx
SayTo_IDx 2 "Hello!"
SayTo_IDx 2 "Hello!"
|Both
|Both
Line 460: Line 483:
|Client
|Client
|When used, this allows the player to roam around the map by flying.  As a result, this allows the player to view the game without really playing it.
|When used, this allows the player to roam around the map by flying.  As a result, this allows the player to view the game without really playing it.
|-
|SpyCancel
|Client
|Restores the view back to the local player.
|-
|SpyCarrier
|Client
|While as a spectator or if allowed to spy on other players, the client can quickly spy on the player(s) who are carrying game mode items like flags, skulls, and terminator/possession artifacts. This is especially useful for streamers who may want to switch to whoever is carrying any of those items.
|-
|-
|SpyNext
|SpyNext
Line 468: Line 499:
|Client
|Client
|While as a spectator or if allowed to spy on other players in teambased games also including cooperative game modes, the client can spy or view what the other player sees in 'Point of View'.  SpyPrev works on how players are ordered in 'PlayerInfo' list, 'Prev' or Previous will work on an descending order.
|While as a spectator or if allowed to spy on other players in teambased games also including cooperative game modes, the client can spy or view what the other player sees in 'Point of View'.  SpyPrev works on how players are ordered in 'PlayerInfo' list, 'Prev' or Previous will work on an descending order.
|-
|SpyTo
SpyTo "Player 123"
|Client
|While as a spectator or if allowed to spy on other players in teambased games also including cooperative game modes, the client can quickly choose to spy or view what a specific player sees by entering their name.
|-
|SpyTo_IDx
SpyTo_IDx 1
|Client
|While as a spectator or if allowed to spy on other players in teambased games also including cooperative game modes, the client can quickly choose to spy or view what a specific player sees by entering their index number.
|-
|-
|Stat
|Stat
Line 560: Line 601:
|Client
|Client
|Switches to the previous weapon available.
|Switches to the previous weapon available.
|-
|WeapSwap
|Client
|Switches to the weapon that was used last.
|-
|-
|}
|}