Maplist Thumbnails: Difference between revisions
Craziestdan (talk | contribs) (New page: The Quick List view allows a more presentable server browser that is more friendly towards new players, placing more emphasis on more important information such as the map name and gametyp...) |
Icarus Wong (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
The Quick List view allows a more presentable server browser that is more friendly towards new players, placing more emphasis on more important information such as the map name and gametype, rather than the server name. It also includes a small thumbnail for all stock maps. However, custom maps normally show the game logo instead of an actual shot of the map. There is a way to add your own thumbnail for your map. | The Quick List view allows a more presentable server browser that is more friendly towards new players, placing more emphasis on more important information such as the map name and gametype, rather than the server name. It also includes a small thumbnail for all stock maps. However, custom maps normally show the game logo instead of an actual shot of the map. There is a way to add your own thumbnail for your map. | ||
[[image:Menu_thumb.png|thumb|right|An example custom Quick List thumbnail.]] | |||
__TOC__ | __TOC__ | ||
Line 15: | Line 16: | ||
# Take a screenshot of your map that is very easily recognizable and represents the theme of your map well. | # Take a screenshot of your map that is very easily recognizable and represents the theme of your map well. | ||
# Resize the image so that it fits well into a 128x96 rectangle and looks good. | # Resize the image so that it fits well into a 128x96 rectangle and looks good. | ||
# Position the image | # Position the image along the top of a 128x128 image. | ||
# Save the image uncompressed as "menu_thumb_mapname.vtf". | # Save the image uncompressed as "menu_thumb_mapname.vtf". | ||
=== Creating the VMT file === | === Creating the VMT file === | ||
* Open notepad and paste the following lines of code into it. | * Open notepad and paste the following lines of code into it. | ||
Revision as of 20:54, 22 January 2009
The Quick List view allows a more presentable server browser that is more friendly towards new players, placing more emphasis on more important information such as the map name and gametype, rather than the server name. It also includes a small thumbnail for all stock maps. However, custom maps normally show the game logo instead of an actual shot of the map. There is a way to add your own thumbnail for your map.
Adding a Quick List Thumbnail
There are 3 files needed for a thumbnail to be fully functional:
- menu_thumb_mapname.vtf
- menu_thumb_mapname.vmt
- mapname.res
Be advised that packing these files into the bsp will not work for clients. In order to allow others to download and see your thumbnail, you must include a RES file outside the bsp. The .RES file will instruct the server to upload the thumbnail files to clients when the map is changed.
Creating the VTF file
- Take a screenshot of your map that is very easily recognizable and represents the theme of your map well.
- Resize the image so that it fits well into a 128x96 rectangle and looks good.
- Position the image along the top of a 128x128 image.
- Save the image uncompressed as "menu_thumb_mapname.vtf".
Creating the VMT file
- Open notepad and paste the following lines of code into it.
"UnlitGeneric" { "$basetexture" "vgui\maps\menu_thumb_mapname" "$translucent" 1 "$ignorez" 1 "$vertexcolor" 1 }
- Replace 'mapname' in "$basetexture" "vgui\maps\menu_thumb_mapname" with the name of your custom map. For example, if your map is called ctf_2fort, then it should read
"$basetexture" "vgui\maps\menu_thumb_ctf_2fort"
- Save the file as "menu_thumb_mapname.vmt".
Creating the RES file
- Open notepad and paste the following lines of code into it.
"Resources" { "materials/vgui/maps menu_thumb_mapname.vmt" "file" "materials/vgui/maps menu_thumb_mapname.vtf" "file" }
- Replace 'mapname' with the name of your custom map.
- Save the file as "mapname.res".
Placing your files in the proper directory
Move your "menu_thumb_mapname.vtf" and "menu_thumb_mapname.vmt" to the following directory:
"..\Program Files\Valve\Steam\SteamApps\_Username_\Team Fortress 2\tf\materials\vgui\maps\"
And move your "mapname.res" to the following directory:
"..\Program Files\Valve\Steam\SteamApps\_Username_\Team Fortress 2\tf\maps\"
Conclusion
Remember that packing these files into the bsp will not work for servers and must be uploaded separately onto the servers. If you correctly followed these steps, then you should have a perfectly working Quick List thumbnail for your map!