Liblist.gam: Difference between revisions
Jump to navigation
Jump to search
Solokiller (talk | contribs) (→fallback_maps: elaborate on fallback_maps) |
Kestrelguy (talk | contribs) m (added language bar. also some formatting.) |
||
| Line 1: | Line 1: | ||
{{lang|{{PAGENAME}}|title=The <code>liblist.gam</code> File Structure}}{{goldsource topicon}}[[Category:File formats]][[Category:Goldsource]][[Category:Modding]] | |||
game "string" | |||
icon "string" | |||
developer "string" | |||
developer_url "string" | |||
manual "string" | |||
gamedll "string" | |||
gamedll_linux "string" | |||
gamedll_osx "string" | |||
secure "{{boolean}}" | secure "{{boolean}}" | ||
svonly "{{boolean}}" | svonly "{{boolean}}" | ||
| Line 15: | Line 16: | ||
mpentity "<ent>" | mpentity "<ent>" | ||
mpfilter "string" | mpfilter "string" | ||
fallback_dir "string" | |||
fallback_maps "{{boolean}}" | |||
nomodels "{{boolean}}" | nomodels "{{boolean}}" | ||
nohimodels "{{boolean}}" | nohimodels "{{boolean}}" | ||
detailed_textures "{{boolean}}" | detailed_textures "{{boolean}}" | ||
;<code>game</code>: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. | ;<code>icon</code>:Relative path to 16×16 24-bit <code>.tga</code> file. | ||
;<code>gamedll</code>:This keyvalue refers to the game DLL file relative to the mod's root folder. Path separators should be <code>\</code>. | |||
Relative path to | ;<code>gamedll_linux</code>:This keyvalue refers to the game SO file relative to the mod's root folder. Path separators should be <code>/</code>. | ||
;<code>gamedll_osx</code>:This keyvalue refers to the game DYLIB file relative to the mod's root folder. Path separators should be <code>/</code>. | |||
This keyvalue refers to the game DLL file relative to the mod's root folder. Path separators should be <code>\</code>. | ;<code>secure</code>:Allow VAC secure server. | ||
;<code>svonly</code>:Is this a server only mod? | |||
This keyvalue refers to the game SO file relative to the mod's root folder. Path separators should be <code>/</code>. | ;<code>type</code>:This keyvalue is either <code>singleplayer_only</code>, <code>multiplayer_only</code>, or omitted. | ||
;<code>mpentity</code>:{{obs}} This keyvalue is WON only. Use mpfilter instead. | |||
This keyvalue refers to the game DYLIB file relative to the mod's root folder. Path separators should be <code>/</code>. | ;<code>mpfilter</code>:Do not show maps with names containing this string in Create Server dialogue. | ||
;<code>fallback_dir</code>: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 <code>steamapps\common\half-life\</code> and ''Half-Life'' itself. | |||
Allow VAC secure server. | ;<code>fallback_maps</code>: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. | ||
Is this a server only mod? | |||
This keyvalue is either <code>singleplayer_only</code>, <code>multiplayer_only</code>, or omitted. | |||
This keyvalue is WON only. Use mpfilter instead. | |||
Do not show maps with names containing this string in Create Server dialogue. | |||
This keyvalue specifies a mod directory (i.e. <code>cstrike</code>, <code>NS</code>, etc. | |||
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. | |||
If the game is "Half-Life" | If the game is "Half-Life," all search paths are checked for maps. | ||
Otherwise, GameUI will load maps from the <code>"GAME"</code> path ID as well as <code>"GAMEDOWNLOAD"</code>. If this setting is not false, the fallback path ID is also checked. | Otherwise, GameUI will load maps from the <code>"GAME"</code> path ID as well as <code>"GAMEDOWNLOAD"</code>. If this setting is not false, the fallback path ID is also checked. | ||
Revision as of 17:55, 20 May 2022
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
gameappears as the title for the window when the mod is running; it is also used in My Games List. icon- Relative path to 16×16 24-bit
.tgafile. 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 tosteamapps\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.
If the game is "Half-Life," all search paths are checked for maps.
Otherwise, GameUI will load maps from the "GAME" path ID as well as "GAMEDOWNLOAD". If this setting is not false, the fallback path ID is also checked.