Graal Forums

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

DustyPorViva 08-17-2008 05:10 AM

Mode 3
 
What is it?

mode - integer - the image drawing mode (0 - add, 1 - transparent, 2 - subtract, 3 - daynight)

LoneAngelIbesu 08-17-2008 06:15 AM

Perhaps it's drawn below day/night effects (seteffect())? That's my most logical guess. I don't use images that often.

Googi 08-17-2008 07:02 AM

Does it have to do with backpals? Are backpals "drawn" like images? I have no idea.

DustyPorViva 08-17-2008 07:31 AM

backpals aren't even supported anymore, and this mode is more 'recent'. When mode was added, it was just 0, 1, and 2. Mode 3 was added with Graal 5, or something like that.

As for drawing below day/night... I highly doubt it. Modes are used to change the effect of the alpha value, and you can already draw stuff under/above daynight by changing its layer.

Googi 08-17-2008 07:43 AM

Quote:

Originally Posted by DustyPorViva (Post 1415066)
backpals aren't even supported anymore, and this mode is more 'recent'. When mode was added, it was just 0, 1, and 2. Mode 3 was added with Graal 5, or something like that.

I was thinking backwards compatibility, or are they so unsupported that they simply no longer work?

DustyPorViva 08-17-2008 07:46 AM

Quote:

Originally Posted by Googi (Post 1415068)
I was thinking backwards compatibility, or are they so unsupported that they simply no longer work?

I think they no longer work.

Admins 08-21-2008 08:37 PM

Mode 3 is daynight so that you can do your own daynight effects. Red,green and blue are added on top, and alpha is subtracted from the background. Basicly you can make the background darker and add some colors on top. It's mainly meant for polygons.


All times are GMT +2. The time now is 10:52 AM.

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