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 08-16-2012, 04:35 PM
Fysez Fysez is offline
Banned
Join Date: Apr 2012
Posts: 89
Fysez has a little shameless behaviour in the past
Quote:
Originally Posted by Crow View Post
I know what you want, but why not use the default body "space"? As callimuc said, you'd have to use attributes instead. Those are limited though. And if you're abandoning default bodies completely, there's no reason not to use that extra space you got. The default "setbody" command is not limited to default style bodies, only to bodies as defined per RC folder configuration. So you can also use that with your new type of bodies.

Edit: Also, for attributes in ganis, use ATTR1 to ATTR30. ATTR1 defaults to the hat already though, might want to start with attribute two. But again, there's no reason not to use BODY, HEAD and so on. Why not use them?
Because the default body space goes for the original styled and ordered template designed simply for the default body TEMPLATE. I'm not meaning custom as in different look, I mean custom as in a different look to the TEMPLATE. So using the default body "space" would only mix pieces of my template around and look like its all screwed up.

I see what you mean by ATTR, but my problem is if I wanted to make more than one (for example again) Scarf.
Using ATTR, it goes by Gani. Not image.
So for example,
ATTR[30] would work for something like sit.gani
But not for chair.png.
Because it goes for Gani, not image.
Therefore,
For every scarf I want to make, I'd have to make another Gani for every scarf.
Which is not what I want.

I use the example scarf, because I'm using this for a custom TEMPLATED body.
However, In order to have more than one available body/scarf with this custom TEMPLATE, I'd have to remake every little Gani over and over and over for every body I make.
But I want to make something like in the Gani Sprite,
The image being player.attr[30], but that doesn't work.

The default body TEMPLATE is defined as BODY in the sprite, and automatically changes the default body to the body you are wearing.
But I'd like to do the same, but with my "scarf" instead.

I understand your RC Configuring Concept,
But that won't help make the "scarf" image automatically reset or change to what you want when you say setscarf.
Again, because player.attr goes by GANI. Not image.
Reply With Quote
  #2  
Old 08-16-2012, 06:07 PM
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
Quote:
Originally Posted by Fysez View Post
Because the default body space goes for the original styled and ordered template designed simply for the default body TEMPLATE. I'm not meaning custom as in different look, I mean custom as in a different look to the TEMPLATE. So using the default body "space" would only mix pieces of my template around and look like its all screwed up.
You don't seem to understand. I explicitly pointed out that there is no restriction on the way an image looks. Try putting sword1.png into your playerworld's body folder, then try "setbody sword1.png". Will work like a charm and look scrambled as hell. Get where I'm going yet? Just throw your body images into your body folder and use BODY inside the gani. Then use the default setbody command.

You don't seem to be getting the attribute stuff either. Let's say you're using ATTR2 in your gani for the scarf. You can then change around the player's second attribute via script like this:
PHP Code:
player.attr[2] = "scarf2.png"
And it'd change the way the scarf looks in the gani, since you used ATTR2 to define the used image inside the gani. ATTR#, where # is any number between 1 and 30, can be used in a gani to use player.attr[#] as an image in its place.
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 03:40 AM.


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