]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - darkplaces.txt
print memlist if out of memory error occurs
[xonotic/darkplaces.git] / darkplaces.txt
index 18ab371e1899a7f97f17816e5f2c8a16dd617932..91c700ec0de0afa6701dcbf4eeeea3cb7369a3fa 100644 (file)
@@ -249,6 +249,11 @@ tag_head,                                         says that the first tag is nam
 tag_torso,                                        second tag name\r
 tag_weapon,                                       third tag name\r
 \r
+How to install a soundtrack in ogg format\r
+These files must be in ogg or wav format, and numbers begin at 002 if you wish to replace (or install) the Quake cd music - since track 001 was the Quake data track.</p>\r
+quake/id1/sound/cdtracks/track002.ogg             replacement track for "cd loop 2"\r
+quake/id1/sound/cdtracks/track003.ogg             replacement track for "cd loop 3"\r
+\r
 Example list of filenames:\r
 quake/id1/progs/player.mdl                        replaces the player model)\r
 quake/id1/progs/player.mdl_0.skin                 text file that specifies textures to use on an md3 model)\r
@@ -266,6 +271,8 @@ quake/id1/gfx/conchars.tga                        replacement font image, this w
 quake/id1/gfx/conback.tga                         replacement console background, just like in quake)\r
 quake/id1/gfx/mainmenu.tga                        replacement main menu image, just like in quake)\r
 quake/id1/maps/b_bh25.bsp                         replacement for normal health pack, for example this could be an md3 model instead)\r
+quake/id1/sound/cdtracks/track002.ogg             replacement track for "cd loop 2"\r
+quake/id1/sound/cdtracks/track003.ogg             replacement track for "cd loop 3"\r
 \r
 \r
 \r
@@ -488,7 +495,14 @@ collision_leavenudge                              0                   how much t
 collision_prefernudgedfraction                    1                   whether to sort collision events by nudged fraction (1) or real fraction (0)\r
 collision_startnudge                              0                   how much to bias collision trace start\r
 con_closeontoggleconsole                          1                   allows toggleconsole binds to close the console as well\r
+con_chat                                          0                   how many chat lines to show in a dedicated chat area\r
+con_chatpos                                       0                   where to put chat (negative: lines from bottom of screen, positive: lines below notify, 0: at top)\r
+con_chatsize                                      8                   chat text size in virtual 2D pixels\r
+con_chattime                                      30                  how long chat lines last, in seconds\r
+con_chatwidth                                     1.0                 relative chat window width\r
 con_notify                                        4                   how many notify lines to show (0-32)\r
+con_notifyalign                                   3                   how to align notify lines: 0 = left, 0.5 = center, 1 = right, empty string = game default)\r
+con_notifysize                                    8                   notify text size in virtual 2D pixels\r
 con_notifytime                                    3                   how long notify lines last, in seconds\r
 con_textsize                                      8                   console text size in virtual 2D pixels\r
 coop                                              0                   coop mode, 0 = no coop, 1 = coop mode, multiple players playing through the singleplayer game (coop mode also shuts off deathmatch)\r
@@ -686,7 +700,7 @@ r_hdr_range                                       4                   how much d
 r_hdr_scenebrightness                             1                   global rendering brightness\r
 r_lerpimages                                      1                   bilinear filters images when scaling them up to power of 2 size (mode 1), looks better than glquake (mode 0)\r
 r_lerpmodels                                      1                   enables animation smoothing on models\r
-r_lerpsprites                                     1                   enables animation smoothing on sprites (requires r_lerpmodels 1)\r
+r_lerpsprites                                     1                   enables animation smoothing on sprites\r
 r_letterbox                                       0                   reduces vertical height of view to simulate a letterboxed movie effect (can be used by mods for cutscenes)\r
 r_lightmaprgba                                    1                   whether to use RGBA (32bit) or RGB (24bit) lightmaps\r
 r_lightningbeam_color_blue                        1                   color of the lightning beam effect\r
@@ -818,6 +832,7 @@ showdate_format                                   %Y-%m-%d            format str
 showfps                                           0                   shows your rendered fps (frames per second)\r
 showpause                                         1                   show pause icon when game is paused\r
 showram                                           1                   show ram icon if low on surface cache memory (not used)\r
+showspeed                                         0                   shows your current speed (qu per second); number selects unit: 1 = qups, 2 = m/s, 3 = km/h, 4 = mph, 5 = knots\r
 showtime                                          0                   shows current time of day (useful on screenshots)\r
 showtime_format                                   %H:%M:%S            format string for time of day\r
 showturtle                                        0                   show turtle icon when framerate is too low (not used)\r
@@ -850,7 +865,7 @@ sv_cheats                                         0                   enables ch
 sv_clmovement_enable                              1                   whether to allow clients to use cl_movement prediction, which can cause choppy movement on the server which may annoy other players\r
 sv_clmovement_minping                             0                   if client ping is below this time in milliseconds, then their ability to use cl_movement prediction is disabled for a while (as they don't need it)\r
 sv_clmovement_minping_disabletime                 1000                when client falls below minping, disable their prediction for this many milliseconds (should be at least 1000 or else their prediction may turn on/off frequently)\r
-sv_clmovement_waitforinput                        16                  when a client does not send input for this many frames, force them to move anyway (unlike QuakeWorld)\r
+sv_clmovement_inputtimeout                        0.2                 when a client does not send input for this many seconds, force them to move anyway (unlike QuakeWorld)\r
 sv_cullentities_nevercullbmodels                  0                   if enabled the clients are always notified of moving doors and lifts and other submodels of world (warning: eats a lot of network bandwidth on some levels!)\r
 sv_cullentities_pvs                               1                   fast but loose culling of hidden entities\r
 sv_cullentities_stats                             0                   displays stats on network entities culled by various methods for each client\r
@@ -1038,7 +1053,7 @@ Full console command list as of 2007-03-11:
 -use                                              stop using something\r
 alias                                             create a script function (parameters are passed in as $1 through $9, and $* for all parameters)\r
 begin                                             signon 3 (client asks server to start sending entities, and will go to signon 4 (playing) when the first entity update is received)\r
-bestweapon                                        send an impulse number to server to select the first usable weapon out of several (example: 87654321)\r
+bestweapon                                        send an impulse number to server to select the first usable weapon out of several (example: 8 7 6 5 4 3 2 1)\r
 bf                                                briefly flashes a bright color tint on view (used when items are picked up)\r
 bind                                              binds a command to the specified key in bindmap 0\r
 bottomcolor                                       QW command to set bottom color without changing top color\r
@@ -1047,6 +1062,7 @@ cddrive                                           select an SDL-detected CD driv
 centerview                                        gradually recenter view (stop looking up/down)\r
 changelevel                                       change to another level, bringing along all connected clients\r
 changing                                          sent by qw servers to tell client to wait for level change\r
+cycleweapon                                       send an impulse number to server to select the next usable weapon out of several, or the first if you are not holding any (example: 8 7 3)\r
 cl_areastats                                      prints statistics on entity culling during collision traces\r
 cl_begindownloads                                 used internally by darkplaces client while connecting (causes loading of models and sounds or triggers downloads for missing ones)\r
 cl_downloadbegin                                  (networking) informs client of download file information, client replies with sv_startsoundload to begin the transfer\r
@@ -1073,7 +1089,7 @@ entities                                          print information on network e
 envmap                                            render a cubemap (skybox) of the current scene\r
 exec                                              execute a script file\r
 fly                                               fly mode (flight)\r
-fog                                               set global fog parameters (density red green blue)\r
+fog                                               set global fog parameters (density red green blue mindist maxdist)\r
 force_centerview                                  recenters view (stops looking up/down)\r
 fs_rescan                                         rescans filesystem for new pack archives and any other changes\r
 fullinfo                                          allows client to modify their userinfo\r
@@ -1200,7 +1216,7 @@ setinfo                                           modifies your userinfo
 sizedown                                          decrease view size (decreases viewsize cvar)\r
 sizeup                                            increase view size (increases viewsize cvar)\r
 skins                                             downloads missing qw skins from server\r
-snd_reload                                        reload all sound files\r
+snd_unloadallsounds                               unload all sound files\r
 snd_restart                                       restart sound system\r
 soundinfo                                         print sound system information (such as channels and speed)\r
 soundlist                                         list loaded sounds\r
@@ -1236,7 +1252,7 @@ viewmodel                                         change model of viewthing enti
 viewnext                                          change to next animation frame of viewthing entity in current level\r
 viewprev                                          change to previous animation frame of viewthing entity in current level\r
 wait                                              make script execution wait for next rendered frame\r
-\r
+which                                             accepts a file name as argument and reports where the file is taken from\r
 \r
 \r
 How to install Quake on Windows:\r
@@ -1308,3 +1324,36 @@ de-we for the great icons.
 |Rain| for running my favorite anynet IRC server and his bot feh (which although a bit antisocial never seems to grow tired of being my calculator).\r
 VorteX for the DP_QC_GETTAGINFO extension.\r
 Ludwig Nussel for the ~/.games/darkplaces/ user directory support on non-Windows platforms (allowing games to be installed in a non-writable system location as is the standard on UNIX but still save configs to the user's home directory).\r
+\r
+\r
+Shader parameters for DP's own features:\r
+- dp_reflect <distort> <r> <g> <b> <a>\r
+  Makes surfaces of this shader reflective with r_water. The reflection is\r
+  alpha blended on the texture with the given alpha, and modulated by the given\r
+  color. distort is used in conjunction with the normalmap to simulate a\r
+  nonplanar water surface.\r
+- dp_refract <distort> <r> <g> <b>\r
+  Makes surfaces of this shader refractive with r_water. The refraction\r
+  replaces the transparency of the texture. distort is used in conjunction with\r
+  the normalmap to simulate a nonplanar water surface.\r
+- dp_water <reflectmin> <reflectmax> <refractdistort> <reflectdistort> <refractr> <refractg> <refractb> <reflectr> <reflectg> <reflectb> <alpha>\r
+  This combines the effects of dp_reflect and dp_refract to simulate a water\r
+  surface. However, the refraction and the reflection are mixed using a Fresnel\r
+  equation that makes the amount of reflection slide from reflectmin when\r
+  looking parallel to the water to reflectmax when looking directly into the\r
+  water. The result of this reflection/refraction mix is then layered BELOW the\r
+  texture of the shader, so basically, it "fills up" the alpha values of the\r
+  water. The alpha value is a multiplicator for the alpha value on the texture\r
+  - set this to a small value like 0.1 to emphasize the reflection and make\r
+  the water transparent; but if r_water is 0, alpha isn't used, so the water can\r
+  be very visible then too.\r
+- tcmod page <width> <height> <delay>\r
+  The texture is shifted by 1/<width> every <delay> seconds, and by 1/<height>\r
+  every <delay>*<width> seconds. It is some sort of animmap replacement that keeps\r
+  all animation frames in a single texture.\r
+  To use it, make a texture with the frames aligned in a grid like this:\r
+    1   2   3   4\r
+    5   6   7   8\r
+  then align it in Radiant so only one of the animation frames can be seen on\r
+  the surface, and specify "tcmod page 4 2 0.1". DP will then display the frames\r
+  in order and the cycle will repeat every 0.8 seconds.\r