Ship Detection Mechanics

Polaris Sector is a sci-fi 4X game that offers exciting exploration, detailed resource management, unique research mechanics and intense tactical combat.
Post Reply
solops
Senior Corporal - Ju 87G
Senior Corporal - Ju 87G
Posts: 90
Joined: Thu Jun 04, 2015 7:17 pm
Location: Central Texas

Ship Detection Mechanics

Post by solops »

Do the ship detection stations that are built on planets "stack" in their effectiveness? How do they work in detection uncloaked and cloaked ships?
Ufnv
SoftWarWare
SoftWarWare
Posts: 725
Joined: Sun Oct 25, 2015 9:19 pm

Re: Ship Detection Mechanics

Post by Ufnv »

solops wrote:Do the ship detection stations that are built on planets "stack" in their effectiveness? How do they work in detection uncloaked and cloaked ships?
Yes, they stack.

For uncloacked ships, you can better know the fleet composition at the adjusted stars and exact composition in your system.

For cloacked ships, you increase the probability of discovering them with each station.
bjgrt
Administrative Corporal - SdKfz 232 8Rad
Administrative Corporal - SdKfz 232 8Rad
Posts: 156
Joined: Tue Feb 02, 2016 4:11 pm

Re: Ship Detection Mechanics

Post by bjgrt »

Ufnv wrote:you increase the probability of discovering them with each station
What is the math behind it? Do stations from different planets of the same system participate in one formula? Do stations from adjacent systems participate in one formula?
Ufnv
SoftWarWare
SoftWarWare
Posts: 725
Joined: Sun Oct 25, 2015 9:19 pm

Re: Ship Detection Mechanics

Post by Ufnv »

bjgrt wrote:
Ufnv wrote:you increase the probability of discovering them with each station
What is the math behind it? Do stations from different planets of the same system participate in one formula? Do stations from adjacent systems participate in one formula?
Check is performed once in 3 days (the smallest time tick).

Station from different planets as well as sensing equipment of ships sums up and gives the "DetectionValue".

The minimum value for each planet is 0.1, then each station adds its value (0.35 if I am not mistaken).

Each fleet adds 0.025 plus its passive spying power.

Then the formula is this:

DetectionValue*=0.01f;

float DetectionProb = DetectionValue + (1.0f - DetectionValue)*powf(1.0f - Sh->Type->StealthEffect, 6);

// check if detected
float ThisRound = 1.0f + rand() % 1000;

if (DetectionProb*1000.0f > ThisRound)
{
// detected!
SetBit(DetectedThisTurn, i);
}
Post Reply

Return to “Polaris Sector”