How can I force downloads of resources?

Post Reply
User avatar
Vanderburg
Staff
Staff
Posts: 1245
Joined: Sat Nov 13, 2010 7:27 am
Location: Dallas, TX

How can I force downloads of resources?

Post by Vanderburg » Sat Dec 15, 2012 11:07 pm

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.

Post Reply