NEVER EDIT XML WITH MICROSOFT WORDPAD, OR YOU'LL GO MAD WITH DISPAIR! !@&%!&%*!%!
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@2559 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
+416
-378
@@ -1,5 +1,12 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- default transformation -->
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
|
||||
<!--
|
||||
This is the default transformation to show the reference as an XML
|
||||
document. To turn this text into script that can be read by the
|
||||
AssaultCube engine, simply uncomment the below line, comment the
|
||||
line below that one, save and then refresh.
|
||||
-->
|
||||
|
||||
<!--<?xml-stylesheet type="text/xsl" href="transformations/cuberef2cubescript.xslt"?>-->
|
||||
<?xml-stylesheet type="text/xsl" href="transformations/cuberef2xhtml.xslt"?>
|
||||
|
||||
@@ -7,10 +14,17 @@
|
||||
See reference.xsd and types.xsd before editing this file.
|
||||
-->
|
||||
|
||||
|
||||
<!--
|
||||
Sections are: CubeScript, General,
|
||||
-->
|
||||
|
||||
|
||||
<cuberef name="AssaultCube Reference" version="v1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://cubers.net/Schemas/CubeRef schemas/cuberef.xsd" xmlns="http://cubers.net/Schemas/CubeRef">
|
||||
<description>
|
||||
This reference describes the commands and variables available in AssaultCube.
|
||||
</description>
|
||||
|
||||
<sections sort="true">
|
||||
<section name="CubeScript" sortindex="0">
|
||||
<description>This section describes identifiers that are closely related to the CubeScript language.</description>
|
||||
@@ -266,44 +280,12 @@
|
||||
</variable>
|
||||
</identifiers>
|
||||
</section>
|
||||
|
||||
<section name="General" sortindex="1">
|
||||
<description>
|
||||
This section describes general identifiers.
|
||||
</description>
|
||||
<identifiers sort="true">
|
||||
<command name="callvote">
|
||||
<description>Calls a vote on the server.</description>
|
||||
<remarks>
|
||||
<remark>This command is wrapped by aliases for better usability. See config/admin.cfg for actual uses.</remark>
|
||||
</remarks>
|
||||
<arguments>
|
||||
<argument token="T" description="vote type" valueNotes="value" />
|
||||
<argument token="A" description="first argument" valueNotes=""/>
|
||||
<argument token="B" description="second argument" valueNotes=""/>
|
||||
</arguments>
|
||||
</command>
|
||||
<command name="setadmin">
|
||||
<description>Claims or drops admin status.</description>
|
||||
<remarks>
|
||||
<remark>
|
||||
Successfully claiming admin status makes all other player votes invalid.
|
||||
Failed logins result in an auto kick.
|
||||
The admin is granted the right to kick, ban, remove bans, set autoteam and change the mastermode.
|
||||
In the scoreboard, the admin is marked red.
|
||||
</remark>
|
||||
</remarks>
|
||||
<references>
|
||||
<identifierReference identifier="kick"/>
|
||||
<identifierReference identifier="autoteam"/>
|
||||
<identifierReference identifier="mastermode"/>
|
||||
<identifierReference identifier="ban"/>
|
||||
<identifierReference identifier="removebans"/>
|
||||
</references>
|
||||
<arguments>
|
||||
<argument token="B" description="status" valueNotes="1 (claim), 0 (drop)"/>
|
||||
<argument token="P" description="password" valueNotes="max. 15 characters"/>
|
||||
</arguments>
|
||||
</command>
|
||||
<command name="toggleconsole">
|
||||
<description>
|
||||
Toggles the console.
|
||||
@@ -312,109 +294,6 @@
|
||||
<argument token="B" description="toggle" valueNotes="" />
|
||||
</arguments>
|
||||
</command>
|
||||
<command name="kick">
|
||||
<description>Kicks a specified player from the server.</description>
|
||||
<references>
|
||||
<identifierReference identifier="setadmin"/>
|
||||
</references>
|
||||
<arguments>
|
||||
<argument token="N" description="the player to kick" valueNotes="client number"/>
|
||||
</arguments>
|
||||
</command>
|
||||
<command name="ban">
|
||||
<description>Bans a specified player from the server.</description>
|
||||
<remarks>
|
||||
<remark>
|
||||
The ban duration is fixed to 20 minutes.
|
||||
</remark>
|
||||
</remarks>
|
||||
<references>
|
||||
<identifierReference identifier="removebans"/>
|
||||
<identifierReference identifier="setadmin"/>
|
||||
</references>
|
||||
<arguments>
|
||||
<argument token="N" description="the player to ban" valueNotes="client number"/>
|
||||
</arguments>
|
||||
</command>
|
||||
<command name="removebans">
|
||||
<description>Removes all bans on the server.</description>
|
||||
<references>
|
||||
<identifierReference identifier="ban"/>
|
||||
<identifierReference identifier="setadmin"/>
|
||||
</references>
|
||||
</command>
|
||||
<command name="autoteam">
|
||||
<description>Sets the automated team assignment.</description>
|
||||
<references>
|
||||
<identifierReference identifier="setadmin"/>
|
||||
</references>
|
||||
<arguments>
|
||||
<argument token="B" description="enables or disables auto team" valueNotes="1 (on), 0 (off)"/>
|
||||
</arguments>
|
||||
</command>
|
||||
<command name="mastermode">
|
||||
<description>Sets the mastermode for the server.</description>
|
||||
<remarks>
|
||||
<remark>
|
||||
If the mastermode is set to 'private', no more clients can join the server.
|
||||
Default is 'open' that allows anyone to join the server.
|
||||
</remark>
|
||||
</remarks>
|
||||
<references>
|
||||
<identifierReference identifier="setadmin"/>
|
||||
</references>
|
||||
<arguments>
|
||||
<argument token="N" description="the master mode" valueNotes="0 (open), 1 (private)"/>
|
||||
</arguments>
|
||||
</command>
|
||||
<command name="forceteam">
|
||||
<description>Forces a specified player to join the enemy team.</description>
|
||||
<references>
|
||||
<identifierReference identifier="setadmin"/>
|
||||
</references>
|
||||
<arguments>
|
||||
<argument token="N" description="the player to assign to a team" valueNotes="client number"/>
|
||||
</arguments>
|
||||
</command>
|
||||
<command name="giveadmin">
|
||||
<description>Gives the admin state to the specified player.</description>
|
||||
<remarks>
|
||||
<remark>
|
||||
Requires admin state. The admin will lose his admin state after successfully issuing this command.
|
||||
</remark>
|
||||
</remarks>
|
||||
<references>
|
||||
<identifierReference identifier="setadmin"/>
|
||||
</references>
|
||||
<arguments>
|
||||
<argument token="N" description="the player to become admin" valueNotes="client number"/>
|
||||
</arguments>
|
||||
</command>
|
||||
<command name="map">
|
||||
<description>Loads up a map in the gamemode set previously by the 'mode' command.</description>
|
||||
<remarks>
|
||||
<remark>
|
||||
If connected to a multiplayer server, votes to load this map (others will have to type "map M" as well to agree with loading this map). To vote for a map with a specific mode, set the mode before you issue the map command (see multiplayer menu).
|
||||
</remark>
|
||||
<remark>
|
||||
A map given as "blah" refers to "packages/base/blah.cgz", "mypackage/blah" refers to "packages/mypackage/blah.cgz".
|
||||
At every map load, "config/default_map_settings.cfg" is loaded which sets up all texture definitions, etc. Everything
|
||||
defined in there can be overridden per package or per map by creating a "package.cfg" or "mapname.cfg" which
|
||||
contains whatever you want to do differently from the default.
|
||||
</remark>
|
||||
<remark>
|
||||
When the map finishes it will load the next map when one is defined, otherwise reloads the current map.
|
||||
You can define what map follows a particular map by making an alias like (in the map script): alias nextmap_blah1 blah2
|
||||
(loads "blah2" after "blah1").
|
||||
</remark>
|
||||
<remark>
|
||||
TODO: multiplayer voting
|
||||
</remark>
|
||||
</remarks>
|
||||
<arguments>
|
||||
<argument token="M" description="name of the map to load" valueNotes="string"/>
|
||||
</arguments>
|
||||
</command>
|
||||
<command name="jump">
|
||||
<description>Triggers a jump.</description>
|
||||
<remarks>
|
||||
@@ -581,7 +460,8 @@
|
||||
</remark>
|
||||
</remarks>
|
||||
<arguments>
|
||||
<argument token="N" description="the number of milliseconds" valueNotes="integer, 0 (off), default is 5"/>
|
||||
<argument token="N" description="the number of milliseconds" valueNotes="integer, 0
|
||||
(off), default is 5"/>
|
||||
</arguments>
|
||||
</command>
|
||||
<command name="screenshot">
|
||||
@@ -661,9 +541,6 @@
|
||||
<argument token="S" description="the name of the map"/>
|
||||
</arguments>
|
||||
</command>
|
||||
|
||||
|
||||
|
||||
<variable name="highprocesspriority">
|
||||
<description>Specifies if the AC client process should run under high priority.</description>
|
||||
<remarks>
|
||||
@@ -842,203 +719,13 @@
|
||||
</variable>
|
||||
</identifiers>
|
||||
</section>
|
||||
|
||||
<section name="Gameplay" sortindex="3">
|
||||
<description>
|
||||
This section describes gameplay related identifiers.
|
||||
</description>
|
||||
<identifiers>
|
||||
|
||||
<command name="ctf">
|
||||
<description>Starts a map with the mode "Capture the Flag"</description>
|
||||
<examples>
|
||||
<example>
|
||||
<code>
|
||||
ctf ac_mines
|
||||
</code>
|
||||
</example>
|
||||
</examples>
|
||||
<arguments>
|
||||
<variableArgument token="M" description="The name of the map you wish to play"/>
|
||||
</arguments>
|
||||
</command>
|
||||
|
||||
<command name="ktf">
|
||||
<description>Starts a map with the mode "Keep the Flag"</description>
|
||||
<examples>
|
||||
<example>
|
||||
<code>
|
||||
ktf ac_mines
|
||||
</code>
|
||||
</example>
|
||||
</examples>
|
||||
<arguments>
|
||||
<variableArgument token="M" description="The name of the map you wish to play"/>
|
||||
</arguments>
|
||||
</command>
|
||||
|
||||
<command name="tktf">
|
||||
<description>Starts a map with the mode "Team keep the Flag"</description>
|
||||
<examples>
|
||||
<example>
|
||||
<code>
|
||||
tktf ac_mines
|
||||
</code>
|
||||
</example>
|
||||
</examples>
|
||||
<arguments>
|
||||
<variableArgument token="M" description="The name of the map you wish to play"/>
|
||||
</arguments>
|
||||
</command>
|
||||
|
||||
|
||||
<command name="htf">
|
||||
<description>Starts a map with the mode "Hunt the Flag"</description>
|
||||
<examples>
|
||||
<example>
|
||||
<code>
|
||||
htf ac_mines
|
||||
</code>
|
||||
</example>
|
||||
</examples>
|
||||
<arguments>
|
||||
<variableArgument token="M" description="The name of the map you wish to play"/>
|
||||
</arguments>
|
||||
</command>
|
||||
|
||||
|
||||
<command name="tdm">
|
||||
<description>Starts a map with the mode "Team Deathmatch"</description>
|
||||
<examples>
|
||||
<example>
|
||||
<code>
|
||||
tdm ac_complex
|
||||
</code>
|
||||
</example>
|
||||
</examples>
|
||||
<arguments>
|
||||
<variableArgument token="M" description="The name of the map you wish to play"/>
|
||||
</arguments>
|
||||
</command>
|
||||
|
||||
|
||||
<command name="dm">
|
||||
<description>Starts a map with the mode "Deathmatch"</description>
|
||||
<examples>
|
||||
<example>
|
||||
<code>
|
||||
dm ac_complex
|
||||
</code>
|
||||
</example>
|
||||
</examples>
|
||||
<arguments>
|
||||
<variableArgument token="M" description="The name of the map you wish to play"/>
|
||||
</arguments>
|
||||
</command>
|
||||
|
||||
<command name="coop">
|
||||
<description>Starts a map with the mode "Co-op edit"</description>
|
||||
<remarks>
|
||||
<remark>
|
||||
See the co-op edit section in page 4 of the map editing guide for more information.
|
||||
</remark>
|
||||
</remarks>
|
||||
<examples>
|
||||
<example>
|
||||
<code>
|
||||
coop ac_newmap
|
||||
</code>
|
||||
</example>
|
||||
</examples>
|
||||
<arguments>
|
||||
<variableArgument token="M" description="The name of the map you wish to edit"/>
|
||||
</arguments>
|
||||
</command>
|
||||
|
||||
<command name="lms">
|
||||
<description>Starts a map with the mode "Last man standing"</description>
|
||||
<examples>
|
||||
<example>
|
||||
<code>
|
||||
lms ac_complex
|
||||
</code>
|
||||
</example>
|
||||
</examples>
|
||||
<arguments>
|
||||
<variableArgument token="M" description="The name of the map you wish to play"/>
|
||||
</arguments>
|
||||
</command>
|
||||
|
||||
<command name="ts">
|
||||
<description>Starts a map with the mode "Team survivor"</description>
|
||||
<examples>
|
||||
<example>
|
||||
<code>
|
||||
ts ac_complex
|
||||
</code>
|
||||
</example>
|
||||
</examples>
|
||||
<arguments>
|
||||
<variableArgument token="M" description="The name of the map you wish to play"/>
|
||||
</arguments>
|
||||
</command>
|
||||
|
||||
<command name="pf">
|
||||
<description>Starts a map with the mode "Pistol frenzy"</description>
|
||||
<examples>
|
||||
<example>
|
||||
<code>
|
||||
pf ac_complex
|
||||
</code>
|
||||
</example>
|
||||
</examples>
|
||||
<arguments>
|
||||
<variableArgument token="M" description="The name of the map you wish to play"/>
|
||||
</arguments>
|
||||
</command>
|
||||
|
||||
<command name="lss">
|
||||
<description>Starts a map with the mode "Last swiss standing"</description>
|
||||
<examples>
|
||||
<example>
|
||||
<code>
|
||||
lss ac_complex
|
||||
</code>
|
||||
</example>
|
||||
</examples>
|
||||
<arguments>
|
||||
<variableArgument token="M" description="The name of the map you wish to play"/>
|
||||
</arguments>
|
||||
</command>
|
||||
|
||||
|
||||
<command name="osok">
|
||||
<description>Starts a map with the mode "One shot, One kill"</description>
|
||||
<examples>
|
||||
<example>
|
||||
<code>
|
||||
osok ac_complex
|
||||
</code>
|
||||
</example>
|
||||
</examples>
|
||||
<arguments>
|
||||
<variableArgument token="M" description="The name of the map you wish to play"/>
|
||||
</arguments>
|
||||
</command>
|
||||
|
||||
<command name="tosok">
|
||||
<description>Starts a map with the mode "Team one shot, One kill"</description>
|
||||
<examples>
|
||||
<example>
|
||||
<code>
|
||||
tosok ac_complex
|
||||
</code>
|
||||
</example>
|
||||
</examples>
|
||||
<arguments>
|
||||
<variableArgument token="M" description="The name of the map you wish to play"/>
|
||||
</arguments>
|
||||
</command>
|
||||
|
||||
<command name="alive">
|
||||
<description>Returns 1 if the local player is alive.</description>
|
||||
<arguments>
|
||||
@@ -1096,7 +783,7 @@
|
||||
</remark>
|
||||
</remarks>
|
||||
<arguments>
|
||||
<variableArgument token="S..." description="the text"/>
|
||||
<variableArgument token="S..." description="the text"/>
|
||||
</arguments>
|
||||
</command>
|
||||
<command name="saycommand">
|
||||
@@ -1235,47 +922,6 @@
|
||||
<argument token="N" description="the weapon number" valueNotes="0 (knife), 1 (pistol), 2 (shotgun), 3 (sub), 4 (sniper), 5 (assault), 6 (grenades)"/>
|
||||
</arguments>
|
||||
</command>
|
||||
<command name="mode">
|
||||
<description>Sets the gameplay mode to N for the next map loaded. You will need to define mode before loading the map or it will
|
||||
stay as the last mode played.</description>
|
||||
<references>
|
||||
<identifierReference identifier="map"/>
|
||||
</references>
|
||||
<arguments>
|
||||
<argument token="N" description="The mode number" valueNotes="0 - Team Deathmatch"/>
|
||||
<argument valueNotes="1 - Co-op edit"/>
|
||||
<argument valueNotes="2 - Deathmatch"/>
|
||||
<argument valueNotes="3 - Survivor"/>
|
||||
<argument valueNotes="4 - Team survivor"/>
|
||||
<argument valueNotes="5 - Capture the Flag"/>
|
||||
<argument valueNotes="6 - Pistol frenzy"/>
|
||||
<argument valueNotes="7 - Bot team deathmatch"/>
|
||||
<argument valueNotes="8 - Bot deathmatch"/>
|
||||
<argument valueNotes="9 - Last swiss standing"/>
|
||||
<argument valueNotes="10 - One shot, One kill"/>
|
||||
<argument valueNotes="11 - Team One shot, One kill"/>
|
||||
<argument valueNotes="12 - Bot One shot, One kill"/>
|
||||
<argument valueNotes="13 - Hunt the Flag"/>
|
||||
<argument valueNotes="14 - Team keep the flag"/>
|
||||
<argument valueNotes="15 - Keep the flag"/>
|
||||
</arguments>
|
||||
</command>
|
||||
<command name="sendmap">
|
||||
<description>Sends the current map to the server and sends other players a message about it.</description>
|
||||
<remarks>
|
||||
<remark>
|
||||
If the map argument is specified, the map is first saved and then reloaded before sending it.
|
||||
Note its always required to be on the map one wants
|
||||
to send before issuing this command!
|
||||
</remark>
|
||||
</remarks>
|
||||
<references>
|
||||
<identifierReference identifier="getmap"/>
|
||||
</references>
|
||||
<arguments>
|
||||
<argument token="M" description="map to save and reload locally" optional="true"/>
|
||||
</arguments>
|
||||
</command>
|
||||
<command name="getmap">
|
||||
<description>Retrieves the last map that was sent to the server using 'sendmap'.</description>
|
||||
<references>
|
||||
@@ -1324,7 +970,7 @@
|
||||
</arguments>
|
||||
</command>
|
||||
<command name="demoplayer">
|
||||
<description>Shifts the camera to an other demo player</description>
|
||||
<description>Shifts the camera to another demo player</description>
|
||||
<arguments>
|
||||
<argument token="N" description="the shift direction" valueNotes="1 (forwards), -1 (backwards)"/>
|
||||
</arguments>
|
||||
@@ -1400,6 +1046,7 @@
|
||||
</variable>
|
||||
</identifiers>
|
||||
</section>
|
||||
|
||||
<section name="Editing" sortindex="2">
|
||||
<identifiers>
|
||||
<command name="fogcolour">
|
||||
@@ -1452,7 +1099,8 @@
|
||||
</arguments>
|
||||
</command>
|
||||
<command name="edittex">
|
||||
<description><![CDATA[Changes the texture on current selection by browsing through a list of textures directly shown on the cubes. ]]></description>
|
||||
<description><![CDATA[Changes the texture on current selection by browsing through a list of textures directly shown on the cubes.
|
||||
]]></description>
|
||||
<remarks>
|
||||
<remark>
|
||||
Default keys are the six keys above the cursor keys, which each 2 of them cycle one type (and numpad 7/4 for upper).
|
||||
@@ -2302,7 +1950,7 @@
|
||||
<description>Turns on or off crosshair effects.</description>
|
||||
<remarks>
|
||||
<remark>
|
||||
When on, the crosshair will go grey when the weapon is reloading, orange when health se 50 or red when se 25.
|
||||
When on, the crosshair will go grey when the weapon is reloading, orange when health is 50 or red when is 25.
|
||||
</remark>
|
||||
</remarks>
|
||||
<value token="B" description="Turns the effects on (1) or off (0)" minValue="0" maxValue="1" defaultValue="1"/>
|
||||
@@ -2795,5 +2443,395 @@
|
||||
</variable>
|
||||
</identifiers>
|
||||
</section>
|
||||
|
||||
<section name="Server commands" sortindex="9">
|
||||
<description>This section lists commands used by the client that communicate to the server.
|
||||
Most are used for server administration.
|
||||
Some commands listed below can also be used locally (for example, changing maps).
|
||||
</description>
|
||||
<identifiers sort="true">
|
||||
|
||||
<command name="callvote">
|
||||
<description>Calls a vote on the server.</description>
|
||||
<remarks>
|
||||
<remark>This command is wrapped by aliases for better usability. See config/admin.cfg for actual uses.</remark>
|
||||
</remarks>
|
||||
<arguments>
|
||||
<argument token="T" description="vote type" valueNotes="value" />
|
||||
<argument token="A" description="first argument" valueNotes=""/>
|
||||
<argument token="B" description="second argument" valueNotes=""/>
|
||||
</arguments>
|
||||
</command>
|
||||
|
||||
<command name="setadmin">
|
||||
<description>Claims or drops admin status.</description>
|
||||
<remarks>
|
||||
<remark>
|
||||
Successfully claiming admin status makes all other player votes invalid.
|
||||
Failed logins result in an auto kick.
|
||||
The admin is granted the right to kick, ban, remove bans, set autoteam, set shuffleteam, change server
|
||||
description (if enabled), change map, change mastermode, force team, change mode, record demos, stop demos
|
||||
and clear demo(s) - All without needing votes from other users.
|
||||
In the scoreboard, the admin will be shown as a red colour.
|
||||
</remark>
|
||||
</remarks>
|
||||
<references>
|
||||
<identifierReference identifier="kick"/>
|
||||
<identifierReference identifier="autoteam"/>
|
||||
<identifierReference identifier="mastermode"/>
|
||||
<identifierReference identifier="ban"/>
|
||||
<identifierReference identifier="removebans"/>
|
||||
</references>
|
||||
<arguments>
|
||||
<argument token="B" description="status" valueNotes="1 (claim), 0 (drop)"/>
|
||||
<argument token="P" description="password" valueNotes="max. 15 characters"/>
|
||||
</arguments>
|
||||
</command>
|
||||
|
||||
<command name="kick">
|
||||
<description>Kicks a specified player from the server.</description>
|
||||
<references>
|
||||
<identifierReference identifier="setadmin"/>
|
||||
</references>
|
||||
<arguments>
|
||||
<argument token="N" description="the player to kick" valueNotes="client number"/>
|
||||
</arguments>
|
||||
</command>
|
||||
|
||||
<command name="ban">
|
||||
<description>Bans a specified player from the server.</description>
|
||||
<remarks>
|
||||
<remark>
|
||||
The ban duration is fixed to 20 minutes.
|
||||
</remark>
|
||||
</remarks>
|
||||
<references>
|
||||
<identifierReference identifier="removebans"/>
|
||||
<identifierReference identifier="setadmin"/>
|
||||
</references>
|
||||
<arguments>
|
||||
<argument token="N" description="the player to ban" valueNotes="client number"/>
|
||||
</arguments>
|
||||
</command>
|
||||
|
||||
<command name="removebans">
|
||||
<description>Removes all bans on the server.</description>
|
||||
<references>
|
||||
<identifierReference identifier="ban"/>
|
||||
<identifierReference identifier="setadmin"/>
|
||||
</references>
|
||||
</command>
|
||||
|
||||
<command name="autoteam">
|
||||
<description>Sets the automated team assignment.</description>
|
||||
<references>
|
||||
<identifierReference identifier="setadmin"/>
|
||||
</references>
|
||||
<arguments>
|
||||
<argument token="B" description="enables or disables auto team" valueNotes="1 (on), 0 (off)"/>
|
||||
</arguments>
|
||||
</command>
|
||||
|
||||
<command name="mastermode">
|
||||
<description>Sets the mastermode for the server.</description>
|
||||
<remarks>
|
||||
<remark>
|
||||
If the mastermode is set to 'private', no more clients can join the server.
|
||||
Default is 'open' that allows anyone to join the server.
|
||||
</remark>
|
||||
</remarks>
|
||||
<references>
|
||||
<identifierReference identifier="setadmin"/>
|
||||
</references>
|
||||
<arguments>
|
||||
<argument token="N" description="the master mode" valueNotes="0 (open), 1 (private)"/>
|
||||
</arguments>
|
||||
</command>
|
||||
|
||||
<command name="forceteam">
|
||||
<description>Forces a specified player to join the enemy team.</description>
|
||||
<references>
|
||||
<identifierReference identifier="setadmin"/>
|
||||
</references>
|
||||
<arguments>
|
||||
<argument token="N" description="the player to assign to a team" valueNotes="client number"/>
|
||||
</arguments>
|
||||
</command>
|
||||
|
||||
<command name="giveadmin">
|
||||
<description>Gives the admin state to the specified player.</description>
|
||||
<remarks>
|
||||
<remark>
|
||||
Requires admin state. The admin will lose his admin state after successfully issuing this command.
|
||||
</remark>
|
||||
</remarks>
|
||||
<references>
|
||||
<identifierReference identifier="setadmin"/>
|
||||
</references>
|
||||
<arguments>
|
||||
<argument token="N" description="the player to become admin" valueNotes="client number"/>
|
||||
</arguments>
|
||||
</command>
|
||||
|
||||
<command name="map">
|
||||
<description>Loads up a map in the gamemode set previously by the 'mode' command.</description>
|
||||
<remarks>
|
||||
<remark>
|
||||
If connected to a multiplayer server, votes to load this map (others will have to type "map M" as well to agree with loading this map). To vote for a map with a specific mode, set the mode before you issue the map command (see multiplayer menu).
|
||||
</remark>
|
||||
<remark>
|
||||
A map given as "blah" refers to "packages/base/blah.cgz", "mypackage/blah" refers to "packages/mypackage/blah.cgz".
|
||||
At every map load, "config/default_map_settings.cfg" is loaded which sets up all texture definitions, etc. Everything
|
||||
defined in there can be overridden per package or per map by creating a "package.cfg" or "mapname.cfg" which
|
||||
contains whatever you want to do differently from the default.
|
||||
</remark>
|
||||
<remark>
|
||||
When the map finishes it will load the next map when one is defined, otherwise reloads the current map.
|
||||
You can define what map follows a particular map by making an alias like (in the map script): alias nextmap_blah1 blah2
|
||||
(loads "blah2" after "blah1").
|
||||
</remark>
|
||||
<remark>
|
||||
TODO: multiplayer voting
|
||||
</remark>
|
||||
</remarks>
|
||||
<arguments>
|
||||
<argument token="M" description="name of the map to load" valueNotes="string"/>
|
||||
</arguments>
|
||||
</command>
|
||||
|
||||
<command name="ctf">
|
||||
<description>Starts a map with the mode "Capture the Flag"</description>
|
||||
<examples>
|
||||
<example>
|
||||
<code>
|
||||
ctf ac_mines
|
||||
</code>
|
||||
</example>
|
||||
</examples>
|
||||
<arguments>
|
||||
<variableArgument token="M" description="The name of the map you wish to play"/>
|
||||
</arguments>
|
||||
</command>
|
||||
|
||||
<command name="ktf">
|
||||
<description>Starts a map with the mode "Keep the Flag"</description>
|
||||
<examples>
|
||||
<example>
|
||||
<code>
|
||||
ktf ac_mines
|
||||
</code>
|
||||
</example>
|
||||
</examples>
|
||||
<arguments>
|
||||
<variableArgument token="M" description="The name of the map you wish to play"/>
|
||||
</arguments>
|
||||
</command>
|
||||
|
||||
<command name="tktf">
|
||||
<description>Starts a map with the mode "Team keep the Flag"</description>
|
||||
<examples>
|
||||
<example>
|
||||
<code>
|
||||
tktf ac_mines
|
||||
</code>
|
||||
</example>
|
||||
</examples>
|
||||
<arguments>
|
||||
<variableArgument token="M" description="The name of the map you wish to play"/>
|
||||
</arguments>
|
||||
</command>
|
||||
|
||||
<command name="htf">
|
||||
<description>Starts a map with the mode "Hunt the Flag"</description>
|
||||
<examples>
|
||||
<example>
|
||||
<code>
|
||||
htf ac_mines
|
||||
</code>
|
||||
</example>
|
||||
</examples>
|
||||
<arguments>
|
||||
<variableArgument token="M" description="The name of the map you wish to play"/>
|
||||
</arguments>
|
||||
</command>
|
||||
|
||||
<command name="tdm">
|
||||
<description>Starts a map with the mode "Team Deathmatch"</description>
|
||||
<examples>
|
||||
<example>
|
||||
<code>
|
||||
tdm ac_complex
|
||||
</code>
|
||||
</example>
|
||||
</examples>
|
||||
<arguments>
|
||||
<variableArgument token="M" description="The name of the map you wish to play"/>
|
||||
</arguments>
|
||||
</command>
|
||||
|
||||
|
||||
<command name="dm">
|
||||
<description>Starts a map with the mode "Deathmatch"</description>
|
||||
<examples>
|
||||
<example>
|
||||
<code>
|
||||
dm ac_complex
|
||||
</code>
|
||||
</example>
|
||||
</examples>
|
||||
<arguments>
|
||||
<variableArgument token="M" description="The name of the map you wish to play"/>
|
||||
</arguments>
|
||||
</command>
|
||||
|
||||
<command name="coop">
|
||||
<description>Starts a map with the mode "Co-op edit"</description>
|
||||
<remarks>
|
||||
<remark>
|
||||
See the co-op edit section in page 4 of the map editing guide for more information.
|
||||
</remark>
|
||||
</remarks>
|
||||
<examples>
|
||||
<example>
|
||||
<code>
|
||||
coop ac_newmap
|
||||
</code>
|
||||
</example>
|
||||
</examples>
|
||||
<arguments>
|
||||
<variableArgument token="M" description="The name of the map you wish to edit"/>
|
||||
</arguments>
|
||||
</command>
|
||||
|
||||
<command name="lms">
|
||||
<description>Starts a map with the mode "Last man standing"</description>
|
||||
<examples>
|
||||
<example>
|
||||
<code>
|
||||
lms ac_complex
|
||||
</code>
|
||||
</example>
|
||||
</examples>
|
||||
<arguments>
|
||||
<variableArgument token="M" description="The name of the map you wish to play"/>
|
||||
</arguments>
|
||||
</command>
|
||||
|
||||
<command name="ts">
|
||||
<description>Starts a map with the mode "Team survivor"</description>
|
||||
<examples>
|
||||
<example>
|
||||
<code>
|
||||
ts ac_complex
|
||||
</code>
|
||||
</example>
|
||||
</examples>
|
||||
<arguments>
|
||||
<variableArgument token="M" description="The name of the map you wish to play"/>
|
||||
</arguments>
|
||||
</command>
|
||||
|
||||
<command name="pf">
|
||||
<description>Starts a map with the mode "Pistol frenzy"</description>
|
||||
<examples>
|
||||
<example>
|
||||
<code>
|
||||
pf ac_complex
|
||||
</code>
|
||||
</example>
|
||||
</examples>
|
||||
<arguments>
|
||||
<variableArgument token="M" description="The name of the map you wish to play"/>
|
||||
</arguments>
|
||||
</command>
|
||||
|
||||
<command name="lss">
|
||||
<description>Starts a map with the mode "Last swiss standing"</description>
|
||||
<examples>
|
||||
<example>
|
||||
<code>
|
||||
lss ac_complex
|
||||
</code>
|
||||
</example>
|
||||
</examples>
|
||||
<arguments>
|
||||
<variableArgument token="M" description="The name of the map you wish to play"/>
|
||||
</arguments>
|
||||
</command>
|
||||
|
||||
|
||||
<command name="osok">
|
||||
<description>Starts a map with the mode "One shot, One kill"</description>
|
||||
<examples>
|
||||
<example>
|
||||
<code>
|
||||
osok ac_complex
|
||||
</code>
|
||||
</example>
|
||||
</examples>
|
||||
<arguments>
|
||||
<variableArgument token="M" description="The name of the map you wish to play"/>
|
||||
</arguments>
|
||||
</command>
|
||||
|
||||
<command name="tosok">
|
||||
<description>Starts a map with the mode "Team one shot, One kill"</description>
|
||||
<examples>
|
||||
<example>
|
||||
<code>
|
||||
tosok ac_complex
|
||||
</code>
|
||||
</example>
|
||||
</examples>
|
||||
<arguments>
|
||||
<variableArgument token="M" description="The name of the map you wish to play"/>
|
||||
</arguments>
|
||||
</command>
|
||||
|
||||
<command name="mode">
|
||||
<description>Sets the gameplay mode to N for the next map loaded. You will need to define mode before loading the map or it will
|
||||
stay as the last mode played.</description>
|
||||
<references>
|
||||
<identifierReference identifier="map"/>
|
||||
</references>
|
||||
<arguments>
|
||||
<argument token="N" description="The mode number" valueNotes="0 - Team Deathmatch"/>
|
||||
<argument valueNotes="1 - Co-op edit"/>
|
||||
<argument valueNotes="2 - Deathmatch"/>
|
||||
<argument valueNotes="3 - Survivor"/>
|
||||
<argument valueNotes="4 - Team survivor"/>
|
||||
<argument valueNotes="5 - Capture the Flag"/>
|
||||
<argument valueNotes="6 - Pistol frenzy"/>
|
||||
<argument valueNotes="7 - Bot team deathmatch"/>
|
||||
<argument valueNotes="8 - Bot deathmatch"/>
|
||||
<argument valueNotes="9 - Last swiss standing"/>
|
||||
<argument valueNotes="10 - One shot, One kill"/>
|
||||
<argument valueNotes="11 - Team One shot, One kill"/>
|
||||
<argument valueNotes="12 - Bot One shot, One kill"/>
|
||||
<argument valueNotes="13 - Hunt the Flag"/>
|
||||
<argument valueNotes="14 - Team keep the flag"/>
|
||||
<argument valueNotes="15 - Keep the flag"/>
|
||||
</arguments>
|
||||
</command>
|
||||
|
||||
<command name="sendmap">
|
||||
<description>Sends the current map to the server and sends other players a message about it.</description>
|
||||
<remarks>
|
||||
<remark>
|
||||
If the map argument is specified, the map is first saved and then reloaded before sending it.
|
||||
Note its always required to be on the map one wants
|
||||
to send before issuing this command!
|
||||
</remark>
|
||||
</remarks>
|
||||
<references>
|
||||
<identifierReference identifier="getmap"/>
|
||||
</references>
|
||||
<arguments>
|
||||
<argument token="M" description="map to save and reload locally" optional="true"/>
|
||||
</arguments>
|
||||
</command>
|
||||
|
||||
</identifiers>
|
||||
</section>
|
||||
</sections>
|
||||
</cuberef>
|
||||
|
||||
Reference in New Issue
Block a user