Graal Forums

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

cbk1994 05-25-2007 01:55 PM

Lights
 
How can I get lights to show, using showimg, correctly when it is dark?

I use seteffect( 0, 0, 0, .7 ); then I have to show the lamps. But when I show the image, the image is darker, and hardly bright at all. Currently I'm showing it at a screenx instead of levelx, but that is very laggy becaues it has to be moved so much.

Thanks :)

Skyld 05-25-2007 03:39 PM

If you are using showimg, which layer are you drawing the image on?

godofwarares 05-25-2007 03:57 PM

Quote:

Originally Posted by cbkbud (Post 1311751)
How can I get lights to show, using showimg, correctly when it is dark?

I use seteffect( 0, 0, 0, .7 ); then I have to show the lamps. But when I show the image, the image is darker, and hardly bright at all. Currently I'm showing it at a screenx instead of levelx, but that is very laggy becaues it has to be moved so much.

Thanks :)

Try messing around with the 'mode' value of the ShowImg:
PHP Code:

showimg(200"light2.png"3030).mode 0


DustyPorViva 05-25-2007 07:11 PM

Layer 3 draws it on the 'light's layer, and over the seteffect.

cbk1994 05-25-2007 10:44 PM

Okay, thanks Dusty :)


All times are GMT +2. The time now is 05:54 PM.

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