Redistribution speed

Started by
12 comments, last by sunandshadow 8 years, 7 months ago

We have a pool of troops, we want these to be equally distributed between planets. Battalions are auto distributed each turn (ignore distance, transport, etc) in order to defend planets.

You have 2 planets and 1,000 battalions. All these are on the 1st planet.

Another case: you have 100 planets and 1,000 battalions, again all on 1st planet.

Yet another case: you have 100 planets and 50,000 battalions, again all on 1st planet.

At what speed (formula) should these be redistributed?

* Percentage based on total battalions? But then if you send 5% out of 100 battalions it will take ages for them to reinforce a planet significantly (if we assume there should be 50 battalions per planet) and if you send at 5% while having 100,000 battalions you will basicly fully reinforce all planets in one turn which is too fast.

* Fixed quantity based? Like a planet can receive maximum +100 battalions per turn?

* Mixed model? Like +5% of total battalions OR +100 battalions, whichever is higher/lower?

Stellar Monarch (4X, turn based, released): GDN forum topic - Twitter - Facebook - YouTube

Advertisement


Yet another case: you have 100 planets and 50,000 battalions, again all on 1st planet.

Is this scenario feasible? How many battalions can you produce in one turn on single planet? Or what other scenario can produce such situation that in one turn you are going from single planet with 50k battalions to 100 planets without any additional ones?

However if you want to simulate a ramp-up effect to fortify newly acquired planet within span of several turns you may go for fixed quantity based (your middle (*)). While evenly distributing them across all the planets you will still need to provide enough supply of battalions to fortify all the planets while avoiding instant full reinforcement near endgame when you potentially can have large overproduction.

You don't produce battalions, you get them for free based on population (recruits), you produce only weapons.


Is this scenario feasible? How many battalions can you produce in one turn on single planet? Or what other scenario can produce such situation that in one turn you are going from single planet with 50k battalions to 100 planets without any additional ones?
Hmm, maybe you are right... Anyway, I need some formula that would at least work with various situations (means a planet is reinforced fully in max 10 turns and except some rare cases not reinforced fully in 1-3 turns even if we have a large amount of spare troops).

The thing is, it's hard to predict how many troops per planet there are (especially when population - recruits - can grow and shrink) at various stages of the game. So, I have trouble determining if +100 is too much or not enough. Plus fixed has a nasty pacing effect, if at the beginning you have 100 per planet then you get a planet reinforced in 1 turn while at late game if you have 1000 per planet it would take 10 turns...

Stellar Monarch (4X, turn based, released): GDN forum topic - Twitter - Facebook - YouTube

I'd be mighty tempted to just make it all instantaneous. Can you base the number of troops on the tech level of the two planets?

Is it a fluid like model, where distance comes into play? Ie, to get to Planet X from Planet Z, you have to pass through Planet Y?

Perhaps an I/O based off population. Allowing each planet to send out 50% and receive 50% of their max recruitment factor each turn. Making sure that 50% is the total number of troops sent or received, not a per planet.

So if you have 5000 troops to send you can send them to a bunch of different planets as long as you don't exceed the 5000 limit.

This way you can simply calculate the number max each planet can receive.

You could also tag planets with a incoming priority tag so those planets that have seen battle in the last few turns get priority. Using 'Turns Since Last Battle' tag, you could quickly prioritize the ones that need troops and the ones that can send without much worry. If there is a battle on the planet, the planet tag gets set to 1 and if not it is incremented every turn.


Is it a fluid like model, where distance comes into play? Ie, to get to Planet X from Planet Z, you have to pass through Planet Y?
Actually, you don't send troops betwen planets (I lied a bit :D). There is a central "Army" on the empire wide level. Then these troops are reassigned between planets (while some might stay in reserve/be unassigned yet).


You could also tag planets with a incoming priority tag
There is "defence priority" (1-9) per planet, set by the player. It's simple priority 9 planet gets x9 more troops than priority 1 planet.


Perhaps an I/O based off population. Allowing each planet to send out 50% and receive 50% of their max recruitment factor each turn. Making sure that 50% is the total number of troops sent or received, not a per planet.
Hmm, interesting... Maybe make it based on the number of required troops? Like a planet can not receive more than 25% of desired troops per turn? Also maximum 30% of total troops (empire wide) can be reassigned per turn.

But then the player can micro-manipulate this by adjusting planet defence priority for one turn and then back after the planet got fully reinforced...

Stellar Monarch (4X, turn based, released): GDN forum topic - Twitter - Facebook - YouTube

I would consider simulating travel times and intermediate locations for reinforcements moving from planet to planet, even without simulating the spaceships that are used to transport them.

A model in which, every turn, there are convoys transporting reinforcements in certain deep space locations and currently en route to a certain place allows more realistic decision making and more meaningful policies. For example:

  • You can define a virtual "road network", which also implies distances between planets: quite a richer topology than with instantaneous travel.
  • When does planet X need reinforcements? Which reinforcement convoys can get there on time? Of these, which ones should be rerouted to planet X and which ones are needed elsewhere? It becomes a fairly simple constraint satisfaction problem.
  • Apart from troops actually needed for planet duty (exploration, maintaining order etc). most troops would be needed to fight invasions and they would "hover" in convoys that can reach any of a few nearby planets quickly enough to react to attacks (coming from similarly slow fleets). Only remote planets would have large forces committed exclusively. Planets would form clusters sharing deep-space troop reserves; depending on sensor quality and enemy speed, clusters could be mostly overlapping, mostly single planets, or something in between (and more varied).
  • Especially if you treat troop transport starships as a free unlimited resource, there is a clear guideline for deciding how many troops leave planets: as many as possible, because sharing them with another planet is strictly better than leaving the other planet less defended.
  • There's also a clear guideline for where to send them: towards the parts of the empire with less troops and more threats, for example maximizing the size of the enemy fleet required to conquer the weakest planet.

Omae Wa Mou Shindeiru


Hmm, interesting... Maybe make it based on the number of required troops? Like a planet can not receive more than 25% of desired troops per turn? Also maximum 30% of total troops (empire wide) can be reassigned per turn.

But then the player can micro-manipulate this by adjusting planet defence priority for one turn and then back after the planet got fully reinforced...

make empire-wide 10%, let the AI distribute to the high-priority planets first and when they're full use it for lower-priority-planets.

You don't produce battalions, you get them for free based on population (recruits), you produce only weapons.


Is this scenario feasible? How many battalions can you produce in one turn on single planet? Or what other scenario can produce such situation that in one turn you are going from single planet with 50k battalions to 100 planets without any additional ones?
Hmm, maybe you are right... Anyway, I need some formula that would at least work with various situations (means a planet is reinforced fully in max 10 turns and except some rare cases not reinforced fully in 1-3 turns even if we have a large amount of spare troops).

The thing is, it's hard to predict how many troops per planet there are (especially when population - recruits - can grow and shrink) at various stages of the game. So, I have trouble determining if +100 is too much or not enough. Plus fixed has a nasty pacing effect, if at the beginning you have 100 per planet then you get a planet reinforced in 1 turn while at late game if you have 1000 per planet it would take 10 turns...

I can't quite see why fortification should depend on population on the planet. Especially if you are redistributing those battalions globally. For more "present" scenario - if you have a bunker on vital road that require 10 soldiers to defend efficiently you will need 10 soldiers regardless if the bunker defends mine outpost with only 5 miners or village with 2000 peasants.

So you may set fixed number of battalions you need to defend a planet, start game with enough battalions to defend everything and way to produce more for future expansion. Then you can set some sort of fixed progress for newly acquired planets (assuming player have enough spare battalions at all), something along the lines - you get 100 battalions every turn and need 1000 for full fortification, so it will happen after 10 turns. Until then planet may be completely vulnerable and require protection of main fleet or have some sort of partial protection itself.

I would not include any means to speed that up as it may turn "mandatory" for later game. Player will most likely have some sort of overproduction so increased cost of "emergency 3 turn reinforcement" wouldn't matter.


I can't quite see why fortification should depend on population on the planet.
No, no, only total number of recruits you have (empire wide) depends on population. Local population on a planet is irrelevant (OK, they add free militia for local defence but that's another story). Exactly the mechanic of most grand strategies simulating WWII (manpower).

Player will most likely have some sort of overproduction
Not really, you don't produce anything (excpet weapons which acts as modifier to troops). You have a fixed 1 battalion per 1m population (empire wide). You can't produce battalions.

Stellar Monarch (4X, turn based, released): GDN forum topic - Twitter - Facebook - YouTube

This topic is closed to new replies.

Advertisement