Graal Forums  

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

View Poll Results: Was this helpful at all?
Yes, this helped a lot 21 70.00%
Nah, useless 4 13.33%
Not a gani maker. 5 16.67%
Voters: 30. You may not vote on this poll

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 08-18-2003, 03:58 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
Gani FAQ

Well, since I did the gani movie FAQ. I'll try my hand at a regular one. I'll teach you the basics of using Graalshop with a little bit of notepad editing. First of all, go to your CGraal2001 folder and open up your Graalshop.

Let's start with telling you about the basic buttons and things you can do with Graalshop.

Chapter 1:
The Basics of Graalshop


http://kiirar.fatcake.com/ganifaq1.gif

The page icon on the top left creates a new gani file from scratch.
The folder icon opens a currently existing gani file.
The two floppy disk icons are Save and Save As.
The two arrow buttons are the undo and redo functions. Handy if you make a mistake, eh?


http://kiirar.fatcake.com/ganifaq3.gif

These buttons are more to do with our actual gani.
The first one is obviously a play button. No definition required.
The next one stops it at it's current frame.
The next one adds a new animation frame (We'll get onto that shortly) and the flame one next to it, deletes the current frame.
The next button copies the current animation frame.
The one to the right of that, pastes it in before the currently selected animation frame, and the one next to that, pastes it in after the current frame.
The far right one adds a sound into your gani.

http://kiirar.fatcake.com/ganifaq4.gif

These buttons here work with the gani, but moreso with the sprites. The first one you see is the Add Sprite Definition button. Sounds daunting? Well, it's not. We'll learn how to add sprites shortly.

The next one is pretty simple. It removes all unused sprites. So any sprites you haven't used in your gani will be removed from the sidebar with them in.

After this, the next button gets the sprites from one gani, and shoves them into this one.

Finally, the one that looks like a door, reverses your animation. Easy.


http://kiirar.fatcake.com/ganifaq5.gif

Those pretty little arrows and signs control the position and layer of the currently selected sprite. You click on the sprite to select it.
The left and right arrows change the x position of the sprite by -/+1, and the up and down ones control the y position of the sprite +/-1. You can also drag and drop the sprites, or edit the position manually by using the textboxes you see.
The + and - buttons control the layer of the current sprite. Try fiddling around with it. Click on the character's hat. Then press the - button. It will go below his head. Now, click the positive button to bring it back up.

The drop-down box on the top is the direction of the gani. The different options show us what the gani will look like facing other directions. (Note: You will also have to edit these as well as the one facing down if you want to use a multi-directional gani.)

The next drop down box is the currently selected sprite. It will let you choose different sprites, but only the ones in the current frame.

The little boxes below the movement control is where the fun really begins.

The first box you see is the Sprite # Button. It will show you the sprite number of the currently selected sprite. Ingenius.

The one below that is the Loop command. Change it, and the gani will play forever until something intervines.

Continous is self-explainatory.

Back. Colour will change your background to whatever colour you desire. I keep it as that greenish colour. Y'know, green.

Single dir will make the gani appear exactly the same, regardless of the current direction. Click that to true please. Ignore what the blue bar at the bottom does for now.

Below this block you will see the Def. # boxes. Let's go through those.

Def Head and Def Body are quite simple, change them to change the appearance of the character. Let's change 'em to head1331.png and body13.png for now, ne?

Next we have the attributes. These can be set in Graalshop, or by a script using setplayerprop #P*,attribute; where * is the number. Let's explain them in terms of hats. Attribute #1 will always be the hat used. In a script you can change the players hat by using setplayerprop #P1,hatnumber.png;.

It is kind of a way you can edit something about the player's gani through scripts. Difficult to explain. For now, let's change it to hat5.png. Don't I look ravishing, darling?

Next we have parameters, which can be set like this.

setani ani,parameter,parameter,etc;

It is similar to attributes in a way, but attributes are more to do with the player than the gani.


http://kiirar.fatcake.com/ganifaq2.gif

These little pictures here are your sprites. These are what makes the gani. We'll get on how to add more of those later.

The sprites are used, added, deleted in different frames to give the gani a moving effect. In fact, let's get onto the frames now.

http://kiirar.fatcake.com/ganifaq6.gif

See this big blue bar on the bottom? Those are your frames, there should be four of them, since you changed your idle.gani to singledir=true. Drag the red triangle sign along and you should see your character spinning. The same will happen if you press play.

Okay. Now that you have four frames, delete all the ones that are not facing down. Drag the red bar til you get to a frame, then delete it. I told you how to earlier. Now that we're left with the down facing animation frame. Copy it. Then paste it after the current frame.

You're left with two identical frames. Select the newest frame. You see that red square on the time bar? Drag it to the right gently. The blue bar should extend. This little trick lengthens the frame. You can also do it to other frames by clicking between the two frames, then dragging. This is what it should currently look like.

http://kiirar.fatcake.com/ganifaq7.gif.


Chapter 2:
Making a gani



Okay, let's edit our frame! Select the newest (and longest) frame. Then I want you to remove the body from it. Drag it to the column with the sprites in it, it should disappear. Go down until you find sprite #266. Also called "body carrying down". Drag it into place at x=8, y=18.
It should appear above the shield and head. Send it a few layers back until it looks right.
Now go up and find sprite #260. Drag that into place at x=8, y=0.

Now delete the shield, otherwise it will look silly. You can play back the gani to see what it looks like. Otherwise, let's move on.

It's time to learn how to import a sprite definition. Click on the button. Up appears a screen. Where it says "Image" add the line. "ball.png".

Edit the description how you like. But when it comes to setting the sprite index. Set it as 286, or it will overwrite other ones. Keep an eye out so you do not do this in future. On the right, there is some x,y,width,height coordinates you need to input.

These are the x,y,width,height coordinates (in pixels) of the image you want added to the gani. I believe the ball is 25x25. So change width and height to 25. Leave the starting x and starting y positions as 0. When you're done, press add.

Now copy and paste the long frame. Now you've got two identical frames, and another one at the start. Drag the ball you've added to x=12, y=-128. Copy and paste each frame, adding 30 to the y each time.

The ball should get lower and lower in each frame. It is also an idea to shorten each frame length with the ball in to 0.05 of a second.

Once the y gets to -8. Create another new frame, but set the coordinates to y=6. Now we're going to add a sound. Click the sound button, and drag it to the ball. A new option appears in the box on the right. Called "file". Change the blank to chest.wav.

Now, copy and paste this frame after the current one and change the ball's position to x=3, y=5. Get rid of the arm's sprite.

Now add sprite 261 to x=3, y=1. Fix the layers to how you want it to look.

Play it back, you have your gani. (Hastily put together however. )

Finally. Here's a little fun thing with gani script for beginners. Save your gani as football.gani. Now, remove all unused sprite definitions and open the gani with notepad.

Where you see the default body and head command lines. Add in the line.

COLOREFFECT 286 1 0 0 0.9

Nothing should happen in the editor, but load up the gani in a level. Fun times.

Well. This is all I can be bothered to write now, so mleh. You can always inform me when I make mistakes and here's the fun gani.
Attached Files
File Type: gani football.gani (1.7 KB, 2301 views)
File Type: zip ganifaq.zip (89.9 KB, 2089 views)
__________________

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

Last edited by Admins; 03-29-2006 at 12:16 AM..
Reply With Quote
  #2  
Old 08-18-2003, 04:05 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
Bravo Bravo! Thats a great introduction tutorial. Simple and sweet, yet long enough to briefly cover it all!
__________________

Job: A Legend

And you think that you have played Graal forever? Ha!
Reply With Quote
  #3  
Old 08-18-2003, 07:24 PM
Dude6252000 Dude6252000 is offline
More often known as Karsh
Dude6252000's Avatar
Join Date: May 2002
Location: USA.
Posts: 2,603
Dude6252000 is on a distinguished road
Send a message via AIM to Dude6252000
Kiirar, <3. Now people won't ask me how to make ganis..As much. No one seems to understand that my graalshop is broken and can't do anything.
__________________
BEING AWAY FROM THE FORUMS RULES

http://www.livejournal.com/users/karsheth/
Reply With Quote
  #4  
Old 08-18-2003, 07:55 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
How is it broken?
__________________

Job: A Legend

And you think that you have played Graal forever? Ha!
Reply With Quote
  #5  
Old 08-18-2003, 08:06 PM
Dude6252000 Dude6252000 is offline
More often known as Karsh
Dude6252000's Avatar
Join Date: May 2002
Location: USA.
Posts: 2,603
Dude6252000 is on a distinguished road
Send a message via AIM to Dude6252000
Quote:
Originally posted by SaijinGohan
How is it broken?
It randomly freezes.
__________________
BEING AWAY FROM THE FORUMS RULES

http://www.livejournal.com/users/karsheth/
Reply With Quote
  #6  
Old 08-22-2003, 05:07 PM
Snakeandy7 Snakeandy7 is offline
"Member ID=2610"
Snakeandy7's Avatar
Join Date: Mar 2003
Posts: 987
Snakeandy7 is on a distinguished road
Wow it's very good, ill learn gani making
__________________
"Freedom is best I tell thee
of all things to be won
then never live within the bond
of slavery my son".


Reply With Quote
  #7  
Old 01-08-2004, 03:33 AM
KyleOdin KyleOdin is offline
EoA GFX Admin & Webmaster
KyleOdin's Avatar
Join Date: Dec 2001
Location: Moreno Valley, CA
Posts: 44
KyleOdin is on a distinguished road
Send a message via ICQ to KyleOdin Send a message via AIM to KyleOdin Send a message via MSN to KyleOdin Send a message via Yahoo to KyleOdin
Thanks for writing those good tutorials covering Gani Construction Neoreno. It has been awhile since I have made some gani for Graal and your tutorials have helped me to get back into the swing of things.

Now End of Ages will have a lot more ganis and hopefully better quality ones, starting with a host of new sword ganis and graphics that I am working on.

Thanks once again to you and everyone else who posts helpful advice and constructive advice on the forums.


A friend to stray pixels,
__________________

End of Ages Graphics Admin & Webmaster
EoA Website: http://www.eoa-graal.com


"Always a friend to stray pixels." - KyleOdin
"He, he used sarcasm sir." - Monty Python
"Frogblast the Ventcore!" - BOBs from the Marathon game trilogy

For bubble popping fun, be sure to visit Virtual Bubblewrap
Reply With Quote
  #8  
Old 03-29-2006, 12:17 AM
Admins Admins is offline
Graal Administration
Join Date: Jan 2000
Location: Admins
Posts: 11,693
Admins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud of
Attached the missing images, someone should move this to the Graal Bible at wiki.graal.net
Reply With Quote
  #9  
Old 06-15-2006, 03:40 PM
Admins Admins is offline
Graal Administration
Join Date: Jan 2000
Location: Admins
Posts: 11,693
Admins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud of
Ok added it on Graal Bible:
http://wiki.graal.net/index.php/Creation/Dev/Gani
Reply With Quote
  #10  
Old 02-24-2007, 02:37 AM
foxboi foxboi is offline
zzzzz
foxboi's Avatar
Join Date: Aug 2005
Posts: 101
foxboi is on a distinguished road
Sorry, I was going through the tutorial.. its fantastic, but I had a hard time understanding this part:

Now copy and paste the long frame. Now you've got two identical frames, and another one at the start. Drag the ball you've added to x=12, y=-128. Copy and paste each frame, adding 30 to the y each time.

The ball should get lower and lower in each frame. It is also an idea to shorten each frame length with the ball in to 0.05 of a second.
~~~~~


I don't really know if I should post it in this thread since really its named "Gani FAQ". Maybe some feedback from someone or yourself Neo?


Thanks Alot
Reply With Quote
  #11  
Old 12-20-2007, 05:16 PM
Devis Devis is offline
buddy
Devis's Avatar
Join Date: May 2007
Location: home
Posts: 58
Devis is on a distinguished road
and how to put texts in the gani ?
sample in zone if you equip a weapon, above you you see : .... activated!
Reply With Quote
  #12  
Old 01-04-2011, 02:12 AM
Fogell Fogell is offline
Ez
Fogell's Avatar
Join Date: Aug 2010
Location: United States, Georgia
Posts: 72
Fogell is on a distinguished road
Gani Player XY

How do you make a gani so it changes the actual player's Coordinates
Reply With Quote
  #13  
Old 01-04-2011, 02:15 AM
Fulg0reSama Fulg0reSama is offline
Extrinsical Anomaly
Fulg0reSama's Avatar
Join Date: Sep 2009
Location: Ohio
Posts: 3,049
Fulg0reSama has a brilliant futureFulg0reSama has a brilliant futureFulg0reSama has a brilliant futureFulg0reSama has a brilliant futureFulg0reSama has a brilliant futureFulg0reSama has a brilliant futureFulg0reSama has a brilliant futureFulg0reSama has a brilliant future
Quote:
Originally Posted by Fogell View Post
How do you make a gani so it changes the actual player's Coordinates
You really bumped a three year old thread to ask a question of the guy who made cannot answer most likely by now?

1. That is very impractical as far as using ganis goes
2. If you want to REALLY do so, use the movie gani tool in the graalshop and use that. When you use that it will make your character move throughout the gani and on your client. I never truly experimented with movie ganis for they're honestly a giant hassle unless you want something very elaborate.

Would be easier to understand what you're trying to accomplish.
__________________

Careful, thoughts and opinions here scare people.

Last edited by Fulg0reSama; 01-04-2011 at 02:28 AM..
Reply With Quote
  #14  
Old 01-04-2011, 02:19 AM
Fogell Fogell is offline
Ez
Fogell's Avatar
Join Date: Aug 2010
Location: United States, Georgia
Posts: 72
Fogell is on a distinguished road
Quote:
Originally Posted by Fulg0reSama View Post
You really bumped a three year old thread to ask a question of the guy who made cannot answer most likely by now?
Yes and thanks
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 12:24 PM.


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