Skip to content

WWW Download (for 1.1x)

Defected edited this page Aug 1, 2021 · 4 revisions

There's 4 cvars you will need to properly enable WWW download:

  • set sv_allowDownload 1 - enable downloading (server)
  • set cl_allowDownload 1 - enable downloading (client)
  • set sv_wwwDownload 1 - enable WWW downloading
  • set sv_wwwBaseURL 1 - URL for downloading files

Put your pk3 files on a webserver and note their path. If you don't use fs_game, the files should be in main folder, if you do use fs_game, name the folder just like your fs_game, e.g. mycoolmod.

Now you can set your sv_wwwBaseURL. Let's say you added a map pack in http://mywebsite.com/downloads/main/maps.pk3. The value of sv_wwwBaseURL will be http://mywebsite.com/downloads. Notice that we didn't include main (or fs_game in that case).

Clone this wiki locally