S-C-A-N / SCANsat

Real Scanning, Real Science, at Warp Speed!
217 stars 97 forks source link

Change a scanner's sensor type? #255

Open 81ninja opened 7 years ago

81ninja commented 7 years ago

Hi,

I want to change the multispectral scanner to scan only for biomes, and not detect anomalies.

I've tried setting

sensorType = 8  //2^3

in MULTI.cfg, as I saw in SCANType.cs that

public enum SCANtype : int
    {
        ...
        Biome = 1 << 3,         // biome data
        Anomaly = 1 << 4,           // anomalies (position of anomaly)
        AnomalyDetail = 1 << 5, // anomaly detail (name of anomaly, etc.)

But it doesn't seem to affect the part performance ingame (anomalies are still detected and shown on the big map). Of course, I've cleared the data for the body I've tested this in (Mun).

Reasoning for the change: The stock KerbNet + unmanned modules do detect anomalies, but have less than 100% detection rate, whereas the multi scanner does it instantly. The multi scanner is also available earlier in the tech tree than the stock parts that are better at detecting anomalies, thus making finding them way easier - this feels "cheaty", as finding anomalies is a kind of mini game per se.

I know I can just toggle anomalies off on the map, but I'd still like to show anomalies I've actually found and visited (those scanned in detail by using the BTDT).

As a suggestion, I'd probably want to have a separate, less powerful and precise part to scan for anomalies from orbit, as an intermediate step between what the multispectral scanner currently does, and the BTDT - like KerbNet is. Maybe the stock anomaly detection could be integrated with SCANsat somehow? Like marking the anomalies on the big map when they are seen through KerbNet? I don't know. For now, disabling the multi scanner's ability would do.

Anyway, thanks for the great work!