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 »

This can be done by making a resource file for your map.
  1. 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"
    }
  2. 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.
  3. Upload this file to your "Maps" directory along with the map file itself.
Last edited by 0nopeO on Wed Nov 27, 2024 12:06 am, edited 1 time in total.
Reason: Added bullets points for readability, and reworked the instructions to be simpler.
Post Reply