Jump to content

NIFs using NiSwitchNode


SKKmods

Recommended Posts

I am wanting to use NiSwitchNode flora template to switch material/textures on a mesh triggered by an event (say Harvest/OnActivate) as I cant use F4SE dependent ApplyMaterialSwap.

 

The two source state NIFs with materials and textures work fine.

 

Combined them to emulate Mutfruit/Hubflower, the only hidden difference is NiNode flag bit 29 (unnamed) is set on the root and NiSwitchNodes whatever that does.

 

Thing activates and harvests fine, but the shader/textures will not switch. Just sits static showing whatever the first NiNode is (reorder blocks does switch manually, lol)

 

Are there any FAQ gotchas, or someone who knows about this stuff take a look at the NIF ?

 

Link to comment
Share on other sites

The problem is solved.

 

Turns out that having additional NiNodes (for attachments) between the root (0) NiNode and the (4) NiSwitchNode werre causing issues. Shuffle them to the end of the list and life is good.

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...