Difference between revisions of "The liblist.gam File Structure"

From Valve Developer Community
Jump to: navigation, search
m
m (some new keys)
Line 1: Line 1:
  [[#game|game]] "..."
+
  [[#game|game]] "string"
  [[Steam 3rd Party Mod Support|icon]] "..."
+
  [[Steam 3rd Party Mod Support|icon]] "string"
  [[Steam 3rd Party Mod Support|developer]] "..."
+
  [[Steam 3rd Party Mod Support|developer]] "string"
  [[Steam 3rd Party Mod Support|developer_url]] "..."
+
  [[Steam 3rd Party Mod Support|developer_url]] "string"
  [[Steam 3rd Party Mod Support|manual]] "..."
+
  [[Steam 3rd Party Mod Support|manual]] "string"
  [[#gamedll|gamedll]] "..."
+
  [[#gamedll|gamedll]] "string"
  [[#gamedll_linux|gamedll_linux]] "..."
+
  [[#gamedll_linux|gamedll_linux]] "string"
 
  secure "{{boolean}}"
 
  secure "{{boolean}}"
 
  svonly "{{boolean}}"
 
  svonly "{{boolean}}"
 
  cldll "{{boolean}}"
 
  cldll "{{boolean}}"
  [[#type|type]] "..."
+
  type "..."
 
  startmap "<map>"
 
  startmap "<map>"
 
  trainmap "<map>"
 
  trainmap "<map>"
 
  mpentity "<ent>"
 
  mpentity "<ent>"
 +
mpfilter              "string"
 
  [[#fallback_dir|fallback_dir]] "..."
 
  [[#fallback_dir|fallback_dir]] "..."
 
  [[#fallback_maps|fallback_maps]] "..."
 
  [[#fallback_maps|fallback_maps]] "..."
Line 20: Line 21:
 
==game==
 
==game==
 
The string specified under <code>game</code> appears as the title for the window when the mod is running; it is also used in My Games List.
 
The string specified under <code>game</code> 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==
 
==gamedll==
 
This keyvalue refers to a dll file relative to the mod's root folder. Path separators should be <code>\</code>.
 
This keyvalue refers to a dll file relative to the mod's root folder. Path separators should be <code>\</code>.
 
==gamedll_linux==
 
==gamedll_linux==
 
This keyvalue refers to an so file relative to the mod's root folder. Path separators should be <code>/</code>.
 
This keyvalue refers to an so file relative to the mod's root folder. Path separators should be <code>/</code>.
 +
==secure==
 +
Allow VAC secure server.
 +
==svonly==
 +
Is this a server only mod?
 
==type==
 
==type==
 
This keyvalue is either <code>singleplayer_only</code>, <code>multiplayer_only</code>, or omitted.
 
This keyvalue is either <code>singleplayer_only</code>, <code>multiplayer_only</code>, 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==
 
==fallback_dir==
This keyvalue specifies a mod directory (i.e. <code>cstrike</code>, <code>NS</code>, etc...) for the filesystem to mount.
+
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.
 
==fallback_maps==
 
==fallback_maps==
 
{{TODO|Find out how this one works...}}
 
{{TODO|Find out how this one works...}}
 
[[Category:Goldsource]]
 
[[Category:Goldsource]]

Revision as of 17:10, 21 November 2009

game			"string"
icon			"string"
developer		"string"
developer_url		"string"
manual			"string"
gamedll		"string"
gamedll_linux		"string"
secure			"<boolean>"
svonly			"<boolean>"
cldll			"<boolean>"
type			"..."
startmap		"<map>"
trainmap		"<map>"
mpentity		"<ent>"
mpfilter               "string"
fallback_dir		"..."
fallback_maps		"..."
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 a dll file relative to the mod's root folder. Path separators should be \.

gamedll_linux

This keyvalue refers to an so 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\half-life\ and Half-Life itself.

fallback_maps

To do: Find out how this one works...