Graal Forums

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

tlf288 07-12-2003 10:43 PM

Attributes
 
Does anyone know how to use these want to explain them to me? Please start from the very begining of adding them to the changing them and such.

Thanks!

konidias 07-13-2003 04:11 AM

1) Click the "Add Sprite Definition" button at the top of the Graalshop program (looks like an explosion)

2) On the left side of the add sprite menu, in the Image field, you need to name the attribute you wish to use.

3) In that field, type in "ATTR1". You can replace the 1 with any number from 1 to 30, like "ATTR20".

4) Now that you have decided which number your attribute is going to be, you need to pick the description and index you want.

5) Then you need to set your sprite size and such, if you don't know how to do this, I can explain this later.

6) Then you click the Add button.

7) Now the attribute isn't going to show up in Graalshop, because you haven't set the image yet. So save the gani, and close Graalshop.

8) Now right click the gani FILE, and select "Open With" then choose a text editor (I use WordPad) and open the gani file with the text editor.

9) Go down until you see the "DEFAULT" area, and underneath the last one (usually like DEFAULTBODY body.png), add the line "DEFAULTATTR1 imagename.png" (1, or whatever number you chose in step 3)

10) Save the text file, and reopen the gani in Graalshop. You should now see the default graphic in the left scroll field.

I guess that should explain it all, if I missed something or you're having trouble still, just tell me what the problem is and I will solve it for you. :)

edit: By the way, if you're only using a couple ganis, you can just use gani's 1-3 and you can edit the gani fields in the right side of Graalshop instead of doing it via text editor.

tlf288 07-13-2003 04:20 AM

Thank you very much. This will help me with the new body system that I am designing after reading about how yours will work. I love the fully customizable thing.


All times are GMT +2. The time now is 01:41 PM.

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