Hi everybody,
I've implemented several new leader traits, and now I would like to know if it's also accepted by the AI. For example, there's a new trait "progressive", which cuts the costs for unit upgrades down to 50%.
Now my questions:
1.
Is there a any possibility to look into the AI factions as if they were my own faction? I.e., seeing the city info screens, the costs for building new units, the calculations of where the different revenues come from etc.?
2.
Can I assume that basically human and computer players are treated the same in cpp units?
I.e., if I alter, say, the procedure "getVotes()" in "CvPlayer.cpp", is that automatically set alike for humans as for AI players?
(I always thought this was the case, but then I discovered that a trait which was working fine for a human faction didn't show any effect as a computer trait. But maybe I just made a programming mistake ...).
I've implemented several new leader traits, and now I would like to know if it's also accepted by the AI. For example, there's a new trait "progressive", which cuts the costs for unit upgrades down to 50%.
Now my questions:
1.
Is there a any possibility to look into the AI factions as if they were my own faction? I.e., seeing the city info screens, the costs for building new units, the calculations of where the different revenues come from etc.?
2.
Can I assume that basically human and computer players are treated the same in cpp units?
I.e., if I alter, say, the procedure "getVotes()" in "CvPlayer.cpp", is that automatically set alike for humans as for AI players?
(I always thought this was the case, but then I discovered that a trait which was working fine for a human faction didn't show any effect as a computer trait. But maybe I just made a programming mistake ...).