koreamm Posted March 24, 2021 Share Posted March 24, 2021 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 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 Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.
Please be aware that the content of this thread may be outdated and no longer applicable.