So Ive ported a prop from Borderlands, whenever I load it in-game the model is invisible.
Here is a screenshot (I've coloured it green so you can actually see it)
[t]https://steamuserimages-a.akamaihd.net/ugc/170415189361269051/6705FC1B808A479EB7790BFAE5887155EE5D8ACC/[/t]
And here is an error from console, I assume this is the reason but I have little idea what it means and Google isn't much help.
"ERROR: Compressed vertices in use but material does not support them!"
and here is the qc:
[code]
$modelname "yashi_borderlands/body1.mdl"
$cdmaterials "models/yashi_borderlands"
$scale 1.0
$surfaceprop "metal"
$body "Body" "body1.smd"
$sequence "idle" "body1.smd" fps 30
$collisionmodel "body1_coll.smd"
{
$mass 5
}
[/code]
and the material:
[code]
"LightmappedGeneric"
{
"$basetexture" "models/yashi_borderlands/body1t0"
"$bumpmap" "models/yashi_borderlands/body1t0_normal"
}
[/code]
I can provide textures on request.
Material would be good.
[code]
"LightmappedGeneric"
{
"$basetexture" "models/yashi_borderlands/body1t0"
"$bumpmap" "models/yashi_borderlands/body1t0_normal"
}
[/code]
Edit: Added it to the OP too
Change "LightmappedGeneric" to "VertexLitgeneric"
Oh for fucks sake...
Thanks a bunch!
Edit: I have no idea how to mark this as solved, if you even can do it in this subforum.
Sorry, you need to Log In to post a reply to this thread.