Jump to content

Recommended Posts

Posted

Updating skin is instant with a NiOverride script call, either NiNodeUpdate or perhaps UpdateWeight, been a while but yes it can be instant, just an extra step. AR BR.... Armor Rating and Block Rating would be my assumption

Posted (edited)
The engine has the flaw that retains in-game what's in memory, so in order to change a texture's or a mesh's file path it needs to unloaded it from memory, and re-loaded.


......................................................................................................................................


AR = shortcut for 'A Race'

BR = shortcut for 'B Race'


we declare and store the actor's race so that the script/game can use it later.

Race AR = iActor.GetRace() - the actor's primary race

Race BR = iActor.GetRace() - the actor's race once it transforms


( BR == AR )

If ( BRace equals ARace )

;; remove the new skin armor because we are back to normal

Edited by maxarturo
Posted

ok its not compiling for me. 2 questions

 

1 does it require skse cause im looking for a non skse option

2 does it require ae or can i use the 1.5.97 version cause i refuse to upgrade till all mods i require are updated and currently still missing 4 major framework mods that are still 1.5.97

Posted
It does not require SKSE, it uses simple default Papyrus, and it does not matter which version of the game you have.

It's a simple script and it should compile just fine, post your warning message.

Posted

Yeah. Make AR global.

 

 
Race Property WerebeastRace Auto
Armor property WerebeastSkin auto
Armor property WerebeastSkinNew auto
Actor iActor
Race  OriginalRace
 
EVENT OnEffectStart(Actor akTarget, Actor akCaster)
         iActor = akTarget
         OriginalRace = iActor.GetRace()
ENDEVENT
 
EVENT OnRaceSwitchComplete()
    Race NewRace = iActor.GetRace()
    If ( NewRace == WerebeastRace )
         iActor.UnequipItem(WerebeastSkin)
         iActor.EquipItem(WerebeastSkinNew)
    ElseIf ( NewRace == OriginalRace )
         iActor.UnequipItem(WerebeastSkinNew)
    EndIf
ENDEVENT
Posted
Yeah... it was a stupid omission on my part, that I didn't even bother to look at the script again.

That's what you get for trying to assist with your phone while sitting and relaxing on a beach....

  • Recently Browsing   0 members

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