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 > Miscellaneous > Archive > Civ3-Strategy-Archive > For Soren: suggestion for AI city trade algorithm
Show a Printable Version | Email This Page to Someone! | Receive updates to this thread | Report this to Apolyton news!

bottom of page
  
Author
Thread    < Last Thread     Next Thread > Post New Thread     Post A Reply
player1 is offline player1
King
Belgrade, YU
Sep 2001
time: 06:17
  Old Post 17-02-2002 14:24
Edit/Delete Message Reply w/Quote
#1 Report this post to a moderator
For Soren: suggestion for AI city trade algorithm Got spare money?

In Civ3 city-trading looked more like exploit.
Only human was doing it while AI to AI never did it.

AI should trade its faraway city for some city closer to it (similar sizes no spec res.) so both faraway civ and AI would befefit from lower corruption for both.

Comments?
Soren?

Sir Ralph is offline Sir Ralph
Emperor
Long live teh Schwampel!
Dec 2001
time: 06:17
  Old Post 17-02-2002 14:35
Edit/Delete Message Reply w/Quote
#2 Report this post to a moderator
Suffering from ads?

Generally a good idea , but that would give us another exploit to check in the early game, if a city has (later visible) special resources.

player1 is offline player1
King
Belgrade, YU
Sep 2001
time: 06:17
  Old Post 17-02-2002 14:42
Edit/Delete Message Reply w/Quote
#3 Report this post to a moderator
Help yourself to an AD-FREE life

quote:
Originally posted by Sir Ralph
Generally a good idea , but that would give us another exploit to check in the early game, if a city has (later visible) special resources.


By my gaming expirience I think that AI already knows were are future resourses when placing cities.

Sir Ralph is offline Sir Ralph
Emperor
Long live teh Schwampel!
Dec 2001
time: 06:17
  Old Post 17-02-2002 15:32
Edit/Delete Message Reply w/Quote
#4 Report this post to a moderator
Support Apolyton buy from Amazon

Yes, but what I meant was, if the AI declines to trade for a crappy colony we also know for sure, there must be something valuable.

player1 is offline player1
King
Belgrade, YU
Sep 2001
time: 06:17
  Old Post 17-02-2002 16:39
Edit/Delete Message Reply w/Quote
#5 Report this post to a moderator
Help yourself to an AD-FREE life

Then some compromise solution must be made.

The way it is now, only way to get AI cities by diplo is if you corner AI in war.

It's not realy a diplomatric option.

player1 is offline player1
King
Belgrade, YU
Sep 2001
time: 06:17
  Old Post 17-02-2002 16:41
Edit/Delete Message Reply w/Quote
#6 Report this post to a moderator
Help yourself to an AD-FREE life

Remember, it should be at city for city basis.
If you wan't his colony on your continent, you need to give him your city on his continent.

This should also be AI vs AI befavior.
That could actualy improve AI gameplay (more optimal cities).

DaXX is offline DaXX
Chieftain

Nov 2001
time: 05:17
  Old Post 17-02-2002 21:40
Edit/Delete Message Reply w/Quote
#7 Report this post to a moderator
Support Apolyton buy from Amazon

why don't you also propose a resource/luxury trade algorithm as well, at least one that works compared to what is there now

player1 is offline player1
King
Belgrade, YU
Sep 2001
time: 06:17
  Old Post 17-02-2002 22:14
Edit/Delete Message Reply w/Quote
#8 Report this post to a moderator
Support Apolyton

quote:
Originally posted by DaXX
why don't you also propose a resource/luxury trade algorithm as well, at least one that works compared to what is there now


Luxuries...

I think I can explain part of current method.

If you have enough luxuries to make your city happy then if someone ofers you additional luxury and you know that he'll befefit a lot (AI knows your situation), then will you do 1vs1.

Probably not.

Only probelm here is that AI know your situation and makes decision by it.

Yes, it happend for me to have almost 1vs1 with some AIs, but not for all time (maybe 50 turns).

Willem is offline Willem
Emperor
Canada
Dec 2001
time: 00:17
  Old Post 18-02-2002 01:27
Edit/Delete Message Reply w/Quote
#9 Report this post to a moderator
Support Apolyton, buy Civilization: The Boardgame

quote:
Originally posted by player1
Then some compromise solution must be made.

The way it is now, only way to get AI cities by diplo is if you corner AI in war.

It's not realy a diplomatric option.


How many times in history has any nation just up and handed over a city to another nation? It's just not done, or it's extremely rare. The only time any leader will freely give up something like that is if they're forced to. If you want to take over one of his cities peacefully, do it through culture, that's what it's in the game for.

player1 is offline player1
King
Belgrade, YU
Sep 2001
time: 06:17
  Old Post 18-02-2002 01:35
Edit/Delete Message Reply w/Quote
#10 Report this post to a moderator
Support Apolyton buy from Amazon

quote:
Originally posted by Willem


How many times in history has any nation just up and handed over a city to another nation? It's just not done, or it's extremely rare. The only time any leader will freely give up something like that is if they're forced to. If you want to take over one of his cities peacefully, do it through culture, that's what it's in the game for.


The only thing I want to be made it that AI TRADES CITIES on one for one basic.

If his city is close to me, and my city is close to him and if they are of similar value then they should be traded.
This should specificly be AI vs AI strategy.
I have seen so many times in game when I thought that it would be handy that these two AI swap some of their cities and lower corruption in them.

And,
I wold forbid trading city for just money, to abusive.
but if cities are of similar values +-25%, some extra money should be paid in.


This should also be one WONDERFULL solution for corruption (for both trader players).

player1 is offline player1
King
Belgrade, YU
Sep 2001
time: 06:17
  Old Post 18-02-2002 01:41
Edit/Delete Message Reply w/Quote
#11 Report this post to a moderator
Tired of ads?

In some similar way should be allowed to trade units.
I know it would be easy to do in patch.

In fact it was just turned off.
Soren though that it was too abusive.

For ex. UU for UU.
or something similar

Joe R. Golowka is offline Joe R. Golowka
Chieftain
Earth, Sol System, Milky Way
Jul 2001
time: 23:17
  Old Post 18-02-2002 02:31
Edit/Delete Message Reply w/Quote
#12 Report this post to a moderator
Got spare money?

quote:
Originally posted by Willem
How many times in history has any nation just up and handed over a city to another nation?


Ever heard of the Louisiana Purchase?

Willem is offline Willem
Emperor
Canada
Dec 2001
time: 00:17
  Old Post 18-02-2002 05:00
Edit/Delete Message Reply w/Quote
#13 Report this post to a moderator
Support Apolyton, buy GURPS/ Alpha Centauri

quote:
Originally posted by Joe R. Golowka


Ever heard of the Louisiana Purchase?


Yes, it does happen but not very often, and usually it's done at the point of gun, or whatever. That was one of the very few exceptions, and even then war had a role in it. If France wasn't embroiled in a continental war at the time, they may never have considered it. So it only seems right that trading cities isn't an easy thing to do in the game.

Zanzin is offline Zanzin
Prince
Sydney, Australia
Mar 2001
time: 15:17
  Old Post 18-02-2002 17:00
Edit/Delete Message Reply w/Quote
#14 Report this post to a moderator
Support Apolyton buy from Amazon

I haven't tried it yet in the new patch, but will the AI that you've just crushed and left with one city accept all it's old cities back? (If you choose to give them back)

Willem is offline Willem
Emperor
Canada
Dec 2001
time: 00:17
  Old Post 18-02-2002 20:59
Edit/Delete Message Reply w/Quote
#15 Report this post to a moderator
Enter the AD-FREE zone

quote:
Originally posted by Zanzin
I haven't tried it yet in the new patch, but will the AI that you've just crushed and left with one city accept all it's old cities back? (If you choose to give them back)


Well certainly, it will always accept a gift of that sort. They're just not inclined to part with any of their own.

Charlie is offline Charlie
Settler
Paris, France
Feb 2002
time: 06:17
Lightbulb  Old Post 19-02-2002 01:56
Edit/Delete Message Reply w/Quote
#16 Report this post to a moderator
Get a bigger avatar today!

My 2 euro cents on the matter. There would be a lot of factors I think of :


  1. number of national citizens of the Civ
  2. ratio of the Civ's natives vs. foreign citizens
  3. history of Civ "owners" of city
  4. great wonders
  5. proximity to Capital/FP
  6. buildings in city
  7. proximity to other cities (effective city radius)
  8. strategic location
  9. access to resources (through road/harbor/airport)
  10. improvements around the city (road/irrigation/mining)
  11. resources in city radius (known at the time of trade)
  12. maximum possible size/production/commerce

More comments on the numbered items :

  • 1, 2 and 3 are most important. Any Civ is willing to get back its own people, isn't it ?
  • 4 : makes sense if the wonder isn't obsolete
  • 5 : of course !
  • 6 : a city with banks, etc. is more valuable than a city without
  • 7: I don't know much about this one. I certainly wouldn't like to get a city when there are others only 2 squares away.
  • 8: this is a tough one (to code, at least). Think of Gibraltar...
  • 9, 10 : do you want a big city without any road around that's going to revolt and starve because of overpopulation ?
  • 11 : yes, I put "at the time of trade"
  • 12 : who wants a city in the middle of tundra (except for resources) ?

Every criteria I listed above should have a cost value, depending on its importance. This is AFAIK what the Computer Player (CP -- I don't like AI, because of the "I" ) does for other trades, then it "converts" that value to a gold equivalent.

Other ideas ?

player1 is offline player1
King
Belgrade, YU
Sep 2001
time: 06:17
  Old Post 19-02-2002 03:21
Edit/Delete Message Reply w/Quote
#17 Report this post to a moderator
Support Apolyton, buy Civilization III: Complete

quote:
Originally posted by Charlie
My 2 euro cents on the matter. There would be a lot of factors I think of :

  1. number of national citizens of the Civ
  2. ratio of the Civ's natives vs. foreign citizens
  3. history of Civ "owners" of city
  4. great wonders
  5. proximity to Capital/FP
  6. buildings in city
  7. proximity to other cities (effective city radius)
  8. strategic location
  9. access to resources (through road/harbor/airport)
  10. improvements around the city (road/irrigation/mining)
  11. resources in city radius (known at the time of trade)
  12. maximum possible size/production/commerce

More comments on the numbered items :

  • 1, 2 and 3 are most important. Any Civ is willing to get back its own people, isn't it ?
  • 4 : makes sense if the wonder isn't obsolete
  • 5 : of course !
  • 6 : a city with banks, etc. is more valuable than a city without
  • 7: I don't know much about this one. I certainly wouldn't like to get a city when there are others only 2 squares away.
  • 8: this is a tough one (to code, at least). Think of Gibraltar...
  • 9, 10 : do you want a big city without any road around that's going to revolt and starve because of overpopulation ?
  • 11 : yes, I put "at the time of trade"
  • 12 : who wants a city in the middle of tundra (except for resources) ?

Every criteria I listed above should have a cost value, depending on its importance. This is AFAIK what the Computer Player (CP -- I don't like AI, because of the "I" ) does for other trades, then it "converts" that value to a gold equivalent.

Other ideas ?



Distance from Palace & Forbiden city should be driving force when doing city trade (it should be even more important then 1,2,3)

Why?

Because it varies form civ to civ.

I had so many games in which AI would be far more better is they tried to "optimize" their cities (swap them to get less corruption).



One more important thing:
It should always be on city for city base (no more then 25% difference in value), plus extra money for differnce.

Why?

So human won't exploit AI by bying or selling cities just for his money.


P.S.
I hope that Soren could get some nioce ideas form this.
There is no point of some option if it is not used by AI.
Right?

Charlie is offline Charlie
Settler
Paris, France
Feb 2002
time: 06:17
  Old Post 19-02-2002 19:25
Edit/Delete Message Reply w/Quote
#18 Report this post to a moderator
Remove this text

I forgot :


  • total population of city
  • nearby cities' culture
  • proximity of warring Civs and enemy military forces
  • pollution in the city radius

I'm not sure about trading city for city only. Suppose : A and B are allied against C. C capture one of B's cities. A captures it back later. A should be able to sell back the city to B, without giving away one of its own. It could give the city back too, but it seems normal that A gets some payment for the city's liberation.

Exploiting the CP by selling worthless cities wouldn't be possible if worthless cities were, well, worthless A crappy city (1 pop, in the middle of wasteland, far from the palace/FP) isn't worth much if all parameters I tried to enumerate are taken into account.

  < Last Thread     Next Thread > Post New Thread     Post A Reply
All times are GMT. The time now is 05:17.
Apolyton Time is 00:17.
    top of page
Rate This Thread:
archivepost
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.0462 seconds (90.54% PHP - 9.46% MySQL) with 31 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