CessnaSkyhawk / SkyhawkScienceSystem

Other
12 stars 20 forks source link

MechJeb Features aren't set to proper tech nodes #35

Closed bigyihsuan closed 2 years ago

bigyihsuan commented 2 years ago

MechJeb features (e.g. SmartASS, ascent guidance, etc) have their techs set in the module MechJebCore under MechJebLocalSettings. This is what actually defines their unlock techs; the parts e.g. mumech_MJ2_AR202_features1 are what show these unlocks in the tree itself.

/ModSupport/MechJeb2/MechJeb2.cfg will need to have these unlock techs changed as well, like:

MechJebModuleCustomWindowEditor { unlockTechs = control7 }
MechJebModuleSmartASS { unlockTechs = control7 }
// ... //
MechJebModuleAscentGuidance { unlockTechs = control5 }
MechJebModuleLandingGuidance { unlockTechs = control5 }
// etc //
bigyihsuan commented 2 years ago

Reposting the temp fix I posted in the forum thread:

@PART[*]:HAS[@MODULE[MechJebCore],!MODULE[KerbalEVA]]:AFTER[MechJeb*]
{
  %MODULE[MechJebCore]
  {
    %MechJebLocalSettings
    {
      %MechJebModuleCustomWindowEditor { %unlockTechs = start }
      %MechJebModuleSmartASS { %unlockTechs = start }
      %MechJebModuleManeuverPlanner { %unlockTechs = start }
      %MechJebModuleNodeEditor { %unlockTechs = start }
      %MechJebModuleTranslatron { %unlockTechs = start }
      %MechJebModuleWarpHelper { %unlockTechs = start }
      %MechJebModuleAttitudeAdjustment { %unlockTechs = start }
      %MechJebModuleThrustWindow { %unlockTechs = start }
      %MechJebModuleRCSBalancerWindow { %unlockTechs = start }
      %MechJebModuleRoverWindow { %unlockTechs = start }
      %MechJebModuleAscentGuidance { %unlockTechs = start }
      %MechJebModuleLandingGuidance { %unlockTechs = start }
      %MechJebModuleSpaceplaneGuidance { %unlockTechs = start }
      %MechJebModuleDockingGuidance { %unlockTechs = start }
      %MechJebModuleRendezvousAutopilotWindow { %unlockTechs = start }
      %MechJebModuleRendezvousGuidance { %unlockTechs = start }
    }
  }
}
CessnaSkyhawk commented 2 years ago

Ok - should be all set now