Search
Username:
Password:
Register or Reset Password
Remove the ads!
Custom Menu Photos
Difficulty: Intermediate
Category: TF2 > Other/MiscAuthor(s): Swift
Did you create this? Request ownership

[TUTORIAL] Menu Photo's





How to create the Menu Photo's seen displayed on the right side of the Map Objective screen on Map Start.




END RESULT ctf_example Menu Photo's: :cool:







For this tutorial you will need to have some basic knowledge of Photoshop. And I made a ctf_example you can download at the bottom of this Tutorial.



In order for your custom map to have 2 working Menu Photo'sit needs 2 files in following directory:

C:\Program Files\Steam\steamapps\<player_name>\team fortress 2\tf\materials\vgui\maps

These 2 files are:


menu_photos_mapname.vtf

menu_photos_mapname.vmt



--------------------------------------------------------------

-- How to create the .vtf

--------------------------------------------------------------



I. Making a .tga image

II. Vtex Preparation


III. Transforming the .tga image to a .vtf





I. Making a .tga image



Step 1:

Take 1, 2 or 3 screenshots of your map depending on how many you want to show.

Just make sure they will still look good on a 512x512 tga. (Step 2)



Step 2:


Photoshop: create tga:

* create a 512x512 pixels TGA.

* give it a black background

* resize your 2 screenshots and paste them in to make something nice.

(You can use one of the Menu Photo Template PSD's I made to make Menu Photo's like VALVe's maps have. Download at the bottom of this Tutorial.)

* edit the Alpha channel to make it hide the black background and show the pictures only

* Save As... menu_photos_mapname.tga (32 bit, uncompressed)




Step 3:

Copy and paste your "menu_photos_mapname.tga" in following directory:

C:\Program Files\Steam\steamapps\<player_name>\team fortress 2\tf\materialsrc





II. Vtex Preparation

We will create a vtf from the tga using vtex.exe. Let's setup the vtex.exe!




Step 4:

Browse to the following directory and make a desktop shortcut of the vtex.exe:

C:\Program Files\Steam\steamapps\<player_name>\sourcesdk\bin\ orangebox\bin



Step 5:

Go Properties on the vtex.exe shortcut:

Add the following 2 parameters behind the Target:


-game "C:\Program Files\Steam\steamapps\<player_name>\team fortress 2\tf"

-nop4



III. Transforming the .tga image to a .vtf



Step 6:

Now drag your tga you created (Step 3) onto the vtex.exe deskopt shortcut (Step 5). The vtex.exe will create a menu_photos_mapname.vtf in the following directory:


C:\Program Files\Steam\steamapps\<player_name>\team fortress 2\tf\materials



menu_photos_mapname.vtf CREATED!





--------------------------------------------------------------

-- How to create the .vmt

--------------------------------------------------------------




Step 1:

open notepad



Step 2:

paste these lines of code in it:










Code:
"UnlitGeneric"
{
"$basetexture" "vgui\maps\menu_photos_mapname"
"$translucent" 1
"$ignorez" 1
"$vertexcolor" 1
}

Step 3:

Replace 'mapname' in "$basetexture" "vgui\maps\menu_photos_mapname" with the name of your custom map.

Example: "$basetexture" "vgui\maps\menu_photos_ctf_2fort"



Step 4:


Save As... menu_photos_mapname.vmt



menu_photos_mapname.vmt CREATED!



--------------------------------------------------------------

-- Place .vtf & .vmt in propper directory

--------------------------------------------------------------




Cut and past your "menu_photos_mapname.vtf" and "menu_photos_mapname.vmt" in following directory:

C:\Program Files\Steam\steamapps\<player_name>\team fortress 2\tf\materials\vgui\maps



If you correctly edited the Alpha Channel of your tga and did all the other Steps like mentioned, your 2 map screens will be displayed on the Objective Screen on Map Start!



Download Menu Photo's Tutorial

Download Menu Photo's Template PSD's




Cheers!



__________________

Swift


I submitted this, but I did not create it, I found it on tf2maps.net and thought it would be useful here.
Added: 8 months agoTags: custom, tf2, menu, photos, tf2maps.net
Feedback (6)
.
Mappin' for lifeY2M
Posted 5 months ago
If your map name was cp_hellothere, would the filename for the image be, menu_photo_cp_hellothere ?
UKCS-Alias .
The KnifosaurusY2M
Posted 8 months ago
Pros: Its good
Cons: i would prefer some example screens as i cant see if the immage you used had 2 photos on it. this could confuse a few as it did in the beginning with me
:
Cake Or Death?Y2M
Posted 8 months ago
This has been submitted under a Studio Release. You cannot release content not created by yourself or members of your studio under a "Studio Release". Studio Rules Page. fixed.

On Topic though, All Map makers for TF2 should be using this. Cutting corners looks bad.
- Cake Or Death?
Follower .
BananiteY2M
Posted 8 months ago
Pros: Those look pretty cool.
Notes: I dunno how to use em
- Bananite
.
Thinkin outside the box. ;)Y2M
Posted 8 months ago
Pros: I like this Cool! :)
CC_ArK .
< CC >< ArKY2M
Posted 8 months ago
Just as an extra note area for people to see this:
I, CC_ArK, did not make this tutorial. I found it on tf2maps.net and thought ti would be useful here. Especially since it works.
Add Feedback
Provide constructive feedback. What is "constructive"?
You cannot post yet!
Get involved on FPSB by posting your thoughts. Give authors your feedback to help them develop.

To post in this submission register or login.
Assessment
The community's verdict.
User Rating [+]
9/10
bScore
9.0/10
You cannot assess yet!
Moderating FPSB is in your hands - when you assess a submission your vote determines its success or failure.

To vote on this submission register or login.
Stamps
This Tutorial in a nutshell...
No stamps recorded
You cannot stamp yet!
Stamps let you apply characteristics to submissions to help others understand them.

To stamp this submission register or login.

Added by...
CC_ArK .
< CC >< ArK
Ranked 724th ( 1) with 2,892 points. 5 points behind .

[+] Donate
Related Tutorials