B9PartSwitch
B9PartSwitch copied to clipboard
"Could not find matching module" check occurs before all MM patching is done?
That ominous message even appears when the IDENTIFIER is properly patched, as if the check occurs before all MM patching is done.
Examples for proper patches:
RealActiveRadiators
@PART[*]:HAS[@MODULE[ModuleRealActiveRadiator],@MODULE[ModuleB9PartSwitch]]:NEEDS[B9PartSwitch]:AFTER[RealActiveRadiators]
{
@MODULE[ModuleB9PartSwitch],*:HAS[@SUBTYPE:HAS[@MODULE:HAS[@IDENTIFIER[ModuleActiveRadiator]]]]
{
@SUBTYPE,*:HAS[@MODULE:HAS[@IDENTIFIER[ModuleActiveRadiator]]]
{
@MODULE:HAS[@IDENTIFIER[ModuleActiveRadiator]]
{
@IDENTIFIER[ModuleActiveRadiator]
{
@name = ModuleRealActiveRadiator
}
@DATA:HAS[#maxEnergyTransfer[>0]]
{
maxCryoEnergyTransfer = #$maxEnergyTransfer$
@maxCryoEnergyTransfer /= 500
}
}
}
}
}
zKerbalismSystemHeat
@PART[radiator-microchannel-fixed-*]:NEEDS[Kerbalism,B9PartSwitch]:AFTER[SystemHeat]
{
@MODULE[ModuleB9PartSwitch]:HAS[#moduleID[sizeSwitch]]
{
@SUBTYPE,*
{
@MODULE
{
@IDENTIFIER
{
@name = SystemHeatRadiatorKerbalism
}
}
}
}
}
To avoid misunderstandings: Those are two examples, those two mods are NOT installed together, so it's either RealActiveRadiators OR SystemHeat (+ Kerbalism stuff). But in either case the message appears, caption "Could not find matching module".
Can you include the log from a run where this happened?