![]() |
NPC light
How do i change a light npc to green?
Like if you use the premade light npc, what gs1 code do i add to this code to make that light be green? PHP Code:
|
setcoloreffect 1,1,1,0.99;
Red Green Blue Alpha Want green? Take out Red and Blue. 0 1 0 0.99 |
Thanks so much! Is there a way to know the number code for the light colors? Also how do I make it red?
|
How I do it:
since its in 'red, green, blue, alpha' I just open paint.net, draw the color i want and note the rgb in the script. Since it can only go up to 1 in the script I divide it by 255 (you can do the same with the alpha). So it does look like (which won't work) PHP Code:
PHP Code:
Not everyone will agree with that way but I think that's the easiest way to do it. |
you're using gs1, I recommend gs2 if you plan to make it for a live server other than Graal Reborn.
PHP Code:
Quote:
|
| All times are GMT. The time now is 06:49 AM. |
Powered by vBulletin/Copyright ©2000 - 2026, vBulletin Solutions Inc.