diff --git a/metamod/extra/config.ini b/metamod/extra/config.ini index d962351..718872e 100644 --- a/metamod/extra/config.ini +++ b/metamod/extra/config.ini @@ -1,2 +1,67 @@ +// vim: set ft=c : +// +// Format is as follows: +// +// +// Fields are whitespace delimited (tabs/spaces). +// +// Comments are either c++ style ("//") or unix shell style ("#"), and +// can appear ONLY at the beginning of a line. +// +// The following provide a list of recognized options, their defaults, and +// examples of usage. +// +// debuglevel +// gamedll +// exec_cfg +// clientmeta + + +// debuglevel +// where is an integer, 0 and up. +// Sets the initial debugging level for metamod (same as cvar "meta_debug"). +// Default is normally 0. If hlds is run with "-dev", default is 3. +// Overridden by: +localinfo mm_debug +// Examples: +// +// debuglevel 0 +// debuglevel 42 + + +// gamedll +// where is an absolute path, or a path relative to the gamedir. +// Overrides the auto-detected gamedll, in particular for bots. +// Default is empty, with gamedll being auto-recognized based on the +// gamedir. +// Overridden by: +localinfo mm_gamedll +// Examples: +// +// gamedll dlls/hl.dll +// gamedll ../podbot/podbot.dll +// gamedll /home/bots/dlls/mybot.dll debuglevel 0 + +// exec_cfg +// where is a path relative to the gamedir. Note! This CANNOT be +// an absolute path, as hlds will not "exec" absolute pathnames. +// Overrides the default filename containing hlds commands to run just +// after loading Metamod. +// Default is "addons/metamod/exec.cfg". +// Overridden by: +localinfo mm_execcfg +// Examples: +// +// exec_cfg configs/debugging.cfg +// exec_cfg ../clan/match.cfg + + +// clientmeta +// Setting to disable or enable Metamod's client commands ('meta list' and +// 'meta version') +// Extra setting for Metamod+All-Mod-Support Patch. +// Default is "yes". +// Overridden by: +localinfo mm_clientmeta +// Examples: +// +// clientmeta yes +// clientmeta no clientmeta no diff --git a/metamod/src/game_support.cpp b/metamod/src/game_support.cpp index 4da2afc..28f1e54 100644 --- a/metamod/src/game_support.cpp +++ b/metamod/src/game_support.cpp @@ -10,8 +10,9 @@ const game_modinfo_t g_known_games[] = { // Previously enumerated in this sourcefile, the list is now kept in a // separate file, generated based on game information stored in a // convenient db. - { "cstrike", "cs.so", "mp.dll", "Counter-Strike" }, - { "czero", "cs.so", "mp.dll", "Counter-Strike:Condition Zero" }, + { "valve", "hl.so", "hl.dll", "Half-Life" }, + { "cstrike", "cs.so", "mp.dll", "Counter-Strike" }, + { "czero", "cs.so", "mp.dll", "Counter-Strike:Condition Zero" }, // End of list terminator: { nullptr, nullptr, nullptr, nullptr }