ENDLESS™ Legend

ENDLESS™ Legend

Mightier and Magicker
ninakoru 9 Oct, 2023 @ 2:49am
Tech issues to solve (with solution) if you go back to update the mod
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, for ELCP compatibility, skills with unit or building production cost reduction should have the extra property MultiplicativeStacking="true", (found in Sisters of mercy and Mogwarr faction trees) this allows ELCP to stack these bonuses multiplicatively, another solution is to add Priority="-1" so bonuses doesn't go nuts with ELCP, depending of the stacking order.
Last edited by ninakoru; 9 Oct, 2023 @ 2:51am
< >
Showing 1-1 of 1 comments
Hokath  [developer] 28 Jan, 2024 @ 12:47pm 
Thanks for this!
Been many years since I first downloaded Smart AI on Civ V. Nice to hear from you.
< >
Showing 1-1 of 1 comments
Per page: 1530 50