Wearable TileID's in Gump

Get Help on scripting in POL with configurations, config setups, script trouble shooting, etc.
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 »

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 »

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 »

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 »

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 »

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: 478
Joined: Tue Feb 21, 2006 5:08 pm

Re: Wearable TileID's in Gump

Post by Tomi »

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 »

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 »

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: 478
Joined: Tue Feb 21, 2006 5:08 pm

Re: Wearable TileID's in Gump

Post 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
Post Reply