Quote:
Also, there only seem to be about 15 to 20 available for any given era, is there a way to know what Nation IDs are available for what era? Or better yet, has anyone ever mapped out the Nations to IDs?
|
I count 24 EA nations, 23 MA nations and 21 LA nations when running 3.21, so that's a total of 68. The number 94 came from the usage output when running "dom3 -h" e.g.
Code:
--normai X Nation ai controlled X=nation number (0-94)
Presumably this means there are a maximum of 94 nations possible, but only 68 in the vanilla game.
Quote:
This script is supposed to start a game with 9 random computer opponents. It doesn't, it starts a game with some number of random opponents less than 9. Now I'm assuming that's because I'm getting random numbers that do not match the nations available for that era.
|
That was part of the problem, also my script will sometimes create the same random number twice, wherein the game ignores that player.
Quote:
is there a way to know what Nation IDs are available for what era? Or better yet, has anyone ever mapped out the Nations to IDs?
|
Through simple experimentation I have determined that the nations are simply numbered from 0 to 67 in order from EA through LA.
Quote:
First of all, it seems like the set of command line parameters you might pass to the game the first time you run it are different from the arguments you need to pass when restarting a process for a game already in progress.
|
Well, now that I look closely I see that the output from "dom3 -h" specifies "New Game Options", which implies that they are not needed when restarting a game in progress. However, about half of the options under "Network Options" seem to be unnecessary as well, everything from --nonationsel on down.
Akela