![]() |
How do you go about using the new light effects?
|
A friend of mine scripted this :P
// NPC made by «¤†hè Ñîght Ñïñj㤻 ¾© NPC Code: (I added the [code] block - G) Too bad somethings messed up with graal so lighting effects come out as little blocks of color on my comp >:( |
seems a bit complicated.
|
yes
|
my lights show up as huge black circles :(
|
IT IS EASIER THAN THAT
TAKE LIGHT2.PNG MAKE IT AN NPC TYPE SETCOLOREFFECT .5,.1,.1,.5; AND SEE WHAT YOU GET |
Yup what Fai said works... And the script that Gabriel posted is for giving it a slowly getting bigger/smaller effect I actually already scripted something like that on the first day I downloaded Graal2001 ;) However if you want to use it with showimg you'll have to amke use of the command:
NPC Code:changeimgcolors index,r,g,b,a; For R G B and A you should always use values between 0 and 1, adding the command rawaslight to an NPC will make it immune to the effects of seteffect (Or was it setcolor?) which Graal2001 uses for it's day/night. Although if for showimg you are already making use of seteffect in the level, I think that if you add the seteffect effects to the normal values for that showimg it will look like drawaslight. But there is also the more easy and logical to use: NPC Code:setzoomeffect zoom; Which basically takes the imageheight and imageweight * zoom. The showimg variation of that one is: NPC Code:changeimgzoom index,zoom; And blah this is about my longest post yet I think ^^ |
Easy.
<quote>if (playerenters) dontblock; drawoverplayer; drawaslight; setcoloreffect ?,?,?,0.99;</quote>
|
1 Attachment(s)
I have no cluse what the script I posted is supposed to do, since G2K1 Lights a screwed up all I see are little colored dots, its very screwed.
|
yeah, you cant see light effects at all, or well unless you have a good 3D card...
|
Blah.
Riva TNT == Being able to see light effects, and I have a riva tnt2.. Graal isn't Voodoo compatiable which causes many problems for people. And whoa Gabriel that looks severely messed up.
|
Would something lke this work: STB VELOCITY 4400 16MB SVIDEO NVIDA RIVA TNT?
|
Im good at the X and Y areas of a sign, I only mess up atleast once lol
|
Quote:
|
Quote:
|
| All times are GMT +2. The time now is 08:38 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.