Better AI + speed mod

MusX

Prince
Joined
Apr 17, 2006
Messages
400
Hi
there is a speed mod in mods section. this speed mod only replace python calls for C++ calls which make game (generally AI turn) faster. do you guys use python like normal civ4? do you guys think that you can rewrite dll and replace python calls for C++ to make your Better AI faster?
 
BetterAI has a slower AI as well.

And I the benefit of the speed mod will be relatively constant.

So instead of the 20% speedup from the speedmod, you'd get a 10% speedup. And in my mind, doing the work to integrate two source mods for a mere 10% expected speedup is pretty wasteful.
 
So instead of the 20% speedup from the speedmod, you'd get a 10% speedup. And in my mind, doing the work to integrate two source mods for a mere 10% expected speedup is pretty wasteful.

Do you mean that the game would be 10% faster with the mods combined or that just Better AI will get 10% faster than it is now? If the Better AI with the speed mod was 10% faster than the original, it sure wouldn't be a waste imo. It's pretty slow right now, especially on bigger maps with 18 players, and multiplayer gets kinda extremely slow if the AI adds more computing time. But yeah, it's probably alot of work, but I wouldn't call it a complete waste.
 
10% to 20% of the time it takes the normal game, subtracted from the current BetterAI speed, would be my guess to it's impact.

It is possible it would be better: if BetterAI makes way more python calls than the standard DLL, then BetterAI could get better than a 10% to 20% speedup. That isn't beyond possibility: I could see a situation where a pathing function might end up calling python repeatedly to figure out where to go...
 
Back
Top Bottom