Announcement

Collapse
No announcement yet.

Functions of the capitol

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

  • Functions of the capitol

    In general, what exactly are they in CTP 2? Does the distance from the capitol only affect happiness and crime, and if so, where can one find how exactly one can calculate this? Are these some of the coefficients in Govern.txt?
    Ivan - ivanbuto2@yahoo.com

  • #2
    Got this from http://apolyton.net/ctp2/modification/

    Code:
    EmpireDistanceScale -  Coefficient for distance to capital happiness penalty. 
    Distance is multiplied by this value to get penalty 
    MinEmpireDistance -  Distance below which there is no penalty 
    MaxEmpireDistance -  Distance above which the penalty no longer increases
    That second line is just on the second line so it doesnt make the thread too wide, but it refers to the EmpireDistanceScale above.
    Call to Power 2: Apolyton Edition - download the latest version (12th June 2011)
    CtP2 AE Wiki & Modding Reference
    One way to compile the CtP2 Source Code.

    Comment


    • #3
      if the capitol is lost the distance happiness penalty is at maximum thats why the capitol is such a important building. Once destroyed tha happiness drops drastically

      I am not sure if crime does increase with the distance from capitol It does???
      "Kill a man and you are a murder.
      Kill thousands and you are a conquer.
      Kill all and you are a God!"
      -Jean Rostand

      Comment


      • #4
        I thought it did, like it represents crime and corruption like civ2, and crime still varies from city to city without a courthouse etc, so the distance must affect it.
        Call to Power 2: Apolyton Edition - download the latest version (12th June 2011)
        CtP2 AE Wiki & Modding Reference
        One way to compile the CtP2 Source Code.

        Comment


        • #5
          It also says on the tech tree poster that the Capitol building is a crime type building, but that could mean that crime is lowered in all cities when its built, and not necessarily relative to the position of the city its in.
          Call to Power 2: Apolyton Edition - download the latest version (12th June 2011)
          CtP2 AE Wiki & Modding Reference
          One way to compile the CtP2 Source Code.

          Comment


          • #6
            what r the radii of the capitols effect?

            Comment


            • #7
              Originally posted by HuangShang
              what r the radii of the capitols effect?
              If Capitol distance does effect crime, i assume its the same distance as happiness is affected from the distance. The radius is decided by the government, for Monarchy its "MinEmpireDistance 500" thats 5+ tiles before cities become unhappy from distance i think. The count of tiles can go diagonally to the grid lines too. Unless someone corrects me... again.
              Call to Power 2: Apolyton Edition - download the latest version (12th June 2011)
              CtP2 AE Wiki & Modding Reference
              One way to compile the CtP2 Source Code.

              Comment


              • #8
                oh k

                Comment


                • #9
                  What is the scale of the distance? For example 500 means what exactly in terms of the # of squares?
                  I haven't been able to find the constant 25 for base crime anywhere in the text files. I am wondering if in some way crime is related to happiness, since for example we know that above 95 happiness for all governments there is 0 crime.
                  Speaking of distances, if somebody coudl enlighten me on these lines in Const.txt I would be happy:

                  MIN_START_DISTANCE_COEFFICIENT 0.45
                  MAX_START_DISTANCE_COEFFICIENT 0.6
                  MAX_SAME_TILES 4
                  Ivan - ivanbuto2@yahoo.com

                  Comment


                  • #10
                    Other way around: happiness is related to crime.
                    Concrete, Abstract, or Squoingy?
                    "I don't believe in giving scripting languages because the only additional power they give users is the power to create bugs." - Mike Breitkreutz, Firaxis

                    Comment


                    • #11
                      (Edit: I'm an idiot, I'm talking about CTP1 here - probably best to ignore this post)

                      I believe that crime and happiness are interdependant, both affect each other. In govern.txt note:

                      CRIME_COEF 1
                      CRIME_OFFSET 85

                      I think this sets how crime varies with happiness. i.e. zero crime at 85 happiness, and +1% for each happiness point below that.
                      Last edited by J Bytheway; December 21, 2002, 10:39.

                      Comment


                      • #12
                        Yeah, but these two lines are similar in CTP2. However, the CrimeCoef is a number that multiplies the generated crime depended on your government - this number doesn't say anything about happiness.
                        The other number, CrimeOffset, does relate them though - it seems to imply that crime is related to happiness. Immortal Wombat, if you are claiming that happiness is a function of crime, could you elaborate on that?
                        Ivan - ivanbuto2@yahoo.com

                        Comment


                        • #13
                          I browsed through the CTP 1 mod pages on apolyton, and I foudn the following formula for cirme:

                          Crime = CrimeCoeff * (CrimeOffset - Happiness)

                          Seems like this could work...
                          Ivan - ivanbuto2@yahoo.com

                          Comment

                          Working...
                          X