User Tools

Site Tools


playground:ccmds_duck_example

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
playground:ccmds_duck_example [2019-06-15 18:00:02 (5 months ago)]
flambeau More filling, STUFF THE DUCK!!
playground:ccmds_duck_example [2019-11-17 13:11:54 (2 hours ago)] (current)
flambeau Even more filling. done with C
Line 29: Line 29:
 | [[#​centerview|centerview]] ​                   | C              |                | | [[#​centerview|centerview]] ​                   | C              |                |
 | [[#​changemap|changemap]] ​                     | C              |                | | [[#​changemap|changemap]] ​                     | C              |                |
-| [[#​chase|chase]] ​                             | C              |                +| [[#​chase|chase]] ​                             | C              | 0.96           
-| [[#​chat_block|chat_block]] ​                   | C              |                |+| [[#​chat_block|chat_block]] ​                   | C              | 1.05b05 ​       ​|
 | [[#​chat_quickblock|chat_quickblock]] ​         | C              |                | | [[#​chat_quickblock|chat_quickblock]] ​         | C              |                |
 | [[#​chat_reset|chat_reset]] ​                   | C              |                | | [[#​chat_reset|chat_reset]] ​                   | C              |                |
Line 96: Line 96:
 | [[#​list_cvaroverride|list_cvaroverride]] ​     | S              |                | | [[#​list_cvaroverride|list_cvaroverride]] ​     | S              |                |
 | [[#​listbots|listbots]] ​                       | CS             ​| ​               | | [[#​listbots|listbots]] ​                       | CS             ​| ​               |
 +| [[#​listmaps|listmaps]] ​                       | CS             | 1.10.09 ​       |
 | [[#​logfile|logfile]] ​                         | CS             ​| ​               | | [[#​logfile|logfile]] ​                         | CS             ​| ​               |
 | [[#​map|map]] ​                                 | CS             ​| ​               | | [[#​map|map]] ​                                 | CS             ​| ​               |
Line 431: Line 432:
 ^ Introduced in: | 1.??.?? | ^ Introduced in: | 1.??.?? |
  
-Resets free look to the horizontal.+Resets free look to horizontal.
  
 ==== changemap ==== ==== changemap ====
  
-^ Synopsis: | ''''​ | +^ Synopsis: | ''​changemap <​mapname>​''​ | 
-^ Scope: |  |+^ Scope: | client only |
 ^ Introduced in: | 1.??.?? | ^ Introduced in: | 1.??.?? |
  
 +Shows the intermission screen and then warps the player to the specified map, (e.g. "​changemap e2m3" or "​changemap map27"​) retaining the player'​s inventory and health value in the process. Passing * instead of a map name warps the player to the current map. **Works in SP only!**
  
  
 ==== changemus ==== ==== changemus ====
  
-^ Synopsis: | ''''​ | +^ Synopsis: | ''​changemus <​musicname>​''​ | 
-^ Scope: |  |+^ Scope: | client only |
 ^ Introduced in: | 1.??.?? | ^ Introduced in: | 1.??.?? |
  
 +Changes the currently playing music. Music should be the name of a music lump inside the wad. If no parameters are given, the command will instead log the name of the currently played lump or file to the console.
  
 ==== chase ==== ==== chase ====
  
-^ Synopsis: | ''''​ | +^ Synopsis: | ''​chase''​ | 
-^ Scope: |  +^ Scope: | client only 
-^ Introduced in: | 1.??.?? |+^ Introduced in: | 0.96 |
  
 +Toggles the chasecam on and off.\\ Chase mode is disabled in competitive modes. In Coop modes it is enabled by default, but can be disabled with cvar ''​ sv_nochasemode''​.\\ The distance and height of the view can be set with client cvars ''​chase_dist''​ (0…1000 range) and ''​chase_height''​ (-100…100 range).
  
  
 ==== chat_block ==== ==== chat_block ====
  
-^ Synopsis: | ''''​ | +^ Synopsis: | ''​chat_block all\\ chat_block spec\\ chat_block bots\\ chat_block $player_name\\ chat_block #player_id''​ | 
-^ Scope: |  +^ Scope: | client only 
-^ Introduced in: | 1.??.?? | +^ Introduced in: | 1.05b05 |
  
 +The parameter can be either the special string ''​**all**''​ meaning all players, either the special string ''​**spec**''​ (or ''​**spectators**''​) meaning players in spectator mode, or the string ''​**#​NNN**''​ where NNN is a player number (available from the ''​players''​ command), or the string ''​**$XYZ**''​ where XYZ is a player'​s name, or the string ''​**@NNN**''​ where NNN is again a player number; in the last case, the network address of the specified player is blocked.\\
 +Use ''​**chat_block bots**''​ for all bot chatter.\\
 +All blocks are valid only for the current zdaemon session. They are reset as soon as you exit the client.\\
 +IMPORTANT: the blocks are additive: if you issue the command: ''​**chat_block #​1**''​\\
 +(ie., you want to block player 1) and then issue the command: ''​**chat_unblock all**''​ then player 1 is still blocked, since he has a specific block which overrides any other block commands. If you really want to lift all blocks, use the ''​**chat_reset**''​ command.\\
 +If you block a player by ID, then the block is lifted as soon as the player disconnects;​ otherwise, you would also be blocking subsequent players who happen to be assigned the same server slot.
  
 ==== chat_quickblock ==== ==== chat_quickblock ====
  
-^ Synopsis: | ''''​ | +^ Synopsis: | ''​chat_quickblock''​ | 
-^ Scope: |  +^ Scope: | client only 
-^ Introduced in: | 1.??.?? | +^ Introduced in: | 1.09.01 |
  
 +When called it shows a numbered list of all players that used chat in the last 60 seconds. If one of the shown numbers is pressed the player is added to your block list or removed from your allow list. Any other key closes the menu. You can bind a key to it in the customize controls menu or execute ''​**chat_quickblock**''​ in the console.
  
 ==== chat_reset ==== ==== chat_reset ====
  
-^ Synopsis: | ''''​ | +^ Synopsis: | ''​chat_reset''​ | 
-^ Scope: |  +^ Scope: | client only 
-^ Introduced in: | 1.??.?? | +^ Introduced in: | 1.05b05 |
  
 +Lifts all chat blocks.
  
 ==== chat_toggle ==== ==== chat_toggle ====
  
-^ Synopsis: | ''''​ | +^ Synopsis: | ''​chat_toggle all\\ chat_toggle spec\\ chat_toggle bots\\ chat_toggle $player_name\\ chat_toggle #player_id''​ | 
-^ Scope: |  +^ Scope: | client only 
-^ Introduced in: | 1.??.?? | +^ Introduced in: | 1.05b05 |
  
 +Toggles the blocking / unblocking of one or multiple users.\\
 +The parameter can be either the special string ''​**all**''​ meaning all players, either the special string ''​**spec**''​ (or ''​**spectators**''​) meaning players in spectator mode, ''​**bots**''​ meaning all the bots, or the string ''​**#​NNN**''​ where NNN is a player number (available from the ''​players''​ command), or the string ''​**$XYZ**''​ where XYZ is a player'​s name, or the string ''​**@NNN**''​ where NNN is again a player number; in the last case, the network address of the specified player is blocked.
  
 ==== chat_unblock ==== ==== chat_unblock ====
  
-^ Synopsis: | ''''​ | +^ Synopsis: | ''​chat_unblock all\\ chat_unblock spec\\ chat_unblock bots\\ chat_unblock $player_name\\ chat_unblock #player_id''​ | 
-^ Scope: |  +^ Scope: | client only 
-^ Introduced in: | 1.??.?? |+^ Introduced in: | 1.05b05 |
  
 +The parameter can be either the special string ''​**all**''​ meaning all players, either the special string ''​**spec**''​ (or ''​**spectators**''​) meaning players in spectator mode, or the string ''​**#​NNN**''​ where NNN is a player number (available from the ''​players''​ command), or the string ''​**$XYZ**''​ where XYZ is a player'​s name, or the string ''​**@NNN**''​ where NNN is again a player number; in the last case, the network address of the specified player is blocked.\\
 +Use ''​**chat_unblock bots**''​ for all bot chatter.\\
 +All blocks are valid only for the current zdaemon session. They are reset as soon as you exit the client.\\
 +IMPORTANT: the blocks are additive: if you issue the command: ''​**chat_block #​1**''​\\
 +(ie., you want to block player 1) and then issue the command: ''​**chat_unblock all**''​ then player 1 is still blocked, since he has a specific block which overrides any other block commands. If you really want to lift all blocks, use the ''​**chat_reset**''​ command.\\
 +If you block a player by ID, then the block is lifted as soon as the player disconnects;​ otherwise, you would also be blocking subsequent players who happen to be assigned the same server slot.
  
  
 ==== chatlog ==== ==== chatlog ====
  
-^ Synopsis: | ''''​ | +^ Synopsis: | ''​chatlog''​ | 
-^ Scope: |  +^ Scope: | client only 
-^ Introduced in: | 1.??.?? | +^ Introduced in: | 1.05.05 |
  
 +Activates/ deactivates the logging of all chat, team chat and admin chat messages to the “zdchat.log” file. There is also a corresponding “-chatlog xxx” cmd. line parameter that lets you specify the log filename (the filename parameter is mandatory).
  
 ==== clear ==== ==== clear ====
  
-^ Synopsis: | ''''​ | +^ Synopsis: | ''​clear''​ | 
-^ Scope: |  |+^ Scope: | client only |
 ^ Introduced in: | 1.??.?? | ^ Introduced in: | 1.??.?? |
  
 +Clears the console of all text.
  
 ==== clearmaplist ==== ==== clearmaplist ====
  
-^ Synopsis: | ''''​ | +^ Synopsis: | ''​clearmaplist''​ | 
-^ Scope: |  |+^ Scope: | server only |
 ^ Introduced in: | 1.??.?? | ^ Introduced in: | 1.??.?? |
  
 +Clears the server maplist.
  
 ==== cmdlist ==== ==== cmdlist ====
  
-^ Synopsis: | ''''​ | +^ Synopsis: | ''​cmdlist''​ | 
-^ Scope: |  |+^ Scope: | client and server ​|
 ^ Introduced in: | 1.??.?? | ^ Introduced in: | 1.??.?? |
  
 +Lists all console commands.
  
 ==== commentators_add ==== ==== commentators_add ====
  
-^ Synopsis: | ''''​ | +^ Synopsis: | ''​commentators_add nick [nick ...]''​ | 
-^ Scope: |  +^ Scope: | server only 
-^ Introduced in: | 1.??.?? | +^ Introduced in: | 1.10b01 |
  
 +Adds a user to the voice-chat commentator list. Multiple nicks are seperated by a space.
  
 ==== commentators_clear ==== ==== commentators_clear ====
  
-^ Synopsis: | ''''​ | +^ Synopsis: | ''​commentators_clear''​ | 
-^ Scope: |  +^ Scope: | server only 
-^ Introduced in: | 1.??.?? | +^ Introduced in: | 1.10b01 |
  
 +Clears the list of voice-chat commentators.
  
 ==== commentators_remove ==== ==== commentators_remove ====
  
-^ Synopsis: | ''''​ | +^ Synopsis: | ''​commentators_remove nick [nick ...]''​ | 
-^ Scope: |  +^ Scope: | server only 
-^ Introduced in: | 1.??.?? | +^ Introduced in: | 1.10b01 |
  
 +Removes the specified nick from the list of voice-chat commentators. Multiple nicks are seperated by a space.
  
 ==== con ==== ==== con ====
  
-^ Synopsis: | ''''​ | +^ Synopsis: | ''​con''​ | 
-^ Scope: |  |+^ Scope: | client only |
 ^ Introduced in: | 1.??.?? | ^ Introduced in: | 1.??.?? |
  
 +Returns your console index number.
  
 ==== connect ==== ==== connect ====
  
-^ Synopsis: | ''''​ | +^ Synopsis: | ''​connect <​server_address>​''​ | 
-^ Scope: |  +^ Scope: | client only 
-^ Introduced in: | 1.??.?? | +^ Introduced in: | 1.09b21 |
  
 +When called this will disconnect you from the current server and will connect you to the specified server.\\
 +This doesnt work if the other server has different wads loaded. (you wont be able to connect)
  
 ==== connectionlog ==== ==== connectionlog ====
  
-^ Synopsis: | ''''​ | +^ Synopsis: | ''​connectionlog''​ | 
-^ Scope: |  +^ Scope: | server only 
-^ Introduced in: | 1.??.?? | +^ Introduced in: | 1.05.02 |
  
 +Toggles the logging of connections in conn-<​date>​.log via the console.\\
 +Normally this is setup with the “-clog” cmd. line argument which takes a filename as its parameter; this filename specifies the name of the connection log file. Under Unix, you can use the special name “syslog” instead of a filename: this instructs zserv to log connections to the system log.
  
 ==== countdecals ==== ==== countdecals ====
  
-^ Synopsis: | ''''​ | +^ Synopsis: | ''​countdecals''​ | 
-^ Scope: |  |+^ Scope: | client only |
 ^ Introduced in: | 1.??.?? | ^ Introduced in: | 1.??.?? |
  
 +Returns the internal count of automatically generated decals.
  
 ==== ctflog ==== ==== ctflog ====
  
-^ Synopsis: | ''''​ | +^ Synopsis: | ''​ctflog''​ | 
-^ Scope: |  +^ Scope: | server only 
-^ Introduced in: | 1.??.?? | +^ Introduced in: | 1.08.08 |
  
 +Enables / disables logging of CTF games with the “ctflog” command (or -ctflog cmd. line option) and it displays the points given to each player in detail.
  
 ==== cvarlist ==== ==== cvarlist ====
  
-^ Synopsis: | ''''​ | +^ Synopsis: | ''​cvarlist''​ | 
-^ Scope: |  |+^ Scope: | client and server ​|
 ^ Introduced in: | 1.??.?? | ^ Introduced in: | 1.??.?? |
  
 +Lists the values of all currently defined console variables. Each CVAR can also be prefaced by multiple flags.\\ These are:\\ 
 +  * A: Archive — gets saved in the config file. 
 +  * U: User — contains user info. 
 +  * S: Server — contains server info. 
 +  * -: Not settable — can only be changed from the command line. 
 +  * L: Latched — changes do not take effect until the next game. 
 +  * C: Callback — allocated and has an internal callback. 
 +  * *: Custom — was created by the user and is meaningless to the game.
  
 ==== cvarlistplain ==== ==== cvarlistplain ====
  
-^ Synopsis: | ''''​ | +^ Synopsis: | ''​cvarlistplain''​ | 
-^ Scope: |  |+^ Scope: | client and server ​|
 ^ Introduced in: | 1.??.?? | ^ Introduced in: | 1.??.?? |
  
 +This command works similarly to cvarlist, except it does not include flag information or list user-created CVARs. Its primary purpose is to provide a simple list of cvars that can be exported and checked against this file to ensure it is complete.
  
 ==== cycle_netstats ==== ==== cycle_netstats ====
  
-^ Synopsis: | ''''​ | +^ Synopsis: | ''​cycle_netstats''​ | 
-^ Scope: |  +^ Scope: | client only 
-^ Introduced in: | 1.??.?? | +^ Introduced in: | 1.08.00 |
  
 +It's meant to be bound to some key to make it easy to monitor net usage while playing.
  
 ==== debuglog ==== ==== debuglog ====
Line 984: Line 1008:
 ^ Introduced in: | 1.??.?? | ^ Introduced in: | 1.??.?? |
  
 +
 +
 +==== listmaps ====
 +
 +^ Synopsis: | ''​listmaps''​ |
 +^ Scope: | client and server |
 +^ Introduced in: | 1.10.09 |
 +
 +This command shows all available maps of the loaded wad(s).
  
  
playground/ccmds_duck_example.1560621602.txt.gz · Last modified: 2019-06-15 18:00:02 (5 months ago) by flambeau