davidlallen
Deity
The current worst problem in Dune Wars is poor city placement by the AI. The map and values are so different from vanilla that the existing AI_foundValue function (which computes a value for each plot for founding a new city) gives very poor results. A human can easily expand faster and have larger populations than the AI today.
I have written a new weighting function which seems to give good results for initial city site selection in a mapscript. It is highly customized and hardcoded for the mod. See this post for details. (The thread may be interesting to others considering modifications to AI_foundValue.) I hope to completely replace the existing AI_foundValue with this function, but I have failed several times to understand the existing function. In particular, I am confused about how it handles two good sites which are right next to each other. It seems that there should be some way to make sure to pick the best local site, and then discard the nearby losers. But, I cannot quite locate / understand how this is handled in AI_foundValue today. Can anybody give me a pointer?
I have written a new weighting function which seems to give good results for initial city site selection in a mapscript. It is highly customized and hardcoded for the mod. See this post for details. (The thread may be interesting to others considering modifications to AI_foundValue.) I hope to completely replace the existing AI_foundValue with this function, but I have failed several times to understand the existing function. In particular, I am confused about how it handles two good sites which are right next to each other. It seems that there should be some way to make sure to pick the best local site, and then discard the nearby losers. But, I cannot quite locate / understand how this is handled in AI_foundValue today. Can anybody give me a pointer?