I have been getting a few requests for information on how to set up auto download on Q4 servers. Its not that complicated, but I don't think all of the information has been laid out concisely yet. If you need help you can always feel free to message me in irc.
What you need:
Access to your Quake 4 server.cfg
Web site server with access to create directories and upload files.
There are 3 cvars in your server.cfg that need to be added/adjusted.
net_serverDownload "2"
Options:
0 means go away, you are on your own.
1 means redirect to download via web.
2 means allow autodownload. 2 is definitely recommended.
3 means download using built in http server. NOT RECOMMENDED -- causes server instability.
net_serverDLTable
This is a list of the the custom maps you are planning on putting on the server. The format should be the following:
"q4base/mapname.pk4;q4base/mapname2.pk4".
All custom maps should be listed. There has been one piece of disinformation filtering around that we need to dispell. Originally, everyone was told that only 1.1 compatible maps would work with autodl. This is NOT CORRECT. If a map is setup correctly for 1.1, the difference is you don't have to download it until the map is called. If its not 1.1 compliant you have to download all custom content during your initial connection. With a fast web server this is not usually a problem.
In Q4Max you would simply put net_serverDLTable "*". This wild card will automatically list all files. Recommended...
You can name the directory (pk4 from the example) whatever you want or it can be a longer path such as http://www.yourwebsite.com/files/maps/". In that directory you need to create the directory q4base. This is NOT listed in the cvar in your server.cfg. Thats why its listed in net_serverDLTable. You would load the maps in pk4 format to the directories as follows:
http://www.yourwebsite.com/pk4/q4base/q4w2.pk4
or as in the second example
http://www.yourwebsite.com/files/maps/q4base/q4w2.pk4.
Thats pretty much it in a nutshell. If you have any questions or comments please let me know in irc or by posting in the comments.