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!
You can post now and register later.
If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.
🚨 Only 2 Days Left Until Our Beta Launch! 🚨
The wait is almost over! In just two days, we'll be opening up our beta, and there's so much for you to explore and experience. We can't wait for you to dive in, test things out, and share your thoughts with us.
Your feedback will help shape the future, and we're excited to have you on this journey with us! 🌟
ADD YOUR SERVERS AND PROMOTE YOUR SERVER FOR FREE.
For owners, our team offers quality advertising services!
Website: https://top.4teambr.com
Premium account free for 7 days
VoteSystem/Callback/API
Question
TexasJunior
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 theHairID
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>
Link to comment
Share on other sites
1 answer to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.