PDA

View Full Version : Showimg drawaslight?


JkWhoSaysNi
03-11-2007, 11:41 PM
is it possible to show an image (or poly) as a light?

I tried all 4 modes but it doesn't act the same as an NPC with drawaslight.

Chandler
03-12-2007, 08:51 AM
Yes. I'm sure that it's possible.

with(findimg(index))
red = #; //And so on

Kristi
03-12-2007, 11:23 AM
is it possible to show an image (or poly) as a light?

I tried all 4 modes but it doesn't act the same as an NPC with drawaslight.

It should as long as you set the alpha to less then one

DustyPorViva
03-12-2007, 01:10 PM
Last I checked, setting it to 3 had the same effect as drawaslight.

JkWhoSaysNi
03-12-2007, 02:10 PM
edit: nevermind.

I figured out the problem. I had to set the layer to 3 so it was above the seteffect()

Admins
03-12-2007, 04:22 PM
Yes layer 3 is the drawaslight-layer

0 - drawunderplayer
1 - normal
2 - drawoverplayer
3 - drawaslight
4+ - stats layer

zokemon
03-12-2007, 09:32 PM
So, will layer 3 actually remove some seteffect haze? Or does the combination of the two just make gray muck?

Angel_Light
03-12-2007, 09:43 PM
experiment ;o

JkWhoSaysNi
03-12-2007, 09:55 PM
It kinda does, I was trying to negate the seteffect() on an area denoted by a showpoly() I could get it to lighten but whatever I tried the colours had lost some saturation.