Arrr, no I'm passing RGB values from 0 to 255...
thx for help, this should be the bug.
/me goes color testing.
> I assume you got the code from here...
>
> http://www.cs.rit.edu/~ncs/color/t_convert.html
>
> ...or somewhere similar.
>
> Are you passing in RGB values from 0 to 1? (i.e
>
> fl
ok, here's my util function:
void UTIL_RGBtoHSV(float r,float g,float b,float &h,float &s,float &v)
{
float flmin, flmax, fldelta;
flmin = min( r, min (g, b ));
flmax = max( r, max (g, b ));
v = flmax; // v
fldelta = flmax - flmin;
if( flmax != 0 )
s = fldelta / flmax; // s
else
e of the palette
entries,
> just replacing the hue with the specified value.
>
> -Original Message-
> From: Nicemice [mailto:[EMAIL PROTECTED]]
> Sent: Friday, April 12, 2002 7:54 AM
> To: [EMAIL PROTECTED]
> Subject: [hlcoders] RGB to Half-Life Player Model Color
>
>
&g
Color table, but when
finishing a UTIL_RGBtoHSV(...) I noticed that the H Value doesn't fit to the
player model color.
Any ideas ?
cu,
Nicemice
www.creativelevels.de/spy - Spy & Assassinate
___
To unsubscribe, edit your list preferences, or view the
PlaySound( "misc/talk.wav", 1 );
is an old Quake1 dinasour. ID called their "New Message Notify Sound"
talk.wav too and stored it in the sound/misc directory(.pak file).
cu
Nicemice
www.creativelevels.de/spy - Spy & Assassinate -
__
Why don't you scale down everthing in your mod ?
The more you scale the more space you'll have.
Nicemice, Spy & Assassinate
www.creativelevels.de/spy
___
To unsubscribe, edit your list preferences, or view the list archives, plea
Hi,
is it possible to add an alternate search dir for .pak files in the
liblist.gam ?
thx
Nicemice
Headcoder, Spy & Assassinate:
www.creativelevels.de/spy
___
To unsubscribe, edit your list preferences, or view the list archives, please visit:
mmh,you might try this:
else if ( FStrEq(pkvd->szKeyName, "defaultctf"))
{
if ( atoi(pkvd->szValue) )
{
if ((atoi(pkvd->szValue)) == 1)
{
CVAR_SET_STRING( "oz_defaultctf", "1");//(atoi(pkvd->szValue)) );
}
else if ((atoi(pkvd->szValue)) == 2)
{
CVAR_SET_STRING( "oz_de
8 matches
Mail list logo