Map Resource File: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
Line 1: | Line 1: | ||
{{stub}} | {{stub}} | ||
A [[ | A [[.res]] file accompanies a [[.bsp]] file when the map uses custom content. The [[.res|.res's]] filename is the same as the map's. and has the same name. It contains something like: | ||
"Resources" | "Resources" | ||
Line 9: | Line 9: | ||
} | } | ||
'''''Note:''' You don't have to precache the [[ | '''''Note:''' You don't have to precache the [[.bsp]], [[Wikipedia:.txt|.txt]], [[.res]], [[.ain]], or [[.nav]] file. They're already precached by the game automatically.'' | ||
There's a couple of programs out there to help with this: | There's a couple of programs out there to help with this: | ||
[[RESGen]] is a tool to create [[ | [[RESGen]] is a tool to create [[.res]] files for [[Half-Life]]: http://www.thezproject.org/projects.php?pid=2 | ||
[[ResMaker]]: http://halflife2.filefront.com/file/HalfLife_2_CS_Source_ResMaker;34374 | [[ResMaker]]: http://halflife2.filefront.com/file/HalfLife_2_CS_Source_ResMaker;34374 | ||
[[category:Level design]] | [[category:Level design]] |
Revision as of 14:18, 23 September 2005
A .res file accompanies a .bsp file when the map uses custom content. The .res's filename is the same as the map's. and has the same name. It contains something like:
"Resources" { "materials/materialsubfolder/material name.vmt" "file" "materials/materialsubfolder/material name.vtf" "file" }
Note: You don't have to precache the .bsp, .txt, .res, .ain, or .nav file. They're already precached by the game automatically.
There's a couple of programs out there to help with this:
RESGen is a tool to create .res files for Half-Life: http://www.thezproject.org/projects.php?pid=2
ResMaker: http://halflife2.filefront.com/file/HalfLife_2_CS_Source_ResMaker;34374