Quote:
PrinzMegaherz said:
So, what if more than one player is participating in the game? The AI needs all turn files in order to calculate battles. Your idea would work for a" One player VS AI game", but not for multiplayer, which Dominions mainly is about
|
Pardon? Where's the difference between a human and an AI player, if both do their turn at the same time?
Actually, the kind of AI I described is
easier to do in Dominions than Civ or Space Empires (but IIRC both have a 'simultanious' mode now, too) - exactly because the AI does
not need any player file to do it's turn.
Think you're confusing the game server (who executes the orders and computes the results) or maybe the tactical (battle) AI with the "artifical players", which I'm talking about.
And, Gandalf, if done multi-threaded those AI players wouldn't take away anything from your computers usability, because the AI threads would run with low priority (even Windoze can do that

) and would use only those CPU cycles which are not needed elsewhere.
And if you're concerned that you won't get anything done anymore

- just set the calculation time for the AI higher, and it won't have its turn finished before you. And don't forget, there are still the end-of-turn calculations to do, which will take some time, too.