Base item helm model type 0 on Dynamic(parts based) NPC crashes toolset.
ShadowM
Member Posts: 573
So with the new functions
special note that if you place this to run onspawn for NPC it will hide helmets on Parts based NPC.
void SetHiddenWhenEquipped(object oItem, int nValue)
int GetHiddenWhenEquipped(object oItem)
I can make open face helms for pc, by using vfx and hiding the helms. These new baseitem.2da type must be simple(model type) because we do not have multiple color vfx support yet. So simple with helm slot. This work perfectly for PC and does not affect simple NPC (bugbears etc...) but when placed on npc dynamic(parts based) it cause the toolset to crash.
Just a suggestion.
If you could give us a function that does not hide the head on helmet equip then we can have open face helmets with multiple color support. We can do a check on-spawn for the NPC and run the function. These would allow us to adjust helm models/head placement on a case by case basis.
void SetDoNotHideHeadWhenEquipped(object oItem, int nValue)
Summary bug
Simple model type in helm slot crash tool-set with Dynamic (Parts based NPC)
special note that if you place this to run onspawn for NPC it will hide helmets on Parts based NPC.
void SetHiddenWhenEquipped(object oItem, int nValue)
int GetHiddenWhenEquipped(object oItem)
I can make open face helms for pc, by using vfx and hiding the helms. These new baseitem.2da type must be simple(model type) because we do not have multiple color vfx support yet. So simple with helm slot. This work perfectly for PC and does not affect simple NPC (bugbears etc...) but when placed on npc dynamic(parts based) it cause the toolset to crash.
Just a suggestion.
If you could give us a function that does not hide the head on helmet equip then we can have open face helmets with multiple color support. We can do a check on-spawn for the NPC and run the function. These would allow us to adjust helm models/head placement on a case by case basis.
void SetDoNotHideHeadWhenEquipped(object oItem, int nValue)
Summary bug
Simple model type in helm slot crash tool-set with Dynamic (Parts based NPC)
0