Where in the game files is this defined? I though it was common/countries/<country> but I frequently see AI taking other ideas than those from the historical set.
ai_will_do = {
factor = 1
}
ai_will_do = {
factor = 1
modifier = {
factor = 0
NOT = { num_of_ports = 1 }
historical_idea_groups = {
maritime_ideas
administrative_ideas
aristocracy_ideas
expansion_ideas
naval_ideas
trade_ideas
quality_ideas
economic_ideas
}
So AI always takes ideas from the list in this order unless it doesn't have any ports, is this correct?Go to 'Europa Universalis IV\common\countries' and look inside the country files, the order of ideas is found within the 'historical_idea_groups' brackets.
So AI always takes ideas from the list in this order unless it doesn't have any ports, is this correct?
Yes but I would rather know why for example Denmark goes for Quality and not Offensive. Is this random?
And that's what I'm interested in - what determines what AI is going to chose while not taking ideas from the list?AI will follow the list in country file, it will not however always follow it to the letter.
And that's what I'm interested in - what determines what AI is going to chose while not taking ideas from the list?
Right but the rest of them (save for naval) has:
So it doesn't really explain anything.Code:ai_will_do = { factor = 1 }
If it's not following the list (as in, it cannot take something from the list for whatever reason) it will take the first idea available in the 00_basic_ideas.txt file, like rageair said above.And that's what I'm interested in - what determines what AI is going to chose while not taking ideas from the list?
Ireland is actually set to be a colonizer... if it forms.I wish they got rid of most prescripted choices of idea groups and instead relied on some clever scripting using modifiers, for the rare occasions of seeing Ireland or Morocco being early colonizers.
Ireland is actually set to be a colonizer... if it forms.