Kailric
Jack of All Trades
My goal is to have a complete savegame format for the next release and then if possible never break savegames again. That way if people download a stable release, they can upgrade to the next stable release and still use their savegames.
From my limited skills that seems like a huge goal as there are so many things that break saved games.
Anyway, updating my progress... I like to do this so if I forget where I am at I can always come back here to find out, plus its like sending a little love letter to you guys letting you know how things are going
I discovered a few things about the Diplomacy and I need to write more in the Wiki to keep up with it for next time.
If a TradeableItems is set as Dual, both teams have a copy of the Trade, like for Open Borders. If you add it, both sides are added.
If it is not Dual, then one side could have it, or both can have it.
If it is set as isAnnual then it is reoccurring each turn and there are things that could automatically cancel it.
For Imperial Support I made this single trade so that it is easier to manage. In Civ4 and Col there isn't much actual talking going on between the two Diplomats because items in the list have Denial Types. Each item is checked for a Denial, if it is Denied then it shows up in Red and when you mouse over it they "talk" in text and tell you why they will not agree to this. I'm not sure how I like this but it's what we got
So, for Imperial Support the Player will be able to mouse over this text and get a hint or idea of what they need to do in order to gain that players support.
For Natives they check several things against other potentials like attitude, land mass, population, and power. I need to add in Fealty also.
For other Players it will be about the same as Natives except they check if they have a chance to win, if they do they will always deny you saying they want to win.
For the Pope, he uses different calculations. Besides your Power Ratings (he doesn't want a wimpy Emperor) He checks for YIELD_CROSSES output as well as your Accumulated Religious FF points. For Civs that seek to gain favor with the Pope, his attitude towards you will (eventually, not coded yet) also add to your favor. This will probably be huge and I will make a new Denial type, like DENIAL_PIOUS "You are not pious enough in our faith."
In my current game the Pope favors no one, not even me. He really didn't like me until I figured out that the Tax Rate has a huge negative effect on his attitude. So, I turned this off for none Independence victory games. He should be happy that you are paying so much in Taxes Anyway, I failed to do some military request and didn't kiss his ring once, and so I don't have his support, good thing no one else does either.
I am actually excited about this Victory Condition as it seems to be shaping up to be something very strategic Diplomatically. I still need to add what happens when you gain someones support as well as what happens when you finally proclaim to be Emperor. What happens if the Pope supports no one? Its going to get interesting