SKKmods Posted April 27, 2021 Share Posted April 27, 2021 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 More sharing options...
niston Posted April 28, 2021 Share Posted April 28, 2021 Something has to trigger the NiSwitchNode switching over.Try copying the behavior graph extra data from a vanilla flora object into your NIF, perhaps that will make it work. Link to comment Share on other sites More sharing options...
SKKmods Posted April 28, 2021 Author Share Posted April 28, 2021 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 More sharing options...
Recommended Posts