Change body appearance
Posted: Sun Jun 23, 2013 2:00 am
If you want to receive support we need this info to help you properly.
ยป Find Revision
L2J Revision Number:STABLE
L2JDP Revision Number:STABLE
Hi guys, i want to create an item which changes the appearance of the player to whatever race he selected, maintaining his current class.
The way i did it, was creating a new method setRace() to change his race, then updated getRace() method with my new variable and i used setRace() on restore method to set Race always on enter. So far, so good. The race changes fine, but i have a problem.. Collision is set through class Id, so if a human changes to dwarf body, the collision remains the same (human).
Anyone can share an idea of how this could be coded any other way, or how i can change the collision? I looked enough, but i couldn't find anything else.
ยป Find Revision
L2J Revision Number:STABLE
L2JDP Revision Number:STABLE
Hi guys, i want to create an item which changes the appearance of the player to whatever race he selected, maintaining his current class.
The way i did it, was creating a new method setRace() to change his race, then updated getRace() method with my new variable and i used setRace() on restore method to set Race always on enter. So far, so good. The race changes fine, but i have a problem.. Collision is set through class Id, so if a human changes to dwarf body, the collision remains the same (human).
Anyone can share an idea of how this could be coded any other way, or how i can change the collision? I looked enough, but i couldn't find anything else.