Apolyton Archive  |  Preserved copy of the Apolyton Civilization Site and its forums as they stood in September 2005. Read-only; nothing here can be posted to or replied to.  |  Forum index |  About this archive |  The 1998–2001 UBB forums
Today on Apolyton WARDELL INTERVIEW PROMO A.C.S. HISTORY CHAPTER 4 GET CIV4 /w FREE PLUS! A.C.S. PHOTO GALLERY GET A.O.M. V1.1
Apolyton Civilization Forums
main| civ2| civ3| civ4| smac| ctp2| ron| moo3| galciv| galciv2| alt| about|
ApolytonPLUS | register | search | faq | new posts | pm (-/-) | upload | members
hall of fame new! | civgroups | civgroups news | interviews | the column | radio | chat | directory | news | store | PLUS
Apolyton Civilization Forums : Powered by vBulletin version 2.0.3 Apolyton Civilization Forums > Alternative Civs > Clash of Civilizations > Diplomacy Model v1.1
Show a Printable Version | Email This Page to Someone! | Receive updates to this thread | Report this to Apolyton news!
04.Sep: `FC` 2.0.5 COMPLETED AND RELEASED
27.Jul: `FC` 2.0.4 COMPLETED AND RELEASED
16.Jul: `FC` 2.0.3 COMPLETED AND RELEASED

bottom of page
  
Author
Thread   
Pages (3): [ 1   2   3   ]
< Last Thread     Next Thread > Post New Thread     Post A Reply
Paul Crocker is offline Paul Crocker
Warlord
Slidell, LA, USA
Jul 1999
time: 05:13
Talking  Old Post 21-12-1999 19:44
Edit/Delete Message Reply w/Quote
#61 Report this post to a moderator
Increase Your PM Length

LGJ: That sound like a pretty reasonable way to handle it. I knew that it wouldn't be tough, I just felt that we needed a more sophisticated model than one where Civ's merely "forgot" past transgressions, regardless of differing ideologies. We could also set it up where certain government types are often at a higher level of distrust than others. For example, communism and democracy/capitolism. Certain religions are hostile to each other as well. This should all have an effect on the diplomacy between states.

roquijad is offline roquijad
Prince
Santiago
Nov 1999
time: 05:13
Post  Old Post 22-12-1999 04:17
Edit/Delete Message Reply w/Quote
#62 Report this post to a moderator
Full PM-box? Change here!

Since you reached some agreement on your thread and since you're considering an "ideology" concept within diplomacy, I'd like to say that I'm preparing a proposal to include "ideologies" in the govt. model; something it lacks of right now.
I reached the idea of ideologies through a different perspective than you have, but now I'm glad it could also be needed in the diplo model.
I'll let you now about my ideology proposal when it's finished and mark has reviewed it.

Anyway, IMO more discussion is needed concerning interactions between models. I don't know if I'm rushing things or it's time already to open a new thread on the subject. What do you think?

Rodrigo

Mark_Everson is offline Mark_Everson
Clash of Civilizations Project Lead
Canton, MI
Jan 1970
time: 00:13
Post  Old Post 22-12-1999 06:42 Visit Mark_Everson's homepage!
Edit/Delete Message Reply w/Quote
#63 Report this post to a moderator
Support Apolyton, buy Galactic Civilizations

Rodrigo:

Agree we need to talk more about connections between models. There are lots of them I have in my head, but they haven't made it into the documentation in a coherent way. Go for it!

alms66 is offline alms66
Prince
Louisiana
Oct 1999
time: 23:13
Post  Old Post 23-12-1999 01:29
Edit/Delete Message Reply w/Quote
#64 Report this post to a moderator
Increase the size of your Attachments

This is just an idea that I was thinking about, Will you be able to negotiate with the "barbarian" cultures? I think it would be really interesting to make them more than just someone to beat up. If you could negotiate with them they would be more like semi-civs, which to me is better. Another question is, can they learn? Will they be able to gain technology (somehow) or just stay static. To me the former is much better.

Mark_Everson is offline Mark_Everson
Clash of Civilizations Project Lead
Canton, MI
Jan 1970
time: 00:13
Thumbs up  Old Post 23-12-1999 08:23 Visit Mark_Everson's homepage!
Edit/Delete Message Reply w/Quote
#65 Report this post to a moderator
Support Apolyton, buy Galactic Civilizations

We've already got the skeleton for negotiating with barbarians cultures in the code! It's definitely something we want to do. However, because of their de-centralized nature, you won't be able to negotiate with them in exactly the same way as you do with civs. But with the correct application of lubricating factors like threats, money, and the other usual factors, you can try and get a culture to behave in a way that you would like it to. It will be difficult to be at peace with all members of a culture, since each square basically stands on its own. So, even if you are nominally "at peace" with them, you might get an occasional raid or hostile action from them, simulating that not every single square is going to behave the same way. Your diplomatic state will basically represent the average diplomatic state with a collection of tribes/small states.

Basically, we are going to make the "cultures" as close to civs as we possibly can within the constraints of how much time we can devote to them in terms of AI etc.. Barbarians cultures will also be able to "go civ" if they have sufficient cohesion, and are presented with a large enough outside threat. The plan is that they can learn also. They will absorb technology by diffusion as well as any civ. Mostly, what they'll lack in the technology area is a strong central guiding force that can direct the technology.

Lord God Jinnai is offline Lord God Jinnai
Prince
St. Louis
Sep 1999
time: 23:13
Post  Old Post 23-12-1999 09:43 Visit Lord God Jinnai's homepage!
Edit/Delete Message Reply w/Quote
#66 Report this post to a moderator
Lose 30 kilos (of popups)

This brings up another point i wanted to make and that is that not every square should have a civ/culture to begin with since in ancient times there was much distance between places. Basically all one would need to do to take over this square is send a unit there to occupy it for a turn. This doesn't mean that there aren't any people there, just no type of gov of any real power.

Mark_Everson is offline Mark_Everson
Clash of Civilizations Project Lead
Canton, MI
Jan 1970
time: 00:13
Post  Old Post 24-12-1999 05:01 Visit Mark_Everson's homepage!
Edit/Delete Message Reply w/Quote
#67 Report this post to a moderator
Avatar Enlargement: We've got the solution

LGJ:

Well, I think whether barbarian cultures are already present in area before the civilizations get there is somewhat dependent on where you are on the map, and what the time period is. I guess it really depends on what you mean by "ancient times". Anyway, we can figure that out at a later date. I already have a provision for squares not having any people in them which we could easily use for your suggested alternative.

[This message has been edited by Mark_Everson (edited December 24, 1999).]

Darren_McGuicken is offline Darren_McGuicken
Settler

Dec 1999
time: 05:13
Post  Old Post 27-12-1999 19:36
Edit/Delete Message Reply w/Quote
#68 Report this post to a moderator
Increase Your PM Length

Diplomacy UI

One fairly major part of the Clash diplomacy model not yet implemented is any kind of Player Interface. I need your help with this.

I've knocked up some possibilities here. These are really bad (for my preference see point 3 below). Comments? One proviso: you can't tell me they're crap without saying why

Some quick thoughts...

1) Do we want the blood 'n guts of any dip inferface to be 'Us v. Them'?

2) A biggie - the Governor: if we want to give players the option to avoid diplomacy in any depth, is a 'city governor'-type interface the way to go? They were my first thought as they've been pretty much tried and tested... unfortunately ususally with mixed results. I was relying on the fact that dodgy governors extend from a dodgy AI, and as our AI will be a bit special...

3) The other biggie: General layout/screens available - what do players want access to and how? What options do you want available? And how do we make it 'nice' for you to use? Civ:CTP had a woefully poor diplomacy UI IMO, as it felt so shallow - I preferred the SMAC approach, with more options, all accessed via 'conversation'. Left to my own devices I'd eventually head down that road myself, it just feels nicer. Maybe this is too clumsy/inefficient? Are the majority in favour of a more slim-lined approach? Any suggested alternatives?

4) Maybe a more minor point - as the mockup-ups should show, I'm imagining a diplomacy interface with no numbers whatsoever, so if your Trustworthiness drops to 20 on a 100-point scale (or indeed 2 on a ten-point scale, 1 on a scale of four, however we decide to implement it...), you don't see the rating as 20%, but as titles like 'Untrustworthy' or 'Despicable b*stard'. Again, does this seem like the way to go? If so, I'd welcome suggestions for more titles. Maybe even make them age/civ dependant eventually?

And a related issue:

The Reputation Set

What comes under the umbrella of a Civ's reputation? Glak's concerns are valid - what will influence each variable, why, and how?

A 'for-instance'-

A basic value 'Reputation' dependant on 4 variables:

[you might need to resize your browser window to see this table correctly]


VARIABLE WHAT DOES IT MEAN? HOW IS IT DECIDED?
Trustworthiness Can we sign a treaty with Have we had pacts with them
this Civ and expect them to before? Have we heard of
keep their word? them breaking alliances/treaties
with other Civs? Why?

Aggression How quickly are they Have they attacked any Civs/Us
prepared to start a War? before? How often? Why?
Maybe: are they prepared
to see it through? Re:
offensive aliances etc.

Competence Have they mis-managed their What uprisings/revolts/
own Civ? Lost any battles general unhappiness is there
they've ever fought? Do in the Civ? What ratio of
we really want these guys battle wins:losses? Why?
in our alliance?

Tyranny Not completely thought out: How often military might is
how have they dealt with used to suppress the proles?
social crises in their Civ? Why?


You might have noticed the repeated 'why' there - I think it's pretty important to keep an eye on the context of these things. Again, comments?

Mark: Comments on Diplomacy AI to follow...

Mark_Everson is offline Mark_Everson
Clash of Civilizations Project Lead
Canton, MI
Jan 1970
time: 00:13
Post  Old Post 27-12-1999 21:18 Visit Mark_Everson's homepage!
Edit/Delete Message Reply w/Quote
#69 Report this post to a moderator
Support Apolyton, buy Galactic Civilizations: Deluxe Edition

Darren:

I don't have time to take a stab at every question right at the moment, but I will try to give you my take on some of the more important things you are discussing. I'll take on the overall interface first.

I think the general interface philosophy that were heading toward, is to allow the player to put together the interface they would like out of a variety of functional pieces. We have to discuss this further, to see whether this overall goal is achievable. But its flexibility is very attractive. So, for instance, if the player always wants a small color-coded map of all the civs and cultures they have diplomatic relations with in their main diplomacy interface, they should be able to have it. Additionally, as a positioning thing, an amateur product has little hope of matching the attractiveness of a contemporary game interface, but IMO making the interface more Functional than those is easily achievable. So, I think the goal to strive for is to build up the interface out of a bunch of little functional pieces that can then be assembled in any way by the player. There will Of Course be a default version of every interface. If anyone would like to enter the discussion on this very general topic, go to the Overall Clash Interface Design thread. Darren, you already no doubt know about it, since you started the thread!

To my mind, there's no question that we need a hierarchical interface. The "top of the pyramid" should IMO, give an overview of the diplomatic state of this civ with respect to every significant rival, and also an overview of any major diplomatic initiatives that the AI governor has been tasked with. According to current plan, the governor will even have a face associated with him or her that should fit in there somewhere. At least that's what I want in my top-level interface. From that we can take away several pieces that should be available for the interface.

The first would be an area to show something like the overall diplomatic stance and relationship with each of the 10 largest civs we deal with. Ideally this would show the current diplomatic level, everyone's relative military and economic power, the recent direction in which the relationship is heading, and have an indicator to show whether the AI governor is tasked with a specific initiative with regard to that civ.

The second important piece of the overall interface would show the governor character for the diplomacy AI, the top few things they are pursuing, and perhaps a short statement from the character on something the AI feels strongly about. I think the stuff that you included in your governor box is generally reasonable. However, I think statements like "maximize land" are to be avoided. Instead, for each set of mutually exclusive things there should be the equivalent of a set of sliders ranking how important they are to the player. That's because things like "maximize land" are always subject to constraints like "maximize the land I can militarily defend" or "maximize land of strategic importance" etc. it is a sign of the other games extremely poor AI and design that they can simply say "maximize x" without any caveats.

The third, and probably least required, would be some sort of map widget that shows either the countries in their civ's color, or can be colored to show alliance blocks and such.

I personally think things like "us vs. them" is too limiting for the high-level interface of a game with the broad scope of Clash. IMO the us vs. them box (which we Do need) should be accessible by clicking on a particular civ in the high-level interface that shows overall diplomatic stance with each of the top 10 civs we want to deal with.

I don't want to imply that I think my suggestions are necessarily the Right way to go. But I do feel strongly that the customizable interface built out of GUI widgets Is the way to go. If that's the case and others agree, then all we need to do is have a widget available to allow the player to do anything that We end up doing in playing. And all, or at least most, of the widgets need to be resizable. I think that given the game will take many hours to play, people will want the flexibility to be able to arrange an interface that suits their style of play and tastes. I agree with you that the conversational interface like civ is probably the way to go for most people. If we can also give experienced players shortcuts to avoid the chatter, then they will have the best of both worlds. But I think starting with a pure conversational interface is the way to go. We can worry about the details of the shortcuts later.

We are all new at this, and I think the only thing we can be sure of is that we are going to make Big mistakes along the line. That's all the more reason to keep things flexible, so that if one particular bit doesn't work, we can just scrap that and move on with a better solution.

The above applies both to the interface, and also to the questions you are asking about the reputation model. Your initial ideas look reasonable to me! But who is to know for sure what we're going to need to get the "flavor" correct. For that reason, I think you just need to make the Reputation class flexible, knowing that it is going to have an unknown number of subelements. I like your idea of Competence, I hadn't thought of something like that, but it is Extremely important when selecting an ally! I think the preliminary sketch of tyranny is better handled through the ideology and-on to the government model at this point. Additionally, yourfirst three components of Reputation would be fairly easy to implement in Clash as it stands now, so those three are the ones I'd go with for the first version.

Hope this has been of help! Just keep us posted on what else you need, always happy to critique suggestions ;-)

Lord God Jinnai is offline Lord God Jinnai
Prince
St. Louis
Sep 1999
time: 23:13
Post  Old Post 28-12-1999 10:34 Visit Lord God Jinnai's homepage!
Edit/Delete Message Reply w/Quote
#70 Report this post to a moderator
Put an end to popups!

Don't have time to reply much but there were 3 areas i know i wanted to. Both of these have to do with reputation:

Agression: Things that should also factor into deciding agression level is whether or not they've demanded tributes, military build ups, perhaps over expansive land policy (not ness going to war)

Competence: Battle aspect should also include by how much...ie overwhelming victories or just barely victorious and if they won wars despite loosing many battles (ie remember Hanable in Second Carthaginian War with Rome? He won many battles but ultimatly lost the war)

Tyranny: Should also keep in mind the time period aspect. When putting down revolts from peesant uprisings or slave uprisings it may be seen as a good thing (ie competence) rather than bad.

Darren_McGuicken is offline Darren_McGuicken
Settler

Dec 1999
time: 05:13
Post  Old Post 27-12-1999 23:06
Edit/Delete Message Reply w/Quote
#71 Report this post to a moderator
Support Apolyton

Mark: excellent feedback, thanks!

Re: 'give an overview of the diplomatic state of this civ with respect to every significant rival ... this would show ... everyone's relative military and economic power'.

In what way would this information be presented? Power-graph style? I know I've read stuff on this before, sorry...

re: 'direction of relationship'. You mentioned the history side of Clash a few messages back (up there! See it?), promising to let us know your thoughts... might be a nice time to make them public? I want Civs to be bloody-minded and hold grudges!

Re: Reputation & Flexibility - couldn't agree more. At this stage I was just going to dump a pool of methods into the Rep. class dealing with each variable, but which only returns a single float for Reputation.

ie. Reputation.class would set the numbers for Aggression/Trust etc., but the AI just calls Diplomacy.getReputation() or even Diplomacy.getReputation(Civ myciv, Civ otherCiv), which pull a single figure from the Civ's Diplomacy object, say an average of however many variables there are. It'd let us remove variables as we grew sick of them, or add new ones with no hassle.

eg. MyCiv has Aggression 20, Trust 50, Competence 80 as far as neighbour OtherCiv is concerned. Diplomacy.getReputation(myCiv, otherCiv) returns 50. It's amazingly crude - if we had some kind of AI value-weighting, we could overload it to add functionality:

It should be possible to call getReputation(Civ myciv, Civ otherCiv, String reputationElement, int level)

eg. Say OtherCiv was biased against militant Civs, Diplomacy.getReputation(myCiv, otherCiv, AGGRESSION, 20) could be called to negatively weight the Reputation in some way... the Diplomacy object looks at Reputation.getAggression(myciv, otherCiv) and if it exceeds the specified level, it subtracts Aggression from the total rather than adds it... or use getDiplomacy(Civ myciv, Civ otherCiv, String reputationElement, int modifier) to multiply/divide the Aggression element by modifier.

LGJ: I was just thinking of a raw ourCasualties:theirCasualties ratio for use in Competence. Maybe I should modify that in some ways... according to the size of the Civ or size of the army, maybe? Make losing more advanced units more costly to Competence? Also, there would be civilian casualties to take into account too, now that I think about it, rather than plain no. of units lost.

Maybe Competence should be split up to deal with diplomatic victories in some way... achieving your aims/'winning' a war despite heavy losses.

Mark_Everson is offline Mark_Everson
Clash of Civilizations Project Lead
Canton, MI
Jan 1970
time: 00:13
Lightbulb  Old Post 28-12-1999 03:41 Visit Mark_Everson's homepage!
Edit/Delete Message Reply w/Quote
#72 Report this post to a moderator
Support Apolyton, buy Civilization 2

On showing the relative power and economic strength of the civs:

Well, I'm thinking of something fairly simple. Using icons of different size. Let's use the ancient world as an example. Let's say that the icon for military strength is a culture-appropriate unit of the period, say a legion. And economic strength is represented by a hammer and anvil. So each civ would have a legion-type icon, and one for the economy. My thought at this point is similar to what I used in the power rings for the military power of task forces. Specifically the icon's area would indicate the relative power of the civ. So a civ with four times as strong an army as mine will show an icon twice as high, since then it's area will be 4x as big. Since in power politics it is the Relative strength of a civ that is important, rather than the absolute strength, we simply need for the icons to be scaled properly in size with respect to each other. So we just define the civ with the biggest military power that the player knows about as being a full-size icon, and the others are scaled to the right proportion. The reason that I like to use the area instead of the length, is that you can show a difference in power of up to about 10x with icons that only differ in size by about a factor of three. A factor of three is about all we can afford for a relatively small icon, for it still to be recognizable at the smallest size. Additionally anything that is a factor of 10 smaller than us is generally of very little concern. Anyway, that's the best notion I have at the moment about how we should show things iconographically in Clash. I think whatever way we choose, it should be consistent across the many interfaces in the game. Also I think that linear scaling simply won't work because of the large range of parameters the player is going to run into.

History, the Direction of Diplomatic Relationships, etc.

Well, this is somewhat of a tough subject. Curse you for noticing that I had promised to come through with something on it above . There are really two distinct subjects here. First I'll talk about the general way I envision historical information being stored in Clash. Then I'll talk about how we might use that information in the diplomatic model.

I'd simply like to save whatever significant information we can get away with storing in a coherent manner. People like to be able to go back to descriptions of key battles, who won which war, who was the first to discover electricity, etc. I'd like to give the player as much of this as we possibly can. A lot of the information can be saved in a relatively compact form, and only converted back into text when needed. For instance, I envision we will have maybe 30 or 40 sentences that can describe the sorts of things that happen at a strategic level in a war, and what resulted in final victory. If you have three or four sentences for each type of act, such as the treaty being signed, then no five-sentence description of two wars will ever be the same (actually, about 1 in 1000 will, but who will notice). At the end of each war we will give the player this description, and save it in compact form for future reference. This will be great for replay! Unfortunately we don't want to have to calculate what has happened in the whole of history for every diplomatic decision . That's where the next paragraph comes in.

First we need a scale to establish how much a diplomatic or military action affects the reputation. For right now I'll just deal with the trustworthiness aspect. The first thing we need is a " trustworthiness scale". For purposes of demonstration I'll assume a scale where a level of 100 represents complete trustworthiness (at least as far as we know so far) and zero represents a pretty much completely untrustworthy civ. Our trustworthiness number should be some sort of weighted average of actions that have happened in the past. I say weighted, because eventually, given a long enough period of peaceful coexistence, past sins will be forgiven. So on any turn that one behaves in a perfectly trustworthy fashion your "instantaneous" trustworthiness is 100 (this will be true for most turns, since there's only so many shafts there are opportunities for). Now, I don't want to lay out the whole scale here so I'll just pick one sort of diplomatic action. How about a complete and utter shaft of a nominal ally? How many points should this be? For the moment I'll use the following logic: another civ, if it's your ally, if it were to shaft you on average once every ten turns, would be a Worthless ally. It should be approximately a zero on the treachery scale (completely treacherous). So in this simple way we can describe the complete shaft of an ally to earn the perpetrator about -900 points (so on average they are near zero). Using this crudely defined scale, now I can introduce how I want to handle the treachery of a civ over time, depending upon their particular diplomatic actions.

I was thinking of using a straightforward technique called the exponentially-weighted moving average (EWMA) to simply handle the way that civilizations and cultures might eventually discount events in the past. The idea is relatively simple. When computing a new value for the EWMA, say due to a significant diplomatic action, you just take a certain percent (X) of the old value, and percentage (100 - X) of the new information, and combine them. Depending on the value you pick for X, this method "forgets" past information either faster or slower. But the Really important bit about EWMA, is that you don't need to keep track of All the past information, all you need is what the value was on the previous turn, and what is new on this turn, to figure the new value. So although we will have all this glorious history, that the player can potentially tap, we only need to do one calculation to update the trustworthiness each turn.

Now for a rigged demo! So let's say I'm a foolish trusting civ that is in alliance with Otto the Treacherous. And let's say the percentage of the old value that we're using is X = 90% (so the current turn's information gets a 10% weight). If Otto starts out with a perfect reputation of 100, what happens on a turn when Otto behaves honorably? The new value for Otto's trustworthiness is 90% of the old value, plus 10% of the value at this instant. In the case were Otto is behaving honorably, the EWMA maintains Otto's trustworthiness at 100. Now what happens on the turn that Otto shafts me? Otto's new trustworthiness = 90% x 100 + 10% x (-900) = 0. So the property of the EWMA that we can use here is that it's easy to calculate changes in the current value that result from new events. You don't have to keep track of all of history, the EWMA does it for you. Depending upon the particular number that you choose for X, the EWMA will forget either faster or slower. Now how does Otto's reputation recovery using EWMA? I'm not going to crank the math, but will just give the answers on each of the turns, starting with the turn of the shaft. I'll assume Otto behaves blamelessly after this particular shaft. Otto rebuilding his reputation looks like: 0, 10, 19,... well okay I'm too lazy . The big point is that it builds back up slowly. And long before it gets back to 100, Otto will shaft someone again, driving in back into the Stone Age. Also, the choice for X I use here forgets things rather quickly. A different value will probably be used in the game if we adopt this methodology.

Anyway that's My idea for how to handle it. At the start, I propose that each civ would just have a single number for their trustworthiness with Everyone in general. They would get a certain number of points, say 100, for each turn and each civ toward which they behaved honorably. (Probably this would be weighted by the size of the civ) then we'd just have to determine a scale like the one I've sketched out above for each type of shaft, and apply the penalties. Some civilizations would weigh trustworthiness extremely highly, whereas for others it might be a little less important. But we're starting to get into details that are probably beyond the scope of the first shot at it. I can't wait!

Darren_McGuicken is offline Darren_McGuicken
Settler

Dec 1999
time: 05:13
Post  Old Post 28-12-1999 18:40
Edit/Delete Message Reply w/Quote
#73 Report this post to a moderator
Got spare money?

History & reputation crossover: sounds infinitely simpler than what I was imagining, which can only be a good thing! I like EWMA... and it sounds easily implemented across multiple rep components (although, yeah, unique Civ-Civ relationships can wait till it's working!).

If we use EWMA, do we still move towards a multiple-variable reputation? If so, we'd have different components mattering differently for each diplomatic action (aggression might be a good thing in a military ally; trustworthiness might be meaningless in other instances).

Also, say it's the ancient era and moving armies large distances takes some considersble time. I'm planning a military alliance to crush the Mongol hordes raiding my Civ's borders - what goes into my selection of ally? There are going to be factors like: the potential ally's physical location, their military size and tech advancement as well as reputation stuff: say competence (can they actually be of help?) and trustworthiness (would they turn on us and attack our more weakly defended cities while our troops were on the Mongol front?).

How would they all go into the decision making? What importance would reputation bear? Which leads nicely onto...

Diplomacy AI (cf. realpolitik AI on Mark's AI Page)

Um, wow. I know precious little about game AI, but if your ideas work, it sounds it'd make for a much more enjoyable Civ game. I'm no doubt showing my ignorance vividly here, but for me it begs the question... 'how in the hell?!'

Sorry to bring this down to nuts and bolts again, but as far as implementation is concerned - how do you see these things physically interacting? I mean sideways as well as up and down: realpolitik diplomacy with rp military for instance? How do the world models abstract out appropriately so the eg. diplomacy AI gets the necessary info?

Are strategies then based on 10,30,100+ turn predictions? How will the AI actually do these calculations? Where do the numbers come from?

Mark_Everson is offline Mark_Everson
Clash of Civilizations Project Lead
Canton, MI
Jan 1970
time: 00:13
Lightbulb  Old Post 29-12-1999 02:16 Visit Mark_Everson's homepage!
Edit/Delete Message Reply w/Quote
#74 Report this post to a moderator
Avatar Enlargement: We've got the solution

Darren:

On the different elements of reputation, I would keep them separate, and then average them for now. I mean, eventually were going to want to use them separately anyway. So each part of reputation would have its own EWMA-calculated value. And each turn we would just average each of those together in whatever ratio we think is appropriate. Then when we're ready to move on to the next stage, all these values will be available to be used in whatever way the AI and-or player deems to use them. I bet you already know all this

On AI:

Well I Think I can do it all! However, I haven't done any of it yet! (Although to our credit, the map AI concept that I worked out, and was coded by JimC seems to work pretty well!) I don't think I can add much to what I wrote in the other piece on the Web Page that is going to make sense of things in a few sentences. It looks like the time is right to go ahead and finish writing that up though. So, I'll start out by giving you part of it here! Obviously, soon we will need an AI thread so I don't clog up this one with my discussions!

For each calculation level in the Hierarchical AI we need a decent, but fairly simple, model of the world. The models need to be as simple as we can design them, and yet still contain the core of what needs to be known to think sensibly about that area. For example, consider the realpolitik AI. It's not its Job to do tactics. All its going to do is look at the rough size of the forces that each power has its command, their economic strengths, Roughly the arrangement in space of the powers, and the current diplomatic situation. I think this is, to a reasonable extent what I do when I'm considering a similar circumstance. So, where does the data come from? Size of forces comes from whatever my civ's best intelligence on military power of other civs is. For the arrangement in space, I had in mind to use three things: the "center of mass" of each civ's land, its total land area, and something I call the contact index. The contact index indicates essentially the length of a common border if one exists, if no border exists, then how Close are they to touching? So, this is where the information comes from. Now, bear with me as I continue.

For each model area we also need a simple set of rules of thumb, thought up by people who are good in the area. Then, in the simplest version of the AI, the computer would just try each rule that seems appropriate to the given situation against the model, and see how it works out. So in the case of the realpolitik AI, we would have general rules like "the enemy of my enemy is my friend", and that powers that are separated by a single intermediate civ make for good alliance blocks, because they don't have much in terms of conflicting interests, and are likely to have a common enemy. So, for instance, Spain and Germany make good natural allies against France. We must work out a Real set of rules, I'm just coming up with these off the top of my head! Now, the rules of thumb are applied to the situation at hand. So, suppose I'm playing Spain. I suspect the French are thinking of attacking me. My rules tell me that a defensive alliance with Germany is probably the best way to protect myself. The realpolitik AI would make a guess at what it would take to ingratiate us with the Germans. So we now have a plan of action that needs to be tested. (Others will also be tested, but I'm not going to give examples) First, we run this plan through a simple diplomatic-military model. (For instance, assume that a civ won't start a war unless the power of its alliance block is at least 80% as large as the power of the opposing alliance block) If the plan ends up keeping the peace, say by ending up with me being an ally with Germany then no further calculation is necessary. (that is, we assume that the balance of power is sufficient that it is likely to deter the French from any aggression). If no war is predicted, we are done and can go on to test other ideas. If our diplomatic policy fails, and war erupts, Then we run this situation through a Simulated military reality.

What I have in mind for the military simulation that is coupled to the realpolitik AI, is to just treat the armies of each size as "blobs" of military power, with the blobs positioned on one of the fronts that the civ has with a potential enemy, or kept in reserve at home. We are now taking the diplomatic situation as fixed. This Strategic Military AI apportions troops to the fronts as it sees fit, using another set of rules, and then "plays out" the conflict in an abstracted way. For this strategic military AI, one rule might be, that when you have a central position against two enemies, you Must attack one Immediately with most of your force, before they have time to coordinate. In each turn of this simulated strategic conflict, a battle is fought (or not) on each front, including estimates of the average terrain and fortifications level. After the battle, forces are reduced depending on the battle's outcome, and land can change hands. A number of these turns are cranked, and the result is noted. At the end, the result is gauged by what the civ deems to be most important overall. That is, its strength at the end of the war including military economic and potentially other factors. So now we have one particular result of a potential diplomatic policy. For each policy outcome that resulted in war, this would probably be done several times, so that no one strange result would'nt bias the results.

Finally, one input to the strategic military AI that I didn't mention. Since that AI just treats troops at a very aggregate level, and only uses average values for terrain along the front, it will need to be corrected in instances where the simplicity of that AI results in making a Big mistake. For instance, if the terrain right along the frontier is not too bad for attacking, but a few squares in is an incredibly defensible position, our crude model will screw it up. This write-up is already too long, so I will just paraphrase what I think is needed quickly. Every once in a while the Strategic Military AI will call the AI level below it. That AI will be more detailed, and handle strategic troop movements for a single front. If our high-level AI (in this case the Strategic Military AI) produces similar results to the more detailed version, then everything is OK. If the more detailed version results in either significantly more victories or defeats then is expected, it will pass the higher level AI a simple fudge factor. The fudge factor will say "That know those guys, the Big-Noses? When you fight them, you need to have 50% more troops than usual to get the result you expect". Now the fudge factor will be used in all the high-level calculations. It will be rechecked periodically just to make sure something important hasn't changed. So each model will need to have a set of carefully thought out fudge factors that will be tweaked as the game goes forward. I personally don't think this will be that difficult, although I could be wrong.

I Hope that this has enlightened more than confused you! Let me summarize why I think this approach will work. The reason that people typically cite for it being "hopeless" to write AI for 4x games, is because of their Enormous complexity. And they Are complex. As an example, let's suppose that there are 100 different things you can do over the next ten turns in regards to diplomacy, the economy, military actions, and governance. So if you assume you are going to search the whole space of possibilities you need to calculate outcomes for 100 x 100 x 100 x 100 = 100 million possible approaches. What the hierarchical approach allows you to do, is to use good human judgment (in terms of the rules) to prune down each of those factors of 100 to 3, or so. Now that frightening number of calculations has been reduced to something like 100 (3x 3x 3x 3 = 81), which is Clearly Manageable with modern desktop processing power. That is if you don't piss all the processing power away by making your units March around the map and other ridiculous things . Will such an AI be perfect? Of Course Not! It Will Miss A Lot Of Things. But I think it will be Much better than what we have to play against now.

Darren_McGuicken is offline Darren_McGuicken
Settler

Dec 1999
time: 05:13
Post  Old Post 20-01-2000 20:03
Edit/Delete Message Reply w/Quote
#75 Report this post to a moderator
Put an end to popups!

Diplomacy Interface

For those of you who may have missed the Interface debate, I've been trying to get as many suggestions as possible regarding model Interfaces design.

At present I'm putting together a Diplomacy Governor, but I'd also like to hear suggestions for the main Diplomacy screen. What should it contain? Should there be one? Should the Diplomacy interface be split up into sections?

Any suggestions relating to Diplomacy-specific content should go here, any interface-specific points can be raised on the Interface thread.

Thanks!
[This message has been edited by Darren_McGuicken (edited January 20, 2000).]

Mark_Everson is offline Mark_Everson
Clash of Civilizations Project Lead
Canton, MI
Jan 1970
time: 00:13
Talking  Old Post 21-01-2000 10:05 Visit Mark_Everson's homepage!
Edit/Delete Message Reply w/Quote
#76 Report this post to a moderator
Lose 30 kilos (of popups)

Darren:

The interface in general looks good, and LOL on the governor. I think the settings you have in your example are more typical of a whole-Civ control panel rather than diplomatic stuff. If I just misunderstood feel free to ignore me

Henrique Duarte is offline Henrique Duarte
Chieftain
Portugal
Jan 2000
time: 05:13
Post  Old Post 21-01-2000 10:51
Edit/Delete Message Reply w/Quote
#77 Report this post to a moderator
Support Apolyton, buy Civilization 2

Mark

I know it will sound like I am trying to push the war theaters idea (well to be honest I am :-).
I think that the 1st step in evaluating the military situation of the civ in relation to other civs could be made so much easier if you had reasonable "blocks" to deal with. reasonable in military terms.
If for each civ the AI has war theaters established for friendly and enemy territory, the risk opportunity assement can be easely made according to force disposition, terrain factors, strategic gains (in resource/population center/productuin objective) in each war theatre. Note that based on the factors that each war theater is built with, the forces of each war theater are able to support/reinforce friendly neighbouring war theaters as well as invade enemy neighbouring war theaters (because they are all attainable objectives in 1 turn - in theory :-))

Of course added variability will be added with naval and air intervention - but still the risk assesment of a naval invasion is much easier with war theaters.
ex. a TF, militia strength in a war theater is able to rush to the defense of any square within that war theatre and within the time frame considered - 1 turn(it all boils down to how you build war theaters, please read again my post on that)
So the AI can easely asses risk of seaborne invasion according to the garrison forces he has available in that war theatre versus naval capability of the foe to deploy an amphibious operation against that war theatre (remember the sneak attack that is so easy to do in most strategy games :-), well the AI can defend against them and can, as well, decide to do them :-))))

Lord God Jinnai is offline Lord God Jinnai
Prince
St. Louis
Sep 1999
time: 23:13
Post  Old Post 21-01-2000 10:20 Visit Lord God Jinnai's homepage!
Edit/Delete Message Reply w/Quote
#78 Report this post to a moderator
Support Apolyton, buy Galactic Civilizations

Is there any way to deal with occupied territory, disputed territory and also claimed but unregonized territory via other nations (antarica is the best example now days). Also what about new civs that pop up from ur civ? Does it take reconition from ur civ or can it be from others?

Mark_Everson is offline Mark_Everson
Clash of Civilizations Project Lead
Canton, MI
Jan 1970
time: 00:13
Post  Old Post 21-01-2000 18:07 Visit Mark_Everson's homepage!
Edit/Delete Message Reply w/Quote
#79 Report this post to a moderator
Support Apolyton, buy Civilization 2

Henrique:

As far as I can figure, your post doesn't have anything to do with diplomacy? Did you accidentally posted in the wrong thread? It would be appropriate in AI, or perhaps a military thread many get one back...

LGJ:

Krenske just made a good post on this topic in the borders thread. I asked it could switch it over to hear, but I'm not sure he has seen it yet. Well, on the point of diplomatic recognition for splinter civs... anyone can diplomatically recognize anybody as far as I know. However, although recognition in the world won't make a bit of difference if you don't want them to leave and can militarily impose your will.

Darren_McGuicken is offline Darren_McGuicken
Settler

Dec 1999
time: 05:13
Post  Old Post 21-01-2000 18:49
Edit/Delete Message Reply w/Quote
#80 Report this post to a moderator
Lose 30 kilos (of popups)

Mark: No, that's a fair point, the current governor sliders exist purely as place-holders! So, since you brought it up ( )... what would you like to see in the Governor panel? My mind's a blank.

This also brings up an important point - what setters & values would be needed for the AI? It's fine my putting together a frontend for this, but how will I do the handover to the AI? Can I also assume it would be too big a hassle for you to concentrate on for this demo?

Mark_Everson is offline Mark_Everson
Clash of Civilizations Project Lead
Canton, MI
Jan 1970
time: 00:13
Post  Old Post 22-01-2000 10:55 Visit Mark_Everson's homepage!
Edit/Delete Message Reply w/Quote
#81 Report this post to a moderator
Browse Apolyton AD-FREE

Darren:

I gave a basic overview of what I think we need in my post of Dec. 27th 11:18 and the following post. Obviously you can't make everything perfect in the first shot. We also need some way for the player to provide overall diplomatic objectives on the overall screen. My take on the big picture is for you to put together some semblance of the overall diplomatic interface, and have a single second-level interface for negotiating deals. I'd say at this point we should limit the deals to changes of diplomatic status. The diplomatic status negotiations should include the ability to give or take money either in a single amount, or a continuous stream.

I would say we need to just stumble along with the current diplomatic AI, and simple modifications thereof for this pass at it. I think we can include reputation, and the money changing hands I talked about above in a fairly simple way. We will need to address the diplomatic AI in much more detail fairly soon, but I don't think this is the time...

Henrique Duarte is offline Henrique Duarte
Chieftain
Portugal
Jan 2000
time: 05:13
Post  Old Post 21-01-2000 23:13
Edit/Delete Message Reply w/Quote
#82 Report this post to a moderator
Support Apolyton buy from Amazon

Mark

Sooorry
Open the AI and the Diplomatic threads at the same time and as the last post on the diplomatic thread discussed AI issues I rushed in thinking it was the AI thread.

Krenske is offline Krenske
Settler

Jan 1970
time: 05:13
Post  Old Post 24-01-2000 04:50
Edit/Delete Message Reply w/Quote
#83 Report this post to a moderator
Full PM-box? Change here!

Mark,
I just saw your post.

Here is a cut version of my points.

We could split territroy status into the following, we could have claimed territory, treaty territory, settled territory and defended territory.

Claimed territory is what your explorers basically do, they run around planting a few flags. These have no real effect except that they can lead to treaty territory, where two civs can decide on a mutual border within shared claimed territory.

Treaty teeritory and borders is a border between two civs, but there is nothing there exploitation or settlement wise. This is still not a very "strong" border. It would be possible to have border disputes over these treaty borders. (IE demand a resurveying of the border in diplomacy and If you have become more powerful the other civ may look the otherway when the border changes slightly in your favour. Not accepting a change could be a war excuse that circumvents parliament or the senate in pathetic democracies etc.)

Settled territory forms a more firm border as the populated area has feelings of belonging to the Civ and do not share resources. Borders can not be adjusted through settled territory.

Defended territory is where you have actually stationed defences/guards on a border that is or is not settled. This sort of border can only be changed by military action. Note we could have a border post as a improvement that costs a gold a turn to maintain. You could eventually allow your border posts to just be abandoned but this would be an invitation for someone else to come and make a claim on your territory.

Just a few ideas. (To help a thread needing some action)

Kull is offline Kull

King
El Paso, TX USA
Mar 1999
time: 22:13
Post  Old Post 25-01-2000 10:42 Visit Kull<br><a href=/members><img src=/forums/images/lifer-icon.gif border=0></a><BR>'s homepage!
Edit/Delete Message Reply w/Quote
#84 Report this post to a moderator
Avatar Enlargement: We've got the solution

Kreske: There's a few problems with your ideas.

1) Claimed Territory: All the tiles in the Clash world are populated, not empty ala Civ2. So planting flags isn't going to be enough to subdue the local culture. You have to either conquer them or ally with them.

2) Treaty Territory: I suspect you're talking about something like the Treaty of Tordesillas which basically gave Brazil to Portugal and the rest of the New World to Spain. I think this would be very difficult to model in Clash. How would the AI know which tiles NOT to claim? Or what's to stop them from "claiming" the whole world? And what about the cultures and civs occupying the "claimed" tiles? It may be realistic, but it sure sounds messy.

3) Defended Territory: This pretty much sounds like "Clash-as-we-know-it". Either you own the province or you don't. And if your garrison is too weak to defend it, look out!

Krenske is offline Krenske
Settler

Jan 1970
time: 05:13
Post  Old Post 25-01-2000 11:57
Edit/Delete Message Reply w/Quote
#85 Report this post to a moderator
Increase Your PM Length

With regards to claimed territory. Current native population has historically been safely ignored by large civs. They just rock up and say you are now part of *****. If the natives rise up thats just a barbarian rebellion.

Lord God Jinnai is offline Lord God Jinnai
Prince
St. Louis
Sep 1999
time: 23:13
Post  Old Post 25-01-2000 20:53 Visit Lord God Jinnai's homepage!
Edit/Delete Message Reply w/Quote
#86 Report this post to a moderator
Increase Your PM Length

Also there was nothing in ur model that from what I saw could show "occupied terriroty" such as with Isreal or disputed territory such as with most of the arab courtries surrounding southern Saudi Arabia FE.

Richard Bruns is offline Richard Bruns
King
NC, USA
Nov 1999
time: 06:13
Post  Old Post 23-09-2000 07:01 Visit Richard Bruns's homepage!
Edit/Delete Message Reply w/Quote
#87 Report this post to a moderator
Support Apolyton, buy Call to Power 2

What is the current state of this system? Are we still planning on putting it in Demo 5?

Mark_Everson is offline Mark_Everson
Clash of Civilizations Project Lead
Canton, MI
Jan 1970
time: 00:13
Smile  Old Post 23-09-2000 07:10 Visit Mark_Everson's homepage!
Edit/Delete Message Reply w/Quote
#88 Report this post to a moderator
Support Apolyton

Still in demo 5, but nothing beyond demo 4 ever got coded. No solid plan for what goes in and what doesn't. Opinions for a minimal model's characterstics would be useful. But preferably from someone who has time to both read the whole discussion and formulate a plan.

Richard Bruns is offline Richard Bruns
King
NC, USA
Nov 1999
time: 06:13
Post  Old Post 23-09-2000 08:08 Visit Richard Bruns's homepage!
Edit/Delete Message Reply w/Quote
#89 Report this post to a moderator
Support Apolyton

I read all of the discussion. If everything outlined is coded it should be very nice. I didn't get to play Demo 4 so I don't know what was in there.
[This message has been edited by Richard Bruns (edited September 22, 2000).]

roquijad is offline roquijad
Prince
Santiago
Nov 1999
time: 05:13
Post  Old Post 24-09-2000 13:04
Edit/Delete Message Reply w/Quote
#90 Report this post to a moderator
Support Apolyton buy from Amazon

I re-read the model and went through the discussion in some detail. To be honest, the model looks very good but it lacks the specifics of it. IMO, there're too many good ideas but they're mostly all "in the air" with too few precise methods to have them implemented.

As far as I can see, this model can't make it to demo5 in its present state.

That's unless all the equations and formulas are somewhere else I couldn't find...

 
Pages (3): [ 1   2   3   ]
< Last Thread     Next Thread > Post New Thread     Post A Reply
All times are GMT. The time now is 05:13.
Apolyton Time is 00:13.
    top of page
Rate This Thread:
Forum Jump:
Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is ON
vB code is ON
Smilies are ON
[IMG] code is ON
 




Contact Us - Apolyton Civilization Site - Support Us!

Building a better Apolyton through better information. Click here and take our poll!
Non-US visitors, click here!

Powered by: vBulletin Version 2.0.3
Copyright ©2000, 2001, Jelsoft Enterprises Limited.

Page generated in 0.0774 seconds (94.42% PHP - 5.58% MySQL) with 30 queries
Page Loading Time:

Support Apolyton: Amazon USA | Amazon UK | Amazon DE | Amazon FR |
Support Apolyton and get FREE PLUS, Buy from Chips&Bits: Galactic Civilizations | Galactic Civilizations: Deluxe Edition | Call to Power 2 | Civilization: The Boardgame | GURPS/ Alpha Centauri | Alpha Centauri | Civilization IV | Civilization III: Complete |


Front Page | Civilization IV | Civilization III | Civilization II | Call to Power II | Alpha Centauri | Master of Orion III
Rise of Nations | Galactic Civilizations | Galactic Civilizations II | Misc
Alt.Civs | Civ I | C:CtP I | About | News | Directory | Apolyton Store | Forums | Chat | Columns | Interviews | Newsletter
Scenario League | CSC | Clash of Civs | Spanish Site | CtP Maps | Cradle of Civ | WesW's Ctp1/2 Site | Civ3 Haven

apolyton.net | apolyton.com | civilization2.net | civilization3.net | civilization4.net | civilizationiv.info | calltopower.net | galciv.net | galciv2.net | moo3.net