Talk:V3 ScratchPad

From FreeOrionWiki
Revision as of 14:36, 15 July 2004 by Drek (Talk | contribs) (=Resource Meter Growth=)

Jump to: navigation, search

Comments on New Version

Population Growth / Health Meter Level

As you have it now, I think population grows too fast. If the homeworld has max pop 30, starts with 22.5 and has Health of 60 (50 for optimal + 10 for homeworld), the pop goes like so:

Turn -> Pop
1 -> 22.50
2 -> 24.75
3 -> 26.48
4 -> 27.72
5 -> 28.57
6 -> 29.11
7 -> 29.46
8 -> 29.67
9 -> 29.80
10 -> 29.88
11 -> 29.93
12 -> 29.96
13 -> 29.97
14 -> 29.98
15 -> 29.99
16 -> 29.99
17 -> 30.00

I think it should take more than ~10 turns to effectively max your population on the homeworld, or you should start with max population on the homeworld.

My suggestion is to reduce the constant in the growth rate by half from (0.01) to (0.005). At this rate, a new colony with 20 max pop and 50 health doubles in population in about 6 turns for the first 20 turns or so.

Alternatively, adjust down the health bonuses for optimal worlds.

Food / Nutrient Distribution

Old Geoff: For food use, I think two passes is sufficient:

  • First pass when doling out food attempts to feed every pop point on every planet with 1 food (prioritized by production locally or big pop planets first...) If there's not enough food to feed everyone, one of these happens (pick? probly not both):
    • The population is capped at the amount of food due to famine.
    • The health meter is reduced by: 40 * (planet unfed pop points) / (total pop of planet)
  • Second pass, the remaining food is dolled out in the same priority to planets again, to feed ever pop point with an additional point of food, up to 2 total.
    • The health meter is increased by: 20 * (planet pop points fed with 2 food) / (total pop of planet)
  • Any extra food left is wasted

The constants 40 and 20 can be changed without objection from me... and should be if other things change that affect them.

I'd avoid reducing the health meter 1 point per population that's not fed, since the rate of growth / starvation is already dependent on population.

I don't like the current set of feeding statuses where you jump from one level to the next, with a huge difference on health, based on a small change in available food. My proposal takes better advantage of the smaller gradations of meters... and models what happens if there's enough food for some, but not all....

DREK2: I think food's going to be stockpiled. Don't remember if there was a definite decision on that oor not. You might want to repost your idea on forums, so that Aq and others might bump into it.

Geoff: What difference does stockpiling food make? The above was about how to determine growth bonus/penalty based on extra/insufficient food... whether it comes from stockpiles or what was just produced. The "extra food wasted" wasn't the important part... I'm fine with it being stockpiled instead.

Homeworld Special

DREK: Homeworld needs to rock in early game, otherwise the player won't be able to feed his nascent colonies. Maybe the bonuses are too high. You missed +10 to science :P. Maybe it should just be +15 to all meters.

Old Geoff: Does it really need to rock that much early game? New colonies start at population 1, homeworld at 20 (I think). If you have 4 colonies at 2 pop each + homeworld at 20, you need 28 food, so you need a farming meter of 14 on homeworld to feed all. (14 * 20 / 10 = 28). If you start with balanced/farming, that's 10, so a bonus of +5 for homeworld would be sufficient... and that's ignoring any bonus for planet quality, which would probably make a homeworld bonus unnecessary (by the time you need more food, planets start producing their own). Having a homeworld bonus anyway is fine, but +15 to all meters means you don't have any tradeoffs between production and food for expansions necessary... you can do it all. Edit: Maybe this changes a bit with growth depending on excess food supply.

I'd suggest homeworld reduce mining, as presumably your race took the low hanging fruit before spaceflight was discovered. It also gives an additional impetus to colonize away or develop your home system, as you can spend your PP at home, but need the minerals to back it up.

DREK2: Bonuses have been reduced. I was thinking planets only export when food is 2*population, so the HW would need +20. What wrong with the homeworld rocking, since all players start off on equal footing? Mid game tech advances should close the gap, except for Farming.

Geoff: Homeworld will have focus bonuses and too, remember, so +20 is overkill. You wanted to maintain the choice between focusing on farming to support growing colonies, and focusing on industry to pump out stuff at home, right? With +20 farming (and a slew of others), you could do both.

There's nothing wrong with the homeworld being great, but it shouldn't be far and away better than any other planet, or be able to produce more of everything than you need simultaneously.

Resource Meter Growth

Geoff: The current population-like growth encourages minmaxing. You can speed overall development of resource meters by by putting the focus towards one meters, increasing the max meter value and thus increasing the rate of growth until it gets to what will be the final max, then switch to another focus to build up THAT meter, and so on. To get optimal growth, you'd have to fiddle. This is why I previously had a rate that didn't depend on the max meter value.

DREK: You're orginal formula has some wonky results on the spreadsheet (my simpler replacements turned out to be even worse.) Eager for alternatives.

Geoff: Wonky how? I'll work at it... (got lots of time to kill at work today). What characteristics would you like it to have or not have, in particular?

Ok, how about:

(change) = (1 + construction) / (1 + current meter value)

Could also remove the top 1 +, so it's just:

(change) = construction / (1 + current meter value)

How long should it take a fresh colony to get to a meter level of 20 (the break even point), assuming it has the max meter levels high enough to let it?

NewDREK: 20 turns maybe. I dunno.

You realize that Construction/(1+Current Meter) is totally wonky, yes?

20 Construction/1+1 Farming=+10 to Farming, for example. Pretty big jump for a new colony.

Construction Meter Growth

Geoff: Having population-like growth for construction is not problematic like resource meters, but it seems a bit redundant when resource meters already do have it... Linear would be better, so you're not quite so stagnated at the start. Remember that it takes a long time for pop-like growth to get up to the middle range where the rate of growth is semi-decent... at first it's horridly slow. Having pop-like growth in the constant for pop-like growth of something else is doublekill... unless you want it this way for some reason...?


NewDREK: A colony that's had it's infra blasted away but population inact should grow faster.


Addendum: I've spreadsheeted the construction growth formula you gave.

Construction Change = (Current Construction + 1) * ((Max Construction - Current Construction) / Max Construction) * (Current Population + 50) * (0.01)

For homeworld: max construction = 45, start = 0.75*45, Pop = 20, assuming I didn't mess up:

construction____change
33.75___________6.08125
39.83125________3.28294592
43.11419592_____1.294078032
44.40827395_____0.417966243
44.8262402______0.123865133
44.95010533_____0.035663684
44.98576901_____0.010179912
44.99594892_____0.002898514
44.99884744_____0.000824701

... Hardly any point to having max and current values for a homeworld...

For a colony: max construction = 20, start = 0, pop = 4

construction____change
0_______________0.54
0.54____________0.8091468
1.3491468_______1.182966987
2.532113787_____1.665861167
4.197974954_____2.217740321
6.415715275_____2.719904069
9.135619343_____2.973165122
12.10878447_____2.792994578
14.90177904_____2.188911146
17.09069019_____1.421048406
18.51173859_____0.784041322
19.29577992_____0.385902787
19.6816827______0.177750107
19.85943281_____0.079168099
19.93860091_____0.034711498
19.97331241_____0.015112634

... I don't see much advantage to this over just using simply +constant / turn... The population (which I didn't bother growing) has minimal effect, even if it looks good in the formula...

I suggest + 0.5 / turn. Thus it takes 40 turns to max construction on a new colony. The delay is enough to be meaningful, and the calculation is simple to understand.

If you want to add some other factors to the rate, I suggest making them additions or multiplications, and not to consider the max construction in the equation. I don't think this is really necessary though, as specials can handle most bonuses / penalties. Population probly shouldn't be included, as meters are generally (something) / (Pop Point) already.

NewDrek: Hrm, thanks for paying attention to the numbers. Sometimes it aint my strong suit. 40 turns seems like an eternity to me in a turn based game. Max Consturction is used because I figured that a colony with Construction improving tech should build up it's general infra faster.

Where are the bonuses and penalties from specials, tech, race picks applied, if not a meter? Rather than inventing a new meter for Construction growth, I used max meter.

Focus Bonuses

DREK: Imho, early game primary should be below breakeven, so when the player achieves those first few tech advances the difference is night and day. Empire is no longer just scrapping by--it's thriving. IN my head Secondary focus doesn't improve (or at least not as often as Primary focus is improved), so Secdonary Bal * 5 should equal Secondary Spec. Er, maybe. Obviously numbers here are open to balancing, but in the meantime we do need numbers.

Geoff: Early game farming shouldn't produce enough to feel the population, or early game focused should be less effecting than balanced in terms of total production? The latter is already the case with my suggestions, as the balanced bonuses are 1/3 those of the specialized bonus. 5*1 = 5 > 1*3 = 1

Here's a few options:

If max growth rate requires 2 food / pop (see above) at 20 pop world needs 40 food / turn for full growth.

(1)

  • Primary Specialized -> +18
  • Primary Balanced -> +6
  • Secondary Spec. -> +9
  • Secondary Bal. -> +3

Farming/Farming gives +27 farming. If other bonuses give +15 typically, you end up with +42 farming, meaning 84 food / turn at a 20 pop world. This is enough to fully feed 42 pop points, 22 more than those on the world.

(2)

  • Primary Specialized -> +24
  • Primary Balanced -> +8
  • Secondary Spec. -> +12
  • Secondary Bal. -> +4

Farming/Farming gives +36 farming. If other bonuses give +15 typically, you end up with +51 farming, meaning 102 food / turn at a 20 pop world. This is enough to fully feed 51 pop points, 31 more than those on the world

(3)

  • Primary Specialized -> +30
  • Primary Balanced -> +10
  • Secondary Spec. -> +15
  • Secondary Bal. -> +5

Farming/Farming gives +45 farming. If other bonuses give +15 typically, you end up with +60 farming, meaning 120 food / turn at a 20 pop world. This is enough to fully feed 60 pop points, 40 more than those on the world

(4) (Old faithful)

  • Primary Specialized -> +12
  • Primary Balanced -> +4
  • Secondary Spec. -> +6
  • Secondary Bal. -> +2

Farming/Farming gives +18 farming. If other bonuses give +15 typically, you end up with +33 farming, meaning 66 food / turn at a 20 pop world. This is enough to fully feed 33 pop points, 13 more than those on the world

I like that ratios of bonus sizes for different focii. (Same as the +12, +4, +6, +2 I had earlier)

Alternatively:
(5) (What you have now)

  • Primary Specialized -> +15
  • Primary Balanced -> +5
  • Secondary Spec. -> +5
  • Secondary Bal. -> +1

Farming/Farming gives +20 farming. If other bonuses give +15 typically, you end up with +35 farming, meaning 70 food / turn at a 20 pop world. This is enough to fully feed 35 pop points, 15 more than those on the world

(6) (Constant 5:1 ratios)

  • Primary Specialized -> +25
  • Primary Balanced -> +5
  • Secondary Spec. -> +5
  • Secondary Bal. -> +1

Farming/Farming gives +30 farming. If other bonuses give +15 typically, you end up with +45 farming, meaning 90 food / turn at a 20 pop world. This is enough to fully feed 45 pop points, 25 more than those on the world

What other factors guide your decisions on this?


NewDrek: Jezus, you really mapped this stuff out. The "what I have now" version looks fine to me. Note that other than the homeworld special, "other bonuses" won't come into play until mid game.

The feeling I was going for was a struggle to feed your colonies, until the player gets decent tech, but not so little that the homeworld can't support any colonies early game at default setting. Balanced Primary (3), Secondary Farm (5), plus 10 (normal hw bonus) = 18, not even enough to keep the hw in good heath. Balanced primary (3), Farm (5), plus 20 (current hw bonus) = 28, enough to keep 4 more population units in good health.

You are assuming that the homeworld will be able to switch to farming focus early game. It wouldn't be wise: how's the hw going to build colony ships to use all those extra Nutrients being produced? (and we do want ot approximate moo2/moo3 early game to an extent: meaning the player starts off with a colony ship. How's that colony going to feed itself without Hw support before it's infra is built?)

Alternative is to bump primary up to 25, primary balance up to 5. Still, with the default foci for the hw, would need +15 to Farming from the HW special. Those numbers would make it "too easy" for empires to support themselves without tech, imho.

Old Stuff

Focus Effects & General Meter Levels

Principles:

  • Food meter break even at (farming meter) = 10
  • At start of game, balanced primary is not enough to give food self-sufficiency
  • At start of game, balanced Primary and Farming Secondary is self-sufficient
  • At start of game, need lots of food to sustain population, so need large proportion of planets on farming focus. Later, farming gets better with tech, buildings, so proportion of farming planets can drop a bit (as all resource meter maxes get raised), and Balanced Primary with or without balanced secondary might eventually become enough to be self sufficient

Proposed:
(Resource meters have default / initial value of 0 each turn. Various meter modification effects add to them, including focus) At start of game (before techs, buildings change things):

  • Primary Specialized Focus gives + 12 to one resource meter
  • Primary Balanced Focus gives + 4 to all resource meters
  • Secondary Specialized Focus gives +6 to one resource meter
  • Secondary Balanced Focus gives +2 to all resource meters

Techs/buildings can independently add or subtract to the default value, or the effect of any of the 4 focuses on each meter. Eg: WonderFarms gives +5 to farming on farming specialed primary focus, +2 to farming on balanced prim. focus, +2 to spec. sec. focus, and +1 to bal. sec. focus (and +0 to other worlds... ie. some techs could give bonuses to all worlds, regardless of focus)

Farming Emergent Properties: primary/secondary focus, mining as "not farming" example focus

  • farming/farming -> 1.8 times need -> 0.8 more worlds' worth of food
  • farming/balanced -> 1.4 times need -> 0.4 more worlds
  • farming/mining -> 1.2 times need -> 0.2 more worlds
  • balanced/farming -> 1.0 times need -> break even point for world
  • balanced/balanced -> 0.8 times need -> must import 0.2
  • balanced/mining -> 0.4 times need -> must import 0.6
  • mining/farming -> 0.6 times need -> must import 0.4
  • mining/balanced -> 0.2 times need -> must import 0.8
  • mining/mining -> 0 times need -> must import 1.0