Jump to content

MfgConsoleFunc GetPhoneme returns only 0 or -1


Recommended Posts

Quick Backstory, I installed COTR and want to use the additional phonemes/expressions/modifiers in sslBaseExpressions. But for doing that i need to figure out the IDs. I haven't found anything on the internet yet, so i decided tofind the IDs myself, i made a Quest with a loop in it, that checks if a phoneme has a value to it above a certain threshold, but it only returns 0 or -1.

int counter
while counter <=50
	if MfgConsoleFunc.GetPhoneme(Game.GetPlayer(),counter) >= 80
		Debug.Trace("Phoneme ID found: "+counter)
	else
		Debug.Trace("Phoneme ID	searched :"+MfgConsoleFunc.GetPhoneme(Game.GetPlayer(),counter))
	endif
	if MfgConsoleFunc.GetModifier(Game.GetPlayer(),counter) >= 80
		Debug.Trace("Expression ID found: "+counter)
	else
		Debug.Trace("Expression ID searched: "+MfgConsoleFunc.GetModifier(Game.GetPlayer(),counter))
	endif
	counter += 1
endWhile

I found out that the new phonemes are actually morphs, and that you cant apply head morphs with a script.

Link to comment

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

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

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more information, see our Privacy Policy & Terms of Use