TheLegendOfMataNui / game-issues

The Legend of Mata Nui Gameplay Issues
12 stars 1 forks source link

The "Press SPACE to continue" text doesn't update on language change #219

Closed OndrikB closed 2 years ago

OndrikB commented 5 years ago

Build Version:

0.006 Alpha and "Beta" October 23, 2001

Steps to Reproduce:

Change a language in the options menu or through the front end Enter a convo

OndrikB commented 5 years ago

Example: convo

OndrikB commented 2 years ago

Update: It appears that a call to GcAreaDirector::GetScriptFluffString referring to the "Press SPACE to Continue" string is made in GcConversationEngine::GcConversationEngine - this is only called on startup, in GcGame::SetUpDatabase.

A potential solution would be to add calls to destroy and rebuild the conversation engine into GcAreaDirector::SetLanguage. As such, this will require a hookmod.

OndrikB commented 2 years ago

By hooking the OSI function gcareadirector::setlanguage, which in itself calls GcAreaDirector::SetLanguage, I managed to resolve this issue.