Skin and Shader problems
Posted: Wed Apr 12, 2006 11:21 pm
I have built some skins and if I add a bot or a player comes in the bot or player gets the skin I have on! I have no clue how to fix this...
Another problem I have is with an autosprite shader. I get lots of yellow text in the console saying this:
(shader path) had odd index count
(shader path) had odd vertx count
And the shader is not on a quad but on a more complex object. I love the effect it creates so if possible I'd like to keep it and get rid of the error messages.
here is the shader:
{
surfaceparm nolightmap
surfaceparm nonsolid
surfaceparm noimpact
surfaceparm nomarks
surfaceparm trans
cull disable
deformVertexes autosprite
deformVertexes move 0 0 3 sin 0 5 0 0.1
deformVertexes move 2 2 0 sin 0 9 0 0.05
{
clampmap models/mapobjects/lamps/bot_flare.tga
blendfunc add
tcMod rotate 20
}
}
Hope someone can help.
Another problem I have is with an autosprite shader. I get lots of yellow text in the console saying this:
(shader path) had odd index count
(shader path) had odd vertx count
And the shader is not on a quad but on a more complex object. I love the effect it creates so if possible I'd like to keep it and get rid of the error messages.
here is the shader:
{
surfaceparm nolightmap
surfaceparm nonsolid
surfaceparm noimpact
surfaceparm nomarks
surfaceparm trans
cull disable
deformVertexes autosprite
deformVertexes move 0 0 3 sin 0 5 0 0.1
deformVertexes move 2 2 0 sin 0 9 0 0.05
{
clampmap models/mapobjects/lamps/bot_flare.tga
blendfunc add
tcMod rotate 20
}
}
Hope someone can help.