(12 Oct 10, 05:55AM)Ronald_Reagan Wrote: V-Man, you need to give me (and all others) a debriefing of new idents!No on_death yet, but there seem to be plans for it later.
Is there on_death?
Feel free to use this provisional update for docs.cfg I slapped together with my simple observations. Just copy and paste it to the end of your existing docs.cfg file.
Here is the other bunch of custom docs.cfg in case anyone is interested.
Other new idents may yet exist. If you find ones I didn't document yet, please let us all know.
[SELECT ALL] Code:
docident [pstat_score] [Generates a list of score stats.];
docargument [C] [client number];
docexample [echo (pstat_score 3)] [Outputs a list of score stats for client number 3.];
docremark [stat lists: flags, frags, deaths, points, team, name.];
docident [pstat_weap] [Generates a list of weapon stats.];
docargument [C] [client number];
docexample [echo (pstat_weap 3)] [Outputs a list of weapon stats for client number 3.];
docremark [stat lists: knife attacks, knife damage, pistol shots, pistol damage, carbine shots, carbine damage, shotgun shots, shotgun damage, SMG shots, SMG damage, sniper shots, sniper damage, AR shots, AR damage, Combat pistol shots, Combat pistol damage, nades thrown, nade damage, akimbo shots, akimbo damage.];
docident [clockdisplay] [Displays game time on the top-center of the HUD.]
docargument [N] [0 .. 2] [0 = not displayed; 1 = displays time remaining; 2 = displays time spent];
docexample [clockdisplay 1];
docremark [Displays time pertaining to current game only.];
docident [current_version] [Compares a supplied argument with the current version.];
docargument [S] [string, should be $version to perform the intended function.]
docexample [current_version $version] [nothing happens if you are using the correct version.];
docexample [current_version $fov] [A message appears in the console encouraging you to update your client.];
docident [+=] [Increases an alias or variable by a specified amount.];
docargument [A] [The alias or variable name];
docargument [N] [The amount to increase it by];
docexample [+= fov 10] [Increases FOV by 10];
docident [-=] [Decreases an alias or variable by a specified amount.];
docargument [A] [The alias name];
docargument [N] [The amount to decrease it by];
docexample [-= fov 10] [Decreases FOV by 10];
docident [*=] [Sets an alias or variable to a multiplied amount.];
docargument [A] [The alias or variable name];
docargument [N] [The amount to multiply its current value by];
docexample [*= maxhistory 3] [Sets maxhistory to triple its previous value.];
docident [+=f] [Increases an alias or variable by a specified (floating-decimal) amount.];
docargument [A] [The alias or variable name];
docargument [N] [The amount to increase it by];
docexample [+=f sensitivity 1.5] [Increases mouse sensitivity by 1.5];
docident [-=f] [Decreases an alias or variable by a specified (floating-decimal) amount.];
docargument [A] [The alias or variable name];
docargument [N] [The amount to decrease it by];
docexample [-=f sensitivity 1.5] [Decreases mouse sensitivity by 1.5];
docident [*=f] [Sets an alias or variable to a multiplied (floating-decimal) amount.];
docargument [A] [The alias or variable name];
docargument [N] [The amount to multiply its current value by];
docexample [gamespeed *=f 1.5] [Changes gamespeed to 1.5 times its previous value.];
docident [gametimecurrent] [Contains the value of the "curmillis" variable from the source code.];
docident [gametimemaximum] [Is set by the source code to 900000.];
docident [lastgametimeupdate] [Contains the value of the "lastmillis" variable from the source code.];
I haven't gone through to see if any idents have been removed...
And yeah, I know += and -= existed in earlier versions, but they've basically been restructured in the Deep Magic, so I figured a reappearance here was appropriate.