Jump to content

Realtime Material Swapping


Recommended Posts

Is it possible to assign a material swap to a reference or whatever will take one through a script and furthermore, in real-time, say if the swap were triggered?

 

I don't know how to use Papyr-latapus, but I wonder if someone who does and who is a bit more familiar with how the engine handles these things could answer:

 

Would the MSWP actually be applied in real time or would the reference need to be redrawn? If a weapon used a material swap would it need to be re-equipped like when applying object modifications in realtime?

Edited by TrickyVein
Link to comment
Share on other sites

Now, I don't know the first thing about materials.

 

But I do know you can swap OMODs in real-time.

 

From your (own) post in Has anyone been successful with material swaps of a weapon? where you explain applying material swaps via OMODs, putting two-and-two together, I'd say yes - you can swap materials on an equipped weapon.

 

When you apply an OMOD on a currently equipped, drawn weapon, the behavior is exactly as if the player had swapped weapons via the favorites system. The weapon goes down, then is brought back up with the new OMOD attached. It isn't a sudden 'pop' from old textures to new.

Link to comment
Share on other sites

Well, I'm not interested in applying an object modification to a weapon which adds a keyword which results in a material swap, but more like applying a material swap directly to something, sans the OMOD go-between. If that's possible, and for other things besides weapons, too.

 

It seems to me that something like this could be very useful. Indeed, the wet material which almost every static object has is applied in realtime during a rainy weather event. So there's a lot of potential for creating cool events like this in-game.

Link to comment
Share on other sites

 

If this can be done, workshop mods would benefit hugely. Instead of 100 objects for each desired texture we could have 2-3, and less clutter and headaches.

 

How would you then pick the texture you want? I can't really think of a system that would be more efficient.

 

Cycle them same way as the cycling lights, except you'd have a material swap triggered via interaction (reserving a key for that would be great, though probably requires F4SE since I don't think papyrus has key press detection). Further improvement for a menu pop-up allowing you to choose the exact material you want. Might not be much better, but definitely better than scrolling thru 100 items that will be in a end user's categories.

Link to comment
Share on other sites

  • Recently Browsing   0 members

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