ENDLESS™ Legend

ENDLESS™ Legend

Complete Skill Tree Overhaul
ninakoru Oct 9, 2023 @ 2:37am
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).
Last edited by ninakoru; Oct 9, 2023 @ 2:51am
< >
Showing 1-4 of 4 comments
MelodyFunction  [developer] Oct 17, 2023 @ 11:10am 
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.
Last edited by MelodyFunction; Oct 17, 2023 @ 11:23am
MelodyFunction  [developer] Oct 17, 2023 @ 11:46am 
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 Oct 18, 2023 @ 2:44am 
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  [developer] Oct 18, 2023 @ 2:52am 
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.
< >
Showing 1-4 of 4 comments
Per page: 1530 50