Author Topic: Is there any way to know that by which faction each dead seedlings was destroyed  (Read 10851 times)

Breakord

  • Sapling
  • **
  • Thank You
  • -Given: 14
  • -Receive: 7
  • Posts: 57
  • Eufloria: Yes
Still have so many questions..
Because I am writing something called "SuperWeapon"..
In this system, empires can spend their technology points to develop super weapons.
I thought the way to get technology points is by destroying enemy seedlings and losing own seedlings.
It's easy to deal with the part "losing own seedlings",
but how can I know how many seedlings a empire destroyed in its active attacks?

Pilchard123

  • Tester
  • Old Oak
  • ****
  • Thank You
  • -Given: 4
  • -Receive: 24
  • Posts: 932
  • Eufloria: Yes
I don't think so. One thing you could do is change 'destroying enemy seedlings' to 'participating in battles'. When a seedling is killed, the points that would be gained from that kill are divided between the other factions on that asteroid.

For example, if there are three armies in orbit aroid an asteroid
A, with 100 seedlings on the asteroid
B, with 200 seedlings on the asteroid
C, with 50 seedlings on the asteroid
A kill is worth 1 point

If a seedling from A is killed, then Empire B gets 1*(200/(200+50)) = 0.8 points. Empire C gets 1*(50/(200+50)) = 0.2 points.

More generally, the points awarded to faction F when a seedling from faction X are given by

PointsPerKill*(FSeedlingsAtAsteroid / (TotalSeedlingsAtAsteroidThatAreNotFromX))

Breakord

  • Sapling
  • **
  • Thank You
  • -Given: 14
  • -Receive: 7
  • Posts: 57
  • Eufloria: Yes
More generally, the points awarded to faction F when a seedling from faction X are given by
PointsPerKill*(FSeedlingsAtAsteroid / (TotalSeedlingsAtAsteroidThatAreNotFromX))
Phew.Seems like there are no better solutions...

Pilchard123

  • Tester
  • Old Oak
  • ****
  • Thank You
  • -Given: 4
  • -Receive: 24
  • Posts: 932
  • Eufloria: Yes
There might well be a better solution, I'm not sure. It was only an idea.