Images on custom mission briefing (chalkboard) not working, help?

studio2a

L1: Registered
Apr 22, 2009
17
0
I have followed this tutorial:
http://developer.valvesoftware.com/wiki/TF2/Modifying_the_Mission_Briefing

attempting to have custom images on my mission briefing, but just no luck. Only a purple/black checker box (we all know what that means...).

If anyone has a link to a good tutorial, would be great to have- thanks!

**Exact steps I went through so far:

-create image in photoshop
-save as TGA, 32bit uncompressed
-convert to VTF
-create VMT per tutorial link above
-place in "...username\team fortress 2\tf\materials\vgui\maps"
-used Pakrat to place in BSP

No worky!

Thanks all :)
 
Aug 19, 2008
1,011
1,158
you vmt has to have the same name as the map

lets say your map is called "ctf_notanothervalvemap_a1"
then your vmt has to be "menu_photos_ctf_notanothervalvemap_a1.vmt"

the lines in the vmt should be like this
(replace the ? with dollarsign)

"UnlitGeneric"
{
"?basetexture" "vguimapsctf_notanothervalvemap_a1"
"?translucent" 1
"?ignorez" 1
"?vertexcolor" 1
}

name you vtf accordingly to the filename in "basetexture"

place both vmt and vtf in VGUI/maps

two times or so i had a corrupt vmt or not properly working vtf, check in VTF if it is fine and if the alphachannel is working
additionally check the console if it pops up any red messages about the files in question (wrong format, etc...)
 
Last edited:

(s2a) yahodahan

L3: Member
Apr 22, 2009
144
18
thanks eerieone, didn't think to check the console for errors on that-

ended up creating the VTF using the 'ol "vtex.exe" shortcut, instead of being fancy and saving it out via Photoshop plugin. Worked fine after that...funky. :)