rahorvat
Warlord
Working on OpenCiv1, I just run into a behavior code, and can confirm what Sid Meier already said: There is no nuclear Gandhi scenario in Civilization 1.
For those curious (Function F0_1403_000e, when randomizing leader characteristics):
And for the static definitions:
Which means that the value is -1, 0 and 1 exclusively. For the rest of the game these constants stay the same.
For those curious (Function F0_1403_000e, when randomizing leader characteristics):
C#:
this.oParent.GameState.Nations[nationID].Mood = this.oParent.MSCAPI.RNG.Next(3) - 1; // -1 = Friendly, 0 = Neutral, 1 = Aggressive
this.oParent.GameState.Nations[nationID].Policy = this.oParent.MSCAPI.RNG.Next(3) - 1; // -1 = Perfectionist, 0 = Neutral, 1 = Expansionistic
this.oParent.GameState.Nations[nationID].Ideology = this.oParent.MSCAPI.RNG.Next(3) - 1; // -1 = Militaristic, 0 = Neutral, 1 = Civilized
And for the static definitions:
C#:
public NationDefinition[] Nations = new NationDefinition[] {
// Leader, Nationality, Nation, Mood, Policy, Ideology, ShortTune, LongTune
new NationDefinition("", "", "", 0, 0, 0, 36, 36),
new NationDefinition("Caesar", "", "Roman", 0, 1, 1, 24, 10),
new NationDefinition("Hammurabi", "", "Babylonian", -1, -1, 1, 28, 14),
new NationDefinition("Frederick", "Germans", "German", 1, -1, 1, 32, 18),
new NationDefinition("Ramesses", "", "Egyptian", 0, 0, 1, 21, 7),
new NationDefinition("Abe Lincoln", "", "American", -1, 0, 1, 19, 5),
new NationDefinition("Alexander", "", "Greek", 0, 1, -1, 26, 12),
new NationDefinition("M.Gandhi", "", "Indian", -1, -1, 0, 31, 17),
new NationDefinition("", "", "", 0, 0, 0, 36, 36),
new NationDefinition("Stalin", "", "Russian", 1, 0, -1, 25, 11),
new NationDefinition("Shaka", "", "Zulu", 1, 0, 0, 22, 8),
new NationDefinition("Napoleon", "French", "French", 1, 1, 1, 23, 9),
new NationDefinition("Montezuma", "", "Aztec", 0, -1, 1, 20, 6),
new NationDefinition("Mao Tse Tung", "Chinese", "Chinese", 0, 0, 1, 29, 15),
new NationDefinition("Elizabeth I", "English", "English", 0, 1, 0, 27, 13),
new NationDefinition("Genghis Khan", "", "Mongol", 1, 1, -1, 30, 16)};
Which means that the value is -1, 0 and 1 exclusively. For the rest of the game these constants stay the same.
Last edited: