After quite a while I started editing for RTCW again and I made a custom skin for med/ammo packs but using a shader instead of “replacing” the texture.
The problem is that I don’t see my skin in game and just see the official skin, other shaders (player skin)I make work.
Name of the pack: Z_Z_SKIN_PPACKS.pk3 (it’s the last alfabeticly)
Name of the shader: powerpacks.shader
Folder tree:
- models>multiplayer>medpack
- scripts
I have checked for typo’s, folder tree, but all seems ok.
Althoug the shader might contiain some wrong codes, but even then I must see some kind of glitch in the skin instead of the official skin.
models/multiplayer/medpack/medpack
{
{
map models/multiplayer/medpack/hp_base.tga
tcMod scroll 0 1
rgbGen identity
}
{
map models/multiplayer/medpack/hp_radiate.tga
blendfunc blend
tcMod scroll 0.05 -0.05
tcMod rotate 1
rgbGen identity
}
{
map models/multiplayer/medpack/hp_bubbles.tga
blendfunc blend
tcMod scroll 0.2 -0.8
rgbGen identity
}
{
map models/multiplayer/medpack/pack_mask.tga
blendfunc blend
rgbGen identity
}
// {
// map $lightmap
// rgbGen identity
// }
}