What logic does the Capi AI use to decided when/where to build a factory? Does it look at literacy? Population? Infrastructure? Profitability? Is this information available anywhere?
The link isn't working by itself; I had to inpect it to pull out the URL, but it was worth it.From the looks of it, they make decision according to this mechanics
Yes, I have noticed they don't seem to factor in the RGO goods when choosing a location. My bigger concern, however, is that they often don't want to build at all. Trying to pinpoint the reason behind this requires tedious testing. Some basic info to help the player make the right decisions would be great.To put it bluntly, the Capitalist AI is very hit and miss. Sometimes they make reasonable decisions like building a lumber mill in a state with high raw wood RGO output. But they mostly do stupid things like build Luxury furniture factories even though you have none of the resources to speak of to maintain productivity.
I don't argue that this is an issue, but what is happening in my games is they will eventually start building but much later than they used to. Playing as USA it's the 1860's before they'll build any factory at all. Once they do start it seems to be ok from that point, though. Why would this issue be causing a delay as opposed to breaking it altogether? And what does paying workers have to do with new factory construction?They aren't building in this HoD 3.01 because of a bug where factories stop paying salaries to capis and workers. You have to save/reload to fix it and check your factories every few minutes to make sure they're still paying out.
Ok, good to know. But what about states with no factories?Capis don't build factories if less than 70% percent is employed in existing factories.
So when factory don't pay salary to workers,
there will be no new workers inside,
so no more factories...
It's a very complex and well-written algoríthm based on goods demand, recent sales, closed factories and player data mining that determines which exact factory you least want them to invest in, and then builds that.
Seriously though, they mostly look at demand, available workforce and current factory employment. Since HoD they will also try to avoid factory types that are empty in other states or which recently closed down/went bankrupt. They should also consider synergy bonuses.
Ok, thanks for the explanation. I guess the only thing the AI looks at in an empty state when determining whether to build there is available workforce then? Which would mean the solution is to improve literacy and maybe NF craftsmen?It's a very complex and well-written algoríthm based on goods demand, recent sales, closed factories and player data mining that determines which exact factory you least want them to invest in, and then builds that.
Seriously though, they mostly look at demand, available workforce and current factory employment. Since HoD they will also try to avoid factory types that are empty in other states or which recently closed down/went bankrupt. They should also consider synergy bonuses.
Seriously though, they mostly look at demand, available workforce and current factory employment. Since HoD they will also try to avoid factory types that are empty in other states or which recently closed down/went bankrupt. They should also consider synergy bonuses.
Do they also factor in availability of inputs? If there's a global shortage of tropical wood, luxury furniture factories might not produce anything no matter how high the price is.
Do they also factor in availability of inputs? If there's a global shortage of tropical wood, luxury furniture factories might not produce anything no matter how high the price is.
Ok, thanks for the explanation. I guess the only thing the AI looks at in an empty state when determining whether to build there is available workforce then? Which would mean the solution is to improve literacy and maybe NF craftsmen?
Is this moddable anywhere? I'm pretty sure I could fix it.
They also look at synergy bonuses in HoD.
It's a very complex and well-written algoríthm based on goods demand, recent sales, closed factories and player data mining that determines which exact factory you least want them to invest in, and then builds that.
This is nice, hope it works as intended. As a secondary suggestion I´d ask for the industrial NF to have much more impact on Capi AI decision.
If you guys get time, it would be fantastic if you could export some part of the capitalist decision AI into a lua script such that modder's could override default behavior. No idea if this is possible, but it'd be fantastic.No, it is hardcoded.