RunUO Community

This is a sample guest message. Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

Getting GumpID from an ItemID?

K

KevinEvans

Guest
Getting GumpID from an ItemID?

Is it possible to get the associated Gump ID from an ItemID for clothing, armor, weapons etc?

Like, is it possible to get the gump id (60469) from a robe (7939)?
 

Thilgon

Sorceror
look in tiledata for that item id.
you will see there an associated animation id.
get that hex number, convert it to decimal, and add 50000. convert it to hex. that's the male gump id.
add 10000 to that number in decimals and convert it to hex, that will be the female gump id.

since the itemid is not linked to the gump/animation id (that are linked each other), but you can assign one to an item id, there is no set rule to get the gump id from an item id (lucky us, since else there would be lots more troubles in patching custom things).
 
K

KevinEvans

Guest
THANK YOU THANK YOU!! <3
THANK YOU!!!!!!!

Love++ xD

You seriously just saved me hours of writing it into a Dictionary!!
 
Top