Page 1 of 1
Packet for Pdoll Background?
Posted: Tue Sep 09, 2008 2:48 pm
by Nverjos
Does anyone know which packet (if any) can be used to stop sending the normal Pdoll background (human) so that it can be intercepted and replaced with a different background?
I ask cause I hate to make custom race gumps that have to be regular items that need to be equipped.
-Nver-
Re: Packet for Pdoll Background?
Posted: Tue Sep 09, 2008 9:21 pm
by CWO
The paperdoll packet is only to trigger the paperdoll to open, the background, design, and buttons are all contained in the art.mul file.
Re: Packet for Pdoll Background?
Posted: Wed Sep 10, 2008 1:06 am
by Sadahar
Or inthe verdata.mul .. if your client supports it
Re: Packet for Pdoll Background?
Posted: Wed Sep 10, 2008 12:54 pm
by Nverjos
Those weren't what I meant.
I meant so that if a character is of another race that I can make the background be that race, not the human.
While yes those are in the gump images, the Pdoll itself uses the human background 0xC from non-animated gumps, its not linked to the animation of the human (0x190).
I don't need to edit the images, I need to edit what images go where and when they go there.
Yes I can change the 0xC non-animated one, but then everyone has the same background still. I'm looking for a way to script in or hook the Pdoll to replace the background depending on race choosen (not just elf/human)
Edit: And I don't want to do it as an equipable item, which is my last resort, would rather hook the background. Already tried the Interface.def file, doesn't work.
Re: Packet for Pdoll Background?
Posted: Thu Sep 11, 2008 7:05 am
by Pierce
Sorry if i disappoint you, but you can't use a packet to point to a specific gump
inside the paperdoll. It's really done by the mul files and the client.exe.
In case of the human/elf graphics the client seems to point to the gumps
0xC - 0xF. In case of wearables in most cases it is the object id + 50000.
I think you have to do this with an equipable item, which specific layer can't
be used for other items by those races, e.g. bracelet or something like this.