graphical mod problem


(nUllSkillZ) #1

Hi,

I have a strange problem.
I have created a little graphical mod.
It shows chat voice icons according to the “V6” (“I am a …”) voice chat messages.
Actually it can only be seen on an unpure server (have only seen the “I am a covert ops”-icon so far).
But on a local server it’s not visible.

Here is a part of the “vsixsprites.shader” located in the “scripts”-directory:


vsixsprites/iamsoldier
{
	nocompress
	nopicmip
	{
		map sprites/iamsoldier.tga
		blendfunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
		rgbgen vertex
	}
}

Here is a part of the “wm_allies_chat.voice” located in the “scripts”-directory:


IamSoldier
{
	sound/chat/allies/61a.wav	"I'm a soldier."	vsixsprites/iamsoldier
	sound/chat/allies/61b.wav	"I'm a soldier."	vsixsprites/iamsoldier
}

And finally the TGA with an alpha channel (~22KB) located in the “sprites”-directory:
iamsoldier.tga

To show you something here is the RGB of the TGA as JPG:

I’m thankfull for every tip or hint.

Edit:

Oops I forgot to mention that the !-voicechat icon is also not shown on the local server.
Sorry.


(Jaquboss) #2

post pk3 file trya diffirent mods and so…
interesting i have no clue what is happening, maybe it is bug in source…
also very nice icons :wink:
EDIT: tried using ET icons like ammo or medic ones?