TF2/Modifying the Mission Briefing

From Valve Developer Community
< TF2(Redirected from TF2/Adding Menu Photos)
Jump to: navigation, search
Русский 한국어

The mission briefing, shown to players before they enter the match, is set automatically for basic Capture the Flag and Control Point maps, just by putting the right goal entities on the map. However, you may need to write a custom one. To do this, you must create a custom briefing file.

Writing a briefing

Your map's briefing should follow the style of the official maps. Some default briefings are listed below.

Capture the Flag
To win a point, steal the enemy's intelligence briefcase and return it to your base.
Other Notes:
Players drop the intelligence when they die. Dropped intelligence returns to its Base after 60 seconds.
Special Delivery
Deliver the Australium to the rocket warhead to win the round.
Other Notes:
Players drop the Australium when they die. Dropped Australium returns to its home after 15 seconds.
Standard Control Points
To win each team must own all five Control Points.
Other Notes:
Control Points cannot be captured while they are locked.
Attack/Defend Control Points
RED team wins by defending their Control Points. BLU team wins by capturing all control points before the time runs out.
Other Notes:
Control Points cannot be captured while they are locked. RED team cannot regain control of a point once BLU has captured it.
Capture the Control Point and defend it until your team's timer runs out.
Other Notes:
The Control Point cannot be captured while locked.
If the enemy team captures the Control Point, your team's timer will pause until you recapture the point.
Escort the payload to the enemy base. Stand near the payload to make it move.
Other Notes:
Enemies can block the payload by getting close to it.
Payload Race
Escort your payload cart to the finish line before the opposing team can deliver theirs. Stand near the cart to make it move.
Other Notes:
Enemies can block the cart by getting close to it.
Mann vs. Machine
Defend against the invading robots.
Complete all waves for victory!

Adding the briefing

In the directory where your .bsp is:

 "..\SteamApps\common\Team Fortress 2\tf\maps\"

Create the localised map .txt briefing files. Your directory should look like this:

mapname_schinese.txt // Simplified Chinese
mapname_tchinese.txt // Traditional Chinese
Note.png Note: You do not have to create one for each language.

For example: If your map is named cp_factory, then your files should be named like this:


After placing the files, run your map to make sure your briefing works and appears as intended.

Adding Custom Map Images

The VTF texture of the 2fort menu photos.

In order for your custom map to have 2 working Menu Photos it needs 2 files in following directory:

..\SteamApps\common\Team Fortress 2\tf\materials\vgui\maps\

These 2 files are:

  • menu_photos_[mapname].vtf
  • menu_photos_[mapname].vmt

Creating the VTF file

Note.png Note: This tutorial uses VTFEdit. Other tools should be similar.
  1. Take a few screenshots of your map depending on how many you want to show.
  2. Use GCFScape to extract one of the existing menu photos from tf2_textures_dir.vpk to use as a template for your VTF. You can find them in materials\vgui\maps\menu_photos_[mapname].vtf.
  3. Choose one of the textures with "menu_photos_" in its name.
  4. Open the VTF of your choice with VTFEdit and export it as a PNG image.
  5. Open your PNG and your two screenshots with an image editor.
  6. Scale and rotate your screenshots so they fit perfectly on the existing thumbnails.
  7. Save your new image and export it to a VTF file again using VTFEdit. Save it as menu_photos_[mapname].vtf.

Creating the VMT file

Open Notepad and paste the following lines of code into it.

 "$basetexture" "vgui\maps\menu_photos_mapname"
 "$translucent" 1
 "$ignorez" 1
 "$vertexcolor" 1

Replace 'mapname' in "$basetexture" "vgui\maps\menu_photos_mapname" with the name of your custom map. For example, if your map is named cp_factory, then it should read

 "$basetexture" "vgui\maps\menu_photos_cp_factory"

Save the file as menu_photos_mapname.vmt.

Place your files in the proper directory

Move your menu_photos_mapname.vtf and menu_photos_mapname.vmt to the following directory:

 "..\SteamApps\common\Team Fortress 2\tf\materials\vgui\maps"

Run your map to make sure your images appear.


When your map is ready for release, you should pack your localized briefing files and map images into the .bsp using a tool such as Pakrat. Otherwise, servers will not have the files and other players won't see them.

See Also