Afforess
The White Wizard
45°38'N-13°47'E;13471032 said:I've had a look at the logs but not at the code and I see that Alphabet has always small values in comparison to other techs that AI can consider to research. Is there something wrong with the code or just with the tech? I mean, can we fix it by simply increasing tech value or should AI evaluate better that tech and it's simply underestimating it because AI can't understand its use?
Here's the valuation in CvPlayerAI.cpp:
Code:
if (GC.getTechInfo(eTech).isTechTrading() && !GC.getGameINLINE().isOption(GAMEOPTION_NO_TECH_TRADING))
{
iValue += 500;
iValue += 500 * iHasMetCount;
}
I think a lot of the valuation for tech effects are underpowered since the new C2C building AI code for techs. Since buildings can be 7500+ (since a tech may unlock multiple techs), this makes the AI weight of 500 (or even 500 * 10) is pretty low. I think increasing the base value by 5 would work.