Resource list (Source): Difference between revisions
Jump to navigation
Jump to search
Tip:.txt, .res, .ain and .nav files with the same name as the map are automatically pushed, and don't need to be included.
SirYodaJedi (talk | contribs) m (→See also: link vide) |
mNo edit summary |
||
Line 2: | Line 2: | ||
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. | 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. | ||
== Example == | == Example == | ||
Line 17: | Line 15: | ||
*{{todo|What data types are there beside <code>file</code>?}} | *{{todo|What data types are there beside <code>file</code>?}} | ||
*{{todo|Can a .res be safely [[BSPZIP]]ped?}} | *{{todo|Can a .res be safely [[BSPZIP]]ped?}} | ||
== Files == | |||
A resource list must be located in the {{path|maps}} folder with the same name as the associated [[BSP]]. | |||
==VGUI Resource Files== | ==VGUI Resource Files== | ||
Line 31: | Line 32: | ||
*[[Map_Resource_Extractor]] | *[[Map_Resource_Extractor]] | ||
[[Category:Level Design]] [[Category: | [[Category:Level Design]] | ||
[[Category:File formats]] | |||
[[Category:Files]] |
Revision as of 20:24, 19 July 2023
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.
Example
Resources { "materials/vdc/some_material.vmt" "file" "materials/vdc/some_material.vtf" "file" }

- Todo: What data types are there beside
file
? - 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.