Fixed spelling: file: B-work
authordarope
Tue Dec 20 15:48:02 2005 +0000 (2005-12-20)
branchB-work
changeset 17961ddca33be41
parent 178 75814904857f
child 180 df1e6e7aba1d
Fixed spelling: file:
doc/txt/metamod.txt
     1.1 --- a/doc/txt/metamod.txt	Tue Dec 20 15:47:25 2005 +0000
     1.2 +++ b/doc/txt/metamod.txt	Tue Dec 20 15:48:02 2005 +0000
     1.3 @@ -9,15 +9,15 @@
     1.4  
     1.5    - meta version - displays version information about the Metamod instance
     1.6      currently running on the server, ie:
     1.7 -   
     1.8 +
     1.9      Metamod v1.17 2003/08/01
    1.10      by Will Day <[email protected]>
    1.11      http://www.metamod.org/
    1.12      compiled: Aug 4 2003, 22:43:33 Eastern (debugging)
    1.13 -   
    1.14 +
    1.15    - meta list - displays information about the list of currently running
    1.16      plugins, ie:
    1.17 -   
    1.18 +
    1.19      Currently running plugins:
    1.20      [ 1] Trace HLSDK API, v1.XX.93, 2003/02/17, by Will Day
    1.21      <[email protected]>, see http://www.metamod.org/
    1.22 @@ -36,39 +36,39 @@
    1.23  Installation
    1.24  ============
    1.25  
    1.26 -If you have installed AdminMod (www.adminmod.org/) 2.50 or later, then the
    1.27 +If you have installed AdminMod (www.adminmod.org) 2.50 or later, then the
    1.28  AM installer has already installed Metamod for you. If you only want to
    1.29 -upgrade your Metamod with a more recent version, simply grab the 
    1.30 +upgrade your Metamod with a more recent version, simply grab the
    1.31  metamod.dll (win32) or metamod_i386.so (linux) file and replace the file
    1.32  currently on your system.
    1.33  
    1.34  If you want to install Metamod by hand, here's what you have to do:
    1.35  
    1.36 -   
    1.37 +
    1.38    - Install the Metamod library (.dll for win32, or .so for linux) to a
    1.39      directory under your game directory. For instance, if you were running
    1.40      Counter-Strike, under win32 you might want have:
    1.41 -   
    1.42 -        half-life/cstrike/addons/metamod/dlls/metamod.dll
    1.43 -   
    1.44 +
    1.45 +            half-life/cstrike/addons/metamod/dlls/metamod.dll
    1.46 +
    1.47      If a directory you want doesn't exist, create it.
    1.48 -   
    1.49 +
    1.50    - Edit the "liblist.gam" file in your game directory, replacing the game
    1.51      dll filename with the Metamod dll filename. For instance with
    1.52      Counter-Strike, you would change:
    1.53 -   
    1.54 +
    1.55          gamedll "dlls/mp.dll"
    1.56          gamedll_linux "dlls/cs_i386.so"
    1.57 -   
    1.58 +
    1.59      to:
    1.60 -   
    1.61 +
    1.62          gamedll "addons/metamod/dlls/metamod.dll"
    1.63          gamedll_linux "addons/metamod/dlls/metamod_i386.so"
    1.64 -   
    1.65 +
    1.66      Note that it's only really necessary to change the line corresponding
    1.67      to your OS (win32 or linux); you can leave the other line unchanged,
    1.68      or you can change it - it doesn't matter.
    1.69 -   
    1.70 +
    1.71    - To load plugins at game startup, you'll need to create a "plugins.ini"
    1.72      file containing a list of the plugins you want to load.
    1.73  
    1.74 @@ -95,17 +95,17 @@
    1.75  directory, ie "cstrike":
    1.76  
    1.77    - +localinfo mm_configfile <file>
    1.78 -   
    1.79 +
    1.80    - +localinfo mm_pluginsfile <file>
    1.81    - config.ini option: plugins_file <file>
    1.82    - $gamedir/addons/metamod/plugins.ini
    1.83    - $gamedir/metamod.ini
    1.84 -   
    1.85 +
    1.86    - $localinfo mm_execcfg <file>
    1.87    - config.ini option: exec_cfg <file>
    1.88    - $gamedir/addons/metamod/exec.cfg
    1.89    - $gamedir/metaexec.cfg
    1.90 -   
    1.91 +
    1.92    - $localinfo mm_gamedll <file>
    1.93    - config.ini option: gamedll <file>
    1.94    - [DEL]$gamedir/metagame.ini[DEL] -- NO LONGER SUPPORTED.
    1.95 @@ -125,17 +125,17 @@
    1.96  Fields are whitespace delimited (tabs/spaces).
    1.97  
    1.98    - Platform is a keyword, either "linux" or "win32".
    1.99 -   
   1.100 +
   1.101    - Filepath is a path to the DLL/so file. Relative paths are from the
   1.102 -    game dir; absolute paths are also valid. Paths should use unix-style 
   1.103 +    game dir; absolute paths are also valid. Paths should use unix-style
   1.104      forward slashes (/) and not backward slashes (\), even on windows
   1.105      platforms.
   1.106 -   
   1.107 +
   1.108      Also, the filepath (once expanded to full path name) is expected to be
   1.109      unique within the list of plugins. Thus, a plugin with a fullpathname
   1.110      matching that of a previous plugin is considered a duplicate, and is
   1.111      not loaded.
   1.112 -   
   1.113 +
   1.114    - Description is an optional description of the plugin, used in place of
   1.115      the plugin's internal name in log messages and console output.
   1.116      Whitespace in the description _is_ allowed; quoting is unnecessary.
   1.117 @@ -200,14 +200,14 @@
   1.118  
   1.119      <option> <value>
   1.120  
   1.121 -Fields are whitespace delimited (tabs/spaces). Comments are recognized at 
   1.122 +Fields are whitespace delimited (tabs/spaces). Comments are recognized at
   1.123  _only_ the beginning of a line, and can be in either shell style ("#") or
   1.124  c++ style ("//"). The following is a list of currently recognized options,
   1.125  their defaults, and examples of usage:
   1.126  
   1.127 -   
   1.128 +
   1.129    - debuglevel <number>
   1.130 -   
   1.131 +
   1.132      where <number> is an integer, 0 and up.
   1.133      Sets the initial debugging level for metamod (same as cvar
   1.134      "meta_debug").
   1.135 @@ -216,9 +216,9 @@
   1.136      Examples:
   1.137      debuglevel 0
   1.138      debuglevel 42
   1.139 -   
   1.140 +
   1.141    - gamedll <path>
   1.142 -   
   1.143 +
   1.144      where <path> is an absolute path, or a path relative to the gamedir.
   1.145      Overrides the auto-detected gamedll, in particular for bots.
   1.146      Default is empty, with gamedll being auto-recognized based on the
   1.147 @@ -228,9 +228,9 @@
   1.148      gamedll dlls/hl.dll
   1.149      gamedll ../podbot/podbot.dll
   1.150      gamedll /home/bots/dlls/mybot.dll
   1.151 -   
   1.152 +
   1.153    - plugins_file <path>
   1.154 -   
   1.155 +
   1.156      where <path> is an absolute path, or a path relative to the gamedir.
   1.157      Overrides the default filename containing the MM plugins to load.
   1.158      Default is "addons/metamod/plugins.ini".
   1.159 @@ -239,9 +239,9 @@
   1.160      plugins_file cfg/clanmode.ini
   1.161      plugins_file ../private.ini
   1.162      plugins_file /home/half-life/testing.ini
   1.163 -   
   1.164 +
   1.165    - exec_cfg <path>
   1.166 -   
   1.167 +
   1.168      where <path> is a path relative to the gamedir. NOTE! This cannot be
   1.169      an absolute path, as hlds will not "exec" absolute pathnames.
   1.170      Overrides the default filename containing hlds commands to run just
   1.171 @@ -273,8 +273,8 @@
   1.172  file "metaexec.cfg" under the gamedir, ie "cstrike/metaexec.cfg".
   1.173  
   1.174  
   1.175 -[DEL]file: metagame.ini[DEL]
   1.176 -=========
   1.177 +[DEL]File: metagame.ini[DEL]
   1.178 +==========
   1.179  
   1.180  NOTE! This file is no longer supported! -- use instead the +localinfo
   1.181  field "mm_gamedll" or the config.ini option gamedll.
   1.182 @@ -291,34 +291,34 @@
   1.183  
   1.184  Current localinfo fields recognized by Metamod:
   1.185  
   1.186 -   
   1.187 +
   1.188    - mm_configfile Specifies the file that lists config options, instead of
   1.189      using the file config.ini. The <value> should be the pathname of the
   1.190      config file, either absolute path or path relative to the gamedir.
   1.191 -   
   1.192 +
   1.193    - mm_pluginsfile Specifies a file that lists the Metamod plugins to
   1.194      load, instead of using the file plugins.ini. The <value> should be the
   1.195      pathname of the plugins file, either absolute path or path relative to
   1.196      the gamedir.
   1.197 -   
   1.198 +
   1.199    - mm_execcfg Specifies a file that contains cvar or other configs to be
   1.200      exec'd after loading the plugins, instead of using the file exec.cfg.
   1.201      The <value> should be the pathname of the exec file, either absolute
   1.202      path or path relative to the gamedir.
   1.203 -   
   1.204 +
   1.205    - mm_gamedll Specifies a game or Bot DLL to be used instead of the
   1.206      normal gameDLL. The <value> should be the pathname of the DLL, either
   1.207      absolute path or path relative to the gamedir.
   1.208 -   
   1.209 +
   1.210      This replaces using the metagame.ini file. With previous versions of
   1.211      AdminMod (2.10 and earlier), this same functionality was provided by
   1.212      the file "admin.ini".
   1.213 -   
   1.214 +
   1.215    - mm_debug Specifies an initial meta_debug value.
   1.216  
   1.217  Note that each localinfo field can have only one value. If specified more
   1.218  than once on the command line, only the last one will be recognized. (In
   1.219 -particular, trying to use mm_gamedll to load multiple dll-style bots will 
   1.220 +particular, trying to use mm_gamedll to load multiple dll-style bots will
   1.221  not work. In a case like that, the multiple dll's must be chained
   1.222  together).
   1.223  
   1.224 @@ -362,6 +362,7 @@
   1.225  prefix string matching description or file.
   1.226  
   1.227  Also, a single cvar is available:
   1.228 +
   1.229     meta_debug       - set debugging level
   1.230  
   1.231  For instance with:
   1.232 @@ -374,6 +375,7 @@
   1.233    2 plugins, 2 running
   1.234  
   1.235  You could then do any of the following to unload the API Trace plugin:
   1.236 +
   1.237     meta unload 1
   1.238     meta unload trace
   1.239     meta unload mm_trace