Jump to content

Help making a Model material *SOLVED*

Sign in to follow this  

Recommended Posts

So it's easy enough for me to take .TGA pictures and turn them into VTFs, but what I'm having a hard time with is the VMT.

For some reason which I do not know, VTFedit doesn't like this very much:

"VertexLitGeneric"

{

"$baseTexture" "models/motorcycle/motorcycle_cm"

"$envmap" "env_cubemap"

"basealphaenvmapmask" 1 //alpha channel of base texture is inverted specular

"envmapcontrast" 1 // reflection color multiplier

"$model" 1

"$surfaceprop" "metal"

}

Feel free to explain why when I try to open it in VTFedit, it gives me the warning "Error parsing material on line 9".

 

______________________________________________________________________

Turns out I was missing a quotation mark, which killed VTF parsing. Highlighted in red.

This is a nice metric server. No imperial dimensions, please.

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in the community.

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  


  • Who's Online   0 Members, 0 Anonymous, 177 Guests (See full list)

    • There are no registered users currently online
×
×
  • Create New...

This website uses cookies, as do most websites since the 90s. By using this site, you consent to cookies. We have to say this or we get in trouble. Learn more.