Jump to content

Recommended Posts

1. Put this code and customise_base.lua, customise_rog.lua, customise_sw.lua, customise_pork.lua into \scripts\map

--modmain.lua

local function CustomizationScreenPostConstruct(self)
	self.GetWorldFiles = function(self)
		if IsDLC0003 then
			return {
				MAIN_GAME = "map/customise_base",
				REIGN_OF_GIANTS = "map/customise_rog",
				CAPY_DLC = "map/customise_sw",
				PORKLAND_DLC = "map/customise_pork"
			}
		elseif IsDLC0002 then
			return {
				MAIN_GAME = "map/customise_base",
				REIGN_OF_GIANTS = "map/customise_rog",
				CAPY_DLC = "map/customise_sw",
			}			
		else
			return {
				MAIN_GAME = "map/customise_base",
				REIGN_OF_GIANTS = "map/customise_rog",
			}
		end
	end
end
AddClassPostConstruct("screens/customizationscreen", CustomizationScreenPostConstruct)
--customise_rog.lua

{ text = STRINGS.UI.SANDBOXMENU.SLIDELONG.." "..STRINGS.UI.SANDBOXMENU.DAY, data = "longday" },
									↓
{ text = STRINGS.UI.SANDBOXMENU.DAY.." "..STRINGS.UI.SANDBOXMENU.SLIDELONG, data = "longday" },

but, AddClassPostConstruct code changes nothing, Editting customise.lua works for hamlet & the world compatible with other DLC

752460716_.thumb.png.a85d78f90a19ffb78b7d690f6bebb51e.png

I want to change the order of those words independently of DLC compatibility.

Because it is necessary for Korean Translation mod.

 

 

 

2. I want to add quotes that only wilson has to other characters.

The quotes are as follows

ACTIONFAIL.FERTILIZE.WRONGDIRT
ACTIONFAIL.PICKUP.CANTPAY
ACTIONFAIL.PICKUP.GENERIC
ACTIONFAIL.SHAVE.RIDING
ANNOUNCE_GNATS_DIED
ANNOUNCE_NOWARDROBEONFIRE

Other characters don't have those quotes in speech_characters.lua

I don't know what to do, so, I've roughly conceived it this way.

STRINGS.CHARACTERS.GENERIC.ACTIONFAIL.PICKUP.GENERIC = function()
	if characters == "willow" then
		return "사라진 걸 주을 순 없다고!"
	elseif characters == "wagstaff" then
		return "이미 사라진 걸 주을 순 없답니다."
	elseif characters == "walani" then
		return " 없어진 걸 주을 순 없어."
	end
end

 

Edited by koreamm

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...