Another Nice Improvement to the AI would be it's usage of Great People, Have you guys seen an AI have a golden age in the early middles ages... WHAT A WASTE OF GREAT PEOPLE, their better off Becoming Super Specialist or lightbulbing techs.
This will be a rewrite moreso than a tweaking, what I'm doing is adding a function to estimate the value of a Golden Age which will then be compared with the lightbulb value.
Lightbulbing code is also getting an overhaul, in short the AI will be less dumb about lightbulbing religious techs (it seems at the moment it'll lightbulb such a tech regardless of wastage), it'll be smarter about lightbulbing techs which it wants anyway. To be precise, the way I'm doing it, it'll always lightbulb the tech it is currently researching if it gets at least 90% of the maximum lightbulb value (ie it'll use GP's to generally hurry it's research along). It will lightbulb other techs (off of the beeline) if doing so will complete the tech without much wastage (max 10%), more wastage is tolerated if there's a freebie on the tech (max 30%).
Final logic has the AI compare the golden age value with the discover value. First it tries to lightbulb a complete free-stuff tech should doing so be non-wasteful. Then it tries to create a special building if doing so makes sense.
If the golden age value is low and there's nothing good to discover it'll settle the GP. If the GA value is medium, it'll wait for something good to lightbulb, or start a GA, whatever comes first. If the GA value is High it'll save it for the GA no matter what.
I note with despair that there is no "Cash Bomb" AI for the Great Merchant. I thus comandeer some missionary code and quickly write the cash bomb code, I test it in game by gifting Louie a GM and it scurries over to my capital and generates a pile of cash for the french... which I promptly fleece from the AI. Maybe some anti scamz0rs code... yeah at the moment they'll happily run 60% science despite having a 1500g stockpile... so I'll just give them the default of 100% science and let them adjust that down if they need the gold (I dunno why default logic isn't like that) and I'll make them keep some gold on hand for deficit research.
Anyway, I know everyone wants military improvements but that stuff is a lot harder than economics, feel free to suggest stuff which looks like could use improvement.
By the way I'll definitely be releasing a Warlords Patch DLL very soon after the Warlords patch comes out (no, I don't know when that will be), I may or may not release a CIV1.61 DLL before the Warlords patch, but I'll definitely release one after the Warlords patch.
Comment