Hubert Cater -> RE: Funny AI Tech Investment (9/12/2019 1:29:22 PM)
|
A bit of both. In order to help the AI and for it remain focused, there are times in the scripts where we have the AI run a single research event for investments where it will skip the check for sufficient funds. It may have the funds, but if it doesn't it will simply spend what it has in order to purchase an investment chit. Generally we have the AI randomly select from a category of research items as the war progresses and for each country and so on. It has priorities of course, but this also then ensures it is a bit random from game to game. However, there are some key items it needs to focus on at certain times. For example, Heavy Tanks for the Germans, Industrial for the US, and so on. It's not the most ideal, but if we want to ensure a good gaming experience where the AI is performing the right research investments, has a bit of randomness as well, and does everything else it needs to do such as purchases, upgrades, reinforcements etc., this was the best way (as of right now) to get what we wanted from the AI as typically by the time it comes to research or diplomatic investments at the end of its turn there is no MPPs left for it to do so. The fix on my end is two fold, one is to actually improve some of the code to have it do a better job overall and rely less on this above described mechanism, and for it to report the correct spending amounts so you will no longer see this anomaly in the graphs.
|
|
|
|