Quote:
|
Originally Posted by Raeiphon
It appears the same as the image =/
|
Isn't that the point? o_O
K, I'm not sure how much you know, or what the problem is, so I'm just gonna bust through all the possible problems I can think of.
The default light npc:
NPC Code:
// NPC made by Stefan Knorr
if (created) {
setimg light2.png; // change light2.png to the mist image.
dontblock;
}
//#CLIENTSIDE
if (playerenters) {
setcoloreffect 1,1,1,0.99; // make sure the alpha is below 1 (red,green,blue,alpha)
drawaslight;
}
Make sure you have light effects enabled and all that good stuff.
If you're wanting the npc to SHOW the mist and not BE the mist itself, use showimg, changeimgcolors, and changeimgvis.
They are used:
NPC Code:
showimg index,filename,x,y; //make sure the index number matches for these
changeimgcolors index,red,green,blue,alpha; // values are 0-1, keep alpha below 1
changeimgvis index,layer; // have layer at 3
Also, don't forget to have
//#CLIENTSIDE above that stuff.
Typing is fun.
