Unique City-States

Would you play this mod?


  • Total voters
    20
  • Poll closed .
I think, Brooklands and Wellington bonus yields on strategics are not working
 

Attachments

  • 1696170696480.jpeg
    1696170696480.jpeg
    685 KB · Views: 55
v15.5 with some fixes. It should be compatible with VP 4.1.X, so you can try it out.
Code:
- maybe 4th iteration of the code will block these damn UUs from CS spawning...
- Valletta now requires only Coast (were some Sea resources);
- real building's texts were a bit revamped;
- Glass Monopoly now has 1% boost (was 2%);
 
v15.5.1 with important fix (link):
Code:
- added safety break for the situation when there are 0 City-States of some kind;
- fixed trait indexes in lua file;
- added some loggings to have better information about the situation on the map;
- deleted CSD relic code;
 
Last edited:
I am playing as Assur, Tiwanaku is not in the game. Still I could buy a Sisqeno with faith, who will build me a Sunken Courtyard.

Karyes is in the game, but I have not yet met them. Still my workers can build a Monastery.

My workers are also able to build a Mound and a Dogo Canario, even though I am no longer friends with Cahokia and Adeje (in the latter case, I am in doubt whether I ever was - I think I demanded tribute from them, they are still angry).

Edit: Just checked it with IGE, a worker is able to build a Mound, a Dogo Canario and a Llao Llao (Yaiuwa is also not in the game) right from the first turn, without having met any other player.
 

Attachments

  • build.jpg
    build.jpg
    464.9 KB · Views: 51
  • friends.jpg
    friends.jpg
    172.1 KB · Views: 39
Last edited:
I am playing as Assur, Tiwanaku is not in the game. Still I could buy a Sisqeno with faith, who will build me a Sunken Courtyard.

Karyes is in the game, but I have not yet met them. Still my workers can build a Monastery.

My workers are also able to build a Mound and a Dogo Canario, even though I am no longer friends with Cahokia and Adeje (in the latter case, I am in doubt whether I ever was - I think I demanded tribute from them, they are still angry).

Edit: Just checked it with IGE, a worker is able to build a Mound, a Dogo Canario and a Llao Llao (Yaiuwa is also not in the game) right from the first turn, without having met any other player.
Probably mod conflict or error during installation. Lua file is not working as planned. Clean cache first to see if it is better.
I had similar issue few times, but I don't know the source. I compiled another time and loaded everything and it was fine.
Everything fine on my end. I have just checked that.
 
Last edited:
Many thanks ! - I emptied the cache folder, and Mound, Dogo Canario and Llao Llao are no longer available from the start. Sorry for the confusion, I wasn't aware of the importance of cache-cleaning.
 
With MPMP, multiplayer modpack style, There is no resource on map. Totally no resource. VP 4.2 and 15.1 made into a modpack style. (Basic mod game works fine!)
I played previous version well...
 
With MPMP, multiplayer modpack style, There is no resource on map. Totally no resource. VP 4.2 and 15.1 made into a modpack style. (Basic mod game works fine!)
I played previous version well...
I do not create modpacks, so I cannot diagnose what's going on. Get some logs and post them on Discord channel in the Multiplayer section, please. There are guys who might help you.
 
v15.6 with some adjustments for BETA VP 4.2.1. This is first version not compatible with VP 3.10.X, so if you use such, stay with v15.5.1, please.
Code:
- added entries for conflicts table (new feature blocking certain City-States if conflicting Major Civ is in game; added in dll);
- added automatic conflict checker printing out all conflicts in the database between major cities and city-states (commented out by default);
- active bonuses are now not applied to Major Player if it is at war with a city-state (even if he has an Embassy there!);
- because Gurkha uses Heavy Charge promotion it is now moved to Shared paragraph in the pedia (was in Mounted);
 
I do not create modpacks, so I cannot diagnose what's going on. Get some logs and post them on Discord channel in the Multiplayer section, please. There are guys who might help you.
Thank you for advice! Is there any specific logs I should focus? I think you might know that because you're modder and understand its logic.
 
Thank you for advice! Is there any specific logs I should focus? I think you might know that because you're modder and understand its logic.
Enable all of them and pack whole folder into .zip. I personally use only lua.log and database.log, but others are also helpful, but not in my department.
You can also pack your modpack and share it with Dropbox, Google Drive or something capable of sharing such a big files.
If you do, ping me (I have the same username there).
 
Last edited:
BTW, weired thing, I didn't pay much attention, but seems I wasn't able to build swordsmen and longswordsmen while was able to buy nihangs. Can build/buy two-handed swordsmen and tercios.
 
Nihang faith cost rises with era advance, while CS and other abilities stays same, is it intended?
You gain more CS with subsequent promotions. More of them are unlocked in later eras.
 
BTW, weired thing, I didn't pay much attention, but seems I wasn't able to build swordsmen and longswordsmen while was able to buy nihangs. Can build/buy two-handed swordsmen and tercios.
I will check.
 
No idea what can cause it. It's really strange bug, especially because I haven't touched Potala Palace beside the text movement from MW to UCS.
I tested it in two variants: with and without MW loaded. Both worked well for me. I couldn't reproduce.
Try to clean the cache and reduce your mod list until you get rid of that lua error. I have no such error and I can see again in the logs that such error appears.
If anyone have similar problem with Potala Palace, please contact me. I will be unavailable for modding in next few days, but I will be on the forum at least.
Hey, I know this is a very late update, but I had the same issue which I believe is caused by Potala Palace. I am on v15.5.1 with VP v3.10.14 and a few other mods (details in the attached Lua Log below).

The World Congress has been founded in my case, but the CTD happens anyway.

Edit: I can also provide the save file and any other logs if they'll help you figure out the issue.

Edit2: I have confirmed that it is indeed Potala Palace that causes it. If I change the production to something else, the game continues as normal, and only crashes the moment Potala Palace is supposed to be completed at the start of the next turn.

(I don't know if it's some weird interaction with Community Events - as the Potala Palace wonder looks for a city state active event. I'll try another game or two without it in 4.x with v15.6x and the rest of the mods being similar and I'll keep you updated if the bug reappears.)
 

Attachments

Last edited:
I had an alliance with Armagh, built Naomh Brid in one city got bonus +3%. Then I lost alliance, after while got alliance back, but in newly built Naomh Brid have bonus 6%, in old same 3%. Is this intended behavior?
 
I had an alliance with Armagh, built Naomh Brid in one city got bonus +3%. Then I lost alliance, after while got alliance back, but in newly built Naomh Brid have bonus 6%, in old same 3%. Is this intended behavior?
I will look at that, but probably not.

It sorts of stack... I wasn't aware of that.
Code:
INSERT INTO EventChoice_BuildingClassYieldModifier
            (EventChoiceType,                                 BuildingClassType,                 YieldType,             Modifier)
SELECT         'PLAYER_EVENT_CHOICE_MINOR_CIV_LHASA',             'BUILDINGCLASS_LHASA',             'YIELD_FOOD',         5 UNION ALL
SELECT         'PLAYER_EVENT_CHOICE_MINOR_CIV_LHASA',             'BUILDINGCLASS_LHASA',             'YIELD_CULTURE',     5 UNION ALL
SELECT         'PLAYER_EVENT_CHOICE_MINOR_CIV_ARMAGH',         'BUILDINGCLASS_ARMAGH1',         'YIELD_CULTURE',     5 UNION ALL
SELECT         'PLAYER_EVENT_CHOICE_MINOR_CIV_ARMAGH',         'BUILDINGCLASS_ARMAGH2',         'YIELD_SCIENCE',     5 UNION ALL
SELECT         'PLAYER_EVENT_CHOICE_MINOR_CIV_ARMAGH',         'BUILDINGCLASS_ARMAGH3',         'YIELD_GOLD',         5 UNION ALL
SELECT         'PLAYER_EVENT_CHOICE_MINOR_CIV_ARMAGH',         'BUILDINGCLASS_ARMAGH4',         'YIELD_FOOD',         3 UNION ALL
SELECT         'PLAYER_EVENT_CHOICE_MINOR_CIV_ARMAGH',         'BUILDINGCLASS_ARMAGH4',         'YIELD_PRODUCTION', 3;
Code:
Grants [ICON_FOOD] Food and [ICON_PRODUCTION] Production bonus based on number of Active Events (lost without the Alliance).
@Enginseer Can you explain it? I feel it is a feature from base UCS?
 
Back
Top Bottom