Jump to content

Problem with situationmask = 32


tjsnh

Recommended Posts

Trying to make a science experiment that can only be performed "in space high above". This would seem to be situationmask 32, but it's not working. When I use a mask of 63 I can perform the experiment anywhere, so I'm pretty confident the part is working correctly. Any insight to what I might have missed? Here is my code:


From ScienceDefs.cfg :
 

EXPERIMENT_DEFINITION
{
    id = highresimage
    title = High Resolution Image
    baseValue = 5
    scienceCap = 10
    dataScale = 1
    requireAtmosphere = False
    situationMask = 32
    biomeMask = 3
    
    RESULTS
    {
        default = You record a high-res image.

    }

}

 

From part.cfg

 

  MODULE
    {
        name = ModuleScienceExperiment
        experimentID = highresimage
        experimentActionName = Take High-Res Picture
        resetActionName = Delete Data
        useStaging = False
        useActionGroups = True
        hideUIwhenUnavailable = True
        xmitDataScalar = 1
        dataIsCollectable = True
        collectActionName = Take Data
        interactionRange = 2
        rerunnable = True
        resettableOnEVA = True
//        FxModules = 0
//        usageReqMaskInternal = 1
//        usageReqMaskExternal = 8
    }

 

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...