Hello,
I'm trying to make a new civ appear during the game when a player discovers a specific tech.
I know how to use python and understand it but I'm not really good when it comes to using it with Civ4 fonctions.
So I've have done some research and found the Spawn A Civ mod comp by The_J (https://forums.civfanatics.com/resources/xml-python-spawn-a-civ.13487/)
I've tried to use it this past few days but each time the new civilization spawn on the first turn. So I tried it using the mod comp as a mod and same issue, on the first turn the Huns and Americans (well, the Americans 50% pf the time) spawn.
I tried to edit the python myself but I always end up with either the civilisation spawns on the first turn or it never spawns. So if I understand right, everything works except the verification of the conditions in SpawnACiv fonction
If you know how to rectify the mod comp or know an easy code to add a civilisation into the game once a certain tech is reached by one player, it will help a lot.
Thank you in advance for your time and your help.
I'm trying to make a new civ appear during the game when a player discovers a specific tech.
I know how to use python and understand it but I'm not really good when it comes to using it with Civ4 fonctions.
So I've have done some research and found the Spawn A Civ mod comp by The_J (https://forums.civfanatics.com/resources/xml-python-spawn-a-civ.13487/)
I've tried to use it this past few days but each time the new civilization spawn on the first turn. So I tried it using the mod comp as a mod and same issue, on the first turn the Huns and Americans (well, the Americans 50% pf the time) spawn.
I tried to edit the python myself but I always end up with either the civilisation spawns on the first turn or it never spawns. So if I understand right, everything works except the verification of the conditions in SpawnACiv fonction
If you know how to rectify the mod comp or know an easy code to add a civilisation into the game once a certain tech is reached by one player, it will help a lot.
Thank you in advance for your time and your help.