Jump to content

Looking for someone to help me making a MM patch to surface scanner


MrFancyPL

Recommended Posts

Hello, I'm looking for someone to help me make patch to stock surface scanner ( I want to make it able to show abundance of ModularKolonizationSystem resources on asteroids )

In spoiler down there you can see my try to make it but it is not working.

Spoiler

@PART[SurfaceScanner]
{
    MODULE
    {
        name=ModuleAnalysisResource
        resourceName = Water
    }

    MODULE
    {
        name=ModuleAnalysisResource
        resourceName = MetallicOre
    }

    MODULE
    {
        name = ModuleAnalysisResource
        resourceName = Substrate
    }

    MODULE
    {
        name = ModuleAnalysisResource
        resourceName = Minerals
    }

    MODULE
    {
        name = ModuleAnalysisResource
        resourceName = Karbonite
    }

    MODULE
    {
        name = ModuleAnalysisResource
        resourceName = Karborundum
    }    
    
    MODULE
    {
        name = ModuleAnalysisResource
        resourceName = Uraninite
    }

    MODULE
    {
        name = ModuleAnalysisResource
        resourceName = XenonGas
    }

    MODULE
    {
        name = ModuleAnalysisResource
        resourceName = ArgonGas
    }
}

 

 

Link to comment
Share on other sites

19 hours ago, MrFancyPL said:

Hello, I'm looking for someone to help me make patch to stock surface scanner ( I want to make it able to show abundance of ModularKolonizationSystem resources on asteroids )

It is easy to get confused between the scanners.

Your issue maybe that you are adding one functionality to the wrong part but not using it right!

You are modifying SurfaceScanner.

@PART[SurfaceScanner]
    {    MODULE
            {    name = ModuleResourceScanner
                ScannerType = 0
                ResourceName = HydrateOre
                MaxAbundanceAltitude = 1000
                RequiresUnlock = false
            } etc.

which would be different from the SurveyScanner

@PART[SurveyScanner]
    {    MODULE 
            {    name = ModuleAnalysisResource
                resourceName = HydrateOre
            } etc.

Note the OrbitalScaner  is same same but different.

@PART[OrbitalScanner]
    {    MODULE
            {    name = ModuleResourceScanner
                MaxAbundanceAltitude = 500000
                RequiresUnlock = true
                ScannerType = 0
                ResourceName = HydrateOre
            } etc.

 

Peace.

Link to comment
Share on other sites

2 hours ago, theJesuit said:

It is easy to get confused between the scanners.

Your issue maybe that you are adding one functionality to the wrong part but not using it right!

You are modifying SurfaceScanner.

@PART[SurfaceScanner]
    {    MODULE
            {    name = ModuleResourceScanner
                ScannerType = 0
                ResourceName = HydrateOre
                MaxAbundanceAltitude = 1000
                RequiresUnlock = false
            } etc.

which would be different from the SurveyScanner

@PART[SurveyScanner]
    {    MODULE 
            {    name = ModuleAnalysisResource
                resourceName = HydrateOre
            } etc.

Note the OrbitalScaner  is same same but different.

@PART[OrbitalScanner]
    {    MODULE
            {    name = ModuleResourceScanner
                MaxAbundanceAltitude = 500000
                RequiresUnlock = true
                ScannerType = 0
                ResourceName = HydrateOre
            } etc.

 

Peace.

Its not the reason. The surface scanner shows abundance on planets but on asteroid it only shows that its asteroid and no more. I tried using moduleanalysisresource because on KSP wiki is written, that it shows the abundance sended from ModuleAsteroidAnalysis.

Link to comment
Share on other sites

MKS asteroid scanner has been broken forever (either due to, or regardless to the presence of an empty config file) for as far as I know. Your best bet is to ask in the MKS thread and see if the status has changed on that.

Edited by JadeOfMaar
Link to comment
Share on other sites

This thread is quite old. Please consider starting a new thread rather than reviving this one.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...