newfeatures2002.txt
Quote:
- 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)
|
Add this code to the script section of the gani and you have a light. If you need an example, go into your ganis folder and open angel.gani with notepad and look at the scripting.