.com.unity Forums
  The Official e-Store of Shrapnel Games

This Month's Specials

Raging Tiger- Save $9.00
winSPMBT: Main Battle Tank- Save $6.00

   







Go Back   .com.unity Forums > Illwinter Game Design > Dominions 3: The Awakening

Reply
 
Thread Tools Display Modes
  #1  
Old June 16th, 2008, 05:47 PM

Loren Loren is offline
First Lieutenant
 
Join Date: Nov 2006
Posts: 739
Thanks: 1
Thanked 8 Times in 8 Posts
Loren is on a distinguished road
Default A rounding problem with population

Long ago I took a province with 600 people in it. My dominion is long since imposed, growth 3.

It's still got 600 people in it.

Obviously, it's not growing enough per turn and the growth is being rounded down to zero.
Reply With Quote
  #2  
Old June 16th, 2008, 06:24 PM

MaxWilson MaxWilson is offline
Major General
 
Join Date: Mar 2007
Location: Seattle
Posts: 2,497
Thanks: 165
Thanked 105 Times in 73 Posts
MaxWilson is on a distinguished road
Default Re: A rounding problem with population

The gene pool shrank too much, and now everybody is related and can't marry each other.

-Max
__________________
Bauchelain - "Qwik Ben iz uzin wallhax! HAX!"
Quick Ben - "lol pwned"

["Memories of Ice", by Steven Erikson. Retranslated into l33t.]
Reply With Quote
  #3  
Old June 17th, 2008, 02:44 AM
JimMorrison's Avatar

JimMorrison JimMorrison is offline
Lieutenant General
 
Join Date: May 2008
Location: Utopia, Oregon
Posts: 2,676
Thanks: 83
Thanked 143 Times in 108 Posts
JimMorrison is on a distinguished road
Default Re: A rounding problem with population

Well, it only counts in 10s, it's not exactly rounding. The pop is actually counted in memory as 60, and is not increasing by 1, or even .5 and therefor won't go up. You'd need about 850 pop to get it to grow even with G3, it looks like.
Reply With Quote
  #4  
Old June 17th, 2008, 11:23 AM

Loren Loren is offline
First Lieutenant
 
Join Date: Nov 2006
Posts: 739
Thanks: 1
Thanked 8 Times in 8 Posts
Loren is on a distinguished road
Default Re: A rounding problem with population

Quote:
JimMorrison said:
Well, it only counts in 10s, it's not exactly rounding. The pop is actually counted in memory as 60, and is not increasing by 1, or even .5 and therefor won't go up. You'd need about 850 pop to get it to grow even with G3, it looks like.
But it *IS* rounding--the fraction is being rounded down to zero as the field can't hold it.

I think this should be special-cased: If the growth rate is positive the population should grow by at least the minimum possible amount.

Note that this would also address LA Ermor, LA R'yleh and Hinnom depleted provinces.
Reply With Quote
  #5  
Old June 17th, 2008, 12:23 PM
Agrajag's Avatar

Agrajag Agrajag is offline
Lieutenant Colonel
 
Join Date: Jul 2004
Location: Israel
Posts: 1,449
Thanks: 4
Thanked 8 Times in 2 Posts
Agrajag is on a distinguished road
Default Re: A rounding problem with population

Hardly, as +10 per month would still take 85 turns (7 years) to reach just 850 (where Growth 3 can first make an influence according to you guys.)
__________________
I'm in the IDF. (So any new reply by me is a very rare event.)
Reply With Quote
  #6  
Old June 17th, 2008, 12:46 PM

thejeff thejeff is offline
General
 
Join Date: Apr 2005
Posts: 3,327
Thanks: 4
Thanked 133 Times in 117 Posts
thejeff is on a distinguished road
Default Re: A rounding problem with population

What happens with population decrease?

Is that also the same way, so a population that would drop by less than 10 doesn't drop at all?
Or does the decrease round up, so it drops by 10 every month?
Reply With Quote
  #7  
Old June 17th, 2008, 01:02 PM

Loren Loren is offline
First Lieutenant
 
Join Date: Nov 2006
Posts: 739
Thanks: 1
Thanked 8 Times in 8 Posts
Loren is on a distinguished road
Default Re: A rounding problem with population

Quote:
Agrajag said:
Hardly, as +10 per month would still take 85 turns (7 years) to reach just 850 (where Growth 3 can first make an influence according to you guys.)
It wouldn't make a big difference but it just seems so wrong that a depopulated province doesn't ever recover. People would move in!
Reply With Quote
  #8  
Old June 17th, 2008, 01:10 PM
Hoplosternum's Avatar

Hoplosternum Hoplosternum is offline
Second Lieutenant
 
Join Date: Nov 2003
Location: Romford, England
Posts: 445
Thanks: 95
Thanked 13 Times in 9 Posts
Hoplosternum is on a distinguished road
Default Re: A rounding problem with population

Quote:
Agrajag said:
Hardly, as +10 per month would still take 85 turns (7 years) to reach just 850 (where Growth 3 can first make an influence according to you guys.)
I don't really agree Agrajag. Not with the maths that I'm sure you have spot on But the problem is completely depleted provinces which cannot ever again produce even a 1 resource mage. Even a tiny population (enough to give a few resources or even just one) would be a huge boost. Often being able to build a unit (scout/ mage/ leader - even over a few turns) is what you want out of a province rather than a troop factory. The pop death does not remove the indi mage sites but it can make them worthless, especuially if surrounded by other zero pop provinces.

So a change to making growth scales give the minimum population growth would be a huge and IMHO welcome change.

Of course you are correct that until 850 pop is reached the difference between growth 3 and growth 1 will be zero, but that is not what is so bad about the death dom of Ermor et al. Nor what is good about growth 3.

Growth 3 only really pays off in big pop provinces. A pop 20000 province becoming a 40000 one (after X turns) gives a big income boost. But a 2000 to 4000 jump is still not giving a lot extra even if in percentage terms the growth is the same.
Reply With Quote
  #9  
Old June 17th, 2008, 01:52 PM

Loren Loren is offline
First Lieutenant
 
Join Date: Nov 2006
Posts: 739
Thanks: 1
Thanked 8 Times in 8 Posts
Loren is on a distinguished road
Default Re: A rounding problem with population

Quote:
Hoplosternum said:
I don't really agree Agrajag. Not with the maths that I'm sure you have spot on But the problem is completely depleted provinces which cannot ever again produce even a 1 resource mage. Even a tiny population (enough to give a few resources or even just one) would be a huge boost. Often being able to build a unit (scout/ mage/ leader - even over a few turns) is what you want out of a province rather than a troop factory. The pop death does not remove the indi mage sites but it can make them worthless, especuially if surrounded by other zero pop provinces.
Exactly. That's why I hate depleted provinces--no indie mages from them.

I had another thought--it should only apply if there are people next door. People can't move in unless they are there to move in.
Reply With Quote
  #10  
Old June 17th, 2008, 03:29 PM
PvK's Avatar

PvK PvK is offline
National Security Advisor
 
Join Date: Dec 1999
Posts: 8,806
Thanks: 54
Thanked 33 Times in 31 Posts
PvK is on a distinguished road
Default Re: A rounding problem with population

Loren wrote: "it just seems so wrong that a depopulated province doesn't ever recover. People would move in!"

Pre-industrial non-nomadic people didn't move very often. As in, peasants generally spend their entire lives within a day or two's walk of where they were born.

What are the existing ways to increase population in Dom 3? Offhand I can think of:

* Growth scale, as discussed here.
* Random events, which are more likely in situations... such as having positive growth scale.
* Wishing for population.
Reply With Quote
Reply

Bookmarks


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT -4. The time now is 08:43 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2024, Shrapnel Games, Inc. - All Rights Reserved.