无尽帝国

无尽帝国

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