Jump to content
  • 0

L2JACIS , DRESS ME SYSTEM


Question

Posted (edited)

Hello,

 

I am working with l2jacis 

 

I'm facing an issue where the HairID from a custom item skin does not display in-game when applied through the skin system. However, if I retrieve the HairID individually, it works correctly, and I can equip it on the player as a standalone "nonameitem."

The setup seems correct, and the item displays and functions in isolation, so I suspect something may be preventing it from rendering when called via the skin system.

Has anyone encountered a similar problem or have insights on what might be missing in the process? Any guidance would be appreciated!

 

    <skin id="15001" hairId="14500" chestId="14501" legsId="0" glovesId="0" feetId="0"/> <!-- Assassin Dark -->

 

 

if(player.getVisual() == 0)

player.setVisual(itemId, SkinTable.getInstance().getHair(itemId), SkinTable.getInstance().getChest(itemId), SkinTable.getInstance().getLegs(itemId), SkinTable.getInstance().getGloves(itemId), SkinTable.getInstance().getBoots(itemId));

else //reset on press Item if skin is equipped

player.setVisual(0,0,0,0,0,0);

 

 

    <item id="14500" type="Armor" name="Dark Helmet">
        <set name="default_action" val="equip" />
        <set name="bodypart" val="hair" />
        <set name="material" val="WOOD" />
        <set name="weight" val="10" />
    </item>
    <item id="14501" type="Armor" name="Dark Suit">
        <set name="default_action" val="equip" />
        <set name="armor_type" val="NONE" />
        <set name="bodypart" val="alldress" />
        <set name="material" val="CLOTH" />
        <set name="weight" val="1000" />
        <set name="price" val="5000000" />
    </item>

 

Edited by TexasJunior

1 answer to this question

Recommended Posts

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×
×
  • Create New...

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..