Results 1 to 9 of 9

Thread: Settlement population upgrade

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    IZob's Avatar Citizen
    Join Date
    Aug 2009
    Location
    Australia
    Posts
    9,829

    Default Settlement population upgrade

    In the descr_settlement_mechanics.xml file within the data folder, theres a bottom section that involves the population levels for settlements. Theres the base population level (called 'base') and the population level required to upgrade the population (called 'upgrade').

    I have my current settings as below:
    Code:
       <population_levels>
          <!-- city -->
          <level name="village"   base="500"  upgrade="1000"  min="100"  max="1500"/>
          <level name="town"   base="1000"  upgrade="3000"  min="100"  max="4000"/>
          <level name="large_town"  base="3000"  upgrade="9000"  min="100"  max="12000"/>
          <level name="city"   base="9000"  upgrade="22000"  min="100"  max="31000"/>
          <level name="large_city"  base="22000"  upgrade="38000"  min="100"  max="60000"/>
          <level name="huge_city"   base="38000"    min="100"  max="100000"/>
          <!-- castle -->
          <level name="moot_and_bailey"  base="500"  upgrade="800"  min="100"  max="1300"/>
          <level name="wooden_castle" base="800"  upgrade="1500"  min="100"  max="2300"/>
          <level name="castle"   base="1500"  upgrade="4500"  min="100"  max="6000"/>
          <level name="fortress"   base="4500"  upgrade="11000"  min="100" max="15500"/>
          <level name="citadel"   base="11000"  upgrade="20000"  min="100"  max="50000"/>
       </population_levels>
    My problem is that the population levels in the file have seemed to make no change in the game. For instanc, I have a wooden castle set at 1200 population. I shouldn't be able to upgrade the settlement until the population reaches 1500 but for some reason, if I have enough money I can upgrade the settlement, irrelevant of the population size. Is there another file that could be effecting the upgrade level? I need help plz :S
    Contact me on Steam: steamcommunity.com/id/IZob/ or send a PM.

  2. #2
    Squid's Avatar Opifex
    Patrician Artifex Technical Staff

    Join Date
    Feb 2007
    Location
    Frozen waste lands of the north
    Posts
    17,751
    Blog Entries
    3

    Default Re: Settlement population upgrade

    One of two likely things, one you aren't running a config file with io_first or two, you updated the wooden_castle line but not the castle line. The wooden castle can upgrade at 1200, but if you don't update castle as well it can be built until its minimum population is reached.
    Under the patronage of Roman_Man#3, Patron of Ishan
    Click for my tools and tutorials
    "Two things are infinite: the universe and human stupidity; and I'm not sure about the universe." -----Albert Einstein

  3. #3
    IZob's Avatar Citizen
    Join Date
    Aug 2009
    Location
    Australia
    Posts
    9,829

    Default Re: Settlement population upgrade

    Here are the improtant parts of my Configuration.cfg file:

    Code:
    [features]
    editor  = true
    mod = mods/grand_campaign
    [log] 
    to = logs/M2TW.system.log.txt 
    level = * trace
    [io]
    file_first = true
    When you were mentioning updating the wooden_castle as an example, were you talking about the descr_settlement_mechanics.xml file or another file like the EDB.txt? I only know of the descr_settlement_mechanics.xml to have anything to do with population sizes, bar the desc_strat file.
    Contact me on Steam: steamcommunity.com/id/IZob/ or send a PM.

  4. #4
    Squid's Avatar Opifex
    Patrician Artifex Technical Staff

    Join Date
    Feb 2007
    Location
    Frozen waste lands of the north
    Posts
    17,751
    Blog Entries
    3

    Default Re: Settlement population upgrade

    I was referring to settlement_mechanics. Make sure the min of the next level matches the upgrade of the previous level.
    Under the patronage of Roman_Man#3, Patron of Ishan
    Click for my tools and tutorials
    "Two things are infinite: the universe and human stupidity; and I'm not sure about the universe." -----Albert Einstein

  5. #5
    IZob's Avatar Citizen
    Join Date
    Aug 2009
    Location
    Australia
    Posts
    9,829

    Default Re: Settlement population upgrade

    I followed those instructions but theres still no change .

    Here is what my the descr_settlement_mech... .xml file looks like.
    <population_levels>
    <!-- city -->
    <level name="village" base="500" upgrade="1000" min="500" max="1000"/>
    <level name="town" base="1000" upgrade="3000" min="1000" max="4000"/>
    <level name="large_town" base="3000" upgrade="9000" min="3000" max="12000"/>
    <level name="city" base="9000" upgrade="22000" min="9000" max="31000"/>
    <level name="large_city" base="22000" upgrade="38000" min="22000" max="60000"/>
    <level name="huge_city" base="38000" min="38000" max="100000"/>
    <!-- castle -->
    <level name="moot_and_bailey" base="500" upgrade="800" min="500" max="1300"/>
    <level name="wooden_castle" base="800" upgrade="1500" min="800" max="2300"/>
    <level name="castle" base="1500" upgrade="4500" min="1500" max="6000"/>
    <level name="fortress" base="4500" upgrade="11000" min="4500" max="15500"/>
    <level name="citadel" base="11000" upgrade="20000" min="11000" max="50000"/>
    </population_levels>
    I noticed in other mods and in vanilla they have the 'min' population value set to 500 for all settlement levels. I also tried that but again no change.

    Edit: Is it possiable the '!' mark just before the settlement levels could be stoping the game from reading the text? ie: <!-- city --> & <!-- castle -->
    Last edited by IZob; November 18, 2010 at 02:56 AM.
    Contact me on Steam: steamcommunity.com/id/IZob/ or send a PM.

  6. #6
    Gigantus's Avatar I am not special - I am a limited edition.
    Moderator Emeritus Administrator Emeritus

    Join Date
    Aug 2006
    Location
    Goa - India
    Posts
    52,682
    Blog Entries
    35

    Default Re: Settlement population upgrade

    The exclamation mark is the same as the semicolon in text files - it starts a comment that doesn't get processed by the game engine.
    You can have the min level set to the lowest in all levels, it simply means that the population will be able to shrink that low (massacres, black death)

    Let me see if I get this straight: citadel is last upgrade for castles, right? And this is the line for it:
    <level name="citadel" base="11000" upgrade="20000" min="11000" max="50000"/>
    Which means that you upgrade to this level at 20.000 from fortress.

    Which would mean if you have a wooden_castle (core_building level in descr_strat) with 1.200 nothing should happen until 4.500 when you can upgrade to castle.

    Could you let us have the entry for that settlement in your descr_strat please?
    Last edited by Gigantus; November 18, 2010 at 07:25 AM.










  7. #7
    IZob's Avatar Citizen
    Join Date
    Aug 2009
    Location
    Australia
    Posts
    9,829

    Default Re: Settlement population upgrade

    Citadel is the last castle upgrade available. It needs a population size of 20,000 to be built.

    Just as the moot_and_bailey needs 800 to be built and the wooden_castle needs 1500 to be built etc etc ...

    At least thats from my understanding of how the file works. That is my intention.

    here is one of the rebel wooden_castles with a population of 1,200.
    settlement castle
    {
    level town
    region Wick_Province
    year_founded 0
    population 1200
    plan_set default_set
    faction_creator norway
    building
    {
    type core_castle_building wooden_castle
    }
    }
    Contact me on Steam: steamcommunity.com/id/IZob/ or send a PM.

  8. #8
    Gigantus's Avatar I am not special - I am a limited edition.
    Moderator Emeritus Administrator Emeritus

    Join Date
    Aug 2006
    Location
    Goa - India
    Posts
    52,682
    Blog Entries
    35

    Default Re: Settlement population upgrade

    The population level is actually below the wooden_castle level - you shouldn't be able to upgrade to castle at all (unless I misunderstand the settlement mechanics)










  9. #9
    IZob's Avatar Citizen
    Join Date
    Aug 2009
    Location
    Australia
    Posts
    9,829

    Default Re: Settlement population upgrade

    Ahhh well I think, as by this line here:

    <level name="wooden_castle" base="800" upgrade="1500" min="800" max="2300"/>
    Wick is a town, and thats equivalent to the wooden_castle correct?
    So its pop of 1200 should be fine.
    By the time it gets to 1500, then it should be able to upgrade to castle.
    Contact me on Steam: steamcommunity.com/id/IZob/ or send a PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •