Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Loading Voices In Different Languages In Psych Engine 1.0 #16129

Open
JuanSebas1247 opened this issue Jan 9, 2025 · 4 comments
Open

Loading Voices In Different Languages In Psych Engine 1.0 #16129

JuanSebas1247 opened this issue Jan 9, 2025 · 4 comments
Labels
help wanted Extra attention is needed

Comments

@JuanSebas1247
Copy link

JuanSebas1247 commented Jan 9, 2025

Describe your problem here.

I'm making a mod in Spanish and English, and in the songs there are dialogues that will be in both languages, Well I want to put 2 audios of the voices in "songs/song-name/Voices-Spanish" and the other "songs/song-name/Voices-", from the lang file depending on the selected language, how do I do it?

It is to avoid making 2 builds in different languages

Are you modding a build from source or with Lua?

Source

What is your build target?

Windows x64

Did you edit anything in this build? If so, mention or summarize your changes.

No response

@JuanSebas1247 JuanSebas1247 added the help wanted Extra attention is needed label Jan 9, 2025
@Im-Sashka
Copy link

you mean, if you turn spanish language on, the voices have to be replaced, right?

@MaksPRO12667
Copy link

Check ClientPrefs there you can find a line "public var language:String = 'en-US';"
If I'm not mistaken, then you can check to this value, for example if language equal en-ES then the Spanish audio will start

@JuanSebas1247
Copy link
Author

JuanSebas1247 commented Jan 11, 2025

you mean, if you turn spanish language on, the voices have to be replaced, right?

Yes, that's what I want, but I want to know if it's possible and how to write it in the language Lang file.

@MaksPRO12667
Copy link

you mean, if you turn spanish language on, the voices have to be replaced, right?

Yes, that's what I want, but I want to know if it's possible and how to write it in the language Lang file.

I think it only works on source

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants