Barotrauma 潜渊症

Barotrauma 潜渊症

Barotrauma Workshop
You can build your own submarines and monsters with in-game editors and share your creations with other players. Imagine and experiment.
So how does one edit a language pack and make it usable?
For example, I edited English language pack, renamed it into England for lols and also changed the strings to England, did make sure they follow the same structure like this in filelist.xml as well:
<Other file="%ModDir%/Content/NPCConversations/England/NPCConversations_England.xml" />
<Other file="%ModDir%/Content/Texts/England/EnglandVanilla.xml" />
but it still doesn't appear both in languages and when you make a server. Did I miss anything?
< >
正在显示第 1 - 6 条,共 6 条留言
sokolov 17 9 月 20 日 上午 5:53 
Try Text instead of Other. You may also have to use <Override> in the files if you haven't already.
Sapphire 1 9 月 20 日 上午 6:29 
引用自 sokolov
Try Text instead of Other. You may also have to use <Override> in the files if you haven't already.
I did actually use <Override>, yeah, but I also got another idea - look for other localization files and add them in, will try all that laters
Sapphire 1 9 月 20 日 上午 6:33 
Update: Text didn't work, didn't appear in both game language and server langauge. Will look more later
sokolov 17 9 月 20 日 上午 9:26 
I did my own little test to check it out for you-

I assume you're trying to add a completely new "England" language, which you shouldn't add an <Override> to, actually. Originally I thought you just were trying to change the English language.

I guess you've also done this part but you should change
<infotexts language="English" nowhitespace="false" translatedname="English">
into
<infotexts language="England" nowhitespace="false" translatedname="England">

This made the new language file appear for me in settings. Hopefully it works for you.
Sapphire 1 9 月 20 日 下午 12:41 
引用自 sokolov
I did my own little test to check it out for you-

I assume you're trying to add a completely new "England" language, which you shouldn't add an <Override> to, actually. Originally I thought you just were trying to change the English language.

I guess you've also done this part but you should change
<infotexts language="English" nowhitespace="false" translatedname="English">
into
<infotexts language="England" nowhitespace="false" translatedname="England">

This made the new language file appear for me in settings. Hopefully it works for you.
It did work, thanks! :D
Tho I wonder if having it selected in game settings will work for others too since I can't seem to pick other languages other than vanilla ones when I click host server
sokolov 17 9 月 20 日 下午 2:05 
I think players will have to download the same mod as you, there is no way to have clientside mods aside of a few lua ones. You can probably edit the vanilla English text file to have the bots speak the quotes you have set, but I don't know how well that would work online.
最后由 sokolov 编辑于; 9 月 20 日 下午 2:14
< >
正在显示第 1 - 6 条,共 6 条留言
每页显示数: 1530 50