Nymra Posted September 27, 2021 Share Posted September 27, 2021 Easy as that: I would like to access racemenu settings and sliders via script. Basically something similar to MFG console, just for racemenu. In detail: I want to change for example the expression sliders via script (without opening racemenu) because honestly MFG console, even with expressive versions is waaaay too small in their visual impact. Combined with racemenu expressions look just waaay better thx alot Link to comment
Andy14 Posted September 27, 2021 Share Posted September 27, 2021 (edited) Functioning for morphs from Bodyslide should possibly also work for the tri from the head. (Written blind, so untested) import NiOverride String Property MyKey ="MyMod.esp" Auto function(Actor akTarget, String slider, float slidervalue) ;First step, clear old morph from Mod "MyMod.esp" ClearBodyMorph(akTarget,slider,MyKey) ;Refresh the mesh UpdateModelWeight(akTarget) utility.wait(0.1) ;Set new morph SetBodyMorph(akTarget, slider, MyKey, slidervalue) ;Refresh the mesh UpdateModelWeight(akTarget) utility.wait(0.1) endfunction PS: slider values are floats: 1.0 = 100%, 2.0 = 200% etc. Edited September 27, 2021 by Andy14 Link to comment
jfraser Posted September 27, 2021 Share Posted September 27, 2021 i don't think so, but if i'm wrong, i'd love to know it. i had a mod idea where the player could disguise themselves as the other gender but couldn't really change the gender (which i wanted so people would treat the player as the other gender) without just having them manually open racemenu. 1 Link to comment
Nymra Posted September 27, 2021 Author Share Posted September 27, 2021 2 minutes ago, Andy14 said: Functioning for morphs from Bodyslide should possibly also work for the tri from the head. (Written blind, so untested) import NiOverride String Property MyKey ="MyMod.esp" Auto function(Actor akTarget, String slider, float slidervalue) ;First step, clear old morph from Mod "MyMod.esp" ClearBodyMorph(akTarget,slider,MyKey) ;Refresh the mesh UpdateModelWeight(akTarget) utility.wait(0.1) ;Set new morph SetBodyMorph(akTarget, slider, MyKey, slidervalue) ;Refresh the mesh UpdateModelWeight(akTarget) utility.wait(0.1) endfunction aaah, nioverride already working with racemenu stuff? interesting, did not think about it. I see what I can find there, thx Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now