Originally posted by ben04
In XML technology files there's a proprety iAIWeight. What is that for? I played a bit around with it and though that the AI would prioritize techs with a high modifier. The AI seemed to pretty much ignore it.
In XML technology files there's a proprety iAIWeight. What is that for? I played a bit around with it and though that the AI would prioritize techs with a high modifier. The AI seemed to pretty much ignore it.
100 would be the minimum which might be noticable.
400 would make it simialler to a tech an AI likes (like economic AI's liking Banking).
1000 would be enough to make it very attractive.
3000 would lead to it being chosen in preference to founding religions and stuff.
Also I've found that the AI build much too much units and not enough buildings.
I've started working on that bit of the code. Part of the problem is the AI has no sense of priority, the buildings it build might be crap ones.
I'd love to help if I could only get that darn SDK to compile.
Also that AI code really looks bad. Functions that have about 1300 lines and not a single line of comment. No wonder that that code is buggy.
Also that AI code really looks bad. Functions that have about 1300 lines and not a single line of comment. No wonder that that code is buggy.
I don't find the AI code to be bad... I mean the code style is good and it's ultra readable despite lack of comments (the function names are generally descriptive), the code just isn't very well tuned for CIV4...
Comment