Resource list (GoldSrc): Difference between revisions
Jump to navigation
Jump to search
SirYodaJedi (talk | contribs) (Created page with "{{entitytabs|Resource list|goldsrc=true|source=true}} A Resource list ({{mono|.res}} file) accompanies a map. When the map is running, it directs the server to push arbitrary...") |
Thunder4ik (talk | contribs) m (→top: clean up, replaced: {{entitytabs → {{tabs) |
||
(7 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{ | {{tabs|Resource list|goldsrc=true|source=true}} | ||
A Resource list ({{mono|.res}} file) accompanies a map. When the map is running, it directs the server to push arbitrary files to connecting clients. | A Resource list ({{mono|.res}} file) accompanies a map. When the map is running, it directs the server to push arbitrary files to connecting clients. This is necessary for providing custom assets other than [[WAD]] textures, such as models, skyboxes, or sounds, as only WAD textures can be packed into the BSP. | ||
A RES file for a map called {{path|example|bsp}} containing a custom skybox called `mysky` would look like this: | A RES file for a map called {{path|example|bsp}} containing a custom skybox called `mysky` would look like this: | ||
{{codeblock|lang=res|src=example.res|<nowiki>gfx/env/myskyup.tga | {{codeblock|lang=res|src=maps/example.res|<nowiki>gfx/env/myskyup.tga | ||
gfx/env/myskydn.tga | gfx/env/myskydn.tga | ||
gfx/env/myskylf.tga | gfx/env/myskylf.tga | ||
Line 10: | Line 10: | ||
gfx/env/myskybk.tga | gfx/env/myskybk.tga | ||
</nowiki>}} | </nowiki>}} | ||
== Tools == | |||
* [[Resguy]] Modern resfile generator; originally created for {{svencoop|4}} but should work for all GoldSrc games. | |||
* [[RESGen]] Legacy tool from 2005 that can be used to generate resource lists automatically, although the results should be cleaned up manually. | |||
[[Category:GoldSrc Level Design]] | [[Category:GoldSrc Level Design]] | ||
[[Category:File formats]] | [[Category:File formats]] | ||
[[Category:Files]] | [[Category:Files]] |
Latest revision as of 00:56, 19 January 2024
A Resource list (.res file) accompanies a map. When the map is running, it directs the server to push arbitrary files to connecting clients. This is necessary for providing custom assets other than WAD textures, such as models, skyboxes, or sounds, as only WAD textures can be packed into the BSP.
A RES file for a map called example.bsp
containing a custom skybox called `mysky` would look like this:
Tools
- Resguy Modern resfile generator; originally created for
Sven Co-op but should work for all GoldSrc games.
- RESGen Legacy tool from 2005 that can be used to generate resource lists automatically, although the results should be cleaned up manually.