![]() |
light effects (background color)
how do you do it?
|
i think you want the seteffect command.
|
This was posted by Blitz_Hunter in a thread awhere I asked this..
pretty much just setcoloreffect #,#,#,#; // NPC made by Stefan Knorr if (created) { setimg light2.png; dontblock; } //#CLIENTSIDE if (playerenters) { setcoloreffect 1,1,1,0.99; drawaslight; } Ok , where setcoloreffect is simply change those numbers to the light color you would like. Simply follow the R,G,B,A codes. This is just the simple light as in Spark's level you mentioned. For backpals.. //#CLIENTSIDE if (playerenters) setbackpal dusk1.png; You can change the dusk1.png to any others that are in the graal2001\levels\backpals folder. |
Quote:
B) setbackpal; doesn't work anymore, it was removed. |
what #s would i use to make it a bit darker?
|
Quote:
Keep in mind... This command as well as other commands like it (setcoloreffect, changeimgcolors, etc) only recognize numbers between 0 and 1. |
Quote:
I seem to be thinking backwards this afternoon... @_@;; So, if all of the colours make white... How would you get black, which is the opposite of white? |
1 Attachment(s)
figured it out... thx for the help
heres the level i was makin that i needed it for |
Quote:
|
1 Attachment(s)
what about like this? (4 instead of 6)
|
Quote:
|
even with 1, i can barely see the lights
how do i make em flicker? |
Quote:
|
Quote:
Quote:
|
hm....
all i know how to do is use the while command with playerx and setzoomeffect... but... it works |
| All times are GMT +2. The time now is 12:46 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.