Page 1 of 1

How can I force downloads of resources?

Posted: Sat Dec 15, 2012 11:07 pm
by Vanderburg
Global Offensive RES file

In the maps directory, you need to create a file named mapname.res that lists all the custom resources required by the map.

The format is as follows:

Code: Select all

"resources"
{
"maps\map_name.kv" "file"
"maps\map_name.txt" "file"
"resource\flash\loading-map_name.swf" "file"
"resource\overviews\map_name.txt" "file"
"resource\overviews\map_name.dds" "file"
}
Add all the resources of your map on their own line until you have added them all.

You must have the "file" parameter, because the .res file places each file with the value parameter, "file", which signifies that its a map resource file and must be downloaded.