How can I force downloads of resources?

Post Reply
User avatar
Vanderburg
Former staff
Former staff
Posts: 1253
https://www.youtube.com/channel/UC40BgXanDqOYoVCYFDSTfHA
Joined: Sat Nov 13, 2010 7:27 am
Location: Dallas, TX

How can I force downloads of resources?

Post 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.
Post Reply