Jump to content

[LE] Change weapon Model or Texture "on the fly" via Script


Rikushai

Recommended Posts

aaah now i understand what you_ve mean.. well that whould be a pretty hard workaround ^^

but gladly the first step worked pretty well actually . of course i have to adjust the enchantment shader a bit but so far? i like the result ^^

Link to comment
Share on other sites

someday i will eat my keyboard. XD scriptadded entchantments will also need a unequip/equip refresh. Okay, then only half of what i've planned. ^^ Thanks for all your help guy's

 

It seems you just hit a wall my friend...

Link to comment
Share on other sites

Hey, one more thing to try. I was checking out RaceMenu's NiOverride functions for another mod I'm working on, and I found this:

Function AddWeaponOverrideTextureSet(ObjectReference ref, bool isFemale, bool firstPerson, Weapon weap, string node, int key, int index, TextureSet value, bool persist) native global

You might be able to use it in conjunction with QueueNiNodeUpdate() to change weapon textures on the fly. Note that RaceMenu says that the player uses 1st person for both 3rd and 1st person weapons. I'd check out the NiOverride source script.

Link to comment
Share on other sites

  • Recently Browsing   0 members

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