City-States Leaders for VP

Don't you get UCS v6 if you download from the steam downloader link I sent? I'll attach the file to this post anyway.

Downloading CSL again from the forums and installing it brings me back to the issues I encountered without deleting cache (the first screenshot). I didn't know this part of civ 5 has been broken. I only deleted cache as part of my troubleshooting process.

The mod id of my UCS is "b2eb6d1e-1fcb-4a0d-829c-51691aa3183a" and matches the reference in CSL. The id for Canada matches as well, but not for Israel. I tried editing CSL's modinfo file and matching the mod id referenced there with the one in Israel's modinfo file, but that didn't make any difference to the values in the COMMUNITY table or my bugs in-game. The mod id of my UCS matches the reference in MC.

First screen shows that everything works fine, right? Only deleting cache initiates the problem?
No. There are problems without deleting cache, it's just that deleting cache adds even more, which I explained in my first post. Without deleting cache, CSL has a bug where, when Israel is loaded, Balkh replaces Jerusalem but instead of Demetrius as leader there is still Solomon, and MC has the bug of not working whatsoever for city-states added by UCS only (vanilla and replacements for custom civ mods work fine). In my first screenshot you can see that both COLORS-UCS and CSL-CIV-ISRL are both 2 when they should be 1 as you said.
 

Attachments

Civ israel may be different problem. I did the compatibility long time ago. I must check the most actual version.

Cut/paste of MC doesn't help?
 
I will look on these 2 things after I clear out the problems with MW and changes made in VP recently. They did some mess, and ehh...

Edit:
Do one more thing. Cut the MC. Run a game with UCS. Close game. Paste MC. Run game again. Maybe cache is created/modified durign game?
 
Do one more thing. Cut the MC. Run a game with UCS. Close game. Paste MC. Run game again. Maybe cache is created/modified durign game?
Hmm, this seems to have fixed it. This must've been what I accidentally did a while ago but couldn't replicate since then.

edit: Weirdly enough, the Canada bug I mentioned before (which happened after clearing cache) is present now. The replacement city-states are in-game but their leader and intro text isn't updated. The Israel issue is of course still present.

edit2: The Canada issue is fixed by loading the mod before UCS, MC, and CSL. This is the most stable configuration I've encountered so far. So I think if you fix the Israel problem the mods will be playable together with these workarounds.
 
Last edited:
Please... ;p I will check all civs later and tell you what I have.
 
I fixed the Israel issue by replacing the reference to UNIT_ISRAEL_SHOPHET with UNIT_ISRAEL_MACCABEE in Compatibility\CSL-Civilizations.sql. This fix still of course requires loading Israel before UCS, MC, and CSL like I had to do for Canada.

Fixing the incorrect reference in the CSL modinfo file to Israel's mod id doesn't seem to be necessary (it's supposed to be "35e27828-cf22-4aec-b087-08169fa4e430" but the CSL modinfo file says "35e27828-cf22-4aec-b087-08169fa4e431"). I wonder why?

edit:
So, here's a summary of all the workarounds currently necessary to make UCS, CSL, MC, and the compatible custom civ mods work together:
  • tweak for Israel (included as of CSL v11): replace the reference to UNIT_ISRAEL_SHOPHET with UNIT_ISRAEL_MACCABEE in "(ui) City-States Leaders for VP (v 10)\Compatibility\CSL-Civilizations.sql"
  • first place in the MODS folder only UCS and any compatible custom civ mods, then enable them and start a game (keeping only these mods in the MODS folder and not any other mods besides VP -- even if they're disabled -- is good practice because the civ 5 mod loader is inherently bugged. Because of this I also only keep in the MODS folder mods I have enabled and am actively using).
    • If you use More Unique Components, the 3rd and 4th components for some custom civ mods won't appear unless you load MUC before them in this same manner.
  • then do the same for MC and CSL.
  • if you clear the cache (either manually or automatically when installing a new VP version), you have to repeat this process for CSL and MC as well as any other load order-sensitive mods because clearing cache resets load order.
edit2: added some more clarification
 
Last edited:
Ok. I downloaded 3 mentioned civs: Canada, Israel and Sumer as well as the v6 version of UCS.
I did exactly what is written below:
  1. download and paste 3 civilizations and new UCS to the MODS folder;
  2. cut CSL and MC from the MODS folder;
  3. create one game with UCS and mentioned civs;
  4. close the game (may be main menu);
  5. paste CSL (latest version) and MC to the MODS folder;
  6. play the game with all mods enabled;
Indeed, something has changed in Israel mod, so I updated the CSL with its latest release;

Beside that I had 1s in all compatibility markers in SQLiteSpy and didn't reproduce any of mentioned bugs with Balkh, Canada nor Sumer, sorry. The fault must be on your side then. City States had proper colors for all CSs including those from UCS, Honiara and St. John's CSs had proper leaders, same for Balkh and Skara Brae.


The references in modinfo file help, but after clearing the cache, or putting the more actual version of UCS or mentioned civiliation, makes you do the list on top of this post, because order will be affected at 99%. Trust me. I tried many things and this is the only one that helps me keep track of the order.
 
Ok. I downloaded 3 mentioned civs: Canada, Israel and Sumer as well as the v6 version of UCS.
I did exactly what is written below:
  1. download and paste 3 civilizations and new UCS to the MODS folder;
  2. cut CSL and MC from the MODS folder;
  3. create one game with UCS and mentioned civs;
  4. close the game (may be main menu);
  5. paste CSL (latest version) and MC to the MODS folder;
  6. play the game with all mods enabled;
Indeed, something has changed in Israel mod, so I updated the CSL with its latest release;

Beside that I had 1s in all compatibility markers in SQLiteSpy and didn't reproduce any of mentioned bugs with Balkh, Canada nor Sumer, sorry. The fault must be on your side then. City States had proper colors for all CSs including those from UCS, Honiara and St. John's CSs had proper leaders, same for Balkh and Skara Brae.


The references in modinfo file help, but after clearing the cache, or putting the more actual version of UCS or mentioned civiliation, makes you do the list on top of this post, because order will be affected at 99%. Trust me. I tried many things and this is the only one that helps me keep track of the order.
Yes I more or less figured out that process and added it to my previous post already. You must place in the MODS folder and run in-game UCS and the compatible civs separately and before doing the same for CSL and MC. This process must be strictly adhered to and repeated if the cache is cleared. Any bugs with CSL or MC not working with UCS or replacement city-states were the result of not following it.

I tested with the most up-to-date versions of Sumer, Timurids (regular and 4UC), Israel, Canada, and UCS, and everything works fine. Thanks for uploading an official update for CSL :goodjob:.
 
v11: only compatibility with Israel after update.
 
I think it's because the city states hate me, but their popup screen says: Just nothing.
Probably the former but I don't know
I doubt it's because of this mod
 
I think it's because the city states hate me, but their popup screen says: Just nothing.
Probably the former but I don't know
I doubt it's because of this mod
Can you elaborate? Some screens, examples, mod list?
Anyone have similar problems?
 
Can you elaborate? Some screens, examples, mod list?
Anyone have similar problems?
I'm not sure to be honest, this was in a previous game so I can't really take a screenshot, but I can elaborate: Everyone knows the good old meet pop up screen, this is that but it just says: Just nothing. I think it's because I killed off several city states and they don't want to talk to me.
upload_2021-8-15_16-12-46.png

These are the mods I use. IIRC I think the other mods are just leaders made for VP, so I think it's programmed into normal VP for cs' to hate you? Maybe
 
I'm not sure to be honest, this was in a previous game so I can't really take a screenshot, but I can elaborate: Everyone knows the good old meet pop up screen, this is that but it just says: Just nothing. I think it's because I killed off several city states and they don't want to talk to me.
View attachment 605502
These are the mods I use. IIRC I think the other mods are just leaders made for VP, so I think it's programmed into normal VP for cs' to hate you? Maybe
Have you tested this again recently?
 
@pineappledan While I'm almost ready with Philippines compatibility I noticed that some civilization changes are conflicting with UCS abilities (mostly with their names). Could you help me with them? I suggested changes in the code below, but if you have better substitutions, then I would like to hear you. They also need to be somewhat matched with the abilities, which I don't plan to change (they are coded in UCS).

My suggestions:
Code:
-- updating UCS traits for new CSs

    -- @pineappledan
    -- Quebec City ==> Peter Kenilorea, Honiara, maritime
   'Fur and Lumber' ==> 'Forests of Guadalcanal'

+1 [ICON_GOLD] Gold from Camps, Lumbermills, and Logging Camps.


    -- Vancouver ==> William Lyon Mackenzie King, St. Johns, maritime
   'Terminal City' ==> 'Industry from the North'

Villages and Great People Improvements produce +1 [ICON_FOOD] Food.   

 
    -- Jerusalem ==> Demetrius I, Balkh, religious
   'Holy Lands' ==> 'Religions of Amu Darya'

Upon being allied, Jerusalem will adopt the majority religion of the allied''s capital and gain a [COLOR_POSITIVE_TEXT]Sphere of Influence[ENDCOLOR] with [COLOR_POSITIVE_TEXT]Jerusalem[ENDCOLOR] if the World Congress has been founded. Has an religious pressure equal to a holy city.

 
    -- Ur ==> Oengus mac Fergusa, Skara Brae, maritime
    'Cradle of Civilization' ==> 'The Heart of Neolithic Orkney'

[ICON_TRADE] City Connections generate +2 [ICON_FOOD] Food.   


    -- ==> Sheba, Sanaa, mercantile
   'The Sogd' ==> 'Bab el-Mandeb Strait'

Foreign [ICON_INTERNATIONAL_TRADE] Trade Routes produce +4 [ICON_GOLD] Gold for both origin and designated trader.

 
    -- ==> Sun Yat-sen, Taipei, maritime
   'Pearl of the Orient' ==> 'Three Principles of the People')

Finishing a [ICON_INTERNATIONAL_TRADE] Trade Route earns 1-15 [ICON_FOOD] Food and Production scaling on the Designated City''s [ICON_CITIZEN] Population.

 

    -- @HungryForFood
    -- Vatican City ==> Constantine I, Karyes, religious
    'Absolute Faith' ==> 'The garden of the mother of God'

-10% [ICON_PEACE] Faith Purchase Cost  



    -- @hokath
    -- Lhasa ==> Ashoka, Sarnath, religious
    'A Place Among the Gods' ==> 'Pilgrimage to Isipatana'

Earn 25 [ICON_PEACE] Faith upon a birth of a [ICON_GREAT_PEOPLE] Great Person, scaling with era. The [COLOR_POSITIVE_TEXT]Potala Palace[ENDCOLOR] World Wonder can be constructed when the World Congress is founded. Constructing the [COLOR_POSITIVE_TEXT]Potala Palace[ENDCOLOR] grants a [COLOR_POSITIVE_TEXT]Sphere of Influence[ENDCOLOR] with [COLOR_POSITIVE_TEXT]Lhasa[ENDCOLOR].

 
    -- Brussels ==> Ermesinde II, Luxembourg, cultural
    'Home of the Marsh' ==> 'Charters of Freedom'

Marshes produce +1 [ICON_CULTURE] Culture. Can create [COLOR_POSITIVE_TEXT]Marshes[ENDCOLOR] (+1 [ICON_FOOD] Food) near coastal deserts, tundras, and snow tiles.


    -- Kabul ==> Jigme Dorji Wangchuck, Thimphu, cultural
    'Paradise on Earth' ==> 'Valley of the Raidak River'

All cities gains +0.66 [ICON_CULTURE] Culture for every Mountain within their workable radius.
 
Last edited:
CSL v13:
Code:
v13:
- added Sphere of Influence notification in CS popup window (ICON_LOCK in ALLY label);
- updated some label headers in popup window (capital letters);
- CONTENDER label: ==> added icon of contender;
                   ==> added missing influence points to be an ally info;
- corrected Y position of an ally icon in popup window (moved slightly up);
- added Philippines by @pineappledan compatibility - Sun Yat-sen from the Republic of China (2 leader icons available);
- added name changes for UCS ability titles, if civilization compatibility was enabled (for better flavour);
- cleaned up some files.
 
v14:
Code:
- added compatiblity for new UCS City-States (Taipei, Óc Eo);
- changed Auckland leader to Te Rauparaha;
- prepared files for adding new UCS City-States;
- changes to fit recent UCS update containing historical accuracy etc.;
- added listing of all UCS bonuses applied from city-states (visible in any CS popup window);
 
Back
Top Bottom