Jump to content

Recommended Posts

@Enderia

Hello.  I had to learn to do this for Wirra.  Feel free to look at my code, 

-- Custom speech strings
if GetModConfigData("language") == 7 then
	modimport("scripts/speech_wildchild_spanish")  --Translated by: Nick-Name
else
	STRINGS.CHARACTERS.WILDCHILD = require "speech_wildchild"
end

speech_wildchild.lua

speech_wildchild_spanish.lua

Edited by FurryEskimo
6 hours ago, FurryEskimo said:

Hello.  I had to learn to do this for Wirra.  Feel free to look at my code, 

Not quite what I was looking for, since Sun and Moon act more like a werewolf character, but after playing around I managed to pin require speech to the transformation code (probably had a typo because it wasnt workin yesterday). Thanks for speaking up tho!

[ps. in speech wildchild, line 109 (Polish), I would change "To nie jest dobrze.." to just "Nie jest dobrze...".
First one sounds incorrectly, smt like "It's that's not good"]

Edited by Enderia

@Enderia

Haha, thank you for pointing out that error!  I did my best to translate all of the text correctly, but I'm always thrilled to have someone more familiar with the language review it for me.

And you're welcome.  It may not have quite been what you needed, but I'm glad I was able to offer some assistance.

By the way, if you speak Polish and would like to review the rest of my Polish translations, that would be a big help!  Just tossing the idea out there.

On 2/16/2022 at 9:02 PM, FurryEskimo said:

@Enderia

Hello.  I had to learn to do this for Wirra.  Feel free to look at my code, 


-- Custom speech strings
if GetModConfigData("language") == 7 then
	modimport("scripts/speech_wildchild_spanish")  --Translated by: Nick-Name
else
	STRINGS.CHARACTERS.WILDCHILD = require "speech_wildchild"
end

speech_wildchild.lua 164.77 kB · 1 download

speech_wildchild_spanish.lua 166.21 kB · 1 download

I need to do something similar to this but i want to change a singular text file from wx78 the one where they notices something that they have not scanned before. this is what my code looks like rn idk what to do.

local require = GLOBAL.require

local STRINGS = GLOBAL.STRINGS

GLOBAL.STRINGS.CHARACTERS.WX78 = {}

GLOBAL.STRINGS.CHARACTERS.WX78.DESCRIBE = {}

STRINGS.CHARACTERs.WX78 = require "speech_WX78" 

This is in modmain.lua

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
  • Create New...