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.

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  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.