Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   Graal V4 Main Forum (https://forums.graalonline.com/forums/forumdisplay.php?f=143)
-   -   Request: Light silhouette (https://forums.graalonline.com/forums/showthread.php?t=61847)

ChibiChibiLuc 10-21-2005 04:02 AM

Request: Light silhouette
 
Yeah.. I don't really know what to call this, but..

Is there any way a command could be added that gives an image a light effect, but only the silhouette?

For example:
NPC Code:
function onCreated() {
showimg(300, "light4.png", x, y);
changeimgcolors2(300, 1, 0, 0, 1);
}



It turns the non-transparent parts of the image pure red, instead of just tinting it.

I know I explained this badly.. Does anyone understand what I mean?

Admins 10-24-2005 10:10 PM

Not Really :confused:

Lance 10-24-2005 11:21 PM

Quote:

Originally Posted by ChibiChibiLuc
Yeah.. I don't really know what to call this, but..

Is there any way a command could be added that gives an image a light effect, but only the silhouette?

It turns the non-transparent parts of the image pure red, instead of just tinting it.

I know I explained this badly.. Does anyone understand what I mean?

Perhaps a few pictures would help?

haunter 10-25-2005 02:56 AM

He basically wants to showpoly in the shape of whatever image he's using...

Like so:

Admins 10-25-2005 01:32 PM

Hmmm should work like this
changeimgmode index,1;
changeimgcolors index,1,0,0,1;

(or eventually changeimgcolors index,1,0,0,0.99; )

Magadal 10-26-2005 02:02 PM

Quote:

Originally Posted by Stefan
Hmmm should work like this
changeimgmode index,1;
changeimgcolors index,1,0,0,1;

(or eventually changeimgcolors index,1,0,0,0.99; )


Everytime I use changeimgmode index,1; my light/image is gray :D.


All times are GMT +2. The time now is 06:53 AM.

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