Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   Level Design (https://forums.graalonline.com/forums/forumdisplay.php?f=6)
-   -   light effects (background color) (https://forums.graalonline.com/forums/showthread.php?t=49599)

jrm_iii 12-11-2003 04:08 AM

light effects (background color)
 
how do you do it?

tlf288 12-11-2003 04:10 AM

i think you want the seteffect command.

Zethar 12-11-2003 04:11 AM

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.

haunter 12-11-2003 04:16 AM

Quote:

Originally posted by Zethar
*snip*
A) he wants a backround colour, setcoloreffect only changes the image the NPC that it's in is using... He wants to make the level have a tint, that command is seteffect red,green,blue,alpha ;.

B) setbackpal; doesn't work anymore, it was removed.

jrm_iii 12-11-2003 04:27 AM

what #s would i use to make it a bit darker?

haunter 12-11-2003 04:31 AM

Quote:

Originally posted by jrm_iii
what #s would i use to make it a bit darker?
You would want it to have a black tint... So you would use no colours... But you don't want it to be completely black, you want to see through it... So you would lower your opacity... or alpha...

Keep in mind... This command as well as other commands like it (setcoloreffect, changeimgcolors, etc) only recognize numbers between 0 and 1.

haunter 12-11-2003 04:36 AM

Quote:

Originally posted by jrm_iii
when i use all the colors, it makes it white, not black
Oops. Foolish me...


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?

jrm_iii 12-11-2003 04:42 AM

1 Attachment(s)
figured it out... thx for the help

heres the level i was makin that i needed it for

haunter 12-11-2003 04:47 AM

Quote:

Originally posted by jrm_iii
figured it out... thx for the help

heres the level i was makin that i needed it for

Look's pretty straight forward, and bland. Try doing something new and original with the tiles... Experiment... Also, the lights on your plants are a bit intense... ;)

jrm_iii 12-11-2003 04:53 AM

1 Attachment(s)
what about like this? (4 instead of 6)

haunter 12-11-2003 04:56 AM

Quote:

Originally posted by jrm_iii
what about like this? (4 instead of 6)
I don't really know why the plants are glowing to begin with... But I think it should still go lower... perhaps to .1 or so...

jrm_iii 12-11-2003 05:02 AM

even with 1, i can barely see the lights

how do i make em flicker?

Blitz_Hunter 12-12-2003 05:28 AM

Quote:

Originally posted by Zethar
This was posted by Blitz_Hunter in a thread awhere I asked this..
<3 Least someone gives me credit... :\

haunter 12-12-2003 05:52 AM

Quote:

Originally posted by Blitz_Hunter


<3 Least someone gives me credit... :\

Are you implying that you deserve credit from others, including me, for telling some people how to use seteffect? You aren't the only source to learn these things from. ;P

Quote:

Originally posted by jrm_iii


how do i make em flicker?

The easiest way to do that would be by making the alpha channel change randomly between two values that are fairly close to each other... You could also change the zoomeffect randomly between two values close to each other...

jrm_iii 12-12-2003 06:40 AM

hm....

all i know how to do is use the while command with playerx and setzoomeffect...

but... it works

haunter 12-12-2003 06:41 AM

Quote:

Originally posted by jrm_iii
hm....

all i know how to do is use the while command with playerx and setzoomeffect...

Then the only thing to do is LEARN! ;D

jrm_iii 12-12-2003 06:44 AM

1 Attachment(s)
heres the level i was makin...

haunter 12-12-2003 06:45 AM

Quote:

Originally posted by jrm_iii
heres the level i was makin...
Looks a bit boring there, bud... Add some pizzazzzazzaz... Give it some OOMPH! Be more creative.

jrm_iii 12-12-2003 06:48 AM

1 Attachment(s)
heres me mining in it...

i used the upper left of the 8 rotations of pick as the weapon, but it took the whole image instead of just the one part :(

haunter 12-12-2003 06:53 AM

Quote:

Originally posted by jrm_iii
heres me mining in it...
There's no change to the level at all... Try something new with it... Make it more visualy pleasing.

jrm_iii 12-12-2003 08:34 AM

i didnt say i changed it, i just said i took a ss of me mining

haunter 12-12-2003 11:48 PM

Quote:

Originally posted by jrm_iii
i didnt say i changed it, i just said i took a ss of me mining
Well there wasn't any real point in doing that, was there?

sYnergy247 12-13-2003 07:39 AM

Quote:

Originally posted by haunter


Looks a bit boring there, bud... Add some pizzazzzazzaz... Give it some OOMPH! Be more creative.

can you really dooo that with the era tileset? :(

Luigi1 12-13-2003 08:07 AM

If those are NPC's that use the image light4.png, put"drawaslight;" in there. If it's a showimg, use "changeimgvis index,3;".

Also, the levels are... well, bland. But you can't be very creative with the Era tileset, for it is too limited...

haunter 12-13-2003 08:39 AM

You guys aren't thinking outside of the box.

w3dg1tz8 12-13-2003 08:50 AM

Quote:

Originally posted by haunter
You guys aren't thinking outside of the box.
Stop insulting my home. ;(

Blitz_Hunter 12-13-2003 08:30 PM

Quote:

Originally posted by haunter
Are you implying that you deserve credit from others, including me, for telling some people how to use seteffect? You aren't the only source to learn these things from. ;P
Nah, just saying anything that I do and other people use they never say it was mine or anything...(Not relating to these forums)You dont get irritated if someone uses something you did or made without credit given? :asleep:

haunter 12-14-2003 01:00 AM

Quote:

Originally posted by Blitz_Hunter


Nah, just saying anything that I do and other people use they never say it was mine or anything...(Not relating to these forums)You dont get irritated if someone uses something you did or made without credit given? :asleep:

Yes, but I've never really seen anybody directly quoting what you've said about seteffect other than in this thread. I thought you were talking specifically about what Zethar had said.

Blitz_Hunter 12-14-2003 01:16 AM

Quote:

Originally posted by haunter


Yes, but I've never really seen anybody directly quoting what you've said about seteffect other than in this thread. I thought you were talking specifically about what Zethar had said.

I wasn't really talking about on the forums. Zethar just happen to bring that up. :)

haunter 12-14-2003 01:18 AM

Quote:

Originally posted by Blitz_Hunter


I wasn't really talking about on the forums. Zethar just happen to bring that up. :)

Oh, ok then, my apologies.

Blitz_Hunter 12-14-2003 01:20 AM

Quote:

Originally posted by haunter


Oh, ok then, my apologies.

Heh, No need too. :)


All times are GMT +2. The time now is 08:02 AM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.