View Single Post
  #6  
Old 10-13-2002, 02:21 PM
Birdbird_0 Birdbird_0 is offline
am yum
Birdbird_0's Avatar
Join Date: Mar 2001
Location: California
Posts: 4,436
Birdbird_0 is on a distinguished road
Send a message via AIM to Birdbird_0
- there is now support for real transperency:
seteffectmode mode;
changeimgmode index,mode;
EFFECTMODE sprite mode (gani file command)

The command seteffectmode can be used to change
the way the npc image is drawn when using the
setcoloreffect red,green,blue,alpha; command (alpha<1):
by default the image colors are added to the graphics
below, with the intensity of 'alpha', which makes the
image appear like a light since it is making the
graphics below appear more bright; now there are different
modes:
0 - lights (colors are added, alpha specifies intensity)
1 - transparency (alpha specifies how much visible)
2 - holes (colors are subtracted)


//#CLIENTSIDE
if (playerenters) {
dontblock;
seteffectmode 1;
setcoloreffect 1,1,1,.99;
}

Go Stefan! WOO!
Reply With Quote