Graal Forums  

Go Back   Graal Forums > Development Forums > Gani Construction
FAQ Members List Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 12-07-2003, 05:23 AM
haunter haunter is offline
Registered User
haunter's Avatar
Join Date: Mar 2001
Posts: 7,989
haunter is on a distinguished road
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...

Last edited by haunter; 07-12-2007 at 08:16 PM..
Reply With Quote
  #2  
Old 12-07-2003, 05:35 AM
tlf288 tlf288 is offline
Registered User
tlf288's Avatar
Join Date: Nov 2001
Location: new account: Trevor
Posts: 0
tlf288 is on a distinguished road
Send a message via AIM to tlf288 Send a message via Yahoo to tlf288
i have never got any color thing to work in ganis :-\ .
__________________
new account: Trevor
Reply With Quote
  #3  
Old 12-07-2003, 05:40 AM
haunter haunter is offline
Registered User
haunter's Avatar
Join Date: Mar 2001
Posts: 7,989
haunter is on a distinguished road
Quote:
Originally posted by tlf288
i have never got any color thing to work in ganis :-\ .
Me either... This is my first time trying...
Reply With Quote
  #4  
Old 12-07-2003, 08:07 AM
--Chris-- --Chris-- is offline
Registered
--Chris--'s Avatar
Join Date: Jun 2002
Location: Trinidad
Posts: 2,767
--Chris-- will become famous soon enough
Send a message via MSN to --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
__________________
"Make the *dreams* of today the *opportunities* of tomorrow."

Reply With Quote
  #5  
Old 12-07-2003, 08:10 AM
haunter haunter is offline
Registered User
haunter's Avatar
Join Date: Mar 2001
Posts: 7,989
haunter is on a distinguished road
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...

Last edited by haunter; 12-07-2003 at 08:21 AM..
Reply With Quote
  #6  
Old 12-14-2003, 08:38 PM
haunter haunter is offline
Registered User
haunter's Avatar
Join Date: Mar 2001
Posts: 7,989
haunter is on a distinguished road
Well I can see this forum is being put to good use...
Reply With Quote
  #7  
Old 12-15-2003, 06:48 AM
calani calani is offline
Scriptess
calani's Avatar
Join Date: Aug 2003
Location: asmgarden.gmap
Posts: 606
calani is on a distinguished road
Send a message via AIM to calani
i really should look into ganis
as of right now i can't even make a non-scripted gani o.o
__________________
Reply With Quote
  #8  
Old 12-15-2003, 06:49 AM
--Chris-- --Chris-- is offline
Registered
--Chris--'s Avatar
Join Date: Jun 2002
Location: Trinidad
Posts: 2,767
--Chris-- will become famous soon enough
Send a message via MSN to --Chris--
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
__________________
"Make the *dreams* of today the *opportunities* of tomorrow."

Reply With Quote
  #9  
Old 12-15-2003, 07:02 AM
Thought Thought is offline
PipBoy Extraordinaire!
Thought's Avatar
Join Date: Nov 2001
Location: Long Beach, California.
Posts: 692
Thought is on a distinguished road
You cannot use effects on 'variable' images, eg SPRITES, ATTR1, PARAM1, etc.
__________________
Rick ([email protected])
#gscript on FreeNode (#gscript Guild, #gscript Information)
Graal User Statistics

I am now using my new account, Rick.
Reply With Quote
  #10  
Old 12-22-2003, 08:24 PM
TripleE TripleE is offline
Down with GK Corruption
Join Date: Jun 2003
Posts: 1,005
TripleE is on a distinguished road
haunter if you still are having trouble, ask Karsh.
Reply With Quote
  #11  
Old 12-22-2003, 08:35 PM
Neoreno Neoreno is offline
Cerebrate
Neoreno's Avatar
Join Date: Aug 2001
Location: England
Posts: 1,663
Neoreno is on a distinguished road
Send a message via AIM to Neoreno
I don't believe Karsh is too familiar with the scripting side of ganis.
__________________

Quote:
Exitus Acta Probat: The Outcome Justifies the Deed.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 08:41 PM.


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