無盡帝國

無盡帝國

Complete Skill Tree Overhaul
ninakoru 2023 年 10 月 9 日 上午 2:37
Some easy-to-solve technical issues (with solution)
Hi,

Seems the AI will not recognize the new skills, if you use AIdebugmode in debug mode, you will see they don't have any evaluation value so AI will never pick them (with maybe some AI unknown side issues?), however I found the issue, and is on the plugin configuration of the mod declaration:

You have currently (beware couldn't add the asterisk on the file name due to steam formatting):

<DatabasePlugin DataType="UnitSkill, Assembly-CSharp"> <FilePath>Simulation/UnitSkills[ *].xml</FilePath> </DatabasePlugin>

You also need to add (both need to exist, plugin load order doesn't matter):

<DatabasePlugin DataType="ConstructibleElement, Assembly-CSharp"> <ExtraTypes> <ExtraType DataType="UnitSkill, Assembly-CSharp" /> </ExtraTypes> <FilePath>Simulation/UnitSkills[ *].xml</FilePath> </DatabasePlugin>



Also, Sisters hero doesn't have the MultiplicativeStacking="true" property in their unit production cost reduction skills (this allows ELCP to stack these bonuses multiplicatively).
最後修改者:ninakoru; 2023 年 10 月 9 日 上午 2:51
< >
目前顯示第 1-4 則留言,共 4
MelodyFunction  [開發人員] 2023 年 10 月 17 日 上午 11:10 
Oh damn, I just saw this thread right now.

I was looking around a lot to try and fix the issue of the AI not "seeing" the newly added skills. Thanks a ton for your help.

And thanks for the sisters thing. I did know something felt off, but never got around to finding out what.
Checking the files, I think the Morgawr naval unit cost reduction also needs "MultiplicativeStacking="true"" in there, so I'll go ahead and do that.


I'll test the changes right away.
最後修改者:MelodyFunction; 2023 年 10 月 17 日 上午 11:23
MelodyFunction  [開發人員] 2023 年 10 月 17 日 上午 11:46 
Okay, I updated the mod incorporating the fixes.

AI might still be a bit wonky, but they will now somewhat properly skill the heroes.
I'll have to take a deeper look at AI some time in the future. Main thing I want to achieve is have the AI more or less "coinflip" vs they go down the racial general tree or the class general tree. I already did some work to that end, but I need to work out some... questionmarks. Like how the AI determines when a potential general is "army hero" or "army support".
ninakoru 2023 年 10 月 18 日 上午 2:44 
Glad to hear it was helpful.

Yeah, about AI values, keep in mind ELCP reduced the values compared to vanilla, I mean, strong skills have 0.4, weak skills have 0.1, etc, in vanilla values go up to 1. (I mean the values for AIHero, AIGovernor, etc).
MelodyFunction  [開發人員] 2023 年 10 月 18 日 上午 2:52 
I already edited the value of each and every skill ^^" So far, it seems like it works out well. I'll sit down and some point and review all the values, I've got a spreadsheet somewhere to that effect.
< >
目前顯示第 1-4 則留言,共 4
每頁顯示: 1530 50