med/ammo pack skin problem


(GRouZER) #1

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
//	}
}

(GRouZER) #2

I solved the problem.
Edit: I changed the forwardslashes in to backslashes
That’s kinda strange cause some shaders I made work with the forwardslashes, so howcome do some shaders need to have forwardslashes and other backslashes? :???:


(carnage) #3

i can only think it would be the way the engine reads the shaders and posible some comands like forward slashes and some done… could be to do with file address and location names as well

just use forward slashes and all will be fine


(GRouZER) #4

Oops I meant the other way around.
The shader didnt work with the forwardslashes but it did with backslashes, so it’s still odd :wink:


(Simons) #5

Many individuals are adviced Codeine and come to find that while the drug they are using is numbing their pain, they also experience the dreamy, disassociative feeling which goes along with the analgesic properties. One way of seeing at it is, while the physical pain is being suppressed, so is whatever mental and emotional pain that they might be feeling.


(Nail) #6

once again time for