Skip to content

Script to remove 'Graphic' of equipped item?

Is there a function to remove/change the graphic of the helm and cloak so it does not show?

Comments

  • ProlericProleric Member Posts: 1,316
    There's no script function.

    Using a text editor, you can change the dynamic creature models (pmh0.mdl etc) to remove the cloak_g node. Cloaks can then still be equipped, but are invisible.

    If you only want to change one creature, consider a custom phenotype with the same change.

    The Custom Content Guide on Neverwinter Vault explains how dynamic creature models work.

    Helmets are more tricky because they use the head node - making the helmet invisible by the cloak method also makes the head vanish.
  • KamirynKamiryn Member Posts: 74
    edited October 2021
    This is what you're looking for:
    // Sets whether the provided item should be hidden when equipped.
    // - The intended usage of this function is to provide an easy way to hide helmets, but it
    //   can be used equally for any slot which has creature mesh visibility when equipped,
    //   e.g.: armour, helm, cloak, left hand, and right hand.
    // - nValue should be TRUE or FALSE.
    void SetHiddenWhenEquipped(object oItem, int nValue)
    

    As the description says it's not working only for helmets but for cloaks, armor, weapons, shields just the same.
  • ProlericProleric Member Posts: 1,316
    My bad, I overlooked that new feature.
  • BuddywarriorBuddywarrior Member Posts: 62
    Kamiryn wrote: »
    This is what you're looking for:
    // Sets whether the provided item should be hidden when equipped.
    // - The intended usage of this function is to provide an easy way to hide helmets, but it
    //   can be used equally for any slot which has creature mesh visibility when equipped,
    //   e.g.: armour, helm, cloak, left hand, and right hand.
    // - nValue should be TRUE or FALSE.
    void SetHiddenWhenEquipped(object oItem, int nValue)
    

    As the description says it's not working only for helmets but for cloaks, armor, weapons, shields just the same.

    Perfect! Thank you Kamiryn.
Sign In or Register to comment.