安裝 Steam
登入
|
語言
簡體中文
日本語(日文)
한국어(韓文)
ไทย(泰文)
Български(保加利亞文)
Čeština(捷克文)
Dansk(丹麥文)
Deutsch(德文)
English(英文)
Español - España(西班牙文 - 西班牙)
Español - Latinoamérica(西班牙文 - 拉丁美洲)
Ελληνικά(希臘文)
Français(法文)
Italiano(義大利文)
Bahasa Indonesia(印尼語)
Magyar(匈牙利文)
Nederlands(荷蘭文)
Norsk(挪威文)
Polski(波蘭文)
Português(葡萄牙文 - 葡萄牙)
Português - Brasil(葡萄牙文 - 巴西)
Română(羅馬尼亞文)
Русский(俄文)
Suomi(芬蘭文)
Svenska(瑞典文)
Türkçe(土耳其文)
tiếng Việt(越南文)
Українська(烏克蘭文)
回報翻譯問題









Thank you for the solution. But if do it your way, Noctilus won't be able to move in campaign map at the first turn. I've tried fixing it my own way, can you check how it is?
@RuDo
Okay. Go ahead.
return
end
local forename = common:get_localised_string("names_name_888888839") or ""
cm:change_character_custom_name(agent, forename, "","","")
cm:embed_agent_in_force(agent, force)
cm:set_saved_value("bad_legend_only_one12", true)
end)
if not ok then
out("bad_legend_agent12_il_potente_granchio ERROR: " .. tostring(err))
cm:set_saved_value("bad_legend_only_one12", true)
end
end
cm:add_first_tick_callback(function()
cm:callback(function()
bad_legend_agent12_il_potente_granchio()
end, 0.5)
end)
if not settlement or settlement:is_null_interface() then
return
end
local cap_x = settlement:logical_position_x()
local cap_y = settlement:logical_position_y()
local agent_x, agent_y = cm:find_valid_spawn_location_for_character_from_position(
faction_key, cap_x, cap_y, true, 6
)
if not agent_x or not agent_y then
return
end
local agent = cm:create_agent(
faction_key, "champion", bad_agent_key, agent_x, agent_y
)
if not bad_legend_settings or not bad_legend_settings[bad_agent_key] then
return
end
local leader = faction:faction_leader()
if not leader or leader:is_null_interface() then
return
end
local force = leader:military_force()
if not force or force:is_null_interface() then
return
end
local home_region = faction:home_region()
if not home_region or home_region:is_null_interface() then
return
end
local function bad_legend_agent12_il_potente_granchio()
-- If we've already processed this agent, never run again
if cm:get_saved_value("bad_legend_only_one12") then
return
end
local ok, err = pcall(function()
local bad_agent_key = "il_potente_granchio"
local faction_key = "wh2_dlc11_cst_noctilus"
local faction = cm:get_faction(faction_key)
-- Faction missing, null, or dead? Mark as done and exit.
if not faction or faction:is_null_interface() or faction:is_dead() then
cm:set_saved_value("bad_legend_only_one12", true)
return
end
SCRIPT ERROR
[out] <74.8s> [string "script\campaign\mod\bad_legend_agent12_il_potente_granchio.lua"]:14: attempt to call method 'settlement' (a nil value)BIG FAT
Is this the mod you mentioned? -> SCM's LCCP, 16 new factions for IEE!
I've tested it with my mod and I don't see a problem. Maybe you're using Legendary character mod. I think there's a problem with that mod itself right now.