Definitely go for a Civ 3 model with the bargaining table, where anything you and the other civ have, and treaties, can be proposed in any combination. It's obviously superior to the current model.

Let's take a look on the current Diplomanager. We have on the left side some options like different diplomacy tones or different proposal types. On the right side we have the civ parchment of the sender, the year the recipient and now also a little thumbnail of the recipient.
You could handle in two ways diplomacy, on the one side you can exchange letters between the two parties, that is how the current Diplomanager models it. But on the other hand the leaders could meet each other, that is the way how it is handled in Civ1 and IIRC and so far what I have seen in Civ3. In Civ2 you had messenger or legates.
To summarise it in my opinion to use the meeting model diplomacy has more atmosphere than the letter model.
Therefore I would like to see a diplomanager with a big leader picture in the middle of a size like those of CTP1 or at that place some annimated leaders. Under the picture there should be the threaty text or the conversation. Also there should be the treaty options not on one side for symmetry maybe also under the picture, but year and recipient can be placed over the picture.
-Martin
Civ2 military advisor: "No complaints, Sir!"

Definitely go for a Civ 3 model with the bargaining table, where anything you and the other civ have, and treaties, can be proposed in any combination. It's obviously superior to the current model.
Solver, WePlayCiv Co-Administrator
Contact: solver-at-weplayciv-dot-com
I can kill you whenever I please... but not today. - The Cigarette Smoking Man

So something like puuting the offers on the left side and the demands on the right side. In that style we should but then the mutual treaties on both sides. It should also be a tree like structure that can be reduced to top points or can be enlarged to fully details something like a file manager like structure, but you have now categories like gold, cities, techs etc... That way we could also fix the too many city bug, so that we put scrollbars on the sides.
-Martin
Civ2 military advisor: "No complaints, Sir!"

the kind of thing in ctp one where you changed the ambassadors head to the best looking woman in the pictures (never did find a good one)
could this not stifle mod making![]()
but if we find a way to make it so negotiations can see a person or more likely a ambassador. Which allows us to make mods like kill the ambassador or force them to go home for more “FUN”
We could possibly make it possible to do with letters for mods of un included civs![]()
"Every time I learn something new it pushes some old stuff out of my brain" Homer Jay Simpson
The BIG MC making ctp2 a much unsafer place.
Visit the big mc’s website

Martin, in your second post you described the Civ3 bargaining table very well. As far as I can see, it's the best way we can do that - and any Civ game, at that.
Solver, WePlayCiv Co-Administrator
Contact: solver-at-weplayciv-dot-com
I can kill you whenever I please... but not today. - The Cigarette Smoking Man

There are flaws with the Civ3 approach, or there was, doesnt it sometimes agree to really bad treaties? We'd need a very good AI routine to avoid unbalanced deals......dont want to give the player more advantages in the game?
'The very basis of the liberal idea – the belief of individual freedom is what causes the chaos' - William Kristol, son of the founder of neo-conservitivism, talking about neo-con ideology and its agenda for you.info here. prove me wrong.
Bush's Republican=Neo-con for all intent and purpose. be afraid.

The flaws in Civ 3 were those related to gameplay. The interface is what I'm mentioning as (near) perfect.
Solver, WePlayCiv Co-Administrator
Contact: solver-at-weplayciv-dot-com
I can kill you whenever I please... but not today. - The Cigarette Smoking Man

ok. I've not played it yet so i wasn't sure on all the details, but i guess the kind of 'offer anything for anything else' approach would require you had a balance cost to 'all' items that could be used in the diplomacy - some hidden(or not) value that everything adheres too? eg:
"i will give you a non-trespass treaty(value=30x)+our knowledge of trade(value=50x) in exchange for your Maps(value=10x),300 gold(value=??x),your knowledge of Iron working(value=70x), and a non-aggresion pact(value=50x)"
the x value could be gold i guess or something hidden? but the AI would need this to get an idea of the deal you want to work out with it, and wether or not it was a reasonable thing to ask for.
So for CTP2 i would guess this would be a whole new addition to the way it does its diplomacy ?
'The very basis of the liberal idea – the belief of individual freedom is what causes the chaos' - William Kristol, son of the founder of neo-conservitivism, talking about neo-con ideology and its agenda for you.info here. prove me wrong.
Bush's Republican=Neo-con for all intent and purpose. be afraid.

Yes, it would be a new system, but Civ 3, generally, seems to handle it pretty well, except for maybe a few ridicilous deals it accepts. The AI's value system is OK - Soren did a great job there.
After all, it should be obvious that the "anything for anything" approach is much more fun for the end player.
On an unrelated notice. I believe there should be no "no trespass treaty" - rather, trespassing shouldn't be allowed, unless a Right of Passage agreement is signed. One of the things I like about Civ 3 - AI gets angry if you wander in its land.
Solver, WePlayCiv Co-Administrator
Contact: solver-at-weplayciv-dot-com
I can kill you whenever I please... but not today. - The Cigarette Smoking Man

child of Thor
problem is that your idea is bad I say
I give you advanced infantry(+80 ) + gold500(+10) etc(99) etc()
For all you cities![]()
"Every time I learn something new it pushes some old stuff out of my brain" Homer Jay Simpson
The BIG MC making ctp2 a much unsafer place.
Visit the big mc’s website

And the interface is the topic of this thread in the first place.Originally posted by Solver
The flaws in Civ 3 were those related to gameplay. The interface is what I'm mentioning as (near) perfect.
Yes and I think this is also the intention behind the CTP2 system. But is missing is a value system, of course you have the regard system, but there is no cost function for the single offers, requests and treaties. For instance if Civ A gives to Civ B gives a city than this treaty should have a high prize for Civ A of course for Civ B it is a very high gain. So if the Ai gives that city it needs something in return maybe a better located city. Well this has to be worked out more.Originally posted by Solver
After all, it should be obvious that the "anything for anything" approach is much more fun for the end player.
In the default game the first diplomatic proposal you get from an AI civ is a no trespass request. Is needed because before contact is made you have no idea where there teritory is needed, but it needs a fixed length and if there are needs again and again for such requests than the AI should get mad. But by default I think the AI gets mad if you are trespassing, espeacilly with treaty but it is not very obvious. So such a right of passage should be granted. Maybe a right for seapassage only should be cheaper than the same treaty for right of land passage.Originally posted by Solver
On an unrelated notice. I believe there should be no "no trespass treaty" - rather, trespassing shouldn't be allowed, unless a Right of Passage agreement is signed. One of the things I like about Civ 3 - AI gets angry if you wander in its land.
And another remark about diplomacy itsself but more interface related. In the current model we have three types of proposals treaties, offers and requests. Of course a civ can offer a treaty or can demand it, but in the end it appears on both sides of the leader image. We can put the offers and demands on differnt sides but then why the difference between request give map and offer give map, we need just one of these proposals, and who gives whom should be clear from the screen side.
And here something from the Apolyton Directory so that we all know how the screen looks in Civ3:
-Martin
Civ2 military advisor: "No complaints, Sir!"

this section is fuzzy
for example a packed to reduce nukes to lets say 100 a civ is beneficial to a civ with 10 to your 1000. but on the over hand it could easily be reversed![]()
"Every time I learn something new it pushes some old stuff out of my brain" Homer Jay Simpson
The BIG MC making ctp2 a much unsafer place.
Visit the big mc’s website

Yes and no. The CTP2 AI does employ a system sort of like you describe above. Here's part of the printout from a debug log with some comments added:"i will give you a non-trespass treaty(value=30x)+our knowledge of trade(value=50x) in exchange for your Maps(value=10x),300 gold(value=??x),your knowledge of Iron working(value=70x), and a non-aggresion pact(value=50x)"
the x value could be gold i guess or something hidden? but the AI would need this to get an idea of the deal you want to work out with it, and wether or not it was a reasonable thing to ask for.
So for CTP2 i would guess this would be a whole new addition to the way it does its diplomacy ?
You can see what factors it takes into account: science, gold, production and regard. But this isn't done uniformly: the way it takes them into account depends on the Proposal and many other things. Even though I (player 1) was offering player 4 a good deal, they rejected it (I think) because they didn't like me.Diplomat.cpp@3349: Player 1 sets New Proposal for player 4: first = REQUEST_GIVE_ADVANCE .
Diplomat.cpp@3351: second = OFFER_GIVE_ADVANCE.
Diplomat.cpp@2502: Player 1 set Response: INVALID for player 4.//initialize
Diplomat.cpp@2502: Player 4 set Response: INVALID for player 1.
Diplomat.cpp@690 : Player 4 has initiative.
Diplomat.cpp@3374: Player 1 executes New Proposal for player 4: first = REQUEST_GIVE_ADVANCE .
Diplomat.cpp@3376: second = OFFER_GIVE_ADVANCE.
Diplomat.cpp@2418: Player 4 considers Response: REJECT for player 1.
// first check if we want to swap
ProposalRespons@549 : Executing AdvanceExchange_ProposalResponseEvent: C:\Activision\Ctp2\ctp2_code\ai\diplomacy\Proposal ResponseEvent.cpp@517
// a whole bunch of stuff that you can't see has happened at this point
ProposalAnalysi@88 : Evaluated NEW PROPOSAL [sender = 1, receiver = 4]
ProposalAnalysi@89 : first = REQUEST_GIVE_ADVANCE
ProposalAnalysi@90 : second = OFFER_GIVE_ADVANCE
ProposalAnalysi@95 :
ProposalAnalysi@96 : Sender Result:
ProposalAnalysi@97 : science = -6563
ProposalAnalysi@98 : gold = 0
ProposalAnalysi@99 : production = 0
ProposalAnalysi@100 : regard = 45
ProposalAnalysi@101 :
ProposalAnalysi@102 : Receiver Result:
ProposalAnalysi@103 : science = 6563
ProposalAnalysi@104 : gold = 0
ProposalAnalysi@105 : production = 0
ProposalAnalysi@106 : regard = 96
// next check if we want to sell it
ProposalRespons@370 : Executing PayForAdvance_ProposalResponseEvent: C:\Activision\Ctp2\ctp2_code\ai\diplomacy\Proposal ResponseEvent.cpp@338
// more unseen stuff
ProposalAnalysi@88 : Evaluated NEW PROPOSAL [sender = 1, receiver = 4]
ProposalAnalysi@89 : first = REQUEST_GIVE_ADVANCE
ProposalAnalysi@90 : second = OFFER_GIVE_ADVANCE
ProposalAnalysi@95 :
ProposalAnalysi@96 : Sender Result:
ProposalAnalysi@97 : science = -6563
ProposalAnalysi@98 : gold = 0
ProposalAnalysi@99 : production = 0
ProposalAnalysi@100 : regard = 45
ProposalAnalysi@101 :
ProposalAnalysi@102 : Receiver Result:
ProposalAnalysi@103 : science = 6563
ProposalAnalysi@104 : gold = 0
ProposalAnalysi@105 : production = 0
ProposalAnalysi@106 : regard = 96
Diplomat.cpp@2418: Player 4 considers Response: REJECT for player 1.
Diplomat.cpp@2418: Player 4 considers Response: ACCEPT for player 1.
Diplomat.cpp@693 : Player 1 has initiative.
Diplomat.cpp@2418: Player 1 considers Response: REJECT for player 4.
Diplomat.cpp@2418: Player 1 considers Response: REJECT for player 4.
Diplomat.cpp@2502: Player 1 set Response: REJECT for player 4.
Diplomat.cpp@2602:
Diplomat.cpp@2604: >>> Agreement REJECTED by player 1. //'by player 2 for player 1' would read better

the big mc nodes is head not understanding a word of the code
I had to threaten an ai to take hold of a tech ones it was funny they were in the renascence age to my diamond![]()
"Every time I learn something new it pushes some old stuff out of my brain" Homer Jay Simpson
The BIG MC making ctp2 a much unsafer place.
Visit the big mc’s website

Just for the record - the actual Civ 3 interface is a bit cleaner, Martin's shot comes from the beta.
Of course, the code posted above would have to be changed quite a bit...
Solver, WePlayCiv Co-Administrator
Contact: solver-at-weplayciv-dot-com
I can kill you whenever I please... but not today. - The Cigarette Smoking Man

But only a little bit cleaner, well at least if I compare it with a conquest screenshot from the directory. They changed the font size and modified the diplomatic advisor window a little bit. But actual the idea is not a one to one copy, I thought rather of a window than of multiple windows. Of course we can also do it like they did , but it is easier to use ctp2 standart list box for the left and right options, because these list box already exists and it would also be coherent with the rest of the interface. Of course we can also replace the entire UI art, but that is another topic. And no source code modification is necessary to do this.Originally posted by Solver
Just for the record - the actual Civ 3 interface is a bit cleaner, Martin's shot comes from the beta.
-Martin
Civ2 military advisor: "No complaints, Sir!"

Well, the CtP2 listboxes are nice. But to allow for anything-for-anything trades, we would have to modify the source... a simple design (as in layout) change isn't worth it, IMO.
Solver, WePlayCiv Co-Administrator
Contact: solver-at-weplayciv-dot-com
I can kill you whenever I please... but not today. - The Cigarette Smoking Man

The source needs to be modified in any case, I can write another list box into the *.ldl files but without a source change it wouldn't appear, and then we need to put something into it, also a source change needed. And finally we need the new diplomacy modell in it.Originally posted by Solver
Well, the CtP2 listboxes are nice. But to allow for anything-for-anything trades, we would have to modify the source... a simple design (as in layout) change isn't worth it, IMO.
-Martin
Civ2 military advisor: "No complaints, Sir!"

Right. While the system itself can be implemented with relatively few source changes (and ready for us with humans), there would be some heavy AI changes required.
Solver, WePlayCiv Co-Administrator
Contact: solver-at-weplayciv-dot-com
I can kill you whenever I please... but not today. - The Cigarette Smoking Man

The problem is that some heavy source changes are needed anyway to make work even the default system.
-Martin
Civ2 military advisor: "No complaints, Sir!"

Looking at the list you pasted - i would ask why is palyer 1's(your) science at -6563, whereas player4 is at +6563? maybe this is the reason for the rejection, and if it is what would cause such a large difference between your science levels? the fact that the values are the same(except one negative and one positive), seems a little odd too dont you think? Or is it just like this in computer land?Originally posted by Peter Triggs
Yes and no. The CTP2 AI does employ a system sort of like you describe above. Here's part of the printout from a debug log with some comments added:
You can see what factors it takes into account: science, gold, production and regard. But this isn't done uniformly: the way it takes them into account depends on the Proposal and many other things. Even though I (player 1) was offering player 4 a good deal, they rejected it (I think) because they didn't like me.
'The very basis of the liberal idea – the belief of individual freedom is what causes the chaos' - William Kristol, son of the founder of neo-conservitivism, talking about neo-con ideology and its agenda for you.info here. prove me wrong.
Bush's Republican=Neo-con for all intent and purpose. be afraid.

The science result is based on the relative costs of the two proposals: I requested Communism (13756) and offered Mass Media (20319). So the sender's net science gain was -6563 and the receiver's was +6563. But the first thing it does after it does this analysis is to check the receiver's regard towards the sender. If it's less than NEUTRAL (500 out of a 1000), it rejects by default.
Martin's right, BTW, we're going to have to supplement both the way that proposals are generated from motivations and the AI's response logic if we want a more robust system. But I think this is going to need some careful thought: I've always thought that there's a serious clash when you allow both a conquest victory and a diplomatic victory. In order to allow for the possibility of the latter, you've got to have an AI that will allow it's players to make friends with the human player. If it does this too easily, the human player can exploit it when he's going after a conquest victory.
I've actually never played for a diplomatic victory. Has anybody? How hard is it? And finally, has anybody tried a diplomatic victory in multiplayer.

Diplomatic victories are the easiest and quickest victory in single player, its just a case of threatening the AI into allying when you have a much better military.
I never got a Diplomacy victory in MP but thats because we exclude Diplomats so in 2v2 games you cant exchange techs and we reach War Walkers in 200 turns.
Call to Power 2: Apolyton Edition - download the latest version (12th June 2011)
CtP2 AE Wiki & Modding Reference
One way to compile the CtP2 Source Code.

It is a difficuilt question if you should reject such an offer by default if you don't like them, it would be a good change to improve the relations and the question is if this deal could be advantious in some way.Originally posted by Peter Triggs
The science result is based on the relative costs of the two proposals: I requested Communism (13756) and offered Mass Media (20319). So the sender's net science gain was -6563 and the receiver's was +6563. But the first thing it does after it does this analysis is to check the receiver's regard towards the sender. If it's less than NEUTRAL (500 out of a 1000), it rejects by default.
But I think we need more flexible treaties to compensate the price diffrence like:
OK I give you this advance in return for that advance and I give you something else to compensate the costs.
-Martin
Civ2 military advisor: "No complaints, Sir!"

Yes so in some ways the Civ3 way of doing it is much better at sorting out a compromise exchange than the one we have in CTP2 - we can do quite a bit, its just that it seems more often than not even a very generous offer from yourself is rejected by the AI, well it s seems like it.........i dont want AI 'yes men', but something that actually makes you think, ' Yes in that circumstance it was a good trade/exchange - i would have agreed to it myself' . If we can get close to that then its greatOriginally posted by Martin Gühmann
It is a difficuilt question if you should reject such an offer by default if you don't like them, it would be a good change to improve the relations and the question is if this deal could be advantious in some way.
But I think we need more flexible treaties to compensate the price diffrence like:
OK I give you this advance in return for that advance and I give you something else to compensate the costs.
-Martin![]()
'The very basis of the liberal idea – the belief of individual freedom is what causes the chaos' - William Kristol, son of the founder of neo-conservitivism, talking about neo-con ideology and its agenda for you.info here. prove me wrong.
Bush's Republican=Neo-con for all intent and purpose. be afraid.

I see am interface limit problem, I would like to have parchments on that the selected offers and the requests are put. In that setup the space is limited, if we put the selected stuff into list boxes, we could make deals with a lot of stuff in it, but I feel the list boxes are a little bit deplaced at that place under the leader picture. However we could put the parchment onto the background of these listboxes.
-Martin
Civ2 military advisor: "No complaints, Sir!"

That could be fixed by an exponential value of cities. AI should take in consideration "no of cities asked/no total of cities" and "population of cities asked/total population".Originally posted by The Big Mc
problem is that your idea is bad I say
I give you advanced infantry(+80 ) + gold500(+10) etc(99) etc()
For all you cities![]()
So, if you are asking for a small city, the AI could accept to give it to you for a good price. If you are asking for 2 cities that hold half of AI's population, it will agree only if you move them from Ancient Age to Diamond Age.
The same can be done with regard - using a parameter.
"Respect the gods, but have as little to do with them as possible." - Confucius
"Give nothing to gods and expect nothing from them." - my motto

had a few second and thought I'd throw this together..its alittle civ3-ish i know
![]()

That looks good E hope thats going to be in the next playtest

sorry, not coded yet, this is just a cut 'n paste to see if we should invest time in doing HMI touch ups (I'll probably look into the code on it but I've taken on a lot of projects lately)
Bookmarks