Jump to content

MfgConsoleFunc GetPhoneme returns only 0 or -1


BobBerger

Recommended Posts

Posted

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.

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

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