Map Resource File: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
mNo edit summary
Line 3: Line 3:
A .res file accompanies a map .bsp file and has the same name. It contains something like:
A .res file accompanies a map .bsp file and has the same name. It contains something like:


  "resources"  
  "Resources"  
  {  
  {  
"materials/materialsubfolder/material name.vmt" "file"  
"materials/materialsubfolder/material name.vmt" "file"  
"materials/materialsubfolder/material name.vtf" "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:
There's a couple of programs out there to help with this:

Revision as of 22:27, 17 August 2005

Stub

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

A .res file accompanies a map .bsp file 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 (resource) files for Half-Life: http://www.thezproject.org/projects.php?pid=2

ResMaker: http://halflife2.filefront.com/file/HalfLife_2_CS_Source_ResMaker;34374