Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem









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.