Page 1 of 1

Remove skin color?

Posted: Sat Jun 23, 2012 2:38 pm
by Rikku2000
How can i remove the skin color from player model cuz i just need the color on scoreboard player models have skin textures but ingame the color is drawn to model how to deleat it?

Re: Remove skin color?

Posted: Sat Jun 23, 2012 2:57 pm
by r00k
gl_nocolors 1

or edit the .mdl file and change the texture to not use the palette colors designated for the teamcolors.

Re: Remove skin color?

Posted: Sat Jun 23, 2012 3:58 pm
by Rikku2000
Thanks but i curently got it it was in "R_TranslatePlayerSkin"

i just comment out this code:

Code: Select all

	/* top = cl.scores[playernum].colors & 0xf0;
	bottom = (cl.scores[playernum].colors &15)<<4;

	for (i=0 ; i<16 ; i++) {
		if (top < 128)	// the artists made some backwards ranges.  sigh.
			translate[TOP_RANGE+i] = top+i;
		else
			translate[TOP_RANGE+i] = top+15-i;
				
		if (bottom < 128)
			translate[BOTTOM_RANGE+i] = bottom+i;
		else
			translate[BOTTOM_RANGE+i] = bottom+15-i;
	} */
any way thanks. :)

Re: Remove skin color?

Posted: Mon Jun 25, 2012 8:01 pm
by r00k
WURD ;)