Announcement

Collapse
No announcement yet.

What does the AI know?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • What does the AI know?

    With all of the talk of AI improvement, I was wondering... currently, what does the AI know to do? The reason is that its a little difficult to determine what needs to be improve or what CAN be improved without knowledge of what is.

    For example:
    • Do they know to target a city's resource tiles?
    • Do they know to target larger cities?
    • Do they know to target more powerful enemy attack units when possible?
    • Do they know the advantages of certain terrain for defense?
    • Do they take resources into consideration when constructing cities?
    • Does the AI take another civilization's power into account when negotiating? I know it makes all of those comments when your powerful, but do they know to use more tact with the powerful guys?
    • Does the AI know why it builds tile and city improvements?
    • Is the AI "aware" of the effects of government and happiness?
    • What other things does the AI know to do that we might not be aware of?


    Have any other questions about what the AI is programmed to know? Know the answers to these and other questions? Then respond. That way we can see what is feasible for being added and what can be improved.
    Dom Pedro II - 2nd and last Emperor of the Empire of Brazil (1831 - 1889).

    I truly believe that America is the world's second chance. I only hope we get a third...

  • #2
    What you mean!?!?

    If you mean what firaxis should improve on the AI, then I totally agree with you. they need tons of improvement.

    Comment


    • #3
      The post was meant to get a better idea of what the AI's capabilities are so we know what the boundaries are of what we can expect to improve. It is an important step to improving the game.
      Dom Pedro II - 2nd and last Emperor of the Empire of Brazil (1831 - 1889).

      I truly believe that America is the world's second chance. I only hope we get a third...

      Comment


      • #4
        Good questions. It will be interesting to see the answers. (Hint, hint)

        Especially the question about negotiating. I can be twice as powerful (in SMAC) as all the other factions put together and still some puny little faction throws threats and the like at me.

        ------------------
        - Biddles

        "Now that our life-support systems are utilising the new Windows 2027 OS, we don't have to worry about anythi......."
        Mars Colonizer Mission
        - Biddles

        "Now that our life-support systems are utilising the new Windows 2027 OS, we don't have to worry about anythi......."
        Mars Colonizer Mission

        Comment


        • #5
          Firaxis'll never tell us - I think that'll be like Coca Cola telling us the recipe for Coke. But one of the civ-clone developers like Thue could tell us...

          ------------------
          No, in Australia we don't live with kangaroos and koalas in our backyards... Despite any stupid advertisments you may see to the contrary...
          No, in Australia we don't live with kangaroos and koalas in our backyards... Despite any stupid advertisments you may see to the contrary... (And no, koalas don't usually speak!)

          Comment


          • #6
            AI is the one secret they will never let out, AI is the key to games, good and bad AI can break a game.

            ------------------
            I have walked since the dawn of time and were ever I walk, death is sure to follow
            I have walked since the dawn of time and were ever I walk, death is sure to follow. As surely as night follows day.

            Comment


            • #7
              More info about how Civ/SMAC AI works will be interesting, still... what's the help about players suggestions?

              Just for fun:

              Q. Do they know to target a city's resource tiles?
              Firaxis A. No.
              Lot of Apolytoners (screaming) R. Heck! Then just do it so, silly loosers! (disclaimer: title I write here are not real in any way, just to underline some mood here and there ).

              We can try to help Firaxis suggesting things AI should do with manageable (in algorithms terms) info.

              Usually AI cheats right because it knows info that human player don't (like know every enemy unit position, just to cope with "surprise" attack and ambush).

              Tactics to use with available info is another story:
              is it smarter to attack stronger enemy units or to strike back on flank, against weakest units, decimating them before they recover strenght?

              Better move your settler for another bunch of turns, just to reach a better production site (that AI can know because of cheat), or sit down here and found city ASAP to gain production time?

              So, can someone try to write down AI player tactics a computer can properly... compute ?

              BTW, AI cheating are frustrating, still actually the only way to keep game interesting till the midgame.

              ------------------
              Admiral Naismith AKA mcostant
              "We are reducing all the complexity of billions of people over 6000 years into a Civ box. Let me say: That's not only a PkZip effort....it's a real 'picture to Jpeg heavy loss in translation' kind of thing."
              - Admiral Naismith

              Comment


              • #8
                well, heres what i know for what its worth...

                the ai does take into account relative power when negotiating, this is modified by weather the civ is 'aggressive', neutral, or 'rational'. it certainly seems to take into account military power, i.e. if your more powerful, ai is more likely to be friendly. if you are the most powerful thought they seem to treat you badly regardless of what you do.

                they seem not to have a clue about how large or important particular tagets are, it seems they are just as likely to attack any target.

                they also dont seem to know about defensive terrain either, overall the computers military capabilities are appalling. it seems to just consist of attacking a unit/city until it is destroyed/taken. they dont seem to consider relative attack/defence strengths, as shown by how often the ai throws itself against a mountain with a phalanx-in-a-fortress on top...

                as for resources, im not sure, i know the ai generally only places cities on grassland and plains squares, each square has a special ai value, so that desert/glacier, etc will never be built on. im not sure about forests/hills. they seem to ignore special resources, using them if they happen to be located in a city radius. but im not sure about that.

                ai seems to have some idea about governments. for example theyre more likely to switch to fundy when theres little left 'interesting' to research, that is when all the techs available have a low ai value (although 'civilized', and 'militaristic' civs have different tech ai values). i assume they are more likely to switch to demo when theyve got lots of interesting tech to research.

                the ai in the game is a pretty poor match for a human, all thing considered, which is why the ai cheats to create more of a challenge.. but im not even gonna start goin into how many ways the ai cheats... .

                hope this has been of some help, at least, i tried to answer your questions, there are probably other things i couldve written. one thing i hope they can improve for civ3 is the military side of the ai, truly it was terible on civ2, and it is probably the hardest part of the game to cheat on, without spoiling the game by making the cheating obvious. fingers crossed, theyll be no more 'wasting hundreds of units on a fortified phalanx' again.

                Comment


                • #9
                  The reason why I asked about targeting of tile resources is because the other day I was playing a game where I constructed a city on a one tile island in the gulf of the continent where my enemy was with only one other one tile island that had Gems. It was supposed to be a launch point. Suddenly, that civilization dropped a chariot right on that other island and deprived me of the trade points, so I began to think that maybe the AI had planned that. Is there any sense to that statement?
                  Dom Pedro II - 2nd and last Emperor of the Empire of Brazil (1831 - 1889).

                  I truly believe that America is the world's second chance. I only hope we get a third...

                  Comment


                  • #10
                    quote:

                    Originally posted by Dom Pedro II on 11-09-2000 01:01 PM
                    The reason why I asked about targeting of tile resources is because the other day I was playing a game where I constructed a city on a one tile island in the gulf of the continent where my enemy was with only one other one tile island that had Gems. It was supposed to be a launch point. Suddenly, that civilization dropped a chariot right on that other island and deprived me of the trade points, so I began to think that maybe the AI had planned that. Is there any sense to that statement?


                    Just pure chance, IMHO.

                    Indifference is Bliss

                    Comment


                    • #11
                      I agree with HsFB, the AI probably planned to explore that one tile 'continent' LMAO.

                      "Wise Men Talk because they have something to say, fools talk because they have to say something" - Plato

                      Comment


                      • #12
                        ai definitely seems to send caravans to specific cities.. just today i was playing on world map, as chinese, i had most of asia. my biggest cities were located in china, and they sent plenty of caravans to my chinese cities, ignoring all of the smaller ones in the way. so they definitely try to go for larger cities, for maximum trade.

                        probably just chance about the ai landing on that island. frankly im suprised they didnt drop off an explorer

                        Comment


                        • #13
                          What about caravans? Does the AI send them to larger cities that demand their commodities or do they just run into the first city they find?
                          Dom Pedro II - 2nd and last Emperor of the Empire of Brazil (1831 - 1889).

                          I truly believe that America is the world's second chance. I only hope we get a third...

                          Comment


                          • #14
                            Ok, I'm probably not going to get the attention I wanted by putting this in this existing thread, but I've got some ideas on improving the AI.

                            NOTE: My experience with programming is very limited, and I don't know if my ideas have any validity, but I figured I'd post them anyway.

                            I think that there should be a series of pre-planned campaigns and templates for the AI to follow.

                            The templates (as was previously discussed) should be ones that specify that the AI will always construct certain things after building a city. And then after those things have been built, the AI will make its own decisions. This is to ensure that the cities are properly defended and have adaquate city improvements.

                            Such templates would also force the AI along certain technology lines that they will not divert from much.

                            Then there should be a series of civ-specific campaigns that would make the AI accomplish things. These campaigns would be divided into short-term and long-term goals.

                            Short-term goals would include ordering the AI to build three units (Ship, Defense Unit, and Settler) and making it go out for a new continent. Or also, after a declaration of war, ordering the AI to send a percentage of attack troops to one enemy city.

                            Long-term goals would be ordering the AI to begin construction of a wonder after discovering its technology and forcing it to continue until its built by them or someone else.

                            Another thing, a continuation of the rural population concept is to have each tile with a desirability rating based on coastal or river location and mineral resources. Each tile would be given a rating when the map is generated. The most desirable spots will automatically fill in first. Roads and railroads increase desirability. This not only relieves the responsibility of migration on the AI, it also helps the AI to determine what to fight for. The ultimate goal of civs is to have the most desirable lands inside their borders.

                            The purpose of all of these things is to help relieve the load on the AI. This will allow for more civs, a rural population, and more complicated diplomacy.


                            ------------------
                            "...The highest realization of warfare is to attack the enemy's plans; next is to attack their alliances; next to attack their army; and the lowest is to attack their fortified cities." - Sun Tzu

                            Dom Pedro II.... aka Hannibal3

                            Dom Pedro II - 2nd and last Emperor of the Empire of Brazil (1831 - 1889).
                            Dom Pedro II - 2nd and last Emperor of the Empire of Brazil (1831 - 1889).

                            I truly believe that America is the world's second chance. I only hope we get a third...

                            Comment


                            • #15
                              Another idea is strategic campaigns that can be activated for the civilization to carry out during war.

                              These would include plans like a Decoy Plan that make the AI send one or two units into one place and then the invasion force is sent in from another point. I don't know how possible move unit commands would be on a random map though...

                              Another possibility is a long-term amphibious invasion plan. The AI would be ordered to construct several transports and then ordered to put a certain number of attack units on board and then send them to a heavily populated enemy city.

                              The fact is that the limit of this is the imagination of the programmer. But again, I don't know if it would be possible to create pre-planned strategies to limit AI thought, so come on programmers. Pick it apart.
                              Dom Pedro II - 2nd and last Emperor of the Empire of Brazil (1831 - 1889).

                              I truly believe that America is the world's second chance. I only hope we get a third...

                              Comment

                              Working...
                              X