Please assist!

  • Thread starter Thread starter RavenofAzerath
  • Start date Start date
R

RavenofAzerath

Guest
ok i'm really getting annoyed

i need to convert a tga file to vtf in order to use a barckground for my modcan any one help me?
 
Step by step:

Make sure your TGA is the right proportions. I'm pretty sure they can't be over a certain size.

Stick the TGA in your mod's "MaterialSrc"

Drag and drop the TGA onto VTEX.exe.

Create a VMT for it, with the same filename as the VTF:

Code:
"UnlitGeneric"
{
	"$basetexture" 		"[your texture's name, minus the .vtf]"
	"$vertexalpha"		"1"
	"$ignorez"		1
}

Do whatever it is that sets it as a background.

-Angry Lawyer
 
i get to the bit where u dump it over vtex.exe then it has a spazm then comes up with a load of junk saying: "Warning: Falling back to auto detection of vproject directory
Unable to fine gameinfo.txt. Solutions: 1.Read http://www.valve-erc.com/srcsdk/faq.html#nogamedir
2. run vconfig to specify which game you're working on.
3. add -game <path> on the command line where <path> is the dir that gameinfo.txt is in.

then it repeats itself several time and dies

any ideas?
 
Have you actually created a mod (using the Create-A-Mod wizard), and ran it at least once?

-Angry Lawyer
 
...

yes i have, i have ran it several times its just my piece of junk computer being a pain in the butt, and i cant wait for my new one (thank the lord!)
 
ok i used some other software on the internet to make it into a vtf

its works until the actual buttons appear then it goes all purple boxed

any ideas?
 
Did you make a VMT for it? Because that's the most important part.
-Angry Lawyer
 
If you use my vtexGUI utility you still have to open the vmt and change its content for

Code:
"UnlitGeneric"
{
	"$basetexture" 	 "[your texture's name, minus the .vtf]"
        "$vertexcolor"    1
	"$vertexalpha"	 "1"
	"$ignorez"        1
	"$no_fullbright" "1"
	"$nolod"         "1"
}
 
well i have both the vmt and the vtf in matierals/console, also i used the vtftool to make these in the first place
 
"VertexLitGeneric"
{
"$baseTexture" "background"
}



theres ur contents of the vmt, so wth!?!
 
Is the VMT called "Background.vmt", and is there a file in the very base level of "Materials" called "Background.vtf"?

Also, if you're using it for HUD art, change the type to "UntlitGeneric". And the files should be called Background01, not Background.

-Angry Lawyer
 
Back
Top