Alarcarr / ABEMMOD

5 stars 4 forks source link

Normalize sensor values. #42

Closed DaloLorn closed 8 years ago

DaloLorn commented 8 years ago

Right now, sensor effectiveness depends primarily on hex count. This gives certain shipsets (or, heavens forbid, Titan Hulls!) an unfair advantage/disadvantage over others, making them more or less suitable for scouts.

The solution is known, I just have to apply it:

Take the base hex limit (128, 60 or 160) of each ship type. Then integrate it into this formula:

Result := Result * (HexLimit / BaseHexLimit)

For scripts, the formula is

Result = (ship.blueprint.design.hexSize / ship.blueprint.design.size) \ BaseHexLimit

DaloLorn commented 8 years ago

Okay, this is done.