Team Fortress 2

Team Fortress 2

MVM Area 52
Hydrogen 5 Sep, 2015 @ 8:14pm
README: How to host this map
Potato's Server Admin here. In this thread I'm going to explain how you can host this map on your MvM server. Your server MUST support 32 players to run MvM.

1. Enter the following command on your server console, or use rcon or sm_rcon to enter this in:

tf_workshop_map_sync 512422248

2. Download the posted zip file to get the nav, pop, and vmt/vtf files.

- Place the nav file inside /tf/maps
- Place the pop files inside /tf/scripts/population
- Place the vmt/vtf icon files inside /tf/materials/hud

If you have a FastDownload server (set under sv_downloadurl), you need to:

- Place the nav file (in bz2 form) inside /<root directory>/maps
- Place the vmt/vtf icon files inside /<root directory>/materials/hud

So for example, if your sv_downloadurl is set to


then inside your FastDownload you should have the respective files in these directories:


3. To force class icons to download, you need to write a res file for the map. Your res file should look like this:

"Resources" { "materials/hud/filename.vmt" "file" "materials/hud/filename.vtf" "file" }

Put each class icon's name in the res file, and then name your res file as "mvm_area_52.res". This will make your server load these files into its internal downloads table, which will then prompt clients to download the class icons to their game. If you skip this step, your players will see purple and black checkerboard icons on the wave preview display.

NOTE: If you're running sv_pure 1, be sure to whitelist the client's downloads directory in pure_server_whitelist.txt (or some file named like that). Otherwise, the client will not load the class icons. If you're running sv_pure 2, you may as well skip the whole class icon installation process. If you're running sv_pure 0 then everything should work fine.

4. Load the map using the map, sm_map, or changelevel commands:

changelevel workshop/512422248

6. Connect to the server. If you did not subscribe to the map, your game should automatically download the map from Valve's workshop servers. If you did subscribe to the map, then it may prompt you to download the nav file and class icons. Once you load into the server, the wave preview should appear, and starting the wave should cause robots to spawn. If so, you have successfully installed the map!

A CAVEAT:

Since the map workshop has very poor support for MvM maps, the nav and pop may not load if you load the map directly from the workshop. If you encounter technical issues with the nav and pop file not loading on the server, then you can try this approach:

- Rather than using tf_workshop_sync, treat the workshop as a download site like TF2Maps.net and GameBanana. Download the map to your client, and then FTP the map to your server + FastDownload. This method is GUARANTEED to work (this is the traditional method used by server operators in the past), but it has the disadvantage where it will reject clients with a differing copy of the map if the mapper updates the map without bumping the version number. If you cannot get the built-in workshop sync to work (I never got it to work personally), then you can fall back to this old school method.

For more information about hosting workshop maps, you can consult this thread in TF2Maps.net:

http://tf2maps.net/threads/tf2-map-workshop-server-configuration.24585/

You can also check the posts made here on AlliedModders (namely the ones by Powerlord/Ross Bemrose) for additional assistance:

https://forums.alliedmods.net/showthread.php?t=264253

(AlliedModders is also the first place to for any server issues you may have.)

Lastly, the number 512422248 is the workshop submission ID. You can find this number in the URL of any workshop map submission.

If anyone notices any errors on this post, reply below and let me know so I can correct them. I for one am still new to the whole workshop map thing and still learning it.

The instructions here not only apply to area52 but to any MvM map on the workshop. For PvP maps you just enter the sync command, enter the changelevel command, and you're done.

Good luck and have fun!
Last edited by Hydrogen; 5 Sep, 2015 @ 8:17pm