ENDLESS™ Legend is a turn-based 4X fantasy-strategy game, where you control every aspect of your civilization as you struggle to save your homeworld Auriga. Create your own Legend!
If you name it Geomic Labs the AI will never build it /s
Serious answer: Simulation debug mode says my faction has the descriptor GameDifficultyHardHumanMajorEmpire. There's one for every difficulty for humans (the AI have some too) in SimulationDescriptors[GameDifficultyBonus].
I'd try something like this:
[CODE]$Path(.../EmpireTypeMajor,GameDifficultyNewbieHumanMajorEmpire) or $Path(.../EmpireTypeMajor,GameDifficultyEasyHumanMajorEmpire) or $Path(.../EmpireTypeMajor,GameDifficultyNormalHumanMajorEmpire) or $Path(.../EmpireTypeMajor,GameDifficultyHardHumanMajorEmpire) or $Path(.../EmpireTypeMajor,GameDifficultySeriousHumanMajorEmpire) or $Path(.../EmpireTypeMajor,GameDifficultyImpossibleHumanMajorEmpire) or $Path(.../EmpireTypeMajor,GameDifficultyEndlessHumanMajorEmpire)[/CODE]
Of course this wouldn't work with a mod that adds custom difficulties but I'm not sure where else to go.
Okay, KBS, thank you. I'll go ahead an try that and see if it works.
I know there's a lot of definitions in the xml (like EmpireTypeMinor) and I was hoping there would just be a simple EmpireTypeEnemy or something that I could plug in there.
My other idea is to add the improvements to the AI datatables and just set everything to 0 or negative, and hopefully the AI would decide it wasn't worth building.
But I'll give this a try first. Thank you so much for taking the time to offer help & advice. Really grateful!
[CODE]$Path(.../EmpireTypeMajor,GameDifficultyNewbieHumanMajorEmpire) or $Path(.../EmpireTypeMajor,GameDifficultyEasyHumanMajorEmpire) or $Path(.../EmpireTypeMajor,GameDifficultyNormalHumanMajorEmpire) or $Path(.../EmpireTypeMajor,GameDifficultyHardHumanMajorEmpire) or $Path(.../EmpireTypeMajor,GameDifficultySeriousHumanMajorEmpire) or $Path(.../EmpireTypeMajor,GameDifficultyImpossibleHumanMajorEmpire) or $Path(.../EmpireTypeMajor,GameDifficultyEndlessHumanMajorEmpire)[/CODE]
...but I can't see anything when I switch empires via the modding tools (maybe because each empire becomes a human player while I'm controlling them)? I'll go ahead and play a game later and see if the AI builds them or not.
I'm kind of confused why the AI would even build them without having an entry in the AIParamteres(CityImprovement).xml file
I imagined that the improvement would be invisible (or have no value) to the AI without an entry there.
In my most recent game, the city improvement did indeed disappear using the code you provided, KBS. You are so my hero. That's two really helpful problems you've solved for me. Thank you, thank you, thank you! <3
For future reference (for anyone else with the same problem), this code seems to have worked to hide a city improvement from the AI:
[CODE]$Path(.../EmpireTypeMajor,GameDifficultyNewbieHumanMajorEmpire) or $Path(.../EmpireTypeMajor,GameDifficultyEasyHumanMajorEmpire) or $Path(.../EmpireTypeMajor,GameDifficultyNormalHumanMajorEmpire) or $Path(.../EmpireTypeMajor,GameDifficultyHardHumanMajorEmpire) or $Path(.../EmpireTypeMajor,GameDifficultySeriousHumanMajorEmpire) or $Path(.../EmpireTypeMajor,GameDifficultyImpossibleHumanMajorEmpire) or $Path(.../EmpireTypeMajor,GameDifficultyEndlessHumanMajorEmpire)[/CODE]
lilyophelia
Shadow Lord
"For every complex problem there is an answer that is clear, simple, and wrong." -H. L. Mencken
lilyophelia
Shadow Lord
14 000g2g ptsReport comment
Why do you report lilyophelia?
Are you sure you want to block lilyophelia ?
BlockCancelAre you sure you want to unblock lilyophelia ?
UnblockCancelKBSMilk2
Newcomer
KBSMilk2
Newcomer
4 000g2g ptsReport comment
Why do you report KBSMilk2?
Are you sure you want to block KBSMilk2 ?
BlockCancelAre you sure you want to unblock KBSMilk2 ?
UnblockCancellilyophelia
Shadow Lord
"For every complex problem there is an answer that is clear, simple, and wrong." -H. L. Mencken
lilyophelia
Shadow Lord
14 000g2g ptsReport comment
Why do you report lilyophelia?
Are you sure you want to block lilyophelia ?
BlockCancelAre you sure you want to unblock lilyophelia ?
UnblockCancellilyophelia
Shadow Lord
"For every complex problem there is an answer that is clear, simple, and wrong." -H. L. Mencken
lilyophelia
Shadow Lord
14 000g2g ptsReport comment
Why do you report lilyophelia?
Are you sure you want to block lilyophelia ?
BlockCancelAre you sure you want to unblock lilyophelia ?
UnblockCancellilyophelia
Shadow Lord
"For every complex problem there is an answer that is clear, simple, and wrong." -H. L. Mencken
lilyophelia
Shadow Lord
14 000g2g ptsReport comment
Why do you report lilyophelia?
Are you sure you want to block lilyophelia ?
BlockCancelAre you sure you want to unblock lilyophelia ?
UnblockCancel