Graal Forums

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

Pokilty 05-04-2003 01:16 AM

Lights Disabled Commands
 
Can somebody tell me which commands work with lights disabled? I recently found out the you can use setcoloreffect without lights and that really surprised me. I'm eager to find out what else i missed :D

screen_name 05-07-2003 06:11 AM

Technically all of them should work with light effects disabled, but some just doesn't show up. Such as

NPC Code:

changeimgcolors 50,1,1,1,.7;
changeimgmode 50,1;



It just doesn't show the image, but still works.

Knuckles 05-07-2003 06:12 AM

changeimgmode? Is that the same as... drawaslight?

osrs 05-07-2003 07:41 PM

Quote:

Originally posted by Knuckles
changeimgmode? Is that the same as... drawaslight?
...used to change the way the npc image is drawn when using the
setcoloreffect red,green,blue,alpha; command (alpha<1):
by default the image colors are added to the graphics below, with the intensity of 'alpha', which makes the image appear like a light since it is making the graphics below appear more bright; now there are different modes:
0 - lights (colors are added, alpha specifies intensity)
1 - transparency (alpha specifies how much visible)
2 - holes (colors are subtracted)

screen_name 05-08-2003 01:03 AM

It makes an image translucent. Sort of like "dotting" an image; such as Kai's metris graphics.


All times are GMT +2. The time now is 09:14 AM.

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