Liblist.gam: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Undo revision 207195 by Solokiller (talk))
(added information for fallback_maps, corrected type for fallback_dir, corrected path for fallback_dir)
Line 15: Line 15:
  mpentity "<ent>"
  mpentity "<ent>"
  mpfilter              "string"
  mpfilter              "string"
  [[#fallback_dir|fallback_dir]] "..."
  [[#fallback_dir|fallback_dir]] "string"
  [[#fallback_maps|fallback_maps]] "..."
  [[#fallback_maps|fallback_maps]] "{{boolean}}"
  nomodels "{{boolean}}"
  nomodels "{{boolean}}"
  nohimodels "{{boolean}}"
  nohimodels "{{boolean}}"
Line 41: Line 41:
Do not show maps with names containing this string in Create Server dialogue.
Do not show maps with names containing this string in Create Server dialogue.
==fallback_dir==
==fallback_dir==
This keyvalue specifies a mod directory (i.e. <code>cstrike</code>, <code>NS</code>, etc...) for the filesystem to mount. This will only mount mods installed to steamapps\half-life\ and Half-Life itself.
This keyvalue specifies a mod directory (i.e. <code>cstrike</code>, <code>NS</code>, etc...) for the filesystem to mount. This will only mount mods installed to steamapps\common\half-life\ and Half-Life itself.
==fallback_maps==
==fallback_maps==
{{TODO|Find out how this one works...}}
Used by GameUI to determine whether maps should be loaded from the <code>"GAME_FALLBACK"</code> [[IFileSystemV009#Path_IDs|search path ID]].
Defaults to true. GameUI will load maps from the <code>"GAME"</code> path ID as well as the fallback path ID.


[[Category:File formats]]
[[Category:File formats]]
[[Category:Goldsource]]
[[Category:Goldsource]]

Revision as of 13:47, 17 November 2016

game			"string"
icon			"string"
developer		"string"
developer_url		"string"
manual			"string"
gamedll		"string"
gamedll_linux		"string"
gamedll_osx		"string"
secure			"<boolean>"
svonly			"<boolean>"
cldll			"<boolean>"
type			"..."
startmap		"<map>"
trainmap		"<map>"
mpentity		"<ent>"
mpfilter               "string"
fallback_dir		"string"
fallback_maps		"<boolean>"
nomodels		"<boolean>"
nohimodels		"<boolean>"
detailed_textures	"<boolean>"

game

The string specified under game appears as the title for the window when the mod is running; it is also used in My Games List.

icon

Relative path to 16x16 24 bit .tga file.

gamedll

This keyvalue refers to the game DLL file relative to the mod's root folder. Path separators should be \.

gamedll_linux

This keyvalue refers to the game SO file relative to the mod's root folder. Path separators should be /.

gamedll_osx

This keyvalue refers to the game DYLIB file relative to the mod's root folder. Path separators should be /.

secure

Allow VAC secure server.

svonly

Is this a server only mod?

type

This keyvalue is either singleplayer_only, multiplayer_only, or omitted.

mpentity

This keyvalue is WON only. Use mpfilter instead.

mpfilter

Do not show maps with names containing this string in Create Server dialogue.

fallback_dir

This keyvalue specifies a mod directory (i.e. cstrike, NS, etc...) for the filesystem to mount. This will only mount mods installed to steamapps\common\half-life\ and Half-Life itself.

fallback_maps

Used by GameUI to determine whether maps should be loaded from the "GAME_FALLBACK" search path ID. Defaults to true. GameUI will load maps from the "GAME" path ID as well as the fallback path ID.