Announcement

Collapse
No announcement yet.

Govern.txt

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

  • Govern.txt

    Sorry to start yet another topic, I promise I'll already get more involved with actually playing, but all your answers/thoughts are definitely helpful.

    (Q1) The first few lines are about wages, rations and worday, I suspect they are related to happiness. All the Positive()Coef and Negative()Coef values for all governments are 1, so I'm wondering what these would be for.
    (Q2) How exactly is crime caluclated, i.e. if the CrimeCoef = 1.5 then that's 1.5 times what? Also, what is the CrimeOffset number?
    (Q3) As for the infrastructure and capitalization coefficients, where exactly are these factored in?
    (Q4) What is the DefenseCoef?
    (Q5) As for the SupportCoef, I suspect this is related to military support costs, but how exactly are these calculated (is there a value assigned to each unit and if so where can this be found)?
    (Q6) What is the EmpireDistanceScale and the Min and Max EmpireDistance?
    (Q7) Where exactly do the rush buy modifiers come in? (How does one calculate the rush buy costs? Is this production left times the modifier?)
    Ivan - ivanbuto2@yahoo.com

  • #2
    http://apolyton.net/ctp2/modificatio...f-Govern.shtml
    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
      (Q2) How exactly is crime caluclated, i.e. if the CrimeCoef = 1.5 then that's 1.5 times what? Also, what is the CrimeOffset number?
      1.5 times the base crime that all governments have, they all have crime, then its multiplied by this. Obviously a ****ty government for crime like Republic is crimecoef 1.25 and low crime is Fascism, crimecoef 0.75.
      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


      • #4
        Thanks, that makes it easy.
        What I still don't understand is how I get the base number for

        a) crime
        b) happiness
        Ivan - ivanbuto2@yahoo.com

        Comment


        • #5
          Base number for crime: 25
          Base number for happiness: 75

          If you've played the game for more than 2 hours you should know this

          (I *think* these values may be hard-coded BTW, I couldn't find them anywhere in the text files)
          Administrator of WePlayCiv -- Civ5 Info Centre | Forum | Gallery

          Comment


          • #6
            The happiness number base number is in the DiffBB.txt
            And there is a happiness starting level for every difficult level (The line will repeat 6 time though the file):
            Code:
            BASE_CONTENTMENT		75	# starting happiness
            In the const.txt you will find the numbers for the riot and revolution level.
            In line 107
            Code:
            REVOLUTION_LEVEL 60
            In line 225
            Code:
            RIOT_LEVEL              73

            I dont know where the crime base level is though. But i dont believe it is hard-coded as suggested by locutus. Still i am not sure about it.
            "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


            • #7
              this should be in the mod section

              Comment


              • #8
                I looked in all the text files under the gamedata folder, and couldn't find the crime base to be set at 25 anywhere. Could crime perhaps be related somehow to hapiness? For example we know that above 95 hapiness there is 0 crime.
                Ivan - ivanbuto2@yahoo.com

                Comment

                Working...
                X