Campaign Civilizations

Been a while since I last posted here. After a hiatus, I put some work into rebalancing and bug fixing, in particular reworking Native Americans and adding Tatars.

Recently, I’ve been trying to get some other SPC civs working. Specifically, Enemy Japanese, Hole in the Wall Gang, and Somalia. But I’ve run into something of a brick wall: no matter what I do, I can’t seem to get them to appear in skirmish/multiplayer. I’ve given each a unique homecity (copy/pasted from another working civ, but renamed), I tried deleting homecity data from the savegame with the cloud off. I even tried renaming them in civmods. I’m not sure what’s the cause. If it’s something in the civdata I’m not sure what I’m looking for. I don’t think it’s the civtype because some working civs are still type 5, and I changed Somali to the same type as Hausa/Ethiopia for influence.

Any ideas would be greatly appreciated.

They also need a unique string id. If they share something with the orginal, it wont work.

You mean the display name? if I made a custom string would that work?

Not 100% sure, but thats what a dev told me. basically the AGE0, code name, and string name are not allowed to be the same

Been a while since posting here. Had a question about making custom consulate alliances. I’ve been trying to learn how to make them from the ones already in the game, but reached a dead end.

So far, I’ve made BigConsulate and BigSequester techs, based on existing ones, and made an entry in the politicianmods file, corresponding to the BigConsulate tech, again based on an existing alliance.

I checked the techtree and proto files, the BigConsulate techs seem to only appear in a TAD civ’s Consulate mega tech, and not seemingly not in the Consulate proto.

Clearly I’m missing something here, but I have no idea what. It’s also not clear to me what exactly the “SetCivRelation” effect does or where it’s stored. Is its only function to set the Flag on the Consulate building?

Sorry if these are basic questions, this is a new area for me.

Edit: I got the alliance mostly working, was an rookie mistake on my part. But now I have an issue with the BigSequester tech. it works the first time but if I re-ally it doesn’t show up

Hey Ev0Lution,
I’ve been working on a consulate mod and ran into the same issue. I think I found a solution. In the ypBigConsulateBritish tech, there is a tag called “<sequestertech>ypBigSequesterBritish</sequestertech>”. None of the other ypBigConsulate techs have this. I added it into my custom alliance tech with my custom sequester tech and it seemed to work. I have no clue why the other consulate allies work without it though.

By the way I really like your campaign civs especially the Tartars. Livestock booming while going Strelet/Keshik is very fun.

1 Like

Thank you very much! That did the trick nicely. I’m always happy when I can put roadblocks like this behind me, it makes the rest of the modding work more enjoyable.

Also thanks for the kind words about the mod, esp Tatars. I often worry they’re a bit awkward, so hearing people enjoy it is really appreciated.

Edit: naturally I spoke too soon. My latest woe: the consulate army units are refusing to appear in the consulate, despite being in the consulate proto and enabled by the BigConsulate tech :confused:

1 Like

Do you mean the banner army icon does not show up in the consulate or the units don’t train when you click on it? If it is the latter then you may need to update civmods.xml with the units that the army trains.

I’ve run into the second problem before when making Tatars, so I knew to look out for it.

Unfortunately, it’s the first, the icons aren’t showing up at all.

Let me test to see if this is a consulate-specific issue, or if it’s something fundamental to the army proto

Edit: Good news! I used CommandAdd to put one of my custom armies into the Village, as well as SPC Dutch Army 1 as a control (this civ doesn’t normally have access to that army). It showed up in the building alongside the Dutch counterpart, and was trainable in wacky form. When I checked the consulate, the Dutch Army showed up properly but not my custom one. This despite me having added my custom army to the consulate in protomods. But hopefully this narrows the scope of the problem.

Edit 2: I just used Command Add to put the armies into the consulate, and that works well enough

2 Likes

I was trying to get the Chinese Treasure Ship crate spawn to work on another ship, but I can’t swap from the Food spawn to another :confused:

Friend,first forgive my frankly.

Can you give a mini edition——‘campaign civilizations mini’ for your mod?Just have Tatar,Morocco and Somalia?Some of my friends just want those 3 civs.

Very special thanks,Best wishes.