How can I force downloads of resources?
Posted: Sat Dec 15, 2012 11:07 pm
This can be done by making a resource file for your map.
- Create a file named <mapname>.res with the following format (where <mapname> is the real map name).
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 each resource of your map on their own line with the "file" parameter.
- Which signifies that its a map resource file and must be downloaded.
- Upload this file to your "Maps" directory along with the map file itself.