Resource list (Source)

From Valve Developer Community
Revision as of 15:57, 14 October 2005 by Ts2do (talk | contribs)
Jump to navigation Jump to search

Stub

This article or section is a stub. You can help by expanding it.

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.pngNote: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