diff --git a/config/docs.cfg b/config/docs.cfg index be069fa4..1062585b 100644 --- a/config/docs.cfg +++ b/config/docs.cfg @@ -6,12 +6,6 @@ docsection [CubeScript] -docident [-] [Performs a subtraction.]; - -docargument [A] [the minuend] [] [0]; - -docargument [B] [the subtrahend] [] [0]; - docident [!] [Performs a negation.]; docargument [A] [argument] [] [0]; @@ -44,30 +38,28 @@ docargument [A] [the multiplicand] [] [0]; docargument [B] [the multiplier] [] [0]; -docident [*=] [Multiplies a value and an alias.]; +docident [*=] [Multiplies an alias by a value.]; -docargument [A] [the alias to multiplied] [] [0]; +docargument [A] [the alias to be multiplied] [] [0]; docargument [B] [the multiplier] [] [0]; docremark [Example: *= foo 1337]; +docident [*=f] [Multiplies an alias by a floating-point value.]; + +docargument [A] [the alias to be multiplied] [] [0]; + +docargument [B] [the multiplier] [] [0]; + +docremark [Example: *=f foo 13.37]; + docident [*f] [Performs a floating point multiplication.]; docargument [A] [the multiplicand] [] [0]; docargument [B] [the multiplier] [] [0]; -docident [||] [logical OR.]; - -docargument [A] [first value] [] [0]; - -docargument [B] [second value] [] [0]; - -docexample [echo (|| 1 0)] [output: 1]; - -docexample [echo (|| 0 0)] [output: 0]; - docident [+] [Performs an addition.]; docargument [A] [the first summand] [] [0]; @@ -84,12 +76,48 @@ docargument [B] [value to be added] [] [0]; docremark [Example: += foo 1337]; +docident [+=f] [Adds a floating-point value to an alias.]; + +docargument [A] [the alias to add to] [] [0]; + +docargument [B] [value to be added] [] [0]; + +docremark [Example: +=f foo 13.37]; + docident [+f] [Adds up two floating-point numbers.]; docargument [A] [the first summand] [float] [0]; docargument [B] [the second summand] [float] [0]; +docident [-] [Performs a subtraction.]; + +docargument [A] [the minuend] [] [0]; + +docargument [B] [the subtrahend] [] [0]; + +docident [-=] [Subtracts a value from an alias.]; + +docargument [A] [the alias to subtract from] [] [0]; + +docargument [B] [value to be subtracted] [] [0]; + +docremark [Example: -= foo 1337]; + +docident [-=f] [Subtracts a floating-point value from an alias.]; + +docargument [A] [the alias to subtract from] [] [0]; + +docargument [B] [value to be subtracted] [] [0]; + +docremark [Example: -=f foo 13.37]; + +docident [-f] [Subtracts two floating-point numbers.]; + +docargument [A] [the minuend] [float] [0]; + +docargument [B] [the subtrahend] [float] [0]; + docident [<] [Determines if a value is smaller than a second value.]; docargument [A] [the first value] [] [0]; @@ -122,14 +150,6 @@ docargument [B] [second value] [] [0]; docexample [echo there are only (concatword (= 1 1) (= 1 0)) types of people in the world] [Output: there are only 10 types of people in the world]; -docident [-=] [Subtracts a value from an alias.]; - -docargument [A] [the alias to subtract from] [] [0]; - -docargument [B] [value to be subtracted] [] [0]; - -docremark [Example: -= foo 1337]; - docident [=f] [Compares if a particular floating-point value is equal to another floating-point value.]; docargument [A] [The first value.] [] [0]; @@ -160,6 +180,72 @@ docargument [A] [the first value] [] [0]; docargument [B] [the second value] [] [0]; +docident [MDArray_Add_To_Subarray] [Adds a string to an existing subarray in a cubescript multidimensional array.]; + +docargument [A] [name of alias (multidimensional array)] [] [0]; + +docargument [N] [name of target subarray to add to] [] [0]; + +docargument [C] [string to add to target subarray] [] [0]; + +docexample [MDArray_New_Subarray test list1 "this is part of list1"; MDArray_Add_To_Subarray test list1 "and so is this"; echo (MDArray_Get test list1 -1)] [Output: "this is part of list1" "and so is this"]; + +docident [MDArray_Delete_Subarray] [Deletes an entire subarray from an existing cubescript multidimensional array.]; + +docargument [A] [name of alias (multidimensional array)] [] [0]; + +docargument [N] [name of target subarray to delete] [] [0]; + +docident [MDArray_Get] [Returns a subarray or a subarray element of a cubescript multidimensional array.]; + +docargument [A] [name of alias (multidimensional array)] [] [0]; + +docargument [N] [name of target subarray to get] [] [0]; + +docargument [E] [element # of subarray to get (-1 to return the whole subarray)] [] [0]; + +docexample [MDArray_New_Subarray test words "how now brown cow"; echo (MDArray_Get test words -1); echo (MDArray_Get test words 2)] [Output: how now brown cow]; + +docident [MDArray_Get_All_Subarray_Names] [Returns a list of all subarray names in a cubescript multidimensional array.]; + +docargument [A] [name of alias (multidimensional array)] [] [0]; + +docexample [MDArray_New_Subarray test chars "a b c d e f"; MDArray_New_Subarray test words "how now brown cow"; echo (MDArray_Get_All_Subarray_Names test)] [Output: chars words]; + +docident [MDArray_Get_Subarray_Count] [Returns the number of subarrays in a cubescript multidimensional array.]; + +docargument [A] [name of alias (multidimensional array)] [] [0]; + +docident [MDArray_Modify_Subarray] [Modifies a subarray element of a cubescript multidimensional array.]; + +docargument [A] [name of alias (multidimensional array)] [] [0]; + +docargument [N] [name of target subarray to modify] [] [0]; + +docargument [E] [element # of subarray to modify] [] [0]; + +docargument [C] [new value of subarray element] [] [0]; + +docexample [MDArray_New_Subarray test numbers "1 2 3 4 5"; MDArray_Modify_Subarray test numbers 2 9; echo (MDArray_Get test numbers -1)] [Output: 1 2 9 4 5]; + +docident [MDArray_New_Subarray] [Adds a subarray to a cubescript multidimensional array. (alias)]; + +docargument [A] [name of alias (multidimensional array)] [] [0]; + +docargument [N] [name of subarray to create] [] [0]; + +docargument [C] [subarray content (string)] [] [0]; + +docexample [MDArray_New_Subarray test words "how now brown cow"; echo (MDArray_Get test words -1); echo (MDArray_Get test words 2)] [Output: how now brown cow]; + +docident [MDArray_Search] [Returns a list of all subarray names that have content matching a specific keyword.]; + +docargument [A] [name of alias (multidimensional array)] [] [0]; + +docargument [K] [keyword to search for] [] [0]; + +docexample [MDArray_New_Subarray test words "how now brown cow"; MDArray_New_Subarray test days "monday tuesday wednesday thursday friday saturday sunday"; MDArray_New_Subarray test sentences [ "his shirt was brown" "her shirt was white" ]; echo (MDArray_Search test brown)] [Output: words sentences]; + docident [add2alias] [This will append the passed 2nd argument to any existing content of the alias named in the 1st argument. Several popular aliases have predefined shortcuts using this scriptalias: addOnQuit, addOnLoadOnce, addOnLoadAlways. Check config/scripts.cfg for possible omissions in that list.]; docexample [foo = "one" add2alias foo two echo foo] [Output: one two]; @@ -318,6 +404,22 @@ docargument [A] [the dividend] [] [0]; docargument [B] [the divisor] [] [0]; +docident [div=] [Divides an alias by a value.]; + +docargument [A] [the alias to be divided] [] [0]; + +docargument [B] [the divisor] [] [0]; + +docremark [Example: div= foo 1337]; + +docident [div=f] [Divides an alias by a floating-point value.]; + +docargument [A] [the alias to be divided] [] [0]; + +docargument [B] [the divisor] [] [0]; + +docremark [Example: div=f foo 13.37]; + docident [divf] [Performs a division with floating-point precision.]; docargument [A] [] [the dividend] [0]; @@ -330,12 +432,6 @@ docargument [S] [the string to execute] [] [0]; docexample [execute (concat echo (addpunct fov 3))] [Example output: 90.0]; -docident [-f] [Subtracts two floating-point numbers.]; - -docargument [A] [the minuend] [float] [0]; - -docargument [B] [the subtrahend] [float] [0]; - docident [findcn] [find client number (cn)]; docargument [N] [NAME] [] [0]; @@ -376,6 +472,10 @@ docargument [false] [the body to execute if the condition is false] [] [0]; docexample [if (> $x 10) [ echo x is bigger than 10 ] [ echo x too small ]] []; +docident [isIdent] [returns whether or not there is an identifier by that name]; + +docargument [N] [identifier name] [] [0]; + docident [isconst] [Determines if the argument given is a constant or not.]; docargument [A] [the alias to check for] [] [0]; @@ -384,10 +484,6 @@ docexample [const hello ""; echo (isconst hello)] [Output: 1]; docexample [hello = value; echo (isconst hello)] [Output: 0]; -docident [isIdent] [returns whether or not there is an identifier by that name]; - -docargument [N] [identifier name] [] [0]; - docident [l0] [leading zeros for the number V to make it W chars wide. It may look like 10 - which might be considered a mnemonic - but it's lowercase-L and 0!]; docargument [W] [WIDTH] [] [0]; @@ -604,6 +700,18 @@ docexample [echo (testchar . 6)] [Output: 1 // It is a punctuation character]; docexample [echo (testchar " " 7)] [Output: 1 // It is a whitespace character]; +docident [testlist] [Tests a list argument for various things.]; + +docargument [L] [the list to test] [] [0]; + +docargument [N] [type of test to run] [min 0/max 2/default 0] [0]; + +docexample [echo (testlist "1 2.45 8")] [Output: 1 // It is a valid list of numbers (supports ints and floats)]; + +docexample [echo (testlist "a B C defg hi jk" 1)] [Output: 1 // It is a valid list of alpha-characters a-z or A-Z only]; + +docexample [echo (testlist "a B C defg hi jk" 2)] [Output: 1 // It is a valid list of alpha-characters a-z or A-Z or whitespace only]; + docident [tolower] [Converts a string to all lowercase characters.]; docargument [S] [a string] [] [0]; @@ -626,6 +734,16 @@ docremark [This command sets the alias "i" from 0 to N-1 for every iteration. No docexample [alias i 0; while [ (< $i 10) ] [ echo $i; alias i (+ $i 1) ]] []; +docident [||] [logical OR.]; + +docargument [A] [first value] [] [0]; + +docargument [B] [second value] [] [0]; + +docexample [echo (|| 1 0)] [output: 1]; + +docexample [echo (|| 0 0)] [output: 0]; + docsection [General] docident [addserver] [Adds a server to the list of server to query in the server list menu.]; @@ -786,6 +904,18 @@ docargument [A] [the default action] [] [0]; docremark [You should never have to use this command manually, use "bind" instead.]; +docident [lang] [Sets the language for which a translated server MOTD will be fetched, if the server has one for this language.]; + +docargument [L] [the language code] [min /max /default ]; + +docremark [This is always a two-letter language code as defined in the ISO 639 standard, three-letter codes are currently not allowed.]; + +docremark [If lang is not set, or if the server does not have a matching MOTD file, it will fall back to English.]; + +docremark [Note: this does not affect the client language, which is derived from the system settings (e.g. on many *nix systems, it may be changed via the "LANG" environment variable).]; + +docexample [en, de, fr, ...] []; + docident [left] [Moves the player left.]; docremark [default keys: A and Left Arrow]; @@ -978,6 +1108,16 @@ docident [writecfg] [writes current configuration to config/saved.cfg - automati docsection [Gameplay] +docident [addListOnQuit] [Deletes a list of aliases (from saved.cfg) on quit.]; + +docargument [L] [the list of aliases to delete] [min /max /default ]; + +docexample [addListOnQuit "a b c"] [Deletes aliases a, b, and c from existance and saved.cfg upon quit.]; + +docident [addOnQuit] [Execute a command or block of code on quit.]; + +docargument [A] [the command or block of code to execute] [min /max /default ]; + docident [addbot] [add a bot for a given team with a given skill calling him a given name.]; docargument [T] [team] [RVSF or CLA] [0]; @@ -990,12 +1130,6 @@ docremark [This command only works for single player modes.]; docexample [addbot RVSF medium Robbie] [Will add a bot named Robbie with a medium skill level to the RVSF team.]; -docident [addListOnQuit] [Deletes a list of aliases (from saved.cfg) on quit.]; - -docargument [L] [the list of aliases to delete] [min /max /default ]; - -docexample [addListOnQuit "a b c"] [Deletes aliases a, b, and c from existance and saved.cfg upon quit.]; - docident [addnbot] [will add a given count of bots for the given team with the given skill and select random names for them.]; docargument [C] [count] [how many bots to add] [0]; @@ -1010,10 +1144,6 @@ docremark [The name of the bots will be selected randomly.]; docexample [addnbot 2 CLA bad] [Will add 2 bots with a bad skill level to the CLA team.]; -docident [addOnQuit] [Execute a command or block of code on quit.]; - -docargument [A] [the command or block of code to execute] [min /max /default ]; - docident [akimboautoswitch] [Enables or disables automatic switching to the akimbo upon pickup.]; docargument [N] [enable or disable] [min 0/max 1/default 1]; @@ -1258,14 +1388,6 @@ docargument [A] [client number] [] [0]; docremark [You won't see any further game chat or hear any more voice com messages from that player.]; -docident [inputcommand] [Makes an input perform a certain command.]; - -docargument [I] [input] [] [0]; - -docargument [C] [command] [] [0]; - -docargument [P] [prompt] [] [0]; - docident [inWater] [Determines if the local player is standing in water or submerged.]; docargument [T] [check if submerged instead?] [min 0/max 1/default 0] [0]; @@ -1274,6 +1396,14 @@ docexample [if (inWater) [echo in water] [echo not in water]] [Example output: i docexample [if (inWater 1) [echo submerged] [echo not submerged]] [Example output: not submerged]; +docident [inputcommand] [Makes an input perform a certain command.]; + +docargument [I] [input] [] [0]; + +docargument [C] [command] [] [0]; + +docargument [P] [prompt] [] [0]; + docident [isclient] [Determines if the client number given is a valid client (player).]; docargument [C] [client number] [] [0]; @@ -1584,6 +1714,10 @@ docident [showmapbackdrop] [change wether to have a see-through map overview (0) docargument [B] [backdrop-style] [min 0/max 2/default 0]; +docident [showmapbackdroptransparency] [Transparency of the black map backdrop (in percent) rendered if showmapbackdrop is set to 2.]; + +docargument [T] [transparency] [min 0/max 100/default 75]; + docident [showscores] [Shows or hides the scores.]; dockey [TAB] [] []; @@ -1606,21 +1740,21 @@ docident [skin_rvsf] [Choose skin when playing for team RVSF.]; docargument [N] [skin id] [] [0]; -docident [spectatemode] [Toggle into spectator mode - only possible when you're dead!]; +docident [spectate] [Toggles spectator mode.]; + +docident [spectatemode] [Sets the desired spectating mode.]; + +docargument [M] [the mode] [2 (1st-person), 3 (3rd-person), 4 (3rd-person transparent), 5 (free flying), 6 (overview)] [0]; dockey [SPACE] [] [switch spectator mode]; -dockey [MOUSE4] [] [next player]; - -dockey [MOUSE5] [] [previous player]; - docident [start_intermission] [If this alias exists it will be run when the game reaches intermission.]; docexample [start_intermission = [ echo "INTERMISSION - STATISTICS TIME" loop p 255 [ pn = (findpn $p) if (strcmp $pn "") [ ] [ echo (concatword Player $p ":") (pstat_score $p) ":" (pstat_weap $p) ] ] echo "------------------------------" ]] [This will output the full statistics line for all players.]; docident [stopdemo] [Stops any demo recording or playback.]; -docident [suicide] [Kills your player. You will lose 1 frag point and gain 1 death point when using this command.]; +docident [suicide] [Kills your player. You will lose 1 frag point and receive 1 death point when using this command.]; docident [survival] [Prepares a round of bot survival mode on the specified map.]; @@ -1688,6 +1822,10 @@ docargument [V] [Note: This is turned on by default.] [min 0/max 1/default 1]; docsection [Editing] +docident [Map editing] [A variable indicating if the game is in editmode.]; + +docargument [B] [editmode] [1 (true), 0 (false) read-only]; + docident [addpath1way1] []; docident [addpath1way2] []; @@ -1710,17 +1848,23 @@ docremark [This command is useful for making complex geometry-generating scripts docremark [Coordinates are as follows: after a "newmap 6" the top-left corner (the one where the red dot points) are (8,8), the opposite corner is (56,56) (or (120,120) on a "newmap 7" etc.).]; -docident [addwp] []; +docident [addwp] [Adds a bot waypoint at the current position.]; + +docargument [A] [connect automatically] [0 or 1] [0]; docident [advancemaprevision] [Select the increment of the map revision number for the next 'savemap'.]; docargument [N] [increment] [min 1/max 100/default 1]; +docident [ambient] [Controls the ambient lighting of the map, i.e. how bright areas not affected by any light entities will appear.]; + +docargument [N] [the ambient color] [min 0x000000/max 0xFFFFFF/default 0]; + docident [ambientsoundvol] [Deletes the entity closest to the player]; docremark [hotkey x]; -docident [applymapsoundchanges] [during map editing, drop all mapsounds so they can be re-added]; +docident [applymapsoundchanges] [During map editing, drop all mapsounds so they can be re-added.]; docident [arch] [Makes an arch out of the current selection.]; @@ -1738,7 +1882,7 @@ docargument [D] [delta value] [integer] [0]; docremark [See config/prefabs.cfg for an example on usage.]; -docident [autowp] []; +docident [autowp] [Automatically place waypoints.]; docident [checkmapdependencies] [Find what media the map depends on, this is used for mediapack providers.]; @@ -1784,7 +1928,7 @@ docident [delpath2way1] []; docident [delpath2way2] []; -docident [delwp] []; +docident [delwp] [Deletes the selected waypoint.]; docident [editaxis] [Contains the main axis of the player orientation.]; @@ -1898,10 +2042,6 @@ docargument [A] [42] [] [0]; docremark [The output will be written to the file 'mapdependencies.txt'.]; -docident [Map editing] [A variable indicating if the game is in editmode.]; - -docargument [B] [editmode] [1 (true), 0 (false) read-only]; - docident [mapbackupsonsave] [Determines if map backups (.bak) should be created when a map is saved.]; docargument [N] [0 off, 1 on] [min 0/max 1/default 1]; @@ -1914,7 +2054,7 @@ docident [mapmsg] [Sets the map message, which will be displayed when the map lo docargument [M] [The map message] [String] [0]; -docremark [You will need to use quote marks around the message, otherwise it will not save the message correctly.]; +docremark [You will need to use quote marks around the message, otherwise it save the message correctly.]; docremark [For example: /mapmsg "Map By Author"]; @@ -1968,7 +2108,7 @@ docident [newent ctf-flag] [Adds a CTF flag entity.]; docargument [T] [denotes the flag's team] [0 (CLA), 1 (RVSF)] [0]; -docremark [Note that this entity is only rendered as flag if the current game mode is CTF.]; +docremark [Note that outside of edit mode, this entity is only rendered as flag if the current game mode is CTF.]; docident [newent grenades] [Adds a new grenades item.]; @@ -2162,6 +2302,10 @@ docargument [t] [the type of the texture] [0 (floor), 1 (wall), 2 (ceil), 3 (upp docident [setwpyaw] [takes the current player yaw for the current waypoint]; +docident [showgrid] [Show editing cursor grid.]; + +docargument [N] [-] [min 0/max 1/default 1]; + docident [showmip] [Toggles between showing what parts of the scenery are rendered.]; docremark [Shows what parts of the scenery are rendered using what size cubes, and outputs some statistics about it. This can give map editors hints as to what architecture to align, textures to change, etc.]; @@ -2578,6 +2722,10 @@ docident [showmodedescriptions] [enables or disables the showing of game mode de docargument [B] [0 off, 1 on] [min 0/max 1/default 1]; +docident [showspeed] [Enables or disables showing the player's horizontal speed.]; + +docargument [N] [0 off, 1 on] [min 0/max 1/default 0]; + docident [showstats] [Turns on/off display of FPS/rendering statistics on the HUD.]; docargument [N] [0: Show no stats, 1: Only show FPS stats, 2: Show all stats] [min 0/max 2/default 1]; @@ -2586,7 +2734,7 @@ docident [showtargetname] [enables or disables showing the player name on the HU docargument [N] [0 off, 1 on] [min 0/max 1/default 1]; -docident [spechudgun] [Turns on/off the display of the hudgun while spectating a player in first-person view. Works in demo mode as well.]; +docident [specthudgun] [Turns on/off the display of the hudgun while spectating a player in first-person view. Works in demo mode as well.]; docargument [V] [show/hide hudgun when spectating] [min 0/max 1/default 1]; @@ -2840,9 +2988,13 @@ docident [heartbeat] [Defines the health level at or below which a heartbeat sou docargument [H] [health value] [min 0/max 99/default 0]; -docident [hwtexsize] []; +docident [hirestextures] [Controls whether textures with a scale higher than 1.0 will be scaled down while loading to increase performance (0) or stay at higher resolution (1).]; -docargument [V] [] [min 1/max 0/default 0]; +docargument [S] [scale down?] [min 0/max 1/default 1]; + +docident [hwtexsize] [The maximum texture size (in pixels) supported by the graphics hardware.]; + +docargument [V] [max. hardware texture size] [min 1/max 0/default 0]; docident [lighterror] [Allows to finetune the amount of "error" the mipmapper/stripifier allow themselves for changing lightlevels.]; @@ -2854,9 +3006,9 @@ docident [maploaditemlength] [change at what position to truncate the map title docargument [N] [chars] [min 0/max 255/default 46]; -docident [maxtexsize] []; +docident [maxtexsize] [The maximum texture (if less than hwtexsize) that will actually be used by the engine, larger textures will be scaled down. 0 removes this limit.]; -docargument [V] [] [min 0/max 4096/default 0]; +docargument [V] [max. texture size] [min 0/max 4096/default 0]; docident [mergestrips] []; @@ -2912,6 +3064,10 @@ docident [scorchttl] []; docargument [V] [] [min 0/max 30000/default 10000]; +docident [scorefont] [Whether a special monospace font should be used to render the text on the scoreboard.]; + +docargument [M] [normal (0) or monospace (1)] [min 0/max 1/default 0]; + docident [scr_h] [Sets the screen height.]; docargument [] [the screen height] [min 0/max 768/default 10000]; @@ -2982,6 +3138,10 @@ docargument [N] [the team display mode] [0 (none), 1 (color vests), 2 (color ski docremark [In mode 0 team display is disabled In mode 1 players will be rendered with a colored vest to make the teams distinguishable. In mode 2 almost the whole suit of the players will be colored. These display modes are only applied in team gameodes.]; +docident [texreduce] [Reduces the size of all texture by the selected factor:]; + +docargument [S] [scale selection] [min -1/max 3/default 0]; + docident [trilinear] []; docargument [V] [] [min 0/max 1/default 1]; @@ -3244,6 +3404,8 @@ docargument [B] [Second argument] [] [0]; docremark [This command is wrapped by aliases for better usability and is used to action votes such as ban, kick, etc. See config/admin.cfg for actual uses.]; +docident [cleardemos] [Clears all demos currently in memory on the server.]; + docident [deleteservermap] [Deletes a map from the current server.]; docargument [A] [map name] [] [0]; @@ -3280,9 +3442,9 @@ docident [masterupdatefrequency] []; docargument [V] [] [min 1/max 24*60*60/default 60*60]; -docident [maxservpings] []; +docident [maxservpings] [Sets the number of servers to be pinged at once.]; -docargument [V] [] [min 0/max 1000/default 0]; +docargument [V] [] [min 0/max 1000/default 10]; docident [removebans] [Removes all temporary bans from the server. Temporary bans are normally automatically removed after 20 minutes.]; @@ -3344,7 +3506,7 @@ docargument [PASS] [Password] [case sensitive] [0]; docremark [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. If the admin votes on any (other players) call, his vote is final. In the scoreboard, the admin will be shown as a red colour.]; -docident [showallservers] []; +docident [showallservers] [Whether servers that have not yet responded to a ping should be shown in the server list.]; docargument [V] [] [min 0/max 1/default 1]; @@ -3370,6 +3532,8 @@ docargument [N] [] [min 0/max 1/default 0]; docremark ['weights' are the sort criteria with the highest priority. Favourites categories can change the weights. Use 'showweights' to debug problems with serverbrowser sorting.]; +docident [shuffleteams] [Shuffles the teams. The server will attempt to restore balance, but the result may be less that optimal, and there are certainly better ways to keep teams balanced.]; + docsection [Game modes] docident [coop] [Starts a map with the mode "Co-op edit"]; @@ -3732,6 +3896,10 @@ docargument [B] [Blue colour intensity] [Between 1 and 255] [0]; docremark [You must define all 3 values, otherwise this command may not work correctly (use "1" as a placeholder if needed).]; +docident [waveheight] [Sets the wave height of water, between 0 (completely still, no waves at all) and 1 (very choppy).]; + +docargument [F] [wave height (floating-point value)] [min 0/max 1/default 0.3]; + docsection [TODO] docident [addzip] [TODO: Description]; @@ -3746,10 +3914,6 @@ docident [allowblinkingtext] [for toggling on the ability for any text to have t docargument [T] [TOGGLE] [] [0]; -docident [ambient] [TODO]; - -docargument [N] [TODO] [min 0/max 16777215/default 0]; - docident [applydialog] [do you really want to quit?]; docargument [N] [TODO] [min 0/max 1/default 1]; @@ -3758,8 +3922,6 @@ docident [autoscopesens] [TODO]; docargument [N] [TODO] [min 0/max 1/default 0]; -docident [cleardemos] [Clears all demos currently in memory on the server.]; - docident [delalias] [deletes the passed alias.]; docident [demonameformat] [set the formatstring for demo filenames - default: TODO (when stable)]; @@ -3802,10 +3964,6 @@ docident [gettext] [An alias used for i18n. Translateable text should be marked docargument [M] [I18Nmessage] [] [0]; -docident [hirestextures] [controls whether textures with a scale higher than 1.0 will be scaled down while loading to increase performance (0) or stay at higher resolution (1).]; - -docargument [N] [TODO] [min 0/max 1/default 1]; - docident [interms] [TODO]; docargument [N] [TODO] [min 0/max 1/default 0]; @@ -3858,10 +4016,6 @@ docident [scopesensscale] [TODO]; docargument [N] [TODO] [min 0,001/max 1000,0/default 0,5]; -docident [scorefont] [use monspacefont to render the scoreboard? or the default one?]; - -docargument [N] [TODO] [min 0/max 1/default 0]; - docident [sensitivityscale] [TODO]; docargument [N] [TODO] [min 0,001/max 1000,0/default 1,0]; @@ -3896,21 +4050,7 @@ docargument [A] [TODO] [] [0]; docident [showedithide] [shows the settings of edithide (sparklies)]; -docident [showmapbackdroptransparency] []; - -docargument [T] [transparency] [min 0/max 100/default 75]; - -docident [shuffleteam] [Shuffles the teams]; - docident [testvel] [TODO]; docargument [N] [TODO] [min 0/max 1/default 0]; -docident [texreduce] [-1: 2x2 : 0 : 1: x0.5 : 2: x0.25 : 3: x0.125]; - -docargument [N] [TODO] [min -1/max 3/default 0]; - -docident [texturescale] [TODO]; - -docargument [N] [TODO] [min 16/max 64/default 32]; -