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 05-18-2003, 12:51 AM
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
Gani FAQ.

This will answer everyone that doesn't know what a gani is. With nearly any question they have. Just throw this link in their face.

Q: What's a gani?
A: A text file that is edited by notepad or Graalshop, used to make animations in Graal. More simply, an animation. G-ANI. Graal animation.

Q: How can I put sprites in the gani?
A: Click the add sprite definition button in Graalshop. In the file field, it will give you a scroll list of things to pick from, including PARAMs, ATTRs, HEAD, BODY, etc. If you want to insert a graphic directly and make it a sprite, type the file's name in the field. (NOTE: The graphic has to be in the same location as the gani file, or it will not show up. That, or you have to have the gani saved in your gani folder, and the graphic in webgifs.) Put a name for the sprite in the box under it. (I think it's Sprite Description.) On the last box on the left, put a sprite number that is UNUSED by any other sprite, or it will replace the sprite with that number.
Now, the hard part. Try to find an approximate width and height for the picture, by typing it in on the corresponding fields for them. That's basically how big the sprite will be (Or the piece of the image you want as a sprite, and not the full graphic.). Use the X and Y to determine the starting point of where the width and height box is drawn. For example, if you have a sprite with the width and height of both 32, and there's another sprite under that with the same dimensions, you put 32 in the X to make the spot it clips out from the graphic down 32 pixels. It may take you a while to find the exact X, Y, width and height, so be patient. When you're done typing in approx. values, hit the OK button, or whatever isn't cancel on that window. Look for your sprite in the list. If it's good, leave it. If you want to redo the values, right click it and hit Edit. (TIP: Edit can be used to copy and make new sprites, by changing the sprite number. It leaves the sprite you opened alone, unless you update that sprite number.) Retype the 4 values, and repeat the same process until it's perfect. And if you want the sprite gone forever, right click it and hit delete.

Q: What's a param or an attr?
A: Parameters and attributes are used to be a changable graphic, which are changed from NPC scripts. Add a sprite using an unused PARAM or ATTR. Now, fill in a default graphic for that PARAM or ATTR you used. You'll see what I'm talking about. It can change through NPC script, and the default in Graalshop is just used to display one thing. For example, open human_idle or idle. Hopefully, it'll have a hat. In ATTR1 (I think thats what hat uses. PARAM or ATTR. Someone correct me.), change the hat number from like, hat0.png to hat90.png. It'll show an example of changing the graphic, except in Graalshop. I'm not exactly completely sure on the command in scripting for changing them, I forget. Someone add on to me? ^_^;

I'll add more to this FAQ later, to make it more accurate, add pictures, etc. If anyone has a gani-related question, ask.
__________________
BEING AWAY FROM THE FORUMS RULES

http://www.livejournal.com/users/karsheth/
Reply With Quote
  #2  
Old 05-18-2003, 05:57 AM
SingleChance SingleChance is offline
Kill Pirates
Join Date: Apr 2002
Location: Canada
Posts: 1,296
SingleChance is on a distinguished road
hmm nice FAQ...
where can i get graalshop? ...i'm thinking of trying to do some gani's
Reply With Quote
  #3  
Old 05-18-2003, 06:00 AM
Kaimetsu Kaimetsu is offline
Script Monkey
Kaimetsu's Avatar
Join Date: May 2001
Posts: 18,222
Kaimetsu will become famous soon enough
setplayerprop changes gani attributes.
__________________
Reply With Quote
  #4  
Old 05-18-2003, 03:09 PM
Milkdude99 Milkdude99 is offline
Truckin Up
Milkdude99's Avatar
Join Date: Jun 2001
Location: Central Florida
Posts: 3,390
Milkdude99 is an unknown quantity at this point
Send a message via ICQ to Milkdude99
Quote:
Originally posted by SingleChance
hmm nice FAQ...
where can i get graalshop? ...i'm thinking of trying to do some gani's
Here with a few other Graal tools.


http://www.graal-npulse.com/pafiledb...action=viewall
__________________

Moon God
Graal.net

---------- Home---------

Reply With Quote
  #5  
Old 05-18-2003, 09:00 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
Kai, tell people how to use setplayerprop. I haven't scripted for a while, I know how that command works, but I forget the variable it uses for params and attrs. :o

Q: Where is Graalshop?
A: On fansites, posted on this forum, or in the Graal installer. If you want it from the Graal installer, go in it, and when it asks you what you want to install, make it install all of the developer kits.
__________________
BEING AWAY FROM THE FORUMS RULES

http://www.livejournal.com/users/karsheth/
Reply With Quote
  #6  
Old 05-18-2003, 09:33 PM
Milkdude99 Milkdude99 is offline
Truckin Up
Milkdude99's Avatar
Join Date: Jun 2001
Location: Central Florida
Posts: 3,390
Milkdude99 is an unknown quantity at this point
Send a message via ICQ to Milkdude99
Quote:
Originally posted by Dude6252000
Kai, tell people how to use setplayerprop. I haven't scripted for a while, I know how that command works, but I forget the variable it uses for params and attrs. :o

Q: Where is Graalshop?
A: On fansites, posted on this forum, or in the Graal installer. If you want it from the Graal installer, go in it, and when it asks you what you want to install, make it install all of the developer kits.
I heard that is not working on the Graal installer and why I put it on this download page.
__________________

Moon God
Graal.net

---------- Home---------

Reply With Quote
  #7  
Old 05-18-2003, 09:49 PM
--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--
Karsh, maybe sometimes we could make a walk-through with pictures to show how everything works. Would have to be when I'm unoccupied (busy with O levels now) x.x
__________________
"Make the *dreams* of today the *opportunities* of tomorrow."

Reply With Quote
  #8  
Old 05-18-2003, 11:48 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 --Chris--
Karsh, maybe sometimes we could make a walk-through with pictures to show how everything works. Would have to be when I'm unoccupied (busy with O levels now) x.x
Quote:
Originally posted by Dude6252000
I'll add more to this FAQ later, to make it more accurate, add pictures, etc.
Heh. I would, but lately my computer has been screwing up. It's hard to open a lot of programs. I'm trying to get it fixed.
__________________
BEING AWAY FROM THE FORUMS RULES

http://www.livejournal.com/users/karsheth/
Reply With Quote
  #9  
Old 08-09-2003, 09:10 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
I'm going to keep this thread up until my Graalshop is fixed, so people stop bugging me with questions on how to use Graalshop. ;-; Ask a question and I'll answer it.
__________________
BEING AWAY FROM THE FORUMS RULES

http://www.livejournal.com/users/karsheth/
Reply With Quote
  #10  
Old 08-09-2003, 09:53 PM
Myomoto Myomoto is offline
Hollow
Myomoto's Avatar
Join Date: May 2003
Location: Nowhere
Posts: 2,689
Myomoto is on a distinguished road
Send a message via AIM to Myomoto Send a message via MSN to Myomoto
About your computer messing up with a lot of program open, try this, i have no idea how or if this will work :O

http://www.tweakxp.com/display.aspx?id=545
Reply With Quote
  #11  
Old 08-09-2003, 10: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 Myomoto
About your computer messing up with a lot of program open, try this, i have no idea how or if this will work :O

http://www.tweakxp.com/display.aspx?id=545
If you're directing that at me, that's for XP. I used 98. ;-;
__________________
BEING AWAY FROM THE FORUMS RULES

http://www.livejournal.com/users/karsheth/
Reply With Quote
  #12  
Old 08-09-2003, 10:38 PM
Myomoto Myomoto is offline
Hollow
Myomoto's Avatar
Join Date: May 2003
Location: Nowhere
Posts: 2,689
Myomoto is on a distinguished road
Send a message via AIM to Myomoto Send a message via MSN to Myomoto
oh, i though you used XP ._. Maybe that's the problem with your graal shop?
Reply With Quote
  #13  
Old 08-10-2003, 12:18 AM
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 Myomoto
oh, i though you used XP ._. Maybe that's the problem with your graal shop?
My OS wouldn't make the program screw up. It never used to. This newest version does.
__________________
BEING AWAY FROM THE FORUMS RULES

http://www.livejournal.com/users/karsheth/
Reply With Quote
  #14  
Old 08-10-2003, 12:24 AM
Myomoto Myomoto is offline
Hollow
Myomoto's Avatar
Join Date: May 2003
Location: Nowhere
Posts: 2,689
Myomoto is on a distinguished road
Send a message via AIM to Myomoto Send a message via MSN to Myomoto
bleh, can't you just use the old one? ._. Or isn't good enough?
Reply With Quote
  #15  
Old 08-10-2003, 01:35 AM
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 Myomoto
bleh, can't you just use the old one? ._. Or isn't good enough?
I need the newest one, otherwise I can't make the new bodies for 2k1.
__________________
BEING AWAY FROM THE FORUMS RULES

http://www.livejournal.com/users/karsheth/
Reply With Quote
  #16  
Old 08-10-2003, 03:34 AM
CheeToS2 CheeToS2 is offline
That Guy
CheeToS2's Avatar
Join Date: Dec 2001
Location: Seattle, WA
Posts: 2,528
CheeToS2 will become famous soon enough
Send a message via AIM to CheeToS2
attributes: setplayerprop #P(attr#),value;
parameters: setani ganiname,param1,param2,...;
__________________

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 11:34 PM.


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