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 > Civilization IV > Civ4-General > Experimental Ai Algorithms made here?
Show a Printable Version | Email This Page to Someone! | Receive updates to this thread | Report this to Apolyton news!
22.Sep: BLUE IS OCEAN, GREEN IS GRASS
22.Sep: SMAC-LIKE UN COUNCIL CONFIRMED
21.Sep: GERMAN `ANONYMOUS` LAUNCHES

bottom of page
  
Author
Thread    < Last Thread     Next Thread > Post New Thread     Post A Reply
MORON is offline MORON
Warlord
Vancouver, Canada
Jun 2001
time: 13:32
  Old Post 09-01-2005 23:07
Edit/Delete Message Reply w/Quote
#1 Report this post to a moderator
Experimental Ai Algorithms made here? Enter the AD-FREE zone

Well, one of the biggest complaint about Civ is about its less than human level Ai. Since this forum has collected some of the best Civ players around, I guess this would be an good place to come up with some algorithms for the Ai.

So any clever algorithms that can fix obvious problems with the ai?

It is an long shot, but it is still an better shot at getting an better game than repeating stuff from the Civ3 list IMO.

Max Sinister is offline Max Sinister
Warlord

Nov 2003
time: 05:32
  Old Post 10-01-2005 20:00 Visit Max Sinister's homepage!
Edit/Delete Message Reply w/Quote
#2 Report this post to a moderator
Support Apolyton, buy Call to Power 2

If you or someone else were going to program a better AI algorithm for Civ, there are many questions to answer. Questions like these:

- Where do you build a city, if you've got a settler?
- How many of your resources do you use for building settlers / units / buildings / small and great wonders? Which ones? And if you know: Where do you build what? (A harbor at the sea, a great wonder in the biggest city, a factory in the mountains with mines, units in cities near the enemy, settlers in the cities near the unsettled wilderness...)
- Which other civ do you make peace with, and which one do you attack? Where do you attack them - units or cities, and which ones?

Urban Ranger is offline Urban Ranger
Apolyton Duke of Off-Topic

Donate to the Red Cross
The City State of Noosphere, CPA special envoy
May 1999
time: 13:32
  Old Post 12-01-2005 19:46
Edit/Delete Message Reply w/Quote
#3 Report this post to a moderator
Support Apolyton, buy Alpha Centauri

quote:
Originally posted by Max Sinister
- Where do you build a city, if you've got a settler?


I think it will be better if the ability to build city at will is removed. Instead, a city will appear when there's sufficient population on a tile, with population growth controlled by a new model.

Adagio is offline Adagio

Emperor

Jun 2001
time: 06:32
  Old Post 12-01-2005 21:20
Edit/Delete Message Reply w/Quote
#4 Report this post to a moderator
Support Apolyton, buy GURPS/ Alpha Centauri

quote:
Originally posted by Urban Ranger
I think it will be better if the ability to build city at will is removed. Instead, a city will appear when there's sufficient population on a tile, with population growth controlled by a new model.


I have thought about something like that for some time, but I believe hell freezes over before Firaxis implements that idea, since it's not Civ'ish

Trip is offline Trip
Firaxis Games
Hunt Valley
Apr 2002
time: 00:32
  Old Post 12-01-2005 21:43 Visit Trip's homepage!
Edit/Delete Message Reply w/Quote
#5 Report this post to a moderator
Support Apolyton, buy Galactic Civilizations: Deluxe Edition

Something like this should be possible using scripting, if Firaxis allows as much moddable as they're hinting at.

Adagio is offline Adagio

Emperor

Jun 2001
time: 06:32
  Old Post 12-01-2005 21:48
Edit/Delete Message Reply w/Quote
#6 Report this post to a moderator
Support Apolyton, buy Galactic Civilizations: Deluxe Edition

For the time being I don't believe they'll make it that moddable... I believe they'll just make most of the variables used in the game moddable (like RoN), not as moddable as ctp where you could actually do some scripting yourself...

But I wouldn't mind getting suprised, I just don't want to get my hopes up...

Trip is offline Trip
Firaxis Games
Hunt Valley
Apr 2002
time: 00:32
  Old Post 12-01-2005 22:27 Visit Trip's homepage!
Edit/Delete Message Reply w/Quote
#7 Report this post to a moderator
Support Apolyton, buy Galactic Civilizations: Deluxe Edition

XML is used for storing data (i.e. your variable modding).

What do you think they're using Python for?

The announcement a while ago mentioned that the AI will be moddable with Python. If things so far-reaching as the AI's behavioral code are moddable then this should not be an issue.

Adagio is offline Adagio

Emperor

Jun 2001
time: 06:32
  Old Post 12-01-2005 22:33
Edit/Delete Message Reply w/Quote
#8 Report this post to a moderator
Help yourself to an AD-FREE life

Ok, I haven't heard anything about how modable it will be or what they will use for it... haven't kept up with the news about Civ4... Maybe I should start reading about it before I comment on it

Urban Ranger is offline Urban Ranger
Apolyton Duke of Off-Topic

Donate to the Red Cross
The City State of Noosphere, CPA special envoy
May 1999
time: 13:32
  Old Post 13-01-2005 13:41
Edit/Delete Message Reply w/Quote
#9 Report this post to a moderator
Lose 30 kilos (of popups)

XML? Isn't that a bit overkill?

Dale is offline Dale
King
Sir! Why do you keep clicking on me?
Dec 2000
time: 15:32
  Old Post 13-01-2005 14:38
Edit/Delete Message Reply w/Quote
#10 Report this post to a moderator
Support Apolyton, buy Alpha Centauri

AI modding and Model modding are two completely different things. You must have both for it to work. A modded Model will not work if the AI is not modded to handle it, and vice-versa.

It's one thing to say "a city will appear when there's sufficient population on a tile" as a scripted MODEL but then it's a completely different things to have the scripted AI to handle it. (See my CTP2 script Colonisation which actually did this!)

So with that in mind, Firaxis saying that the AI is moddable by Python does not mean you can do Model modding. As much as I wish it will be true I can't see them doing it. To me it sounds more like Personality modding rather than actual AI modding.

Dale

Max Sinister is offline Max Sinister
Warlord

Nov 2003
time: 05:32
  Old Post 13-01-2005 19:13 Visit Max Sinister's homepage!
Edit/Delete Message Reply w/Quote
#11 Report this post to a moderator
Support Apolyton, buy Galactic Civilizations

quote:
Originally posted by Urban Ranger
I think it will be better if the ability to build city at will is removed. Instead, a city will appear when there's sufficient population on a tile, with population growth controlled by a new model.


Sorry Ranger, I wouldn't like it. In our world kings have founded many cities, villages and colonies, and *they* decided where to put them. It's ok if the pop. model decides which city will grow faster, but I'd like to decide where to put them myself. If I should choose the wrong places, well, I might lose then. So be it.

MORON is offline MORON
Warlord
Vancouver, Canada
Jun 2001
time: 13:32
  Old Post 13-01-2005 23:58
Edit/Delete Message Reply w/Quote
#12 Report this post to a moderator
Avatar Enlargement: We've got the solution

If only we have an measure of "power" in calculating the effects of each decision the ai makes, and maximize the power of Ai races.

*uses some economic theories to model civ decisions*

I'm thinking
War potential = production x war tech
Using this, we can balance production with tech tree. It shouldn't be to hard to find the maximum delta war potential using this equation.

War capacity = units x war tech
War capacity should be maintained to reach parity with humans if possible, to prevent invasions.

The ai should first try to maintain parity militarily, than any surplus in production after the two would be invested in production and tech to maximize future war making ability. There should also be an "risk" function on how far ahead the ai looks at, and it should change depending on how endangered the Ai is. If an Ai is on a island away from all other players, it can take high risk, long term maximum as the goal.

Urban Ranger is offline Urban Ranger
Apolyton Duke of Off-Topic

Donate to the Red Cross
The City State of Noosphere, CPA special envoy
May 1999
time: 13:32
  Old Post 15-01-2005 08:56
Edit/Delete Message Reply w/Quote
#13 Report this post to a moderator
Got spare money?

quote:
Originally posted by Max Sinister
Sorry Ranger, I wouldn't like it. In our world kings have founded many cities, villages and colonies, and *they* decided where to put them. It's ok if the pop. model decides which city will grow faster, but I'd like to decide where to put them myself. If I should choose the wrong places, well, I might lose then. So be it.


Well, while I am not sure on the mechanics of how these kings founded cities (some references will be nice), I don't think they created Settler units and put them in the middle of nowhere.

alms66 is offline alms66
Prince
Louisiana
Oct 1999
time: 23:32
  Old Post 15-01-2005 09:18
Edit/Delete Message Reply w/Quote
#14 Report this post to a moderator
Enter the AD-FREE zone

quote:
Originally posted by Max Sinister Sorry Ranger, I wouldn't like it. In our world kings have founded many cities, villages and colonies, and *they* decided where to put them. It's ok if the pop. model decides which city will grow faster, but I'd like to decide where to put them myself. If I should choose the wrong places, well, I might lose then. So be it.


This is true, however, as UR points out, they didn't move settlers into place to found the city, they merely said, "Hey you, build a city here." Actually, he sent workers to build the infrastructure. And since the workers and their families were already there, you had a small amount of people to live there already, while the rest came from the surrounding countryside.

I would say that the population founds their own cities, but the ruler still has the ability to found some cities as well, though it should be expensive and/or time-consuming. The method for founding could be as simple as paying a large cash amount for it and having workers build it (along with the cash deposit). The survival of a city the ruler founds is dependent upon its placing, just as every other city. Though, from what I know, most cities attract people, unless they run out of water.

Urban Ranger is offline Urban Ranger
Apolyton Duke of Off-Topic

Donate to the Red Cross
The City State of Noosphere, CPA special envoy
May 1999
time: 13:32
  Old Post 16-01-2005 14:48
Edit/Delete Message Reply w/Quote
#15 Report this post to a moderator
Remove this text

quote:
Originally posted by alms66
I would say that the population founds their own cities, but the ruler still has the ability to found some cities as well, though it should be expensive and/or time-consuming. The method for founding could be as simple as paying a large cash amount for it and having workers build it (along with the cash deposit).


That's a good idea. Let the player to designate a square with certain amount of people already in it as a City Site. There will be a short period of population boom (say, cash rewards is given to people moving to the city), and the among of population increase is dependent on the surrounding areas and how high the original population level is.

CarnalCanaan is offline CarnalCanaan
Chieftain
The Biggest Little City in the World
May 2004
time: 05:32
  Old Post 16-01-2005 20:02
Edit/Delete Message Reply w/Quote
#16 Report this post to a moderator
Support Apolyton, buy Galactic Civilizations: Deluxe Edition

Not to get biblical and all but...

In Genesis, depending on how you read it, Cain founded the first city in the land of Nod. Thus Cain was the first "settler" unit.

And I would argue that most cities are artificially founded, meaning someone, a sovereign of some sort, "placed" them there. My home town, Sacramento, was founded when an alcoholic Mormon duped John Sutter's gullible son into selling city blocks to emmigrants. Not exactly the Settler-Unit model of Civ but certainly planned. New York (néé Nieuw Amsterdam), Paris, Rome and Alexandria are all examples of cities being placed by a higher sovereign at will.

The problem of course is that in the word of Civ we play as an übersovereign who controls everything for all time. That, of course, doesn't exist (unless you're a really strict determinist). Although there are patterns to the location of cities (rivers, resources, etc.) that is not to be confused with their "spontaneous" creation.

I thought we fixed this kind of thinking centuries ago.

alms66 is offline alms66
Prince
Louisiana
Oct 1999
time: 23:32
  Old Post 17-01-2005 00:57
Edit/Delete Message Reply w/Quote
#17 Report this post to a moderator
Full PM-box? Change here!

I don't think anyone is actually proposing spontaneous creation of cities. What we are proposing is taking that decision (for the most part) out of the player's control. This doesn't mean that a city merely springs to life from nothing. It means that someone (the sovereigns you spoke of) has founded a city, it's just not the player doing all the work.
->right back at you...

trev is offline trev
Warlord
Adelaide, Australia
Feb 2003
time: 15:02
  Old Post 17-01-2005 02:43 Visit trev's homepage!
Edit/Delete Message Reply w/Quote
#18 Report this post to a moderator
Put an end to popups!

A large part of the skill in civ is choosing the right city locations for the style game you wish to play, number of cities and their size, it is rediculous to even consider taking some control over city founding and placement out of the control of the player, that aspect must be under the players control at all times or its not civ

alms66 is offline alms66
Prince
Louisiana
Oct 1999
time: 23:32
  Old Post 17-01-2005 02:51
Edit/Delete Message Reply w/Quote
#19 Report this post to a moderator
Support Apolyton, buy Call to Power 2

well, then I guess I don't want to play civ...

Dale is offline Dale
King
Sir! Why do you keep clicking on me?
Dec 2000
time: 15:32
  Old Post 17-01-2005 03:25
Edit/Delete Message Reply w/Quote
#20 Report this post to a moderator
Support Apolyton, buy GURPS/ Alpha Centauri

The most obvious example of a leader (King/Queen) telling a group of settlers where to settle would have to be Sydney.

13 tall-ships set sail from Portsmouth loaded with criminals, military families and free settlers with the express orders to settle a new city where Sydney now stands.

All of Australia's capitals were settled this way.

  < Last Thread     Next Thread > Post New Thread     Post A Reply
All times are GMT. The time now is 05:32.
Apolyton Time is 00:32.
    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.0646 seconds (93.09% PHP - 6.91% 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