安装 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 your kind explanation. I fixed it as you told me, can you check if the problem has been solved?
tries to get his current army with the line "local force = faction:faction_leader():military_force()"
If noctilus dosnt exist when the script runs then it fails.
the change i made checks if he dosnt exist or if he dosnt have an army and then just dosnt run the rest of the script instead of failing.
all you have to do is to replace the line "local force = faction:faction_leader():military_force()"
in the "script/campaign/mod/bad_legend_agent12_il_potente_granchio.lua" with this part:
"local leader = faction and faction:faction_leader()
if not leader or leader:is_null_interface() then
return -- Exit early if leader doesn't exist
end
local force = leader:military_force()
if not force or force:is_null_interface() then
return -- Exit early if force doesn't exist
end"
Sorry I don't know scripts very well so please explain more about what I should do. And even now, there should be no problem with gameplay itself. And where do you get the error message?
Maybe this will fix the error from occuring:
local faction = cm:get_faction("wh2_dlc11_cst_noctilus")
local leader = faction and faction:faction_leader()
if not leader or leader:is_null_interface() then
return -- Exit early if leader doesn't exist
end
local force = leader:military_force()
if not force or force:is_null_interface() then
return -- Exit early if force doesn't exist
end
That I didn't notice means a very minor update that you don't have to know. I made some modifications to the modeling of one of the characters.
Maybe mod conflict would have been resolved. But please ask the mod creator to delete the part related to 'merovech'.
@bstar
Maybe it's fixed. It won't interfere with gameplay anyway.
After the latest update, I'm getting a script error message for:
"[ string/"script/campaign/mod/bad_legend_agent12_il_potente_granchio.lua/" ]