Wearable TileID's in Gump

Get Help on scripting in POL with configurations, config setups, script trouble shooting, etc.

Moderator: POL Developer

Post Reply
mr bubbles
Grandmaster Poster
Posts: 120
Joined: Thu Jan 18, 2007 2:34 am

Wearable TileID's in Gump

Post by mr bubbles » Thu Mar 19, 2009 12:20 am

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

Turley
POL Developer
Posts: 670
Joined: Sun Feb 05, 2006 4:45 am

Re: Wearable TileID's in Gump

Post by Turley » Thu Mar 19, 2009 1:10 am

UOFiddler -> Dress tab
:)

mr bubbles
Grandmaster Poster
Posts: 120
Joined: Thu Jan 18, 2007 2:34 am

Re: Wearable TileID's in Gump

Post by mr bubbles » Thu Mar 19, 2009 2:21 am

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.

Turley
POL Developer
Posts: 670
Joined: Sun Feb 05, 2006 4:45 am

Re: Wearable TileID's in Gump

Post by Turley » Thu Mar 19, 2009 3:25 am

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

mr bubbles
Grandmaster Poster
Posts: 120
Joined: Thu Jan 18, 2007 2:34 am

Re: Wearable TileID's in Gump

Post by mr bubbles » Thu Mar 19, 2009 8:07 am

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

Tomi
POL Developer
Posts: 477
Joined: Tue Feb 21, 2006 5:08 pm

Re: Wearable TileID's in Gump

Post by Tomi » Thu Mar 19, 2009 9:01 am

just 1 question.... what are you planning to do with that animation entry from tiledata ?

mr bubbles
Grandmaster Poster
Posts: 120
Joined: Thu Jan 18, 2007 2:34 am

Re: Wearable TileID's in Gump

Post by mr bubbles » Thu Mar 19, 2009 4:07 pm

I'm planning to get the corresponding gumpid with it by adding 50000 or 60000.

mr bubbles
Grandmaster Poster
Posts: 120
Joined: Thu Jan 18, 2007 2:34 am

Re: Wearable TileID's in Gump

Post by mr bubbles » Fri Mar 20, 2009 10:06 pm

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?

Tomi
POL Developer
Posts: 477
Joined: Tue Feb 21, 2006 5:08 pm

Re: Wearable TileID's in Gump

Post by Tomi » Sat Mar 21, 2009 6:37 am

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

Post Reply