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.
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>
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
0 answers 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.