Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   Gani Construction (https://forums.graalonline.com/forums/forumdisplay.php?f=50)
-   -   How2Gani (https://forums.graalonline.com/forums/showthread.php?t=77289)

KidOni 10-23-2007 07:09 PM

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:cry:

Switch 10-24-2007 03:33 AM

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 :p

Crow 10-24-2007 11:51 AM

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.

Switch 10-24-2007 09:35 PM

Quote:

Originally Posted by Crow (Post 1354394)
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 :D
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.

KidOni 10-29-2007 06:57 PM

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. :noob::noob::noob:

Switch 10-29-2007 10:43 PM

You gotta add the images in as a sprite (use sprite mode, recommended)... then you make the gani by placing them in the GraalShop

KidOni 11-07-2007 10:39 PM

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

Pimmeh 11-07-2007 10:42 PM

L2read!
http://forums.graal2001.com/forums/s...ad.php?t=47274


All times are GMT +2. The time now is 03:33 AM.

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