Announcement

Collapse
No announcement yet.

MemoryAttitudePercent

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

  • MemoryAttitudePercent

    Anyone know what means in CIV4LeaderHeadInfos? Some interesting stuff under there.

  • #2
    I think it refers to how long a civ remembers what you've done. Some civs will forgive you for your misdeeds eventually.
    Mylon Mod - Adressing game pace and making big cities bigger.
    Inquisition Mod - Exterminating heretic religions since 1200 AD

    Comment


    • #3
      for instance...


      MEMORY_RAZED_HOLY_CITY
      -200



      It seems that razing a holy city affects them? Does that mean if it is a holy city they own? A holy city of their religion etc? -200 is also a strange value...

      Comment


      • #4
        My theory is that the + - numbers besides the reasons are actually determinded by these numbers, hence a civ's attitude is determined, at least in part, by these numbers. So they are memory, but also the variables that define the affects?

        Comment


        • #5
          At first the file is called CIV4LeaderHeadInfos.xml don't forget the extension.

          The other thing that irritates me is why they called it leaderhead insteat of simply leader.

          However it seems to define how the different leaders react in diplomacy and how their attitude is and you can change their music. And assign certain civ traits. And I would also expect to find their image, animation in there.

          -Martin
          Civ2 military advisor: "No complaints, Sir!"

          Comment


          • #6
            The MemoryAttitudePercent is the +/- effect of that event like you said. A -200 will be shown as -2 in the game.

            The part of that XML file directly above which has MemoryDecay entries is how long those +/- effects will last. I'm guessing the value indicates a range of random number of turns that the effect will last because it says iMemoryRand

            And curiously, some of the diplomatic effects are missing from the MemoryDecay section- notably MEMORY_DECLARED_WAR and MEMORY_DECLARED_WAR_ON_FRIEND. These are two effects which coincidentally never seem to be removed in game- they're parmanent. I tried adding them in a new section of the MemoryDecays but it didn't seem to have an effect... I didn't test it thoroughly enough though

            Comment


            • #7
              Interesting, so Im guessing to add a new type, its an SDK thing. There is a related string for them, I forget what it is called. But I do not see an interface in python to actually deal with these.

              Comment


              • #8
                Originally posted by aegisx
                Interesting, so Im guessing to add a new type, its an SDK thing.
                The thing that favours this hypothesis is that you can find it in the CvGameCoreDLL.dll as hardcoded string.

                -Martin
                Civ2 military advisor: "No complaints, Sir!"

                Comment


                • #9
                  They refer to the attitude modifers in the game. A -200 shows as -2 in the game, a 300 as +3, and so on. So you can see how various leaders are affected by various actions.
                  Solver, WePlayCiv Co-Administrator
                  Contact: solver-at-weplayciv-dot-com
                  I can kill you whenever I please... but not today. - The Cigarette Smoking Man

                  Comment


                  • #10
                    Hopefully the SDK will allow for new memory and diplotype creation. Lots of possibilities..

                    Anyone have a thought on what the Holy_City_Razing specifically does?

                    Comment

                    Working...
                    X