Jump to content
  • 0

Change language/localization from the start (GZDoom)


The Royal We

Question

Is there any way to make a wad open with a pre-set language? For example: create a wad that when the player opens all menus and texts will be immediately in Korean.

Share this post


Link to post

2 answers to this question

Recommended Posts

  • 1
14 hours ago, The Royal We said:

Is there any way to make a wad open with a pre-set language? For example: create a wad that when the player opens all menus and texts will be immediately in Korean.

Is there a legit use-case besides trolling the player?

Share this post


Link to post
  • 0
13 hours ago, The Royal We said:

Is there any way to make a wad open with a pre-set language? For example: create a wad that when the player opens all menus and texts will be immediately in Korean.

In general, CVAR "language" is responsible for this. But for some reason GZDoom doesn't allow to change cvar's automatically. I got an error even in MENUDEF. Funny thing is that Zandronum knows how to handle such things, where I used the OPEN script in ACS to expose the desired sv_aircontrol.
 

I could suppose that you could try to do a TITLEMAP where you force your language through the ACS in the OPEN script, but there are two problems here, GZDoom can't handle this kind of thing and second, changing the language will always work even when the player doesn't need it (although maybe you can come up with additional checks for when to force a language and when not to).
 

Maybe ZScript has its own tools to handle this, but I'm not very familiar with ZScript.

Edited by DRON12261

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...