I'm getting the errors
[code]
Error reading material data "materials/models/turrets/greenplating1.vtf"
Error reading material data "materials/models/turrets/metal_floor1.vtf"
[/code]
With 2 of my textures, and they're showing up as the checkerboard ingame, does anybody know what the error means is wrong...?
I recall getting this error before when I was trying to make some HUD Elements before, could it have something to do with importing PNGs into VTFedit?
Please post your .vmt's
greenplating1.vmt:
[code]
"VertexlitGeneric"
{
"$basetexture" "models/turrets/greenplating1"
"$surfaceprop" "Metal"
}
[/code]
metal_floor1.vmt:
[code]
"VertexlitGeneric"
{
"$basetexture" "models/turrets/metal_floor1"
"$surfaceprop" "Metal"
}
[/code]
I don't quite see how posting them would help, since it says the error is with the vtf.
Wheres this error showing exactly? (also have you put the materials in the materials/turrets folder?)
They asked for the VMTs because usually they're checkerboard because of a spelling mistake or something but yours looks like a genuine issue :S (and PNGs should be fine, they are supported afterall).
The error shows when I spawn the model using the textures.
And yes, the materials are in their proper locations.
[QUOTE=Levybreak;16818964]The error shows when I spawn the model using the textures.
And yes, the materials are in their proper locations.[/QUOTE]
Ok, i've not seen that before, try re-making the .vtf files then, see if that is the problem.
[QUOTE=Silver Spirit;16823321]Ok, i've not seen that before, try re-making the .vtf files then, see if that is the problem.[/QUOTE]
Tried it already, no change.
I found my old thread with a similar error.
[url]http://www.facepunch.com/showthread.php?t=750923[/url]
I do believe that this error has something to do with importing PNGs into VTF edit, as all of the files back there were PNGs as well (each frame of the animation was a separate PNG.) I'm going to try converting to a TGA and re-saving the vtf to see if that fixes it.
[QUOTE=Levybreak;16858424]I do believe that this error has something to do with importing PNGs into VTF edit, as all of the files back there were PNGs as well (each frame of the animation was a separate PNG.) I'm going to try converting to a TGA and re-saving the vtf to see if that fixes it.[/QUOTE]
I'm starting to think the problem with mine might be this also, which is why I generally use BMPs (or TGAs if I need an alpha channel).
You're not trying to put an environment map or volumetric texture on it, are you?
[QUOTE=HiddenMyst;16894941]You're not trying to put an environment map or volumetric texture on it, are you?[/QUOTE]
nope.
Sorry, you need to Log In to post a reply to this thread.