Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   Gani Construction (https://forums.graalonline.com/forums/forumdisplay.php?f=50)
-   -   Problem with alpha blending (https://forums.graalonline.com/forums/showthread.php?t=49530)

haunter 12-07-2003 05:23 AM

Problem with alpha blending
 
I'm trying to edit G2k1's swimgani because I want the ripples around the head to be translucent... But it's not working...


I added this below the DEFAULTBODY/HEAD stuff... but it's not working...


NPC Code:

COLOREFFECT 20 1 1 1 0.5
EFFECTMODE 20 2
COLOREFFECT 21 1 1 1 0.5
EFFECTMODE 21 2



Any idea as to what I'm doing wrong?

And yes, the sprite numbers are 20, and 21.... Here, ill attach the gani with the changes...

tlf288 12-07-2003 05:35 AM

i have never got any color thing to work in ganis :-\ .

haunter 12-07-2003 05:40 AM

Quote:

Originally posted by tlf288
i have never got any color thing to work in ganis :-\ .
Me either... This is my first time trying...

--Chris-- 12-07-2003 08:07 AM

*Opens in wordpad*
Hm...
Well I'm not much of a scripter but I've never seen "EFFECTMODE" in any gani that uses effects. I'll attach a gani here I made which uses some, the script is from the original lamp gani on 2k1 - maybe it can help you out? I notice there's no:
"SCRIPT

<script here>

SCRIPTEND"

in yours either but like I mentioned before - I'm not much of a scripter and it may not be neccessary in yours ;x

haunter 12-07-2003 08:10 AM

Quote:

Originally posted by --Chris--
*Opens in wordpad*
Hm...
Well I'm not much of a scripter but I've never seen "EFFECTMODE" in any gani that uses effects. I'll attach a gani here I made which uses some, the script is from the original lamp gani on 2k1 - maybe it can help you out? I notice there's no:
"SCRIPT

<script here>

SCRIPTEND"

in yours either but like I mentioned before - I'm not much of a scripter and it may not be neccessary in yours ;x

The lamp gani uses a showimg script to plop the light effect ontop of the person... I want to change the alpha of a sprite within the GANI... Thats why the lamp gani uses the SCRIPT / SCRIPTEND dealies...

And even if EFFECTMODE isn't a valid command, I don't think it should make a difference...


Edit : I did a search on Alpha in the gani forums and came up with two other threads not including this one... I read through them... its still not working though ;O


Edit2: Ok, i've looked in the newfeatures2002.txt which contains notes about EFFECTMODE and COLOREFFECT... And I've looked at Angel.gani which uses COLOREFFECT I seem to be doing everything right and yet it fails to work... This is baffling...

haunter 12-14-2003 08:38 PM

Well I can see this forum is being put to good use... :rolleyes:

calani 12-15-2003 06:48 AM

i really should look into ganis
as of right now i can't even make a non-scripted gani o.o

--Chris-- 12-15-2003 06:49 AM

You shouldn't make a sarcastic remark like that when people have tried to help and in just about every other thread has helped, not to mention there's an FAQ or two stickied :)

Gani scripting is quite limited and like I said before I've never even seen "EFFECTMODE" in a gani. Maybe what you're trying to do isn't even possible? I wouldn't doubt I'm wrong though e_e

Thought 12-15-2003 07:02 AM

You cannot use effects on 'variable' images, eg SPRITES, ATTR1, PARAM1, etc.

TripleE 12-22-2003 08:24 PM

haunter if you still are having trouble, ask Karsh.

Neoreno 12-22-2003 08:35 PM

I don't believe Karsh is too familiar with the scripting side of ganis.


All times are GMT +2. The time now is 02:26 PM.

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