Announcement

Collapse
No announcement yet.

City Sttling Distance

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

  • City Sttling Distance

    Does anyone know specifically how to keep the computer from puting its cities so close together. It has room to spread why is it so rediculous. Every two or three tiles is another city. There are some files in the aidata folder I think have to do with this, but I can't readily make heads or tails of it. Well, thanks for any advice you can give.

    ------------------
    Yours in gaming,
    ~Elucidus
    Yours in gaming,
    ~Luc

  • #2
    Damn. Wes fiddled with that, but I can't recall what file it was--I went in and adjusted it for the larger maps. If it wasn't set_settle_denisty.fli, than it was one of the aip files....
    Argh. That's gonna bug me now....

    Wes--what file was that?
    Existence is Futile.

    Comment


    • #3
      Wes...?
      Existence is Futile.

      Comment


      • #4
        Would adjusting the text in this file also help with the Quickstart games? If you play with any ai civs in the game the ai civs are all clumped together. A friend and I always play hotseat together and use the 10 settler APQS (including aips), usually we just go head to head but we like to throw a few ai in there just to make things a little more interesting. These civs never do that well, never like in the normal game where one or more usually give you a challenge.

        Comment


        • #5
          I'm not sure, but I think the density depends on the AI personality. But if someone find in which file is-it, I could implement it in APQS.

          ------------------
          ctp pbem stats: slaamp.virtualave.net/ctp/stats.html
          Apolyton QuickStart for CTP PBEM

          Comment


          • #6
            I didn't like that either but this is one of the few things about the AI that's easy to fix. The distance between the AI player's cities is determined by his personality type (SciFew, SciMany, etc.) and how many cities he already has. The inference rules that lead from these inputs to the output settler_packing are in the set_settle_density file that Nordicus mentioned. But its this output itself that fixes the value (in number of tiles) of the distance between the cities. All you've got to do is change its default value and adjust the membership functions accordingly; here's the settings I use:

            output settler_packing[0.0, 10.0] = 5 //target average distance between cities; from 4, HP & below
            tri truly_dense_settler_packing(settler_packing, 4.0, 0.5)//from 3
            tri dense_settler_packing(settler_packing, 4.5, 0.5)//from 3.5
            tri loose_settler_packing(settler_packing, 5.0, 0.5)//from 4
            tri very_loose_settler_packing(settler_packing, 5.5, 0.5)//from 4.5

            I find that this works fine on a Gigantic map, which is what I always play on. If you still think they're too close together, just add 1 to all the numbers I've changed above.




            ------------------
            H_Petard

            Comment


            • #7
              Thank you very much for your help. I greatly appreciate it.

              ------------------
              Yours in gaming,
              ~Elucidus
              Yours in gaming,
              ~Luc

              Comment


              • #8
                Peter, yes, that's the one. Thanks.
                Existence is Futile.

                Comment


                • #9
                  I worked on this quite a lot. In addition to Peter's changes, I changed the settings in the set_settle_density so that the AIs would take more time when choosing places to settle, so that you would not have cities one tile apart later in the game. I got mixed results, but it was still better than the original settings.
                  Btw, I never was able to find the magic number in the settings Peter listed, in order to get just the right spacing. Set it at, say 4, and they clump them 3 spaces apart; set it at 4.5, and they go 6 spaces apart. Frustrating.

                  Comment


                  • #10
                    Hmmm. Come to think of it...I do recall us going back and forth with that setting. I checked mine and it's still set at 4.5...I guess that's the best I found for the big azz map I use....



                    ------------------
                    "There can be no maximum of creation without a concomitant maximum of destruction, no supreme good without supreme evil"--Heller, paraphrasing Nietzsche.

                    "The more passion for the argument, the less evidence for it"--Russel.

                    "If you don't agree with me, you're in denial."
                    Existence is Futile.

                    Comment

                    Working...
                    X