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-General-Archive > Ai
Show a Printable Version | Email This Page to Someone! | Receive updates to this thread | Report this to Apolyton news!

bottom of page
  
Author
Thread   
Pages (2): [ 1   2   ]
< Last Thread     Next Thread > Post New Thread     Post A Reply
Velociryx is offline Velociryx
Moderator
of Candle'Bre
Apr 1999
time: 05:17
  Old Post 17-01-2002 03:59 Visit Velociryx's homepage!
Edit/Delete Message Reply w/Quote
#31 Report this post to a moderator
In the Creation thread.... Support Apolyton, buy Alpha Centauri

....you may find the first inklings of the answer to that question, good sir!

The Alpha for the "Mod-With-No-Name" was put up by Master Sev just today, in fact. There's still a LOT we need to do with it, but this is the first iteration....and I can hardly wait to get home and give it a whirl!

-=Vel=-

Libertarian is offline Libertarian
King

Nov 2001
time: 00:17
  Old Post 17-01-2002 04:01
Edit/Delete Message Reply w/Quote
#32 Report this post to a moderator
Support Apolyton, buy Call to Power 2

quote:
How would you model a libertarian gov't in a game such as this, btw?


Its sole purpose would be to guarantee its citizens freedom from coercion and fraud, both from foreign and domestic sources. It would be a completely private economy, with government financed solely from voluntary contracts with its citizenry. A libertarian government derives its legitimacy from the willful and voluntary consent of those it governs. So long as people are peaceful and honest, it is basically invisible.

Therefore, in practical terms for the game, corruption would be zero, but maintainence costs and production outputs would be high, and would be as localized as possible (c.f. your suggestion above). Because everyone is free to pursue his own happiness in his own way, happiness would be maximum in every city, but defections would be likely in cities that have no solid defense. It would suffer enormous war weariness for initiated wars, but would suffer zero war weariness for defensive wars. There would be no redistribution of wealth, and therefore your idea is critical to making it work.

The diplomat is offline The diplomat
King
Terre Haute, IN USA
Sep 1999
time: 23:17
  Old Post 17-01-2002 04:37
Edit/Delete Message Reply w/Quote
#33 Report this post to a moderator
Full PM-box? Change here!

I hope I am not taking the thread off the beaten path too much, but I want to throw an idea out for thought.
Would it be possible to have what I call a "multi-layered AI". The idea is to have different AI modules, each one handling decision-making on a different strategic level.

Here is an example:

The first AI module would just determine the overall grand strategy. It would simply compare stats between the various players in the different areas. ie, who is #1 in economy, military, territory, population, research etc...
from this analysis, it would choose a grand strategy, like SMAC's Conquer/Build/Explore/Discover.
Say the AI chooses "Conquer", it would "pass" this decision to the next AI module.

The second AI is handed the "conquer" choice. it would compare its available military units with the composition of the other players. From this comparison, it would determine the best composition, ie how many offensive units, how many defensive units etc...
The AI would calculate the total value of its army and compare it with the armies of the other players. if the value were too low, it would pass a "need more advanced units" flag to the higher AI which would reevaluate its grand strategy.
Once the AI chooses the best composition for an army, it would pass that decision to the lower AI.

The next AI would then start building units in each cities in such a way as to implement the number and composition of units that the higher AI ordered.
Once the units are built, it would pass the decision to the next lower AI.

The next lower AI controls the actual movement of the units. it woul be in charge of actually moving the units in a coordinated way.

is this type of layered AI possible?

Velociryx is offline Velociryx
Moderator
of Candle'Bre
Apr 1999
time: 05:17
  Old Post 17-01-2002 05:01 Visit Velociryx's homepage!
Edit/Delete Message Reply w/Quote
#34 Report this post to a moderator
Support Apolyton, buy Galactic Civilizations: Deluxe Edition

Diplomat....I personally have no idea, but it sure sounds good!

Continuing with Lib's analogy that what I'm looking for is really more akin to Artificial Instinct, rather than intelligence, I can fairly say that what you're talking about (we'll call them, "Instinctual Layers") is conceptually possible. As to what programming nightmares it contains....I have not the slightest clue!

The goal with the Candle'Bre proposal is this:

To create the outline of a relatively simple, yet completely playable, completely MODDABLE (including the AI) game, that is scalable. That is to say, if/when we ever convince someone with some programming skill to piece the basic design together, then we can begin exploring adding layers of complexity onto it (ie - once we get something playable and enjoyable put together, we could add more buildings, more "wonders" and get more creative with the techs - perhaps allowing the Lifestyle branch of the tree to include the researching of government types which would impact the overall levels of commerce/upkeep for troops as mentioned earlier. And/or, we could enable a "Public Works" type interface for road and highway building to connect provinces. This would increase gold production by one per province connected, and (eventually) allow for trade with other "kingdoms" (assuming we later add resource types).

Further, we could include a culture model onto the mix, and give the AI a new set of parameters for dealing with them (once we get the basic AI model nailed down).

Eventually then, what starts off as our simple, playable design, can grow to incorporate whatever level of complexity we desire, with the AI being "ramped up" to deal appropriately with our additions as we go along.

The first 'net created, scalable game? That's an interesting notion....

-=Vel=-

Mark_Everson is offline Mark_Everson
Clash of Civilizations Project Lead
Canton, MI
Jan 1970
time: 00:17
  Old Post 17-01-2002 05:39 Visit Mark_Everson's homepage!
Edit/Delete Message Reply w/Quote
#35 Report this post to a moderator
Re: Re: Ai Put an end to popups!

Hi Analyst Redux:

quote:
Originally posted by Analyst Redux
Doing good AI is a really really hard task. As nostalgically attached as I am to the cool and quirky game line of Sid Meier (my nostalgia goes back to Pirates!), I think that the time when a single programer, or small group working above the proverbial garage, could startle us with AI ingenuity has come and gone. It just ain't as easy to do as it looks.


I actually think non-commercial groups will soon develop AI Much better than what the commercial houses do. There are a few basic reasons:

The release cycle for commercial games is Very hostile to deep thought about AI. What's needed for good AI are a basic set of Solid rules for what the good strategies in the game tend to be. To do this you need Time after the design is firmed up. The commercial release cycle will Never make this much time available IMO.

Game design as practiced by the commercial houses rarely make it a Consideration of design that it should be something an AI can reasonably handle. They design what they think is cool, and then leave it to the poor sucker doing the AI to figure out how to cope. Simple models of economics etc. as exist in the Civ series are nearly Chaotic, in that small changes in strategy can produce very different results. For example you either win a wonder race, or you don't with vastly different prospects depending on which way it went. There are Plenty of ways to make a fun game, why not pick the ones that are easier to handle because they're less prone to near-chaotic behavior. Please don't misunderstand me, there will Always be make-or-break events, but getting the frequency down to those representing big battles and a few other things would help a lot.

Cutting-edge graphics don't leave as much time for AI as we strategists want.

Finally, AI models tend to be Global rather than hierarchical. Individual units tend to blunder around without a real AI general leading them. The result is about what happens in the real world without leadership able to exchange information with the troops.

Over-dependence on things like finite-state machines that need to have all the thought put into them before the games starts. I think with the awesome amount of processing power available now, some simulation of possible results of a small set of strategies can be investigated by the AI. That wouldn't be like human thought, but it means all considerations don't need to be put into the game AI ahead of time.

(The diplomat, I didn't see your post two above before I put this up... I think the ideas are fairly similar!)

Here is a crude outline of what I think is the right way to do AI (taken from another thread):

Let me give you a very broad-brushstroke view of how I think virtually every level in the AI can work. I believe this approach can work for everything except the top few levels of very broad overall strategy. I have specific models in mind, and/or on paper for virtually all of them, but I don't think going through the specific ones would be of value here. (see Hierarchical AI link below for more detail) Here's how each level of the AI works.

1. Strategy to guide this level comes down from above
2. Rules are used to generate an alternative series of possible best ways to execute the strategy (the number tested depends on processing time). Alternative counter-strategies based on knowledge of the enemy are also formulated (we can cheat on this if absolutely necessary, although I would prefer not to).
3. As much as possible our alternative best strategies are tested against good enemy strategies. This is Not done as a simple mathematical equation, but is rather played out in a simplified world model that we think can capture the Essence of what is important for this level. So it is through simulation, rather than calculation that I hope to capture the interaction of different strategies by competing civs.
4. At this point, if it's required that we stop, we just pick from the best indicated strategies. If there is extra time, there is a large variety of things that can be done. The one that I think is most attractive, is to encode the strategies as as individuals in a population of a genetic algorithm approach. We then pursue more simulations as in 3, but while tweaking the strategies through mutation and crossover. If the rule-based approach can give us any hints as to which are the most productive things to change, the more the better. The chromosomes will not generally contain numbers at all, but contain strategic objects. "Take Berlin", "obtain alliance against the Greeks". A mutation in the strategy might be something like "it would be nice to get an alliance against the Greeks, but it isn't that essential", or "it's Imperative". I'm not sufficiently foolish to think that this approach will very frequently give an answer better than the rule-based approach. However, it has the potential to break the AI out of the rut of always doing "predictable" things.

The hierarchical AI is used to form a bucket brigade for the strategies being considered. The higher strategic thought pours down from "above" (that is the higher level models). We assume in each model that the level above knows what it's doing. Just like the Captain follows the Colonel's orders in an army. However, the Captain knows the situation on the ground, and will occasionally ring up the Colonel and ask them to reconsider if things seem especially ill-advised. When the Captain has done his calculations about how best to achieve the result assigned to him by the Colonel, he then passes his plan down to those below him in the chain of command.

There's a lot more detailed discussion in AI -- The Thread and I'd like to hear your thoughts on it if you're interested.

Last edited by Mark_Everson on 17-01-2002 at 05:46

 
Pages (2): [ 1   2   ]
< 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.0385 seconds (88.63% PHP - 11.37% 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