Graal Forums

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

SkooL 07-31-2001 01:40 PM

Quote:

Originally posted by Poogle
No CLIENTSIDE needed! TeSt iT!
He said online...

SkooL 07-31-2001 01:41 PM

Quote:

Originally posted by LiquidIce00
you might want drawaslight also
Only if you are using seteffect in the level with the light. ;)

NeoNPL 07-31-2001 04:50 PM

But no one helped me with what i was stuck on in lighting effects :(
how do you do those wicked door lighting effects and the ones that cut around the corner :( :( :( :(:( :(:(:(:(

SkooL 07-31-2001 04:52 PM

Quote:

Originally posted by NeoNPL
But no one helped me with what i was stuck on in lighting effects :(
how do you do those wicked door lighting effects and the ones that cut around the corner :( :( :( :(:( :(:(:(:(

It uses setgifpart.

Brady2 07-31-2001 11:39 PM

Jadis:

IE: top left corner would be...

NPC Code:

if (playerenters||created) {
setgifpart light2.png,64,64,64,64;
setcoloreffect 1,1,1,.99;
drawaslight;
dontblock;
}



Anyway I think the light2.png is 128x128 pixels

wetferret1 08-03-2001 04:18 PM

SO WHAT THE HELL IS THE COMMAND!?!?!?

08-04-2001 05:35 AM

Quote:

Originally posted by wetferret1
SO WHAT THE HELL IS THE COMMAND!?!?!?
Please stop posting and die :(

revalation 08-04-2001 09:10 AM

I wish I could see light effects.

mystic_pheonix 08-07-2001 10:21 PM

NPC Code:

if (created) {
setimg light2.png;
dontblock;
timeout = 0.05;
}
if (timeout) {
setcoloreffect random(0,99),random(0,99),random(0,99),random (0,99);
timeout = 0.05;
}


Poogle 08-07-2001 10:47 PM

Quote:

Originally posted by revalation
I wish I could see light effects.
Get DirectX 8.0 and IcePick you tell him!


All times are GMT +2. The time now is 09:03 PM.

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