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 10-23-2007, 07:09 PM
KidOni KidOni is offline
Registered User
KidOni's Avatar
Join Date: Sep 2007
Posts: 12
KidOni is on a distinguished road
How2Gani

Hey how i script all my GFX images into 1 inmage that moves when i do the command.
i dont get it , is there a progam or sumthing
Reply With Quote
  #2  
Old 10-24-2007, 03:33 AM
Switch Switch is offline
o.o
Switch's Avatar
Join Date: Jan 2007
Location: Philadelphia
Posts: 3,038
Switch has a spectacular aura about
Send a message via MSN to Switch
Well Ganis make the images move if you know how to make them (use of GraalShop).

To script them in:
PHP Code:
setani("aniname",param1); //Set's a PLAYER'S ani/gani (NULL is used if there's no param1 (I think :P I'm not an expert at this) but I'm still not sure if that's correct :frown:)
setcharani("aniname",param1); //Same as above except it's for an NPC Character ani/gani
replaceani("originalaniname","replacinganiname"); //Replaces a player's ani/gani ("originalaniname") with a new one ("replacinganiname") ONLY used for players. Also, to re-set it, use 'replaceani("originalaniname","originalaniname");' 
Not all of this is clientside. I've never tried it serverside
__________________
Oh squiggly line in my eye fluid. I see you lurking there on the peripheral of my vision.
But when I try to look at you, you scurry away.
Are you shy, squiggly line?
Why only when I ignore you, do you return to the center of my eye?
Oh, squiggly line, it's alright, you are forgiven.

Last edited by Switch; 10-24-2007 at 09:32 PM..
Reply With Quote
  #3  
Old 10-24-2007, 11:51 AM
Crow Crow is offline
ǝɔɐɹq ʎןɹnɔ
Crow's Avatar
Join Date: Dec 2006
Location: Germany
Posts: 5,153
Crow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond repute
Mh, well, it sounds like you want to learn how to create ganis. Its not "scripting", more like animating a bunch of images and sprites. I guess you should take a look here. Thats Mike's gani tutorial, I think its pretty good.
If you want to use them on Graal, just do what Switch said. Well, use "setcharani" instead of "setchatani", thats messed up in his post, eh. Though it differs if you want to try your ganis offline or online, since GS2 wont work offline. If you want to try the ganis offline, use this:

PHP Code:
setani GANINAME,PARAMS;
setcharani GANINAME,PARAMS;
replaceani ORIGGANI,NEWGANI
Gotta replace all the stuff in capital letters with yours though. Dont worry about the "PARAMS" part, you dont need params for your ganis most of the time. Just leave it blank, so if you would want the player to sit down, use this:

PHP Code:
setcharani sit,; 
Dont forget the comma though, thats important.
Reply With Quote
  #4  
Old 10-24-2007, 09:35 PM
Switch Switch is offline
o.o
Switch's Avatar
Join Date: Jan 2007
Location: Philadelphia
Posts: 3,038
Switch has a spectacular aura about
Send a message via MSN to Switch
Quote:
Originally Posted by Crow View Post
If you want to use them on Graal, just do what Switch said. Well, use "setcharani" instead of "setchatani", thats messed up in his post, eh.
Fixed that Thanks for telling me :o
Quote:
Though it differs if you want to try your ganis offline or online, since GS2 wont work offline. If you want to try the ganis offline, use this:

PHP Code:
setani GANINAME,PARAMS;
setcharani GANINAME,PARAMS;
replaceani ORIGGANI,NEWGANI
Gotta replace all the stuff in capital letters with yours though. Dont worry about the "PARAMS" part, you dont need params for your ganis most of the time.
Thought I had it right
Quote:
Just leave it blank, so if you would want the player to sit down, use this:

PHP Code:
setcharani sit,; 
Dont forget the comma though, thats important.
If you want to have a visual on what to have after the 'sit,' part just use NULL. It helps my mind process it.
__________________
Oh squiggly line in my eye fluid. I see you lurking there on the peripheral of my vision.
But when I try to look at you, you scurry away.
Are you shy, squiggly line?
Why only when I ignore you, do you return to the center of my eye?
Oh, squiggly line, it's alright, you are forgiven.
Reply With Quote
  #5  
Old 10-29-2007, 06:57 PM
KidOni KidOni is offline
Registered User
KidOni's Avatar
Join Date: Sep 2007
Posts: 12
KidOni is on a distinguished road
I read your guyses stuff like 100 times, and i dont get it.

I want to be able to use my 3 gfx and make it move
its only 3 frames.

I got graalshop but i dont understand how to use the timeline to make a gani movie thing.
Reply With Quote
  #6  
Old 10-29-2007, 10:43 PM
Switch Switch is offline
o.o
Switch's Avatar
Join Date: Jan 2007
Location: Philadelphia
Posts: 3,038
Switch has a spectacular aura about
Send a message via MSN to Switch
You gotta add the images in as a sprite (use sprite mode, recommended)... then you make the gani by placing them in the GraalShop
__________________
Oh squiggly line in my eye fluid. I see you lurking there on the peripheral of my vision.
But when I try to look at you, you scurry away.
Are you shy, squiggly line?
Why only when I ignore you, do you return to the center of my eye?
Oh, squiggly line, it's alright, you are forgiven.
Reply With Quote
  #7  
Old 11-07-2007, 10:39 PM
KidOni KidOni is offline
Registered User
KidOni's Avatar
Join Date: Sep 2007
Posts: 12
KidOni is on a distinguished road
I think i get it

What exactly do you meen by "Add it in as a sprite"

Can u type a super quick walkthrough, and explain the steps to adding a spirite?
ex: First you go to images/find your image/select image/etc...

If u explain that way That will REALLLY help

thanx sur
Reply With Quote
  #8  
Old 11-07-2007, 10:42 PM
Pimmeh Pimmeh is offline
Rgesitreed Uesr
Pimmeh's Avatar
Join Date: May 2007
Location: Utrecht, the Netherlands
Posts: 1,586
Pimmeh has a spectacular aura about
Send a message via AIM to Pimmeh Send a message via MSN to Pimmeh
L2read!
http://forums.graal2001.com/forums/s...ad.php?t=47274
__________________
Oh, Death,
No wealth, no ruin, no silver, no gold
Nothing satisfies me but your soul
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:50 AM.


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