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 09-10-2003, 11:36 PM
SaijinGohan SaijinGohan is offline
Registered User
SaijinGohan's Avatar
Join Date: Jul 2001
Location: U.S.A - Ohio
Posts: 536
SaijinGohan is on a distinguished road
Send a message via AIM to SaijinGohan Send a message via MSN to SaijinGohan
Attributes and Parameters

Ok I was bored today so I figured I would try something new. I redid the walk gani to include Attribute #P2 as light2.png. That shows in the gani and all that on graal, so what I am asking isn't because I didnt do the gscript and the gani to get the attribute to show. Anyways...

So now I walk on my server and the little light2.png is behind me. How do I make that glow like a light effect. I know the obvious is editing the gani in NOTEPAD and adding ganiscript, but thats dumb I think. How can I do this from gscript itself, like in a weapon. Is it even possible? If not perhaps we need
getattribute(#P2) or something like that. Since the image can already be set, why not actually make it an editable npc like that.

Now for part2. I understand attributes and how they work and that theres 1-30 and then the head and body stuff. But what about parameters? What do they do, how can I set them, do they work like attributes?
__________________

Job: A Legend

And you think that you have played Graal forever? Ha!
Reply With Quote
  #2  
Old 09-11-2003, 07:23 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
Look for my tutorial.
__________________

Quote:
Exitus Acta Probat: The Outcome Justifies the Deed.
Reply With Quote
  #3  
Old 09-12-2003, 04:49 AM
SaijinGohan SaijinGohan is offline
Registered User
SaijinGohan's Avatar
Join Date: Jul 2001
Location: U.S.A - Ohio
Posts: 536
SaijinGohan is on a distinguished road
Send a message via AIM to SaijinGohan Send a message via MSN to SaijinGohan
Ok. That solved only like .5 of my 2 problems. I simply am refreshed on how to set a parameter, but how do they work still. Like setani walk,5; Yeah I can do that but what does a parameter do in the gani editor itself.

I also said I could easily do ganiscript to make it glow, but I want to make it glow from gscript and not the gani itself. Perhaps I could use parameters to set the rgb of the light? Idea but I don't know how that is done.
__________________

Job: A Legend

And you think that you have played Graal forever? Ha!
Reply With Quote
  #4  
Old 09-12-2003, 04:55 AM
DustyPorViva DustyPorViva is offline
Will work for food. Maybe
DustyPorViva's Avatar
Join Date: Sep 2003
Location: Maryland, USA
Posts: 9,589
DustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond repute
Send a message via AIM to DustyPorViva Send a message via MSN to DustyPorViva
setani item,door.png;

then in graalshop

Goto the button to create a new object, and on the left make the menu drop where you give the image name and set it to PARAM1

Now, when the gani is displayed it will show the door image.
Reply With Quote
  #5  
Old 09-12-2003, 10:29 PM
SaijinGohan SaijinGohan is offline
Registered User
SaijinGohan's Avatar
Join Date: Jul 2001
Location: U.S.A - Ohio
Posts: 536
SaijinGohan is on a distinguished road
Send a message via AIM to SaijinGohan Send a message via MSN to SaijinGohan
Ok I get it now. Attribute and parameter do the same thing, in different cases. Attribute is for player or npcs with showcharacter; and parameter is for all npcs using a gani. Ok thats clear. Any news though on my gani script from gscript?
__________________

Job: A Legend

And you think that you have played Graal forever? Ha!
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 06:58 AM.


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