Jump to content

dlrk

Members
  • Posts

    1,828
  • Joined

  • Last visited

Posts posted by dlrk

  1. I'm getting a warning from B9PartSwitch with MarkIv installed (1.8 version): "Duplicated subtype names found on ModuleB9PartSwitch (moduleID='meshswitch') on part: LH2/O/MP, LH2/MP"

    The problem seems to be this section of the MarkIVCryoTanksSwitcher.cfg:

     

    @PART[mk4adapter*]:NEEDS[CryoTanks]:FOR[zzz_CryoTanks]
    {
      %totalCost = #$cost$
    
      %massOffset = #$mass$
      @massOffset *= -1
    
      @MODULE[ModuleB9PartSwitch]
      {
        SUBTYPE
        {
          name = LH2/O/MP
          tankType = MkIVLH2OCryoMP-S
          addedMass = #$../../massOffset$
    
          %costOffset = #$../baseVolume$
          @costOffset *= 0.1791704545
          @costOffset -= #$../../totalCost$
          addedCost = #$costOffset$
          transform = Basic
    			transform = TankRCS
        }
        SUBTYPE
        {
          name = LH2/MP
          tankType = MkIVLH2CryoMP-S
          addedMass = #$../../massOffset$
    
          %costOffset = #$../baseVolume$
          @costOffset *= 0.092375
          @costOffset -= #$../../totalCost$
          addedCost = #$costOffset$
          transform = Basic
    			transform = TankRCS
        }
      }
      MODULE
    	{
    		name =  ModuleCryoTank
    		CoolingCost = 0.09
    		CoolingEnabled = False
    		BOILOFFCONFIG
    		{
    			FuelName = LqdHydrogen
    			// in % per hr
    			BoiloffRate = 0.05
    		}
    	}
    }

     

×
×
  • Create New...