Hello all,
I have a question that I haven't quite been able to figure out about making specific city states spawn. I'm playing with a TSL map in the ynaemp mod. My goal is to make my own collection of mods that will allow me to play with a fairly balanced and realistic European focused game. One of my goals is to space city states around the world so the AI can't mass expand at will (but still able to colonize, go to new world and settle, etc) and also, for the major European powers, have enough space to play so there is a "balance of power" in Europe.
One of my current dilemmas is I'm not able to figure out how to get ONLY certain city states to spawn. Even though I can delete TSL starting locations in ynaemp and only have city states with TSL spawn, it seems as if the game engine will randomly pick from the 50 or so city states in the game database. The end result is I might only get 15-20 city states that I want out of the 30 total that I want because the database will pick ones that I don't want (no TSL in ynaemp) but they end up getting removed anyway by ynaemp scripts.
So then I made my own mod to try to delete the city state from the xml files. I go into Assets\DLC\Expansion2\Gameplay\XML\Civilizations\CIV5MinorCivilizations.xml This is what my mod does so far:
I've searched my directory for minor civs and those were all the references I've found. Am I missing something else I have to delete or am I doing something wrong? My intention is that I delete all unwanted city states, leaving only the desired ones, which means I can select 29 to spawn and the 29 will be the exact ones I want. I also want to avoid using map scenarios, unless maybe I do it in the scenario and then use a mod to enable the scenario along with ynaemp?
Thanks in advance for any help
I have a question that I haven't quite been able to figure out about making specific city states spawn. I'm playing with a TSL map in the ynaemp mod. My goal is to make my own collection of mods that will allow me to play with a fairly balanced and realistic European focused game. One of my goals is to space city states around the world so the AI can't mass expand at will (but still able to colonize, go to new world and settle, etc) and also, for the major European powers, have enough space to play so there is a "balance of power" in Europe.
One of my current dilemmas is I'm not able to figure out how to get ONLY certain city states to spawn. Even though I can delete TSL starting locations in ynaemp and only have city states with TSL spawn, it seems as if the game engine will randomly pick from the 50 or so city states in the game database. The end result is I might only get 15-20 city states that I want out of the 30 total that I want because the database will pick ones that I don't want (no TSL in ynaemp) but they end up getting removed anyway by ynaemp scripts.
So then I made my own mod to try to delete the city state from the xml files. I go into Assets\DLC\Expansion2\Gameplay\XML\Civilizations\CIV5MinorCivilizations.xml This is what my mod does so far:
Code:
<GameData>
<Defines>
<Update>
<Where Name="WARMONGER_THREAT_PER_TURN_DECAY"/>
<Set Value="-20"/>
</Update>
</Defines>
<MinorCivilizations>
<Update>
<DELETE Type="MINOR_CIV_BRATISLAVA"/>
<DELETE Type="MINOR_CIV_BUDAPEST"/>
<DELETE Type="MINOR_CIV_GENEVA"/>
<DELETE Type="MINOR_CIV_RIGA"/>
<DELETE Type="MINOR_CIV_GENOA"/>
<DELETE Type="MINOR_CIV_BUCHAREST"/>
<DELETE Type="MINOR_CIV_BELGRADE"/>
<DELETE Type="MINOR_CIV_BRUSSELS"/>
<DELETE Type="MINOR_CIV_MONACO"/>
<DELETE Type="MINOR_CIV_HANOI"/>
<DELETE Type="MINOR_CIV_KUALA_LUMPUR"/>
<DELETE Type="MINOR_CIV_ALMATY"/>
<DELETE Type="MINOR_CIV_LHASA"/>
<DELETE Type="MINOR_CIV_SIDON"/>
<DELETE Type="MINOR_CIV_TYRE"/>
<DELETE Type="MINOR_CIV_ANTWERP"/>
<DELETE Type="MINOR_CIV_PRAGUE"/>
<DELETE Type="MINOR_CIV_VALLETTA"/>
<DELETE Type="MINOR_CIV_WITTENBERG"/>
<DELETE Type="MINOR_CIV_YEREVAN"/>
<DELETE Type="MINOR_CIV_ZURICH"/>
<DELETE Type="MINOR_CIV_SAMARKAND"/>
<DELETE Type="MINOR_CIV_MALACCA"/>
<DELETE Type="MINOR_CIV_BYBLOS"/>
<DELETE Type="MINOR_CIV_KYZYL"/>
<DELETE Type="MINOR_CIV_KABUL"/>
<DELETE Type="MINOR_CIV_SOFIA"/>
<DELETE Type="MINOR_CIV_UR"/>
<DELETE Type="MINOR_CIV_BOGOTA"/>
<DELETE Type="MINOR_CIV_VILNIUS"/>
</Update>
</MinorCivilizations>
<MinorCivilization_CityNames>
<Update>
<DELETE MinorCivType="MINOR_CIV_BRATISLAVA"/>
<DELETE MinorCivType="MINOR_CIV_BUDAPEST"/>
<DELETE MinorCivType="MINOR_CIV_GENEVA"/>
<DELETE MinorCivType="MINOR_CIV_RIGA"/>
<DELETE MinorCivType="MINOR_CIV_GENOA"/>
<DELETE MinorCivType="MINOR_CIV_BUCHAREST"/>
<DELETE MinorCivType="MINOR_CIV_BELGRADE"/>
<DELETE MinorCivType="MINOR_CIV_BRUSSELS"/>
<DELETE MinorCivType="MINOR_CIV_MONACO"/>
<DELETE MinorCivType="MINOR_CIV_HANOI"/>
<DELETE MinorCivType="MINOR_CIV_KUALA_LUMPUR"/>
<DELETE MinorCivType="MINOR_CIV_ALMATY"/>
<DELETE MinorCivType="MINOR_CIV_LHASA"/>
<DELETE MinorCivType="MINOR_CIV_SIDON"/>
<DELETE MinorCivType="MINOR_CIV_TYRE"/>
<DELETE MinorCivType="MINOR_CIV_ANTWERP"/>
<DELETE MinorCivType="MINOR_CIV_PRAGUE"/>
<DELETE MinorCivType="MINOR_CIV_VALLETTA"/>
<DELETE MinorCivType="MINOR_CIV_WITTENBERG"/>
<DELETE MinorCivType="MINOR_CIV_YEREVAN"/>
<DELETE MinorCivType="MINOR_CIV_ZURICH"/>
<DELETE MinorCivType="MINOR_CIV_SAMARKAND"/>
<DELETE MinorCivType="MINOR_CIV_MALACCA"/>
<DELETE MinorCivType="MINOR_CIV_BYBLOS"/>
<DELETE MinorCivType="MINOR_CIV_KYZYL"/>
<DELETE MinorCivType="MINOR_CIV_KABUL"/>
<DELETE MinorCivType="MINOR_CIV_SOFIA"/>
<DELETE MinorCivType="MINOR_CIV_UR"/>
<DELETE MinorCivType="MINOR_CIV_BOGOTA"/>
<DELETE MinorCivType="MINOR_CIV_VILNIUS"/>
</Update>
</MinorCivilization_CityNames>
<MinorCivilization_Flavors>
<DELETE MinorCivType="MINOR_CIV_BRATISLAVA"/>
<DELETE MinorCivType="MINOR_CIV_BUDAPEST"/>
<DELETE MinorCivType="MINOR_CIV_GENEVA"/>
<DELETE MinorCivType="MINOR_CIV_RIGA"/>
<DELETE MinorCivType="MINOR_CIV_GENOA"/>
<DELETE MinorCivType="MINOR_CIV_BUCHAREST"/>
<DELETE MinorCivType="MINOR_CIV_BELGRADE"/>
<DELETE MinorCivType="MINOR_CIV_BRUSSELS"/>
<DELETE MinorCivType="MINOR_CIV_MONACO"/>
<DELETE MinorCivType="MINOR_CIV_HANOI"/>
<DELETE MinorCivType="MINOR_CIV_KUALA_LUMPUR"/>
<DELETE MinorCivType="MINOR_CIV_ALMATY"/>
<DELETE MinorCivType="MINOR_CIV_LHASA"/>
<DELETE MinorCivType="MINOR_CIV_SIDON"/>
<DELETE MinorCivType="MINOR_CIV_TYRE"/>
<DELETE MinorCivType="MINOR_CIV_ANTWERP"/>
<DELETE MinorCivType="MINOR_CIV_PRAGUE"/>
<DELETE MinorCivType="MINOR_CIV_VALLETTA"/>
<DELETE MinorCivType="MINOR_CIV_WITTENBERG"/>
<DELETE MinorCivType="MINOR_CIV_YEREVAN"/>
<DELETE MinorCivType="MINOR_CIV_ZURICH"/>
<DELETE MinorCivType="MINOR_CIV_SAMARKAND"/>
<DELETE MinorCivType="MINOR_CIV_MALACCA"/>
<DELETE MinorCivType="MINOR_CIV_BYBLOS"/>
<DELETE MinorCivType="MINOR_CIV_KYZYL"/>
<DELETE MinorCivType="MINOR_CIV_KABUL"/>
<DELETE MinorCivType="MINOR_CIV_SOFIA"/>
<DELETE MinorCivType="MINOR_CIV_UR"/>
<DELETE MinorCivType="MINOR_CIV_BOGOTA"/>
<DELETE MinorCivType="MINOR_CIV_VILNIUS"/>
</MinorCivilization_Flavors>
</GameData>
I've searched my directory for minor civs and those were all the references I've found. Am I missing something else I have to delete or am I doing something wrong? My intention is that I delete all unwanted city states, leaving only the desired ones, which means I can select 29 to spawn and the 29 will be the exact ones I want. I also want to avoid using map scenarios, unless maybe I do it in the scenario and then use a mod to enable the scenario along with ynaemp?
Thanks in advance for any help