Difference between revisions of "Mind Control Cost"

From Alpha Centauri Wiki
Jump to: navigation, search
m
m
Line 1: Line 1:
Attempt to disassemble Mind Control cost. I could not find adequate description of it on the net. Work in progress.
+
Attempt to disassemble Mind Control cost. I could not find adequate description of it on the net.
 +
Any test verification will be greatly appreciated.
  
 
= Algorithm =
 
= Algorithm =
Line 10: Line 11:
 
# Halve distance to HQ if there is Punishment sphere.
 
# Halve distance to HQ if there is Punishment sphere.
 
# Halve distance to HQ if base is nerve stapled.
 
# Halve distance to HQ if base is nerve stapled.
# Multiply number of Offensive/Combat units at base by (1 + number of polymorphic encryption units at base).
+
# Multiply number of Offensive/Combat units at base by (1 + number of polymorphic encryption units at base). Unit ownership doesn't matter. Could be actually your units if you are MC pact base!
 
# Calculate number of times probe faction MC bases before + 1/4 of how many times it subverted units before. Add to above number.
 
# Calculate number of times probe faction MC bases before + 1/4 of how many times it subverted units before. Add to above number.
# Add base population to above number.
+
# Add base population to above number. That concludes cost modifier as I call it.
# Calculate 1200 + base faction EC + base faction corner market some value if set (the value of EC to achieve corner market?).
+
# Calculate 1200 + base faction EC + base faction corner market cost(?).
 
# Add 4 to adjusted distance to HQ calculated above.
 
# Add 4 to adjusted distance to HQ calculated above.
 
# Divide above EC value to adjusted-shifted distance to HQ above.
 
# Divide above EC value to adjusted-shifted distance to HQ above.
Line 25: Line 26:
 
# Double cost if base faction is an atrocity victim of probe faction.
 
# Double cost if base faction is an atrocity victim of probe faction.
 
# Increase cost by 50% if base faction is NOT an atrocity victim of the probe faction but wants revenge against them.
 
# Increase cost by 50% if base faction is NOT an atrocity victim of the probe faction but wants revenge against them.
 +
 +
= Formula =
 +
 +
Trying to gather the above into concise formula.
 +
 +
distance to HQ = regular distance to HQ; 12 if no HQ; 1 if HQ
 +
 +
distance to HQ adjusted for facilities = distance to HQ
 +
  * 2    ; if GF
 +
  / 2    ; if CC
 +
  / 2    ; if PS
 +
  / 2    ; if stapled
 +
 +
cost modifier = base population + number of previous MCs + number of previous subversions / 4 + (# of combat and offense units at base) * (1 + # of PE units at base)
 +
 +
MC cost = (1200 + base faction EC + base faction corner market cost) / (4 + adjusted distance to HQ) * cost modifier
 +
  * 3 / difficulty    ; for computer MC-ing human base at difficulty above 3
 +
  * 2                ; if factions are not in pact
 +
  / 2                ; if base previous owner is probe faction (base is retaken)
 +
  / 2                ; if base is rioting
 +
  * 2                ; if base is in golden age
 +
  * 2                ; if base faction is an atrocity victim of probe faction
 +
  * 1.5              ; if base faction is NOT an atrocity victim of the probe faction but wants revenge against them
  
 
[[Category:Concepts]]
 
[[Category:Concepts]]

Revision as of 14:17, 12 May 2021

Attempt to disassemble Mind Control cost. I could not find adequate description of it on the net. Any test verification will be greatly appreciated.

Algorithm

  1. Calculate distance to HQ.
    1. Set distance to 12 if there is no HQ.
    2. Set distance to 1 if base itself a HQ. For market cornering calculation only. Probe cannot actually MC HQ.
  2. Double distance to HQ if there is Genejack factory.
  3. Halve distance to HQ if there is Children's creche.
  4. Halve distance to HQ if there is Punishment sphere.
  5. Halve distance to HQ if base is nerve stapled.
  6. Multiply number of Offensive/Combat units at base by (1 + number of polymorphic encryption units at base). Unit ownership doesn't matter. Could be actually your units if you are MC pact base!
  7. Calculate number of times probe faction MC bases before + 1/4 of how many times it subverted units before. Add to above number.
  8. Add base population to above number. That concludes cost modifier as I call it.
  9. Calculate 1200 + base faction EC + base faction corner market cost(?).
  10. Add 4 to adjusted distance to HQ calculated above.
  11. Divide above EC value to adjusted-shifted distance to HQ above.
  12. Multiply above value by the <unit in base> value that was previously computed.
  13. If computer probe targets human base and human difficulty is > 3 then the value above is multiplied by 3 and divided by difficulty. I.e. difficulty 4 modifies the above value by 3/4, etc.
  14. There are also some corner market specific computations that I skipped.
  15. Double cost if factions are not in pact.
  16. Halve cost if base previous owner is probe faction.
  17. Halve cost if base is rioting.
  18. Double cost if base is in golden age.
  19. Double cost if base faction is an atrocity victim of probe faction.
  20. Increase cost by 50% if base faction is NOT an atrocity victim of the probe faction but wants revenge against them.

Formula

Trying to gather the above into concise formula.

distance to HQ = regular distance to HQ; 12 if no HQ; 1 if HQ

distance to HQ adjusted for facilities = distance to HQ
 * 2    ; if GF
 / 2    ; if CC
 / 2    ; if PS
 / 2    ; if stapled

cost modifier = base population + number of previous MCs + number of previous subversions / 4 + (# of combat and offense units at base) * (1 + # of PE units at base)

MC cost = (1200 + base faction EC + base faction corner market cost) / (4 + adjusted distance to HQ) * cost modifier
 * 3 / difficulty    ; for computer MC-ing human base at difficulty above 3
 * 2                 ; if factions are not in pact
 / 2                 ; if base previous owner is probe faction (base is retaken)
 / 2                 ; if base is rioting
 * 2                 ; if base is in golden age
 * 2                 ; if base faction is an atrocity victim of probe faction
 * 1.5               ; if base faction is NOT an atrocity victim of the probe faction but wants revenge against them