Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: How do I set a population cap?  (Read 3649 times)

Chief10

  • Bay Watcher
  • since 31
    • View Profile
How do I set a population cap?
« on: October 23, 2014, 03:38:57 pm »

How do my fellow Fortress overseers set their population limits? As far as I know there is no Lazy Newb Pack for this version. Do you change it in the raws? If so, how?
Logged

Tacomagic

  • Bay Watcher
  • Proud Sir Wordy McWordiness at your service.
    • View Profile
Re: How do I set a population cap?
« Reply #1 on: October 23, 2014, 03:42:56 pm »

The file you're looking for is \\data\init\d_init.txt

In that file find the lines:

Code: [Select]
[POPULATION_CAP:200]
[STRICT_POPULATION_CAP:220]

Population_cap controls the limit when migrants will stop arriving.
Strict_population_cap controlls when you will stop getting births.
Logged

Chief10

  • Bay Watcher
  • since 31
    • View Profile
Re: How do I set a population cap?
« Reply #2 on: October 23, 2014, 03:45:40 pm »

Thank you
Logged

Dirst

  • Bay Watcher
  • [EASILY_DISTRA
    • View Profile
Re: How do I set a population cap?
« Reply #3 on: October 23, 2014, 03:53:08 pm »

The file you're looking for is \\data\init\d_init.txt

In that file find the lines:

Code: [Select]
[POPULATION_CAP:200]
[STRICT_POPULATION_CAP:220]

Population_cap controls the limit when migrants will stop arriving.
Strict_population_cap controlls when you will stop getting births.
Births, or pregnancies?

It'd be harrowing to have some losses from a siege result in a dozen sudden births.
Logged
Just got back, updating:
(0.42 & 0.43) The Earth Strikes Back! v2.15 - Pay attention...  It's a mine!  It's-a not yours!
(0.42 & 0.43) Appearance Tweaks v1.03 - Tease those hippies about their pointy ears.
(0.42 & 0.43) Accessibility Utility v1.04 - Console tools to navigate the map

Tacomagic

  • Bay Watcher
  • Proud Sir Wordy McWordiness at your service.
    • View Profile
Re: How do I set a population cap?
« Reply #4 on: October 23, 2014, 04:00:44 pm »

The file you're looking for is \\data\init\d_init.txt

In that file find the lines:

Code: [Select]
[POPULATION_CAP:200]
[STRICT_POPULATION_CAP:220]

Population_cap controls the limit when migrants will stop arriving.
Strict_population_cap controlls when you will stop getting births.
Births, or pregnancies?

It'd be harrowing to have some losses from a siege result in a dozen sudden births.

Probably pregnancies, but I've never actually seen what happens when you hit the cap when you still have pregnant dwarves.
Logged

vjmdhzgr

  • Bay Watcher
  • Hehehe
    • View Profile
Re: How do I set a population cap?
« Reply #5 on: October 23, 2014, 08:12:53 pm »

Population cap only means that when the dwarven liaison leaves, if you have that number or more then there will be no migrants. If you have even one less you'll get all four seasons of migrants. The strict population cap though is a magical cap that affects everything even if there's no liaison, and I think can even limit the first two migrant waves.
Logged
Its a feature. Impregnating booze is a planned tech tree for dwarves and this is a sneak peek at it.
Unless you're past reproductive age. Then you're pretty much an extension of your kids' genitalia

Danjen

  • Bay Watcher
    • View Profile
Re: How do I set a population cap?
« Reply #6 on: October 25, 2014, 01:44:55 pm »

Population cap only means that when the dwarven liaison leaves, if you have that number or more then there will be no migrants. If you have even one less you'll get all four seasons of migrants. The strict population cap though is a magical cap that affects everything even if there's no liaison, and I think can even limit the first two migrant waves.
I set the cap to 7 and attracted no migrants before my liason. Are you sure it's linked to him?
Logged
Quote from: mrbobbyg
Hey, I'm cool with you tying a dog up and shooting it with a ballista if you're short on elves, but there's not need to lie about it to us.

lethosor

  • Bay Watcher
    • View Profile
Re: How do I set a population cap?
« Reply #7 on: October 25, 2014, 04:21:09 pm »

The file you're looking for is \\data\init\d_init.txt

In that file find the lines:

Code: [Select]
[POPULATION_CAP:200]
[STRICT_POPULATION_CAP:220]

Population_cap controls the limit when migrants will stop arriving.
Strict_population_cap controlls when you will stop getting births.
Births, or pregnancies?

It'd be harrowing to have some losses from a siege result in a dozen sudden births.

Probably pregnancies, but I've never actually seen what happens when you hit the cap when you still have pregnant dwarves.
According to the documentation in the file, the strict population cap stops fort births. It's not clear what happens to pregnancies that occurred before the cap was reached (i.e. whether they'll result in births when the population falls below the cap or not).
Logged
DFHack - Dwarf Manipulator (Lua) - DF Wiki talk

There was a typo in the siegers' campfire code. When the fires went out, so did the game.

Loci

  • Bay Watcher
    • View Profile
Re: How do I set a population cap?
« Reply #8 on: October 25, 2014, 08:38:34 pm »

Population cap only means that when the dwarven liaison leaves, if you have that number or more then there will be no migrants. If you have even one less you'll get all four seasons of migrants.

No. The single population cap *used* to work like that, but Toady fixed it in v0.40.05 (see his note in bug 2922). In the current version the population cap no longer depends on the liaison, and immediately halts migration once the cap is reached.
Logged

Ancalagon_TB

  • Bay Watcher
    • View Profile
Re: How do I set a population cap?
« Reply #9 on: October 26, 2014, 02:48:29 pm »

if there is *no* pop cap line, you will never get more than 7 dwarves

I had a fort go on for 2-3 years like that.

I think it's actually not a bad idea, lets you get the hang of the game.  I'm limited at 75 dwarves right now, which is pretty decent and doesn't hurt my computer too much.
Logged
hamster cheese supplies are low