Jump to content

Science Lab won't work


Aelipse

Recommended Posts

Hi, I am trying to make a certain part from a certain mod work like a science lab (among other things), but for some reason this capability just doesn't translate into the game. In game, the part does not even show any options for starting research, transmitting data and such, and when I take samples with an adjacent measuring device like the thermometer, the interface won't even offer the option to convert it into science. I went through the config file several times and all the relevant modules seem to be identical (except for some changes in the values) to the one of the stock science lab, which in my game works normally.

I went through the config like four times now, changing this and that and reloading the game like crazy and a I'm still clueless. Could some knowledgeable person point me in the right direction? Thanks in advance.

The config of the aforementioned part:

Spoiler

PART
{
// Kerbal Space Program - Part Config
// The control center of a base

    MODEL
    {
        model = PlanetaryBaseInc/BaseSystem/Parts/Command/CentralHub/Central_Hub
    }

    // --- general parameters ---
    name = KKAOSS_Central_Hub
    module = Part
    author = Nils277

    // --- asset parameters ---
    rescaleFactor = 1.0


    // --- node definitions ---
    node_stack_top = 0, 2.04687, 0, 0, 1, 0, 2
    node_stack_bottom = 0, -0.85847, 0, 0, -1, 0, 2
    node_stack_left = 1.833, -0.24308, 0, 1, 0, 0, 1
    node_stack_right = -1.833, -0.24308, 0, -1, 0, 0, 1
    node_stack_front = 0, -0.24308, 1.833, 0, 0, 1, 1
    node_stack_back = 0, -0.24308, -1.833, 0, 0, -1, 1


    // --- editor parameters ---
    TechRequired = metaMaterials
    entryCost = 25000
    cost = 10000
    category = Pods
    subcategory = 0
    title = #LOC_KPBS.centralhub.title
    manufacturer = 	#LOC_KPBS.agency
    description = #LOC_KPBS.centralhub.description

    // attachment rules: stack, srfAttach, allowStack, allowSrfAttach, allowCollision
    attachRules = 1,0,1,1,1


    // --- standard part parameters ---
    mass = 7.5
    dragModelType = default
    maximum_drag = 0.2
    minimum_drag = 0.2
    angularDrag = 1
    crashTolerance = 20
    CrewCapacity = 6
    vesselType = Base
    maxTemp = 2200
    fuelCrossFeed = True
    bulkheadProfiles = PlanetaryBase
    tags = #LOC_KPBS.centralhub.tags

    INTERNAL
    {
        name = KKAOSS_Central_Hub_internal
    }
	MODULE
	{
		name = ModuleScienceContainer
		reviewActionName = Review Data
		storeActionName = Store Experiments
		collectActionName = Take Data
		evaOnlyStorage = True
		storageRange = 3
		allowRepeatedSubjects = True
	}
	MODULE
	{
		name = ModuleScienceLab
		containerModuleIndex = 0
		dataStorage = 10000
		crewsRequired = 1
		canResetConnectedModules = True
		canResetNearbyModules = True
		interactionRange = 5
		SurfaceBonus = 0.3
		ContextBonus = 0.25
		homeworldMultiplier = 0.1
		RESOURCE_PROCESS
		{
			name = ElectricCharge
			amount = 10
		}
	}
    
	MODULE
	{
		name = ModuleScienceConverter
		dataProcessingMultiplier = 0.25  // Multiplier to data processing rate and therefore science rate
		scientistBonus = 0.25	        //Bonus per scientist star - need at least one! So 0.25x - 2.5x 
		researchTime = 5            	//Larger = slower.  Exponential!
		scienceMultiplier = 3	        //How much science does data turn into?
		scienceCap = 10000	            //How much science can we store before having to transmit?		
		powerRequirement = 4	        //EC/Sec to research
		ConverterName = Research
		StartActionName = Start Research
		StopActionName = Stop Research
	}
    MODULE
	{
		name = ModuleCommand
		minimumCrew = 1
	}
    MODULE
	{
		name = ModuleReactionWheel
		PitchTorque = 4
		YawTorque = 4
		RollTorque = 4
		RESOURCE
		{
			name = ElectricCharge
			rate = 0.12
		}
	}

    MODULE
    {
        name = ModuleColorChanger
        shaderProperty = _EmissiveColor
        animRate = 0.8
        animState = false
        useRate = true
        toggleInEditor = true
        toggleInFlight = true
        unfocusedRange = 5
        toggleName = #autoLOC_900823
        eventOnName = #autoLOC_6001406
        eventOffName = #autoLOC_6001407
        defaultActionGroup = None
        toggleAction = True
        redCurve
        {
            key = 0 0
            key = 1 0.87
        }
        greenCurve
        {
            key = 0 0
            key = 1 0.81
        }
        blueCurve
        {
            key = 0 0
            key = 1 0.65
        }
        alphaCurve
        {
            key = 0 1
        }
    }
    
    MODULE
    {
        name = FlagDecal
        textureQuadName = Flag
    }
    
    RESOURCE
	{
		name = ElectricCharge
		amount = 150
		maxAmount = 150
	}
    
    MODULE
	{
		name = ModuleDataTransmitter
		antennaType = INTERNAL
		packetInterval = 1.0
		packetSize = 2
		packetResourceCost = 12.0
		requiredResource = ElectricCharge
		antennaPower = 5000
		optimumRange = 2500
		packetFloor = .1
		packetCeiling = 5
	}
    MODULE
	{
		name = ModuleProbeControlPoint
		minimumCrew = 1
		multiHop = False
	}
    MODULE
	{
		name = ModuleKerbNetAccess
		MinimumFoV = 17
		MaximumFoV = 63
		AnomalyDetection = 0
		DISPLAY_MODES
		{
			Mode = Terrain
			Mode = Biome
		}
		REQUIRED_EFFECTS
		{
			Effect = ScienceSkill
		}
	}
    MODULE
	{
        	name = ModuleExperienceManagement
        	costPerKerbal = 0
	}
}

 

 

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