Page 1 of 1

Wearable TileID's in Gump

Posted: Thu Mar 19, 2009 12:20 am
by mr bubbles
Is it possible to get the gumppic ID of a wearable Tilepic?

For example. I have the tile graphic of pants and want to display pants on a paperdoll in a gump. Is there a way, function, to easily get the gump ID of pants worn on a char?

Only way i can think of is making a huge file listing the corresponding gump ID's of the wearables :P

Cheers guys

Re: Wearable TileID's in Gump

Posted: Thu Mar 19, 2009 1:10 am
by Turley
UOFiddler -> Dress tab
:)

Re: Wearable TileID's in Gump

Posted: Thu Mar 19, 2009 2:21 am
by mr bubbles
ah i didnt even see that tab :P I had the window too small.. that's cool.

But i wanted something so I look at the graphic of the wearable then get the gump id.

Something like item.gumpid would be handy, where the gumpid is what is shown on the chars paperdoll.

Thanks for fiddler btw, awesome awesome tool.

Re: Wearable TileID's in Gump

Posted: Thu Mar 19, 2009 3:25 am
by Turley
To get the Gump id:
item->tiledata->animation + 50000 (for male)
item->tiledata->animation + 60000 (for female)
but this is only the first step, it can be modified with *.def files

Re: Wearable TileID's in Gump

Posted: Thu Mar 19, 2009 8:07 am
by mr bubbles
Ah ok thanks for that info :)

Is there an easy way to get the animation number via escript? I was hoping it was stored in tiles.cfg but nothing there. Even looked for a function that may get that info but found nothing :P

Re: Wearable TileID's in Gump

Posted: Thu Mar 19, 2009 9:01 am
by Tomi
just 1 question.... what are you planning to do with that animation entry from tiledata ?

Re: Wearable TileID's in Gump

Posted: Thu Mar 19, 2009 4:07 pm
by mr bubbles
I'm planning to get the corresponding gumpid with it by adding 50000 or 60000.

Re: Wearable TileID's in Gump

Posted: Fri Mar 20, 2009 10:06 pm
by mr bubbles
Last post before i go through and make a config with all the tiles corresponding gumpids :P

Obtaining a tile's animation ID defiantly CAN'T be done in a script?

Re: Wearable TileID's in Gump

Posted: Sat Mar 21, 2009 6:37 am
by Tomi
afaik there is no way to get that value, but there can be a possibility to get it from some incoming packet from the client. Not sure though