Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   Light effect help... (https://forums.graalonline.com/forums/showthread.php?t=4171)

Nai 06-06-2001 12:11 PM

Light effect help...
 
Can anyone tell me the script for the Blue light effects? I have the whole script I just need the, "setcoloreffect 0,0,0,0;" part.

grim_squeaker_x 06-06-2001 04:59 PM

Well it's:
setcoloreffect R,G,B,A;
R = Red
G = Green
B = Blue
A = Alpha
All should have values between 0 and 1 (For example: 0.6), if you're using light2.png I suggest that you give A a value of 0.99, and as for a blue light:
setcoloreffect 0,0,1,0.99;
should work.

toad1413 06-06-2001 06:02 PM

1 Attachment(s)
How do you do the light effects like in the admin house - see attachment - I can't do them!!

grim_squeaker_x 06-06-2001 06:05 PM

I think it makes use of another image, ont only light2.png

toad1413 06-06-2001 06:46 PM

well what is the other image?
The only one I know is light2.png Argh! *screams, waking Kaimetsu up*

toad1413 06-12-2001 02:15 PM

Quote:

Originally posted by Kaimetsu


*sets his pet Drakkara on toad*

Hey! get off! *Throws Kaimetsu's pet Drakkara across the room*

Yeah, I really want to know what the other image is... I'm having a hard time, I'm the Levels Admin on my friend's server that's not even up yet.

KJS 06-12-2001 09:38 PM

just use
 
just use this

setimgpart light2.png,x(were it starts on the picture),y(were it starts on the picture),width,height;

Falcor 06-12-2001 10:12 PM

Heh
 
I could ezily make new lights.... Lense Flare. hahahaha

toad1413 06-13-2001 05:38 AM

Re: just use
 
Quote:

Originally posted by KJS
just use this

setimgpart light2.png,x(were it starts on the picture),y(were it starts on the picture),width,height;

Ok, I tried that but is the width and height in pixels or x,y coordinates?

Bhala 06-13-2001 06:41 AM

it is all in pixels

toad1413 06-13-2001 01:58 PM

ok, thanks

Metal-Slug 06-14-2001 07:42 AM

what kind of driver do i need to have to see light affects. i can see them n e more. i could, then i got new cpu with intergrated graphics card, and it is newer than my other but i still cannot see them.

Bhala 06-14-2001 10:03 AM

do you have DX8 on it? I couldnt see any lighting efects untill I got DX8

Metal-Slug 06-14-2001 11:23 AM

ya, i got directx 8, i had it on old cpu to, i will check a gian, but my card is an Intel

grim_squeaker_x 06-14-2001 05:12 PM

What kind of 3D Card have you got? Most of the cards from the Voodoo series don't work very well with Graal.


All times are GMT +2. The time now is 07:20 AM.

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