alliance limits - moddable?

I've made it a house rule that I never ally with more than one civ, it's just too easy to manipulate the diplomatic model any other way. I'm wondering if there's a way to mod that into the game as an actual hard and fast rule applying to all civs, though. Anyone know?
6,510 views 7 replies
Reply #1 Top
Not that I know of, sorry. From what I can tell, the Diplomacy model (ie rules, calculations, etc) are all hard coded.

It's probably possible to alter the variables in Diplo calculations indirectly, like changing the values (cost would be my best guess) for the tech tree and different items (like weapons, ships). But that won't change the number of civs that can ally.

On the other hand: You could remove alliances from teh game entirely. Just delete the Tech from teh tech tree. You just need to make sure that the techs that come after Alliances link to the tech that comes before alliances, effectively skipping alliances.
Reply #2 Top
Yeah, I kind of thought it was probably hard coded but figured it didn't hurt to ask.


On the other hand: You could remove alliances from teh game entirely. Just delete the Tech from teh tech tree. You just need to make sure that the techs that come after Alliances link to the tech that comes before alliances, effectively skipping alliances.


That's an interesting idea, actually. Maybe simply removing the tech, and then increasing the cost of the next tech in the line by the usual cost of alliances, would get something close enough to the job done.
Reply #3 Top
Nope. If you just plain delete the tech and mend the chain you'll likely get an error. The code wants an Alliance tech, and if it doesn't exist it will become upset, probably even crash.

You might just cut it out, but then it would be a seperate tech with no requirements and no 'children.'

Ofcourse someone from SD would be better qualified to confirm or deny this.

I just don't think it can be done.
Reply #4 Top
Anyone know one way or the other for sure on this one?
Reply #5 Top
Anyone know one way or the other for sure on this one?


The easy way would be to try it and see what happens. I've never done so myself so I can't say any more surely than anyone else.
Reply #6 Top
Fair enough kryo, and thanks for the response.
Reply #7 Top
i've modded out a few other techs, but not alliances.

I am curious, as there is something inherent in the alliance tech that allows for the Diplomacy options (I would assume anyway). Same thing with the ethical techs. There is prolly a tag in teh hard code that would look for the discovery of the tech.