Improved Farms & Cities Mod
Farms & Cities v02 beta
Unzip and put in ...My Games\GC3Crusade\Mods\AnyModName\Game . Post any bugs or comments in this thread
CREDITS: Franky999 plus R&D from lyssailcor & zuPloed
For version 2.6.1: What makes the AI build farms? On some map sizes and/or difficulty levels, the Enemy AI is competent at building farms. But in some cases, it doesn't build any.
Since farms = cities = population growth, and population growth means a more worthy late game adversary, how can we mod the AI to universally build more farms?
I couldn't find anything in GalCiv3AIDefs.xml? Anyone know what other file to look in?
The problem might be related to the AI's high production bonuses, which could render farm building somewhat unnecessary.
(This question appears in a couple other threads, but they've become too toxic. Some posters had very good observations and ideas about farm building and pop growth. It would be good to keep this thread focused on the Enemy AI farm issue.)
Look into GovernorDefs.xml. There the AI build lists are defined. Putting more farms in those lists may help, but I didn't test that yet.
I have spent my last evening and this morning on it. I see three things to do:
1) Make the AI research the tech PlanetaryImprovement sooner.
2) Make the AI build more farm
3) Make the AI build more city.
1) In MasterTechDefs.xml: i have lowered the AICategoryWeight for the techs: XenoExperimentationTech and XenoManufacturingTech.
Added the two tags: <Tags>Growth</Tags> and <Tags>Critical</Tags> to PlanetaryImprovement.
2) In GovernorDefs.xml: added to AIHomeworld, AIManufacturing, AIResearch, AIWealth:
<Improvement>Food</Improvement> <Improvement>Food</Improvement> <Improvement>Population</Improvement>
near the top of each list.
3) Added a new Improvement: TOWN, that need the Tech: ResourceExploitationTech and cost 2 food, give +2 pop
City is now an upgrade from town that cost 1 Promethion, and Megalopolis is an upgrade from city that cost 1 Durantium
My result: the AI will eventually build town and city (around turns 75-100).
I really would like others modders to improve on this.
Thanks
Does the GovernorDefs.xml apply to the Enemy AI, as well as the player's governors?
Is that list sequential, so "Food" would need to preface "Population?"
Franky999 - To further test your idea, is an option just to gift PlanetaryImprovement? It's a bit of a hack of course.
In AbilityDefs, each ability,
<Triggers> <OnEvent>OnInitialShips</OnEvent> <Scope>Global</Scope> <Lifetime>Instant</Lifetime> <PerformAction> <Action>AwardSpecificTech</Action> <StringParam>PlanetaryImprovement</StringParam> </PerformAction></Triggers>
I just ran a few more test with the Torian. For a faction that should focus on growth, their situation is a lot worst:
Their first Farm is locked further away in the tech tree, and they don't seem to prioritize it !
There is a very interesting idea in 2.61, which I think many people missed: soil improvement (grants a tile) also grants some food. I think this idea has some potential and can be iterrated on. This should be used in conjunction with:
<Improvement>Terraforming</Improvement>
near the top of the list i think.
The AI actually is able to replace improvements. I have observed this with Hub-type improvements replacing ordinary ones way back. Thus I usually place a lot of hubs at the top of the governor lists, so the AI replaces less important stuff with Hub buildings (Thalan hives I made hubs for example and managed to make the AI allways build them) as they become available. There might be a way to utilize this with making things be population hubs. However it should be noted, the AI does also fill up slots with many adjacent tiles with buildings of Hub-Type
The list is not sequential they way you suggest I think. If Population is not available on the first turn, the AI will skip this, but everytime it makes a decision what to build it starts at the top again.
<ScenarioTrigger> <InternalName>Tutorial_Refuge_Greeting_Trigger</InternalName> <StartEnabled>true</StartEnabled> <Trigger> <OnEvent>OnStartTurn</OnEvent> <CriteriaTurnNum>1</CriteriaTurnNum> <PerformAction> <Action>DoScenarioConversation</Action> <StringParam>Tutorial_Refuge_Greeting_Conversation</StringParam> </PerformAction> </Trigger> </ScenarioTrigger>
Could be used to give AI access to certain techs at a specified turn.
Ok i have added the following to CarbonBasedLife in AbilityDefs:
<Triggers> <OnEvent>OnStartTurn</OnEvent> <CriteriaTurnNum>25</CriteriaTurnNum> <Scope>Global</Scope> <Lifetime>Instant</Lifetime> <PerformAction> <Action>AwardSpecificTech</Action> <StringParam>PlanetaryImprovement</StringParam> </PerformAction> </Triggers>
But how to add this to AI players only ?
I skimmed through the .xsd files (Galciv3folder\data\schema) and didn't find anything, that allows the use of the target field for AI only. I can't think of any game mechanic which targets AI exclusively either. Except for difficulty rules, but those don't support triggers.
You'd have to manually remove from the race ability you're playing. Or your race has a gift.
But since its now researched from the start, you'll be able to quickly tell if the AI is taking advantage of it and building farms -> cities -> population.
Adding the PlanetaryImprovement tech, which enables farms and cities, at the outset of a game has no effect on whether the AI builds farms and cities.
Gigantic map, normal difficulty, 8 opponents, 102 turns = no farms on any AI planets. Only Slyne (synthetic) built cities. I gifted PlanetaryImprovement to all players using AbilityDefs.xml (no other mods used). Saved game is here.
The issue is not the farms so much as the AI does not grow its planetary population. It prefers to colonize new planets at 3 max population.
I have resolved the problem. Check my reply #2. The solution is in modding the file GovernorDefs.xml
Add the following
I have added another Population near the bottom, and another two in the filler part.
I have a big personal mod that fix a lot of issues, and add a lot of new stuffs, but i have never published a mod before, so i am not sure how to proceed. (and it use a few mods made by others). Maybe on NexusMod ?
Can you share the file specifically for the changes to farm building and population here?
here is the file GovernorDefs.xml
<?xml version="1.0" encoding="utf-8" standalone="yes" ?><GovernorListxmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"xsi:noNamespaceSchemaLocation="../Schema/GovernorDefs.xsd"><!-- Created with the Gal Civ 3 Editor --><!-- GovernorDefs.xml --> <Governor> <InternalName>AIHomeworld</InternalName> <DisplayName>AIHomeworld_Name</DisplayName> <Description>AIHomeworld_Dec</Description> <Icon>GC3_Governor_Balanced_Spending_Icon.png</Icon> <PlanetClassMin>10</PlanetClassMin> <PlanetClassMax>24</PlanetClassMax> <Improvement>ManufacturingUnique</Improvement> <Improvement>ManufacturingUnique</Improvement> <Improvement>ManufacturingUnique</Improvement> <Improvement>ManufacturingHub</Improvement> <Improvement>ManufacturingHub</Improvement> <Improvement>ManufacturingHub</Improvement> <Improvement>MilitaryHub</Improvement> <Improvement>Manufacturing</Improvement> <Improvement>Manufacturing</Improvement> <Improvement>FoodHub</Improvement> <Improvement>Food</Improvement> <Improvement>Food</Improvement> <Improvement>Population</Improvement> <Improvement>Approval</Improvement> <Improvement>Growth</Improvement> <Improvement>Food</Improvement> <Improvement>Population</Improvement> <Improvement>Manufacturing</Improvement> <Improvement>Manufacturing</Improvement> <Improvement>Terraforming</Improvement> <Improvement>InfluenceHub</Improvement> <FillerImprovement>Terraforming</FillerImprovement> <FillerImprovement>Influence</FillerImprovement> <FillerImprovement>Manufacturing</FillerImprovement> <FillerImprovement>Manufacturing</FillerImprovement> <FillerImprovement>ManufacturingUnique</FillerImprovement> <FillerImprovement>Military</FillerImprovement> <FillerImprovement>Food</FillerImprovement> <FillerImprovement>Population</FillerImprovement> <FillerImprovement>Approval</FillerImprovement> <FillerImprovement>MilitaryUnique</FillerImprovement> <FillerImprovement>Population</FillerImprovement> <ProjectName>ProjectMilitary</ProjectName> <ProjectName>ProjectBirthingSubsidies</ProjectName> <ProjectName>ProjectCulling</ProjectName> </Governor> <Governor> <InternalName>AIHomeworld_Tech</InternalName> <DisplayName>AIHomeworld_Tech_Name</DisplayName> <Description>AIHomeworld_Tech_Dec</Description> <Icon>GC3_Governor_Manufacturing_Spending_Icon.png</Icon> <Improvement>ResearchHub</Improvement> <Improvement>ManufacturingHub</Improvement> <Improvement>MilitaryHub</Improvement> <Improvement>Research</Improvement> <Improvement>WealthHub</Improvement> <Improvement>Research</Improvement> <Improvement>Population</Improvement> <Improvement>Research</Improvement> <Improvement>InfluenceHub</Improvement> <Improvement>Research</Improvement> <Improvement>Approval</Improvement> <Improvement>Manufacturing</Improvement> <Improvement>Research</Improvement> <Improvement>Research</Improvement> <Improvement>Research</Improvement> <Improvement>Research</Improvement> <Improvement>Population</Improvement> <Improvement>Research</Improvement> <Improvement>Research</Improvement> <Improvement>Manufacturing</Improvement> <Improvement>Manufacturing</Improvement> <Improvement>Terraforming</Improvement> <Improvement>Influence</Improvement> <FillerImprovement>Terraforming</FillerImprovement> <FillerImprovement>ResearchHub</FillerImprovement> <FillerImprovement>Research</FillerImprovement> <FillerImprovement>MilitaryUnique</FillerImprovement> <FillerImprovement>WealthHub</FillerImprovement> <FillerImprovement>Population</FillerImprovement> <FillerImprovement>Approval</FillerImprovement> <FillerImprovement>Manufacturing</FillerImprovement> <FillerImprovement>Special</FillerImprovement> <FillerImprovement>Population</FillerImprovement> <ProjectName>ProjectBirthingSubsidies</ProjectName> <ProjectName>ProjectMilitary</ProjectName> <ProjectName>ProjectEconomicStimulus</ProjectName> </Governor> <Governor> <InternalName>AIManufacturing</InternalName> <DisplayName>AIManufacturing_Name</DisplayName> <Description>AIManufacturing_Dec</Description> <Icon>GC3_Governor_Manufacturing_Spending_Icon.png</Icon> <Improvement>ManufacturingHub</Improvement> <Improvement>ManufacturingHub</Improvement> <Improvement>ManufacturingHub</Improvement> <Improvement>Food</Improvement> <Improvement>FoodHub</Improvement> <Improvement>Population</Improvement> <Improvement>Manufacturing</Improvement> <Improvement>Manufacturing</Improvement> <Improvement>ManufacturingUnique</Improvement> <Improvement>ManufacturingUnique</Improvement> <Improvement>Manufacturing</Improvement> <Improvement>Approval</Improvement> <Improvement>Growth</Improvement> <Improvement>FoodHub</Improvement> <Improvement>Food</Improvement> <Improvement>Population</Improvement> <Improvement>Approval</Improvement> <Improvement>Food</Improvement> <Improvement>Terraforming</Improvement> <Improvement>InfluenceHub</Improvement> <FillerImprovement>Terraforming</FillerImprovement> <FillerImprovement>ManufacturingUnique</FillerImprovement> <FillerImprovement>MilitaryUnique</FillerImprovement> <FillerImprovement>Manufacturing</FillerImprovement> <FillerImprovement>Manufacturing</FillerImprovement> <FillerImprovement>Food</FillerImprovement> <FillerImprovement>Population</FillerImprovement> <FillerImprovement>Approval</FillerImprovement> <FillerImprovement>Manufacturing</FillerImprovement> <FillerImprovement>Trade</FillerImprovement> <FillerImprovement>Military</FillerImprovement> <FillerImprovement>Manufacturing</FillerImprovement> <FillerImprovement>Manufacturing</FillerImprovement> <FillerImprovement>Influence</FillerImprovement> <FillerImprovement>Population</FillerImprovement> <ProjectName>ProjectMilitary</ProjectName> <ProjectName>ProjectCulling</ProjectName> </Governor> <Governor> <InternalName>AIResearch</InternalName> <DisplayName>AIResearch_Name</DisplayName> <Description>AIResearch_Dec</Description> <Icon>GC3_Governor_Research_Spending.png</Icon> <Improvement>ManufacturingHub</Improvement> <Improvement>ManufacturingHub</Improvement> <Improvement>ManufacturingHub</Improvement> <Improvement>Food</Improvement> <Improvement>Population</Improvement> <Improvement>ResearchUnique</Improvement> <Improvement>ResearchHub</Improvement> <Improvement>ResearchUnique</Improvement> <Improvement>Research</Improvement> <Improvement>Research</Improvement> <Improvement>FoodHub</Improvement> <Improvement>Approval</Improvement> <Improvement>Growth</Improvement> <Improvement>Research</Improvement> <Improvement>Research</Improvement> <Improvement>Population</Improvement> <Improvement>Approval</Improvement> <Improvement>Research</Improvement> <Improvement>ResearchHub</Improvement> <Improvement>Terraforming</Improvement> <Improvement>InfluenceHub</Improvement> <FillerImprovement>Terraforming</FillerImprovement> <FillerImprovement>ResearchUnique</FillerImprovement> <FillerImprovement>Research</FillerImprovement> <FillerImprovement>Research</FillerImprovement> <FillerImprovement>Population</FillerImprovement> <FillerImprovement>Food</FillerImprovement> <FillerImprovement>Approval</FillerImprovement> <FillerImprovement>Research</FillerImprovement> <FillerImprovement>Research</FillerImprovement> <FillerImprovement>Research</FillerImprovement> <FillerImprovement>Influence</FillerImprovement> <FillerImprovement>Research</FillerImprovement> <FillerImprovement>Population</FillerImprovement> <ProjectName>ProjectResearchProject</ProjectName> <ProjectName>ProjectBirthingSubsidies</ProjectName> <ProjectName>ProjectSanctuary</ProjectName> </Governor> <Governor> <InternalName>AIWealth</InternalName> <DisplayName>AIWealth_Name</DisplayName> <Description>AIWealth_Dec</Description> <Icon>GC3_Governor_Wealth_Spending_Icon.png</Icon> <Improvement>ManufacturingHub</Improvement> <Improvement>ManufacturingHub</Improvement> <Improvement>WealthHub</Improvement> <Improvement>Food</Improvement> <Improvement>Population</Improvement> <Improvement>Wealth</Improvement> <Improvement>WealthHub</Improvement> <Improvement>FoodHub</Improvement> <Improvement>Food</Improvement> <Improvement>Approval</Improvement> <Improvement>DiplomaticHub</Improvement> <Improvement>Growth</Improvement> <Improvement>WealthHub</Improvement> <Improvement>Wealth</Improvement> <Improvement>TradeHub</Improvement> <Improvement>Population</Improvement> <Improvement>Food</Improvement> <Improvement>Approval</Improvement> <Improvement>Terraforming</Improvement> <Improvement>InfluenceHub</Improvement> <FillerImprovement>Terraforming</FillerImprovement> <FillerImprovement>WealthUnique</FillerImprovement> <FillerImprovement>TourismUnique</FillerImprovement> <FillerImprovement>InfluenceUnique</FillerImprovement> <FillerImprovement>ApprovalUnique</FillerImprovement> <FillerImprovement>Tourism</FillerImprovement> <FillerImprovement>Trade</FillerImprovement> <FillerImprovement>Population</FillerImprovement> <FillerImprovement>Food</FillerImprovement> <FillerImprovement>Approval</FillerImprovement> <FillerImprovement>Influence</FillerImprovement> <FillerImprovement>Population</FillerImprovement> <ProjectName>ProjectMilitary</ProjectName> <ProjectName>ProjectBirthingSubsidies</ProjectName> <ProjectName>ProjectSummit</ProjectName> </Governor> <Governor> <InternalName>BalancedGovernor</InternalName> <DisplayName>BalancedGovernor_Name</DisplayName> <Description>BalancedGovernor_Dec</Description> <Icon>GC3_Governor_Balanced_Spending_Icon.png</Icon> <AIOnly>false</AIOnly> <GovernorBonus>BalancedBonusGov</GovernorBonus> <Improvement>ManufacturingHub</Improvement> <Improvement>ResearchHub</Improvement> <Improvement>WealthHub</Improvement> <Improvement>Research</Improvement> <Improvement>Manufacturing</Improvement> <Improvement>Food</Improvement> <Improvement>Population</Improvement> <Improvement>Wealth</Improvement> <Improvement>Approval</Improvement> <Improvement>ManufacturingHub</Improvement> <Improvement>Manufacturing</Improvement> <Improvement>Growth</Improvement> <Improvement>Wealth</Improvement> <Improvement>ResearchHub</Improvement> <Improvement>Research</Improvement> <Improvement>Research</Improvement> <Improvement>Influence</Improvement> <Improvement>Growth</Improvement> <Improvement>Wealth</Improvement> <Improvement>Food</Improvement> <Improvement>Population</Improvement> <Improvement>Approval</Improvement> <FillerImprovement>Manufacturing</FillerImprovement> <FillerImprovement>Research</FillerImprovement> <FillerImprovement>Food</FillerImprovement> <FillerImprovement>Food</FillerImprovement> <FillerImprovement>Approval</FillerImprovement> <FillerImprovement>Manufacturing</FillerImprovement> <FillerImprovement>Manufacturing</FillerImprovement> <FillerImprovement>Research</FillerImprovement> <ProjectName>ProjectBirthingSubsidies</ProjectName> <ProjectName>ProjectMilitary</ProjectName> <ProjectName>ProjectEconomicStimulus</ProjectName> </Governor> <Governor> <InternalName>ManufacturingGovernor</InternalName> <DisplayName>ManufacturingGovernor_Name</DisplayName> <Description>ManufacturingGovernor_Dec</Description> <Icon>GC3_Governor_Manufacturing_Spending_Icon.png</Icon> <AIOnly>false</AIOnly> <GovernorBonus>ManufacturingBonusGov</GovernorBonus> <Improvement>Military</Improvement> <Improvement>Manufacturing</Improvement> <Improvement>Wealth</Improvement> <Improvement>ManufacturingHub</Improvement> <Improvement>Manufacturing</Improvement> <Improvement>Food</Improvement> <Improvement>Population</Improvement> <Improvement>Approval</Improvement> <Improvement>Food</Improvement> <Improvement>Population</Improvement> <Improvement>Manufacturing</Improvement> <Improvement>Manufacturing</Improvement> <Improvement>Approval</Improvement> <Improvement>Manufacturing</Improvement> <Improvement>Manufacturing</Improvement> <Improvement>ManufacturingHub</Improvement> <Improvement>Manufacturing</Improvement> <Improvement>Manufacturing</Improvement> <Improvement>Manufacturing</Improvement> <Improvement>Food</Improvement> <Improvement>Population</Improvement> <Improvement>Approval</Improvement> <Improvement>Manufacturing</Improvement> <FillerImprovement>Manufacturing</FillerImprovement> <FillerImprovement>Manufacturing</FillerImprovement> <FillerImprovement>ManufacturingHub</FillerImprovement> <FillerImprovement>Manufacturing</FillerImprovement> <FillerImprovement>Manufacturing</FillerImprovement> <FillerImprovement>Manufacturing</FillerImprovement> <FillerImprovement>Manufacturing</FillerImprovement> <ProjectName>ProjectBirthingSubsidies</ProjectName> <ProjectName>ProjectMilitary</ProjectName> <ProjectName>ProjectEconomicStimulus</ProjectName> </Governor> <Governor> <InternalName>ResearchGovernor</InternalName> <DisplayName>ResearchGovernor_Name</DisplayName> <Description>ResearchGovernor_Dec</Description> <Icon>GC3_Governor_Research_Spending.png</Icon> <AIOnly>false</AIOnly> <GovernorBonus>ResearchBonusGov</GovernorBonus> <Improvement>Military</Improvement> <Improvement>Research</Improvement> <Improvement>Manufacturing</Improvement> <Improvement>Research</Improvement> <Improvement>Manufacturing</Improvement> <Improvement>Population</Improvement> <Improvement>Food</Improvement> <Improvement>Population</Improvement> <Improvement>Approval</Improvement> <Improvement>Research</Improvement> <Improvement>ResearchHub</Improvement> <Improvement>Approval</Improvement> <Improvement>Wealth</Improvement> <Improvement>Research</Improvement> <Improvement>Research</Improvement> <Improvement>Research</Improvement> <Improvement>Research</Improvement> <Improvement>ResearchHub</Improvement> <Improvement>Approval</Improvement> <Improvement>Research</Improvement> <FillerImprovement>Research</FillerImprovement> <FillerImprovement>Research</FillerImprovement> <FillerImprovement>Research</FillerImprovement> <FillerImprovement>ResearchHub</FillerImprovement> <FillerImprovement>Research</FillerImprovement> <FillerImprovement>Research</FillerImprovement> <FillerImprovement>Research</FillerImprovement> <ProjectName>ProjectBirthingSubsidies</ProjectName> <ProjectName>ProjectResearchProject</ProjectName> <ProjectName>ProjectEconomicStimulus</ProjectName> </Governor> <Governor> <InternalName>WealthGovernor</InternalName> <DisplayName>WealthGovernor_Name</DisplayName> <Description>WealthGovernor_Dec</Description> <Icon>GC3_Governor_Wealth_Spending_Icon.png</Icon> <AIOnly>false</AIOnly> <GovernorBonus>WealthBonusGov</GovernorBonus> <Improvement>Military</Improvement> <Improvement>Wealth</Improvement> <Improvement>Manufacturing</Improvement> <Improvement>Wealth</Improvement> <Improvement>Manufacturing</Improvement> <Improvement>Food</Improvement> <Improvement>Population</Improvement> <Improvement>Approval</Improvement> <Improvement>Wealth</Improvement> <Improvement>WealthHub</Improvement> <Improvement>Approval</Improvement> <Improvement>WealthHub</Improvement> <Improvement>Wealth</Improvement> <Improvement>Wealth</Improvement> <Improvement>Wealth</Improvement> <Improvement>Wealth</Improvement> <Improvement>WealthHub</Improvement> <Improvement>Food</Improvement> <Improvement>Approval</Improvement> <Improvement>Wealth</Improvement> <FillerImprovement>Wealth</FillerImprovement> <FillerImprovement>Wealth</FillerImprovement> <FillerImprovement>Wealth</FillerImprovement> <FillerImprovement>WealthHub</FillerImprovement> <FillerImprovement>Wealth</FillerImprovement> <FillerImprovement>Wealth</FillerImprovement> <FillerImprovement>Wealth</FillerImprovement> <ProjectName>ProjectBirthingSubsidies</ProjectName> <ProjectName>ProjectEconomicStimulus</ProjectName> </Governor> </GovernorList>
AI builds farms, great job!
Gigantic map, normal difficulty, 8 opponents, 65 turns = quite a few farms built or in queue.
Here's a link to Franky999's modified GovernorDefs.xml
Hey guys, thanks!
I'm a n00b at this stuff. Am I correct in thinking those text entries pertaining to food and population act as weights for the AI govs? Does that translate to the AI prioritizing cities as well, assuming that they dedicate more space to building up food production?
Awesome!
Could you also release 1) and 3) from your reply #2. The town to megalopolis mechanic sounds great!
Also, stupid question, building farms is just half the problem, so I guess your mod makes the AI build cities too?
I experimented yesterday several hours and came to the same solution as Franky999. One problem remains though: the AI builds quite a lot of simple farms now, but even 250 turns into the game no advanced ones. Is that different for one of you?
WIthout changing anything specifically for population the AI also builds quite some cities.
As to how the build lists in GovernorDefs.xml work, I don't know exactly. It seems the AI goes through that list from the beginning whenever there is a tile to fill and then takes the first matching entry by some internally applied criteria for the tile in question (perhaps looking at tile bonuses, adjacencies, ...).
It may also be, since in the original GovernorDefs.xml there are exactly 20 <Improvement> entries in every list it tries for every tile the entry that is matching the running tile number and if it's not matching according to internal criteria it takes an entry of the <FillerImprovement> list. Just speculating here, no real knowledge on my part. That would have to provide the devs but I never saw one answer such specific questions about the inner workings of the code here on the forums.
Since the GovernorDefs file uses PlacementTypes.xsd for the <Improvement>, would adding FoodUnique create advanced farms? Or adding more FoodHubs?
Or can we add a new instance to the schema for advanced farms? I know altering the schema files get tricky.
Since the GovernorDefs file uses PlacementTypes.xsd for the <Improvement>, would adding FoodUnique create advanced farms? Or adding more FoodHubs?Or can we add a new instance to the schema for advanced farms? I know altering the schema files get tricky.
As far as I understand it you would not need another PlacementType for advanced farms. The AI should handle that according to researched tech and available resources. So FoodUnique and FoodHub entries would probably not help (will still test that when I have time).
Editing the schema file does not help either because the code would not know what to do with a new PlacementType. All definitions in schema files must have a code representation to be usable, at least to my knowledge.
Did the AI research the tech? Did it have Monsatium? If either of these is a no, it is not surprising it didn't upgrade its farms.
Most AIs didn't research the needed tech, but the Torians had researched it. Don't remember whether they had Monsantium though ...
So far, yes. There's a file at the top of this thread for testing. Let us know your results.
We should test it using a variety of map sizes, opponents and game options. Post any details here and we can tweak accordingly.
I made some more tests, and with that AI Governors (those for the homeworld I left untouched) I brought the AI to building also advanced farms by turn 275:
<Governor> <InternalName>AIManufacturing</InternalName> <DisplayName>AIManufacturing_Name</DisplayName> <Description>AIManufacturing_Dec</Description> <Icon>GC3_Governor_Manufacturing_Spending_Icon.png</Icon> <Improvement>ManufacturingHub</Improvement> <Improvement>ManufacturingHub</Improvement> <Improvement>Manufacturing</Improvement> <Improvement>MilitaryHub</Improvement> <Improvement>Food</Improvement> <Improvement>Food</Improvement> <Improvement>Population</Improvement> <Improvement>Growth</Improvement> <Improvement>FoodHub</Improvement> <Improvement>GrowthHub</Improvement> <Improvement>Wealth</Improvement> <Improvement>Approval</Improvement> <Improvement>ManufacturingHub</Improvement> <Improvement>Approval</Improvement> <Improvement>Influence</Improvement> <Improvement>ManufacturingUnique</Improvement> <Improvement>Food</Improvement> <Improvement>Population</Improvement> <Improvement>Food</Improvement> <Improvement>Influence</Improvement> <FillerImprovement>Manufacturing</FillerImprovement> <FillerImprovement>ManufacturingHub</FillerImprovement> <FillerImprovement>Food</FillerImprovement> <FillerImprovement>MilitaryUnique</FillerImprovement> <FillerImprovement>WealthHub</FillerImprovement> <FillerImprovement>Research</FillerImprovement> <FillerImprovement>Approval</FillerImprovement> <FillerImprovement>Manufacturing</FillerImprovement> <FillerImprovement>Food</FillerImprovement> <FillerImprovement>Terraforming</FillerImprovement> <FillerImprovement>Food</FillerImprovement> <FillerImprovement>FoodHub</FillerImprovement> <FillerImprovement>GrowthHub</FillerImprovement> <ProjectName>ProjectBirthingSubsidies</ProjectName> <ProjectName>ProjectMilitary</ProjectName> <ProjectName>ProjectEconomicStimulus</ProjectName> </Governor> <Governor> <InternalName>AIResearch</InternalName> <DisplayName>AIResearch_Name</DisplayName> <Description>AIResearch_Dec</Description> <Icon>GC3_Governor_Research_Spending.png</Icon> <Improvement>ManufacturingHub</Improvement> <Improvement>ResearchHub</Improvement> <Improvement>ResearchUnique</Improvement> <Improvement>Research</Improvement> <Improvement>MilitaryHub</Improvement> <Improvement>Approval</Improvement> <Improvement>Food</Improvement> <Improvement>Food</Improvement> <Improvement>Manufacturing</Improvement> <Improvement>ResearchHub</Improvement> <Improvement>Food</Improvement> <Improvement>Influence</Improvement> <Improvement>Food</Improvement> <Improvement>Food</Improvement> <Improvement>Population</Improvement> <Improvement>Growth</Improvement> <Improvement>FoodHub</Improvement> <Improvement>GrowthHub</Improvement> <Improvement>Approval</Improvement> <Improvement>ResearchHub</Improvement> <FillerImprovement>Research</FillerImprovement> <FillerImprovement>Food</FillerImprovement> <FillerImprovement>Population</FillerImprovement> <FillerImprovement>ResearchHub</FillerImprovement> <FillerImprovement>WealthHub</FillerImprovement> <FillerImprovement>Food</FillerImprovement> <FillerImprovement>Approval</FillerImprovement> <FillerImprovement>Research</FillerImprovement> <FillerImprovement>Terraforming</FillerImprovement> <FillerImprovement>Food</FillerImprovement> <FillerImprovement>ResearchUnique</FillerImprovement> <FillerImprovement>FoodHub</FillerImprovement> <FillerImprovement>GrowthHub</FillerImprovement> <ProjectName>ProjectBirthingSubsidies</ProjectName> <ProjectName>ProjectResearchProject</ProjectName> <ProjectName>ProjectEconomicStimulus</ProjectName> </Governor> <Governor> <InternalName>AIWealth</InternalName> <DisplayName>AIWealth_Name</DisplayName> <Description>AIWealth_Dec</Description> <Icon>GC3_Governor_Wealth_Spending_Icon.png</Icon> <Improvement>ManufacturingHub</Improvement> <Improvement>Manufacturing</Improvement> <Improvement>WealthHub</Improvement> <Improvement>Food</Improvement> <Improvement>MilitaryHub</Improvement> <Improvement>Food</Improvement> <Improvement>Food</Improvement> <Improvement>Population</Improvement> <Improvement>Growth</Improvement> <Improvement>FoodHub</Improvement> <Improvement>GrowthHub</Improvement> <Improvement>Food</Improvement> <Improvement>Approval</Improvement> <Improvement>Wealth</Improvement> <Improvement>DiplomaticHub</Improvement> <Improvement>WealthHub</Improvement> <Improvement>TradeHub</Improvement> <Improvement>InfluenceUnique</Improvement> <Improvement>WealthHub</Improvement> <Improvement>InfluenceUnique</Improvement> <FillerImprovement>Tourism</FillerImprovement> <FillerImprovement>Trade</FillerImprovement> <FillerImprovement>Food</FillerImprovement> <FillerImprovement>Manufacturing</FillerImprovement> <FillerImprovement>WealthHub</FillerImprovement> <FillerImprovement>Wealth</FillerImprovement> <FillerImprovement>Approval</FillerImprovement> <FillerImprovement>Food</FillerImprovement> <FillerImprovement>Wealth</FillerImprovement> <FillerImprovement>Terraforming</FillerImprovement> <FillerImprovement>Food</FillerImprovement> <FillerImprovement>TourismUnique</FillerImprovement> <FillerImprovement>FoodHub</FillerImprovement> <FillerImprovement>GrowthHub</FillerImprovement> <ProjectName>ProjectBirthingSubsidies</ProjectName> <ProjectName>ProjectEconomicStimulus</ProjectName> </Governor>
Edit: ludicrous map, all AIs gifted.
Turn 275 sounds perfect for farm improvements for a Gifted AI. I updated the file to v02. Thanks!
What <Improvement> controls cities?
Do we need separate tweaks for Yor or are they included?
Population control cities
I am not sure, i think the governor: AIHomeworld_Tech control the YOR...
There are many great features available to you once you register, including:
Sign in or Create Account