diff --git a/docs/reference.xml b/docs/reference.xml index c883c75c..0a6d0200 100644 --- a/docs/reference.xml +++ b/docs/reference.xml @@ -1075,28 +1075,6 @@
- - Sets fog and clearing colour. - - This and the fog variable can be set in the map config file. - - - - - - - Sets the fog distance. - - - You can do this for tweaking the visual effect of the fog, or if you are on a slow machine, - setting the fog to a low value can also be a very effective way to increase fps (if you are geometry limited). - Try out different values on big maps / maps which give you low fps. - - - - - - @@ -1116,14 +1094,6 @@ - - - Determines the color of the water in the map. - - - - - @@ -1706,34 +1676,6 @@ - - Resets the mapmodel slots/indices to 0. - - Each subsequent mapmodel command increases it again. See config/default_map_settings.cfg for an example. - - - - Registers a mapmodel that can be placed in maps. - - - A mapmodel registered with this command can be placed in a map using the 'newent mapmodel' command. - The bounding box is an invisible force surrounding the model, allowing players to collide against it, instead - of walking through the mapmodel. For more information about this command, read mapediting5.xml. - - - Example: mapmodel 4 2 4 0 "modelname" - - This mapmodel has a bounding box of 8x8x2 in size (x/y/z) and by default hovers 4 units above ground. - - - - - - - - - - Scales all lights in the map. @@ -2471,10 +2413,11 @@
- This section lists commands used by the client that communicate to the server. - Most are used for server administration. - Also see the "mode" section and the "map" command which also - communicate to the server. + + This section lists commands used by the client that communicate to the server. + Most are used for server administration. + Also see the "mode" section and the "map" command which also + communicate to the server. @@ -2878,9 +2821,108 @@
All the below commands are used specifically in map configuration files. + Some of these commands can also be used without the need of a map configuration file. - + + + Sets the fog distance. + + + You can do this for tweaking the visual effect of the fog, or if you are on a slow machine, + setting the fog to a low value can also be a very effective way to increase fps (if you are geometry limited). + Try out different values on big maps / maps which give you low fps. It is also good for asthetic features of maps + especially when combined with "fogcolour". + + + + + + + + + + + + Sets the fog and clearing colour. + + + + + + + + + + Registers a mapmodel that can be placed in maps. + + + A mapmodel registered with this command can be placed in a map using the 'newent mapmodel' command. + The bounding box is an invisible force surrounding the model, allowing players to collide against it, instead + of walking through the mapmodel. For more information about this command, read mapediting5.xml. + + + Example: mapmodel 4 2 4 0 "modelname" + + This mapmodel has a bounding box of 8x8x2 in size (X/Y/Z) and by default hovers 4 units above ground. + + + + + + + + + + + + + + + + + Resets the mapmodel slots/indices to 0. + + Each subsequent mapmodel command increases it again. See config/default_map_settings.cfg for an example. + + + + + + + + + + Shadow yaw specifies the angle at which shadow stencils are drawn on a map. The default angle is 45 degrees. + When specifying shadowyaw, remember that the angle will be added with the default 45 degrees. The example below + would make the shadows appear at 90 degrees. + + + + + shadowyaw 45 + + + + + + + + + + + Determines the water colour in a map. + + + + + + + + + + +