fuzzymonkey
Chieftain
- Joined
- Jul 3, 2011
- Messages
- 22
I made my first mod recently. It changes the requirement for world congrees from printing press to writing. The xml is a simple boolean flip on the AllowWorldCongress tag.
However, I noticed a bug. If I activate the mod and start a game, everything works great. If I then save the game, restart civ5 and then reload the game, the mod does not activate. This means the tech requirement goes back to printing press. However, if you managed to research writing before you saved, the unlock of the world congress also gets saved, meaning you can found the world congress before printing press when you load back up. But if you didnt finish researching writing you cant found the WC until printing press. In addition the star bubble in the tech description moves back to printing press.
So the question is, how do I get it to properly load when a game is loaded from a save?
Edit: Oh, and my mod is listed on the "the following mods are required by this saved game" list.
However, I noticed a bug. If I activate the mod and start a game, everything works great. If I then save the game, restart civ5 and then reload the game, the mod does not activate. This means the tech requirement goes back to printing press. However, if you managed to research writing before you saved, the unlock of the world congress also gets saved, meaning you can found the world congress before printing press when you load back up. But if you didnt finish researching writing you cant found the WC until printing press. In addition the star bubble in the tech description moves back to printing press.
So the question is, how do I get it to properly load when a game is loaded from a save?
Edit: Oh, and my mod is listed on the "the following mods are required by this saved game" list.