Resource list (Source)
(Redirected from Resource list)
Jump to navigation
Jump to search
A Resource list (.res
file) accompanies a map. When the map is running, it directs the server to push arbitrary files to connecting clients.
While it is generally preferable to achieve this by using BSPZIP to embed the files into the map itself, there are occasional situations where only loose files and a .res will work.
![Warning.png](/w/images/thumb/c/cb/Warning.png/10px-Warning.png)
Example
Resources { "materials/vdc/some_material.vmt" "file" "materials/vdc/some_material.vtf" "file" }
![Tip.png](/w/images/thumb/4/45/Tip.png/9px-Tip.png)
![Tip.png](/w/images/thumb/4/45/Tip.png/9px-Tip.png)
Todo: What data types are there beside
file
? It seems to not matter what type is specified, as long as the type definition isn't empty or absent.Todo: Can a .res be safely BSPZIPped?
Files
A resource list must be located in the maps
folder with the same name as the associated BSP.
VGUI Resource Files
Some resource files can be found in your /resource folder. Most of them are for VGUI. For more information, see RES file (VGUI).