ialdabaoth Posted May 7, 2014 Share Posted May 7, 2014 mwlue you can make it all in 1 patch : $PART[cupola]:Final{ @name = cupola2 MODEL { model = mymodel } !mesh = notused }I don't know how to change the texture in .cfg however.To repeat my syntax request:Is it possible to make '+' an alias for '$', and '-' an alias for '!' as node prefix pragmas? It might make things easier to read. Quote Link to comment Share on other sites More sharing options...
NavyFish Posted May 7, 2014 Share Posted May 7, 2014 @swamp_ig: I noticed SaveGameFixer.cs is up on github, affiliated w/ ver 2.1.1.I built it from source and just tested it out on a vanilla install with only TweakableEverything installed. It doesn't seem to load all modules into the game. Specifically:Here's the MM log text from MM version 2.0.8:[LOG 12:17:40.834] [ModuleManager] compiling list of loaded mods...Mod DLLs found: Assembly-CSharp v1.0.0.0 ModuleManager v2.0.8.0 ModuleDB v1.0.5236.19316 ToadicusTools v0.0.0.0 TweakableAnimateGeneric v0.6.4.26691 TweakableDecouplers v1.1.5236.26688 TweakableDockingNode v1.1.5236.26687 TweakableEngineFairings v1.0.5236.26691 TweakableGimbals v1.1.5236.26690 TweakableLadders v0.6.3.26689 TweakableRCS v1.1.5236.26690 TweakableReactionWheels v0.6.4.26689 TweakableSolarPanels v0.6.0.26688 TweakableStaging v1.1.5236.26687Non-DLL mods added: TweakableEverything[LOG 12:17:40.838] [ModuleManager] :FIRST (default) pass[LOG 12:17:40.862] [ModuleManager] Applying node TweakableEverything/TweakableReactionWheels/@PART[*]:HAS[@MODULE[ModuleReactionWheel]] to Squad/Parts/Command/advSasModule/part/advSasModule[LOG 12:17:40.865] [ModuleManager] Applying node TweakableEverything/TweakableReactionWheels/@PART[*]:HAS[@MODULE[ModuleReactionWheel]] to Squad/Parts/Command/asasmodule1-2/part/asasmodule1-2[LOG 12:17:40.866] [ModuleManager] Applying node TweakableEverything/TweakableReactionWheels/@PART[*]:HAS[@MODULE[ModuleReactionWheel]] to Squad/Parts/Command/cupola/part/cupola[LOG 12:17:40.867] [ModuleManager] Applying node TweakableEverything/TweakableReactionWheels/@PART[*]:HAS[@MODULE[ModuleReactionWheel]] to Squad/Parts/Command/landerCabinSmall/part/landerCabinSmall[LOG 12:17:40.869] [ModuleManager] Applying node TweakableEverything/TweakableReactionWheels/@PART[*]:HAS[@MODULE[ModuleReactionWheel]] to Squad/Parts/Command/Mark1Cockpit/part/Mark1Cockpit[LOG 12:17:40.870] [ModuleManager] Applying node TweakableEverything/TweakableReactionWheels/@PART[*]:HAS[@MODULE[ModuleReactionWheel]] to Squad/Parts/Command/Mark2Cockpit/part/Mark2Cockpit[LOG 12:17:40.871] [ModuleManager] Applying node TweakableEverything/TweakableReactionWheels/@PART[*]:HAS[@MODULE[ModuleReactionWheel]] to Squad/Parts/Command/mark3Cockpit/part/mark3Cockpit[LOG 12:17:40.872] [ModuleManager] Applying node TweakableEverything/TweakableReactionWheels/@PART[*]:HAS[@MODULE[ModuleReactionWheel]] to Squad/Parts/Command/Mk1-2Pod/part/Mark1-2Pod[LOG 12:17:40.873] [ModuleManager] Applying node TweakableEverything/TweakableReactionWheels/@PART[*]:HAS[@MODULE[ModuleReactionWheel]] to Squad/Parts/Command/mk1pod/part/mk1pod[LOG 12:17:40.874] [ModuleManager] Applying node TweakableEverything/TweakableReactionWheels/@PART[*]:HAS[@MODULE[ModuleReactionWheel]] to Squad/Parts/Command/mk2LanderCabin/part/mk2LanderCabin[LOG 12:17:40.875] [ModuleManager] Applying node TweakableEverything/TweakableReactionWheels/@PART[*]:HAS[@MODULE[ModuleReactionWheel]] to Squad/Parts/Command/probeCoreCube/part/probeCoreCube[LOG 12:17:40.876] [ModuleManager] Applying node TweakableEverything/TweakableReactionWheels/@PART[*]:HAS[@MODULE[ModuleReactionWheel]] to Squad/Parts/Command/probeCoreHex/part/probeCoreHex[LOG 12:17:40.878] [ModuleManager] Applying node TweakableEverything/TweakableReactionWheels/@PART[*]:HAS[@MODULE[ModuleReactionWheel]] to Squad/Parts/Command/probeCoreOcto/part/probeCoreOcto[LOG 12:17:40.879] [ModuleManager] Applying node TweakableEverything/TweakableReactionWheels/@PART[*]:HAS[@MODULE[ModuleReactionWheel]] to Squad/Parts/Command/probeCoreOcto2/part/probeCoreOcto2[LOG 12:17:40.880] [ModuleManager] Applying node TweakableEverything/TweakableReactionWheels/@PART[*]:HAS[@MODULE[ModuleReactionWheel]] to Squad/Parts/Command/probeCoreSphere/part/probeCoreSphere[LOG 12:17:40.881] [ModuleManager] Applying node TweakableEverything/TweakableReactionWheels/@PART[*]:HAS[@MODULE[ModuleReactionWheel]] to Squad/Parts/Command/probeStackLarge/part/probeStackLarge[LOG 12:17:40.882] [ModuleManager] Applying node TweakableEverything/TweakableReactionWheels/@PART[*]:HAS[@MODULE[ModuleReactionWheel]] to Squad/Parts/Command/probeStackSmall/part/probeStackSmall[LOG 12:17:40.883] [ModuleManager] Applying node TweakableEverything/TweakableReactionWheels/@PART[*]:HAS[@MODULE[ModuleReactionWheel]] to Squad/Parts/Command/sasModule/part/sasModule[LOG 12:17:40.889] [ModuleManager] :BEFORE[Assembly-CSharp] pass[LOG 12:17:40.890] [ModuleManager] :FOR[Assembly-CSharp] pass[LOG 12:17:40.891] [ModuleManager] :AFTER[Assembly-CSharp] pass[LOG 12:17:40.892] [ModuleManager] :BEFORE[ModuleManager] pass[LOG 12:17:40.893] [ModuleManager] :FOR[ModuleManager] pass[LOG 12:17:40.894] [ModuleManager] :AFTER[ModuleManager] pass[LOG 12:17:40.896] [ModuleManager] :BEFORE[ModuleDB] pass[LOG 12:17:40.897] [ModuleManager] :FOR[ModuleDB] pass[LOG 12:17:40.898] [ModuleManager] :AFTER[ModuleDB] pass[LOG 12:17:40.899] [ModuleManager] :BEFORE[ToadicusTools] pass[LOG 12:17:40.900] [ModuleManager] :FOR[ToadicusTools] pass[LOG 12:17:40.901] [ModuleManager] :AFTER[ToadicusTools] pass[LOG 12:17:40.902] [ModuleManager] :BEFORE[TweakableAnimateGeneric] pass[LOG 12:17:40.903] [ModuleManager] :FOR[TweakableAnimateGeneric] pass[LOG 12:17:40.904] [ModuleManager] :AFTER[TweakableAnimateGeneric] pass[LOG 12:17:40.906] [ModuleManager] :BEFORE[TweakableDecouplers] pass[LOG 12:17:40.907] [ModuleManager] :FOR[TweakableDecouplers] pass[LOG 12:17:40.908] [ModuleManager] :AFTER[TweakableDecouplers] pass[LOG 12:17:40.909] [ModuleManager] :BEFORE[TweakableDockingNode] pass[LOG 12:17:40.910] [ModuleManager] :FOR[TweakableDockingNode] pass[LOG 12:17:40.911] [ModuleManager] :AFTER[TweakableDockingNode] pass[LOG 12:17:40.914] [ModuleManager] :BEFORE[TweakableEngineFairings] pass[LOG 12:17:40.916] [ModuleManager] :FOR[TweakableEngineFairings] pass[LOG 12:17:40.917] [ModuleManager] :AFTER[TweakableEngineFairings] pass[LOG 12:17:40.918] [ModuleManager] :BEFORE[TweakableGimbals] pass[LOG 12:17:40.919] [ModuleManager] :FOR[TweakableGimbals] pass[LOG 12:17:40.920] [ModuleManager] :AFTER[TweakableGimbals] pass[LOG 12:17:40.921] [ModuleManager] :BEFORE[TweakableLadders] pass[LOG 12:17:40.923] [ModuleManager] :FOR[TweakableLadders] pass[LOG 12:17:40.924] [ModuleManager] :AFTER[TweakableLadders] pass[LOG 12:17:40.925] [ModuleManager] :BEFORE[TweakableRCS] pass[LOG 12:17:40.926] [ModuleManager] :FOR[TweakableRCS] pass[LOG 12:17:40.927] [ModuleManager] :AFTER[TweakableRCS] pass[LOG 12:17:40.928] [ModuleManager] :BEFORE[TweakableReactionWheels] pass[LOG 12:17:40.929] [ModuleManager] :FOR[TweakableReactionWheels] pass[LOG 12:17:40.930] [ModuleManager] :AFTER[TweakableReactionWheels] pass[LOG 12:17:40.932] [ModuleManager] :BEFORE[TweakableSolarPanels] pass[LOG 12:17:40.933] [ModuleManager] :FOR[TweakableSolarPanels] pass[LOG 12:17:40.934] [ModuleManager] :AFTER[TweakableSolarPanels] pass[LOG 12:17:40.935] [ModuleManager] :BEFORE[TweakableStaging] pass[LOG 12:17:40.936] [ModuleManager] :FOR[TweakableStaging] pass[LOG 12:17:40.937] [ModuleManager] :AFTER[TweakableStaging] pass[LOG 12:17:40.939] [ModuleManager] :BEFORE[TweakableEverything] pass[LOG 12:17:40.940] [ModuleManager] :FOR[TweakableEverything] pass[LOG 12:17:40.947] [ModuleManager] Applying node TweakableEverything/TweakableAnimateGeneric/@PART[*]:HAS[@MODULE[ModuleAnimateGeneric],!MODULE[ModuleDockingNode],!MODULE[ModuleGrappleNode],!MODULE[RetractableLadder]]:FOR[TweakableEverything] to Squad/Parts/Science/GooExperiment/part/GooExperiment[LOG 12:17:40.949] [ModuleManager] Applying node TweakableEverything/TweakableAnimateGeneric/@PART[*]:HAS[@MODULE[ModuleAnimateGeneric],!MODULE[ModuleDockingNode],!MODULE[ModuleGrappleNode],!MODULE[RetractableLadder]]:FOR[TweakableEverything] to Squad/Parts/Science/MaterialBay/part/science_module[LOG 12:17:40.951] [ModuleManager] Applying node TweakableEverything/TweakableAnimateGeneric/@PART[*]:HAS[@MODULE[ModuleAnimateGeneric],!MODULE[ModuleDockingNode],!MODULE[ModuleGrappleNode],!MODULE[RetractableLadder]]:FOR[TweakableEverything] to Squad/Parts/Utility/commDish/part/commDish[LOG 12:17:40.954] [ModuleManager] Applying node TweakableEverything/TweakableAnimateGeneric/@PART[*]:HAS[@MODULE[ModuleAnimateGeneric],!MODULE[ModuleDockingNode],!MODULE[ModuleGrappleNode],!MODULE[RetractableLadder]]:FOR[TweakableEverything] to Squad/Parts/Utility/longAntenna/part/longAntenna[LOG 12:17:40.955] [ModuleManager] Applying node TweakableEverything/TweakableAnimateGeneric/@PART[*]:HAS[@MODULE[ModuleAnimateGeneric],!MODULE[ModuleDockingNode],!MODULE[ModuleGrappleNode],!MODULE[RetractableLadder]]:FOR[TweakableEverything] to Squad/Parts/Utility/mediumDishAntenna/part/mediumDishAntenna[LOG 12:17:40.962] [ModuleManager] Applying node TweakableEverything/TweakableDecouplers/@PART[*]:HAS[@MODULE[ModuleDecouple]]:FOR[TweakableEverything]:NEEDS[TweakableStaging] to Squad/Parts/Utility/decoupler1-2/part/decoupler1-2[LOG 12:17:40.964] [ModuleManager] Applying node TweakableEverything/TweakableDecouplers/@PART[*]:HAS[@MODULE[ModuleDecouple]]:FOR[TweakableEverything]:NEEDS[TweakableStaging] to Squad/Parts/Utility/StackDecoupler/part/stackDecoupler[LOG 12:17:40.965] [ModuleManager] Applying node TweakableEverything/TweakableDecouplers/@PART[*]:HAS[@MODULE[ModuleDecouple]]:FOR[TweakableEverything]:NEEDS[TweakableStaging] to Squad/Parts/Utility/stackDecouplerMini/part/stackDecouplerMini[LOG 12:17:40.967] [ModuleManager] Applying node TweakableEverything/TweakableDecouplers/@PART[*]:HAS[@MODULE[ModuleDecouple]]:FOR[TweakableEverything]:NEEDS[TweakableStaging] to Squad/Parts/Utility/stackSeparator/part/stackSeparator[LOG 12:17:40.968] [ModuleManager] Applying node TweakableEverything/TweakableDecouplers/@PART[*]:HAS[@MODULE[ModuleDecouple]]:FOR[TweakableEverything]:NEEDS[TweakableStaging] to Squad/Parts/Utility/stackSeparatorBig/part/stackSeparatorBig[LOG 12:17:40.969] [ModuleManager] Applying node TweakableEverything/TweakableDecouplers/@PART[*]:HAS[@MODULE[ModuleDecouple]]:FOR[TweakableEverything]:NEEDS[TweakableStaging] to Squad/Parts/Utility/stackSeparatorMini/part/stackSeparatorMini[LOG 12:17:40.976] [ModuleManager] Applying node TweakableEverything/TweakableDecouplers/@PART[*]:HAS[@MODULE[ModuleAnchoredDecoupler]]:FOR[TweakableEverything]:NEEDS[TweakableStaging] to Squad/Parts/Utility/radialDecoupler/part/radialDecoupler[LOG 12:17:40.978] [ModuleManager] Applying node TweakableEverything/TweakableDecouplers/@PART[*]:HAS[@MODULE[ModuleAnchoredDecoupler]]:FOR[TweakableEverything]:NEEDS[TweakableStaging] to Squad/Parts/Utility/radialDecoupler1-2/part/radialDecoupler1-2[LOG 12:17:40.979] [ModuleManager] Applying node TweakableEverything/TweakableDecouplers/@PART[*]:HAS[@MODULE[ModuleAnchoredDecoupler]]:FOR[TweakableEverything]:NEEDS[TweakableStaging] to Squad/Parts/Utility/radialDecoupler2/part/radialDecoupler2[LOG 12:17:40.983] [ModuleManager] Applying node TweakableEverything/TweakableDockingNode/@PART[*]:HAS[@MODULE[ModuleDockingNode]]:FOR[TweakableEverything]:NEEDS[TweakableStaging] to Squad/Parts/Utility/dockingPort1/part/dockingPort1[LOG 12:17:40.985] [ModuleManager] Applying node TweakableEverything/TweakableDockingNode/@PART[*]:HAS[@MODULE[ModuleDockingNode]]:FOR[TweakableEverything]:NEEDS[TweakableStaging] to Squad/Parts/Utility/dockingPort2/part/dockingPort2[LOG 12:17:40.986] [ModuleManager] Applying node TweakableEverything/TweakableDockingNode/@PART[*]:HAS[@MODULE[ModuleDockingNode]]:FOR[TweakableEverything]:NEEDS[TweakableStaging] to Squad/Parts/Utility/dockingPort3/part/dockingPort3[LOG 12:17:40.987] [ModuleManager] Applying node TweakableEverything/TweakableDockingNode/@PART[*]:HAS[@MODULE[ModuleDockingNode]]:FOR[TweakableEverything]:NEEDS[TweakableStaging] to Squad/Parts/Utility/dockingPortLarge/part/dockingPortLarge[LOG 12:17:40.988] [ModuleManager] Applying node TweakableEverything/TweakableDockingNode/@PART[*]:HAS[@MODULE[ModuleDockingNode]]:FOR[TweakableEverything]:NEEDS[TweakableStaging] to Squad/Parts/Utility/dockingPortLateral/part/dockingPortLateral[LOG 12:17:40.994] [ModuleManager] Applying node TweakableEverything/TweakableEngineFairings/@PART[*]:HAS[@MODULE[ModuleJettison]]:FOR[TweakableEverything] to Squad/Parts/Engine/engineLargeSkipper/part/engineLargeSkipper[LOG 12:17:40.995] [ModuleManager] Applying node TweakableEverything/TweakableEngineFairings/@PART[*]:HAS[@MODULE[ModuleJettison]]:FOR[TweakableEverything] to Squad/Parts/Engine/liquidEngine1/part/liquidEngine[LOG 12:17:40.996] [ModuleManager] Applying node TweakableEverything/TweakableEngineFairings/@PART[*]:HAS[@MODULE[ModuleJettison]]:FOR[TweakableEverything] to Squad/Parts/Engine/liquidEngine1-2/part/liquidEngine1-2[LOG 12:17:40.998] [ModuleManager] Applying node TweakableEverything/TweakableEngineFairings/@PART[*]:HAS[@MODULE[ModuleJettison]]:FOR[TweakableEverything] to Squad/Parts/Engine/liquidEngine2/part/liquidEngine2[LOG 12:17:40.999] [ModuleManager] Applying node TweakableEverything/TweakableEngineFairings/@PART[*]:HAS[@MODULE[ModuleJettison]]:FOR[TweakableEverything] to Squad/Parts/Engine/liquidEngine2-2/part/liquidEngine2-2[LOG 12:17:41.000] [ModuleManager] Applying node TweakableEverything/TweakableEngineFairings/@PART[*]:HAS[@MODULE[ModuleJettison]]:FOR[TweakableEverything] to Squad/Parts/Engine/liquidEngine3/part/liquidEngine3[LOG 12:17:41.001] [ModuleManager] Applying node TweakableEverything/TweakableEngineFairings/@PART[*]:HAS[@MODULE[ModuleJettison]]:FOR[TweakableEverything] to Squad/Parts/Engine/liquidEngineMini/part/liquidEngineMini[LOG 12:17:41.002] [ModuleManager] Applying node TweakableEverything/TweakableEngineFairings/@PART[*]:HAS[@MODULE[ModuleJettison]]:FOR[TweakableEverything] to Squad/Parts/Engine/nuclearEngine/part/nuclearEngine[LOG 12:17:41.007] [ModuleManager] Applying node TweakableEverything/TweakableGimbals/@PART[*]:HAS[@MODULE[ModuleGimbal]]:FOR[TweakableEverything]:NEEDS[!Realism] to Squad/Parts/Engine/engineLargeSkipper/part/engineLargeSkipper[LOG 12:17:41.008] [ModuleManager] Applying node TweakableEverything/TweakableGimbals/@PART[*]:HAS[@MODULE[ModuleGimbal]]:FOR[TweakableEverything]:NEEDS[!Realism] to Squad/Parts/Engine/JetEngine/part/JetEngine[LOG 12:17:41.009] [ModuleManager] Applying node TweakableEverything/TweakableGimbals/@PART[*]:HAS[@MODULE[ModuleGimbal]]:FOR[TweakableEverything]:NEEDS[!Realism] to Squad/Parts/Engine/liquidEngine1-2/part/liquidEngine1-2[LOG 12:17:41.010] [ModuleManager] Applying node TweakableEverything/TweakableGimbals/@PART[*]:HAS[@MODULE[ModuleGimbal]]:FOR[TweakableEverything]:NEEDS[!Realism] to Squad/Parts/Engine/liquidEngine2/part/liquidEngine2[LOG 12:17:41.012] [ModuleManager] Applying node TweakableEverything/TweakableGimbals/@PART[*]:HAS[@MODULE[ModuleGimbal]]:FOR[TweakableEverything]:NEEDS[!Realism] to Squad/Parts/Engine/liquidEngine2-2/part/liquidEngine2-2[LOG 12:17:41.013] [ModuleManager] Applying node TweakableEverything/TweakableGimbals/@PART[*]:HAS[@MODULE[ModuleGimbal]]:FOR[TweakableEverything]:NEEDS[!Realism] to Squad/Parts/Engine/liquidEngine3/part/liquidEngine3[LOG 12:17:41.014] [ModuleManager] Applying node TweakableEverything/TweakableGimbals/@PART[*]:HAS[@MODULE[ModuleGimbal]]:FOR[TweakableEverything]:NEEDS[!Realism] to Squad/Parts/Engine/liquidEngineMini/part/liquidEngineMini[LOG 12:17:41.015] [ModuleManager] Applying node TweakableEverything/TweakableGimbals/@PART[*]:HAS[@MODULE[ModuleGimbal]]:FOR[TweakableEverything]:NEEDS[!Realism] to Squad/Parts/Engine/nuclearEngine/part/nuclearEngine[LOG 12:17:41.017] [ModuleManager] Applying node TweakableEverything/TweakableGimbals/@PART[*]:HAS[@MODULE[ModuleGimbal]]:FOR[TweakableEverything]:NEEDS[!Realism] to Squad/Parts/Engine/radialLiquidEngine1-2/part/radialLiquidEngine1-2[LOG 12:17:41.018] [ModuleManager] Applying node TweakableEverything/TweakableGimbals/@PART[*]:HAS[@MODULE[ModuleGimbal]]:FOR[TweakableEverything]:NEEDS[!Realism] to Squad/Parts/Engine/rapierEngine/part/RAPIER[LOG 12:17:41.019] [ModuleManager] Applying node TweakableEverything/TweakableGimbals/@PART[*]:HAS[@MODULE[ModuleGimbal]]:FOR[TweakableEverything]:NEEDS[!Realism] to Squad/Parts/Engine/smallRadialEngine/part/smallRadialEngine[LOG 12:17:41.021] [ModuleManager] Applying node TweakableEverything/TweakableGimbals/@PART[*]:HAS[@MODULE[ModuleGimbal]]:FOR[TweakableEverything]:NEEDS[!Realism] to Squad/Parts/Engine/turboFanEngine/part/turboFanEngine[LOG 12:17:41.029] [ModuleManager] Applying node TweakableEverything/TweakableLadders/@PART[*]:HAS[@MODULE[RetractableLadder]]:FOR[TweakableEverything] to Squad/Parts/Utility/telescopicLadder/part/telescopicLadder[LOG 12:17:41.030] [ModuleManager] Applying node TweakableEverything/TweakableLadders/@PART[*]:HAS[@MODULE[RetractableLadder]]:FOR[TweakableEverything] to Squad/Parts/Utility/telescopicLadderBay/part/telescopicLadderBay[LOG 12:17:41.034] [ModuleManager] Applying node TweakableEverything/TweakableRCS/@PART[*]:HAS[@MODULE[ModuleRCS]]:FOR[TweakableEverything]:NEEDS[!Realism] to Squad/Parts/Utility/linearRCS/part/linearRcs[LOG 12:17:41.037] [ModuleManager] Applying node TweakableEverything/TweakableRCS/@PART[*]:HAS[@MODULE[ModuleRCS]]:FOR[TweakableEverything]:NEEDS[!Realism] to Squad/Parts/Utility/RCS block/part/RCSBlock[LOG 12:17:41.041] [ModuleManager] Applying node TweakableEverything/TweakableSolarPanels/@PART[*]:HAS[@MODULE[ModuleDeployableSolarPanel]]:FOR[TweakableEverything] to Squad/Parts/Electrical/largeSolarPanel/part/largeSolarPanel[LOG 12:17:41.042] [ModuleManager] Applying node TweakableEverything/TweakableSolarPanels/@PART[*]:HAS[@MODULE[ModuleDeployableSolarPanel]]:FOR[TweakableEverything] to Squad/Parts/Electrical/solarPanels1/part/solarPanels1[LOG 12:17:41.043] [ModuleManager] Applying node TweakableEverything/TweakableSolarPanels/@PART[*]:HAS[@MODULE[ModuleDeployableSolarPanel]]:FOR[TweakableEverything] to Squad/Parts/Electrical/solarPanels2/part/solarPanels2[LOG 12:17:41.044] [ModuleManager] Applying node TweakableEverything/TweakableSolarPanels/@PART[*]:HAS[@MODULE[ModuleDeployableSolarPanel]]:FOR[TweakableEverything] to Squad/Parts/Electrical/solarPanels3/part/solarPanels3[LOG 12:17:41.045] [ModuleManager] Applying node TweakableEverything/TweakableSolarPanels/@PART[*]:HAS[@MODULE[ModuleDeployableSolarPanel]]:FOR[TweakableEverything] to Squad/Parts/Electrical/solarPanels4/part/solarPanels4[LOG 12:17:41.047] [ModuleManager] Applying node TweakableEverything/TweakableSolarPanels/@PART[*]:HAS[@MODULE[ModuleDeployableSolarPanel]]:FOR[TweakableEverything] to Squad/Parts/Electrical/solarPanels5/part/solarPanels5[LOG 12:17:41.051] [ModuleManager] :AFTER[TweakableEverything] pass[LOG 12:17:41.054] [ModuleManager] Applying node TweakableEverything/TweakableAnimateGeneric/@PART[longAntenna]:AFTER[TweakableEverything] to Squad/Parts/Utility/longAntenna/part/longAntenna[LOG 12:17:41.057] [ModuleManager] Applying node TweakableEverything/TweakableAnimateGeneric/@PART[mediumDishAntenna]:AFTER[TweakableEverything] to Squad/Parts/Utility/mediumDishAntenna/part/mediumDishAntenna[LOG 12:17:41.059] [ModuleManager] Applying node TweakableEverything/TweakableAnimateGeneric/@PART[commDish]:AFTER[TweakableEverything] to Squad/Parts/Utility/commDish/part/commDish[LOG 12:17:41.061] [ModuleManager] Applying node TweakableEverything/TweakableDockingNode/@PART[dockingPort1]:AFTER[TweakableEverything] to Squad/Parts/Utility/dockingPort1/part/dockingPort1[LOG 12:17:41.063] [ModuleManager] Applying node TweakableEverything/TweakableDockingNode/@PART[dockingPortLateral]:AFTER[TweakableEverything] to Squad/Parts/Utility/dockingPortLateral/part/dockingPortLateral[LOG 12:17:41.065] [ModuleManager] :FINAL pass[LOG 12:17:41.066] [ModuleManager] ModuleManager applied 72 patches and found 0 errorAnd here's the log from 2.1.1 (I compiled it less than 15 minutes ago):[LOG 12:22:42.019] [ModuleManager] compiling list of loaded mods...Mod DLLs found: Assembly-CSharp v1.0.0.0 ModuleManager v2.1.1.0 ModuleDB v1.0.5236.19316 ToadicusTools v0.0.0.0 TweakableAnimateGeneric v0.6.4.26691 TweakableDecouplers v1.1.5236.26688 TweakableDockingNode v1.1.5236.26687 TweakableEngineFairings v1.0.5236.26691 TweakableGimbals v1.1.5236.26690 TweakableLadders v0.6.3.26689 TweakableRCS v1.1.5236.26690 TweakableReactionWheels v0.6.4.26689 TweakableSolarPanels v0.6.0.26688 TweakableStaging v1.1.5236.26687Non-DLL mods added: TweakableEverything[WRN 12:22:42.037] @PART[*]:HAS[@MODULE[ModuleDecouple]]:FOR[TweakableEverything][WRN 12:22:42.038] @PART[*]:HAS[@MODULE[ModuleAnchoredDecoupler]]:FOR[TweakableEverything][WRN 12:22:42.039] @PART[*]:HAS[@MODULE[ModuleDockingNode]]:FOR[TweakableEverything][WRN 12:22:42.040] @PART[*]:HAS[@MODULE[ModuleGimbal]]:FOR[TweakableEverything][LOG 12:22:42.041] [ModuleManager] Deleting Node in file TweakableEverything/TweakableGimbals subnode: @PART[*]:HAS[@MODULE[ModuleGimbal]]:AFTER[Realism]:NEEDS[Realism] as it can't satisfy its NEEDS[WRN 12:22:42.042] @PART[*]:HAS[@MODULE[ModuleRCS]]:FOR[TweakableEverything][LOG 12:22:42.042] [ModuleManager] Deleting Node in file TweakableEverything/TweakableRCS subnode: @PART[*]:HAS[@MODULE[ModuleRCS]]:AFTER[Realism]:NEEDS[Realism] as it can't satisfy its NEEDS[LOG 12:22:42.044] [ModuleManager] :FIRST (default) pass[LOG 12:22:42.066] [ModuleManager] Applying node TweakableEverything/TweakableReactionWheels/@PART[*]:HAS[@MODULE[ModuleReactionWheel]] to Squad/Parts/Command/advSasModule/part/advSasModule[LOG 12:22:42.070] [ModuleManager] Applying node TweakableEverything/TweakableReactionWheels/@PART[*]:HAS[@MODULE[ModuleReactionWheel]] to Squad/Parts/Command/asasmodule1-2/part/asasmodule1-2[LOG 12:22:42.071] [ModuleManager] Applying node TweakableEverything/TweakableReactionWheels/@PART[*]:HAS[@MODULE[ModuleReactionWheel]] to Squad/Parts/Command/cupola/part/cupola[LOG 12:22:42.072] [ModuleManager] Applying node TweakableEverything/TweakableReactionWheels/@PART[*]:HAS[@MODULE[ModuleReactionWheel]] to Squad/Parts/Command/landerCabinSmall/part/landerCabinSmall[LOG 12:22:42.073] [ModuleManager] Applying node TweakableEverything/TweakableReactionWheels/@PART[*]:HAS[@MODULE[ModuleReactionWheel]] to Squad/Parts/Command/Mark1Cockpit/part/Mark1Cockpit[LOG 12:22:42.074] [ModuleManager] Applying node TweakableEverything/TweakableReactionWheels/@PART[*]:HAS[@MODULE[ModuleReactionWheel]] to Squad/Parts/Command/Mark2Cockpit/part/Mark2Cockpit[LOG 12:22:42.076] [ModuleManager] Applying node TweakableEverything/TweakableReactionWheels/@PART[*]:HAS[@MODULE[ModuleReactionWheel]] to Squad/Parts/Command/mark3Cockpit/part/mark3Cockpit[LOG 12:22:42.077] [ModuleManager] Applying node TweakableEverything/TweakableReactionWheels/@PART[*]:HAS[@MODULE[ModuleReactionWheel]] to Squad/Parts/Command/Mk1-2Pod/part/Mark1-2Pod[LOG 12:22:42.078] [ModuleManager] Applying node TweakableEverything/TweakableReactionWheels/@PART[*]:HAS[@MODULE[ModuleReactionWheel]] to Squad/Parts/Command/mk1pod/part/mk1pod[LOG 12:22:42.079] [ModuleManager] Applying node TweakableEverything/TweakableReactionWheels/@PART[*]:HAS[@MODULE[ModuleReactionWheel]] to Squad/Parts/Command/mk2LanderCabin/part/mk2LanderCabin[LOG 12:22:42.080] [ModuleManager] Applying node TweakableEverything/TweakableReactionWheels/@PART[*]:HAS[@MODULE[ModuleReactionWheel]] to Squad/Parts/Command/probeCoreCube/part/probeCoreCube[LOG 12:22:42.081] [ModuleManager] Applying node TweakableEverything/TweakableReactionWheels/@PART[*]:HAS[@MODULE[ModuleReactionWheel]] to Squad/Parts/Command/probeCoreHex/part/probeCoreHex[LOG 12:22:42.082] [ModuleManager] Applying node TweakableEverything/TweakableReactionWheels/@PART[*]:HAS[@MODULE[ModuleReactionWheel]] to Squad/Parts/Command/probeCoreOcto/part/probeCoreOcto[LOG 12:22:42.083] [ModuleManager] Applying node TweakableEverything/TweakableReactionWheels/@PART[*]:HAS[@MODULE[ModuleReactionWheel]] to Squad/Parts/Command/probeCoreOcto2/part/probeCoreOcto2[LOG 12:22:42.085] [ModuleManager] Applying node TweakableEverything/TweakableReactionWheels/@PART[*]:HAS[@MODULE[ModuleReactionWheel]] to Squad/Parts/Command/probeCoreSphere/part/probeCoreSphere[LOG 12:22:42.086] [ModuleManager] Applying node TweakableEverything/TweakableReactionWheels/@PART[*]:HAS[@MODULE[ModuleReactionWheel]] to Squad/Parts/Command/probeStackLarge/part/probeStackLarge[LOG 12:22:42.087] [ModuleManager] Applying node TweakableEverything/TweakableReactionWheels/@PART[*]:HAS[@MODULE[ModuleReactionWheel]] to Squad/Parts/Command/probeStackSmall/part/probeStackSmall[LOG 12:22:42.088] [ModuleManager] Applying node TweakableEverything/TweakableReactionWheels/@PART[*]:HAS[@MODULE[ModuleReactionWheel]] to Squad/Parts/Command/sasModule/part/sasModule[LOG 12:22:42.093] [ModuleManager] :BEFORE[Assembly-CSharp] pass[LOG 12:22:42.095] [ModuleManager] :FOR[Assembly-CSharp] pass[LOG 12:22:42.096] [ModuleManager] :AFTER[Assembly-CSharp] pass[LOG 12:22:42.097] [ModuleManager] :BEFORE[ModuleManager] pass[LOG 12:22:42.098] [ModuleManager] :FOR[ModuleManager] pass[LOG 12:22:42.099] [ModuleManager] :AFTER[ModuleManager] pass[LOG 12:22:42.100] [ModuleManager] :BEFORE[ModuleDB] pass[LOG 12:22:42.101] [ModuleManager] :FOR[ModuleDB] pass[LOG 12:22:42.102] [ModuleManager] :AFTER[ModuleDB] pass[LOG 12:22:42.103] [ModuleManager] :BEFORE[ToadicusTools] pass[LOG 12:22:42.104] [ModuleManager] :FOR[ToadicusTools] pass[LOG 12:22:42.105] [ModuleManager] :AFTER[ToadicusTools] pass[LOG 12:22:42.106] [ModuleManager] :BEFORE[TweakableAnimateGeneric] pass[LOG 12:22:42.109] [ModuleManager] :FOR[TweakableAnimateGeneric] pass[LOG 12:22:42.110] [ModuleManager] :AFTER[TweakableAnimateGeneric] pass[LOG 12:22:42.111] [ModuleManager] :BEFORE[TweakableDecouplers] pass[LOG 12:22:42.113] [ModuleManager] :FOR[TweakableDecouplers] pass[LOG 12:22:42.114] [ModuleManager] :AFTER[TweakableDecouplers] pass[LOG 12:22:42.115] [ModuleManager] :BEFORE[TweakableDockingNode] pass[LOG 12:22:42.116] [ModuleManager] :FOR[TweakableDockingNode] pass[LOG 12:22:42.117] [ModuleManager] :AFTER[TweakableDockingNode] pass[LOG 12:22:42.118] [ModuleManager] :BEFORE[TweakableEngineFairings] pass[LOG 12:22:42.119] [ModuleManager] :FOR[TweakableEngineFairings] pass[LOG 12:22:42.120] [ModuleManager] :AFTER[TweakableEngineFairings] pass[LOG 12:22:42.121] [ModuleManager] :BEFORE[TweakableGimbals] pass[LOG 12:22:42.122] [ModuleManager] :FOR[TweakableGimbals] pass[LOG 12:22:42.123] [ModuleManager] :AFTER[TweakableGimbals] pass[LOG 12:22:42.124] [ModuleManager] :BEFORE[TweakableLadders] pass[LOG 12:22:42.125] [ModuleManager] :FOR[TweakableLadders] pass[LOG 12:22:42.126] [ModuleManager] :AFTER[TweakableLadders] pass[LOG 12:22:42.130] [ModuleManager] :BEFORE[TweakableRCS] pass[LOG 12:22:42.131] [ModuleManager] :FOR[TweakableRCS] pass[LOG 12:22:42.132] [ModuleManager] :AFTER[TweakableRCS] pass[LOG 12:22:42.133] [ModuleManager] :BEFORE[TweakableReactionWheels] pass[LOG 12:22:42.134] [ModuleManager] :FOR[TweakableReactionWheels] pass[LOG 12:22:42.135] [ModuleManager] :AFTER[TweakableReactionWheels] pass[LOG 12:22:42.136] [ModuleManager] :BEFORE[TweakableSolarPanels] pass[LOG 12:22:42.137] [ModuleManager] :FOR[TweakableSolarPanels] pass[LOG 12:22:42.138] [ModuleManager] :AFTER[TweakableSolarPanels] pass[LOG 12:22:42.139] [ModuleManager] :BEFORE[TweakableStaging] pass[LOG 12:22:42.140] [ModuleManager] :FOR[TweakableStaging] pass[LOG 12:22:42.141] [ModuleManager] :AFTER[TweakableStaging] pass[LOG 12:22:42.142] [ModuleManager] :BEFORE[TweakableEverything] pass[LOG 12:22:42.144] [ModuleManager] :FOR[TweakableEverything] pass[LOG 12:22:42.145] [ModuleManager] :AFTER[TweakableEverything] pass[LOG 12:22:42.146] [ModuleManager] :FINAL pass[LOG 12:22:42.147] [ModuleManager] Running tests...[LOG 12:22:42.148] [ModuleManager] ModuleManager applied 18 patches and found 0 errorsAs you can see, the new version only applied 18 of 72 patches.Chances are, you're still working on the code and haven't finished it yet. But in case you're 'done' and in the test phase, then hopefully this will help. You can safely assume that I'm stalking your git hub page Navy Quote Link to comment Share on other sites More sharing options...
NavyFish Posted May 7, 2014 Share Posted May 7, 2014 Removing the :FOR[....] stage from the configuration files allows them to load. I'm still looking for the bug in code. Quote Link to comment Share on other sites More sharing options...
NavyFish Posted May 8, 2014 Share Posted May 8, 2014 Found it, it was a small thing. The part of the code responsible for loading modules at their appropriate stage (FIRST, FOR, AFTER, etc) was rejecting everything that should load in stages other than FIRST, because a string comparison was failing due to mismatch in case. I added .ToUpper() in two places and everything was loaded successfully.Created a pull request for you on git hub, username bfishman.The fix: // Ensure the stage is correct string upperName = name.ToUpper(); int stageIdx = upperName.IndexOf(Stage.ToUpper()); if (stageIdx >= 0) { name = name.Substring(0, stageIdx) + name.Substring(stageIdx + Stage.Length); } else if (!(Stage.ToUpper() == ":FIRST" && !upperName.Contains(":BEFORE[") && !upperName.Contains(":FOR[") && !upperName.Contains(":AFTER[") && !upperName.Contains(":FINAL"))) { continue; } Quote Link to comment Share on other sites More sharing options...
NavyFish Posted May 8, 2014 Share Posted May 8, 2014 Found another bug - in some cases a module will be added to a part twice. Tested both 2.1.1 and 2.0.8 on a vanilla + 2 mods install and found that this only occurs with 2.1.1, ruling out an improperly written .cfg.Will start hunting for the cause. Quote Link to comment Share on other sites More sharing options...
swamp_ig Posted May 8, 2014 Share Posted May 8, 2014 Found another bug - in some cases a module will be added to a part twice. Tested both 2.1.1 and 2.0.8 on a vanilla + 2 mods install and found that this only occurs with 2.1.1, ruling out an improperly written .cfg.Will start hunting for the cause.Hey thanks for your bug reports.The case sensitivity thing is a good point. Will of course fix that.If you can, can you pls supply a minimal test-case and stick it in the tests dir or send me it in a PM, or whatever.That way there's some automated tests waiting to go for any future patches. The EditSubmod.cfg file is a fairly self-explanatory test case.I'm sort-of 'done' but am working on some improvements to the logging, plus automated backup of saves. Quote Link to comment Share on other sites More sharing options...
NavyFish Posted May 8, 2014 Share Posted May 8, 2014 (edited) Sure, I'll see what I can come up with.I suggest you take a look at line 816 of the current mudleManager.cs on your github master. for (int i = 0; i < subMod.nodes.Count; ++i) { ConfigNode node = subMod.nodes[i]; string name = node.name; if (CheckNeeds(ref name)) { node.name = name; CheckNeeds(node, url, path); // <<--------------------- This line copy.AddNode(node); } else { needsCopy = true; print("[ModuleManager] Deleting node in file: " + url + " subnode: " + string.Join("/", path.ToArray()) + "/" + node.name + " as it can't satisfy its NEEDS"); } }After copious amounts of debug logging, I have a feeling that what's causing modules to be added to a config twice. At the very least, it's happening from within the "CheckNeeds" segment of the program. If I run the following segment of code.......foreach (UrlDir.UrlConfig part in GameDatabase.Instance.root.AllConfigs) { Debug.Log(part.name); ConfigNode config = part.config; foreach (ConfigNode node in config.nodes) { if (node.name.Equals("MODULE")) { Debug.Log("\t" + node.name + ": " + node.GetValue("name")); } } }....Prior to "CheckNeeds(excludePaths);" on line 533, the output looks like: [LOG 20:49:02.703] @PART[*]:HAS[@MODULE[ModuleDockingNode]]:FOR[TweakableEverything]:NEEDS[TweakableStaging][LOG 20:49:02.703] MODULE: ModuleStagingToggle[LOG 20:49:02.704] MODULE: ModuleTweakableDockingNode.....Whereas, after line 533, it looks like:[LOG 20:49:04.266] @PART[*]:HAS[@MODULE[ModuleDockingNode]]:FOR[TweakableEverything][LOG 20:49:04.267] MODULE: ModuleStagingToggle[LOG 20:49:04.268] MODULE: ModuleTweakableDockingNode[LOG 20:49:04.268] MODULE: ModuleStagingToggle[LOG 20:49:04.269] MODULE: ModuleTweakableDockingNode Edited May 8, 2014 by NavyFish Quote Link to comment Share on other sites More sharing options...
swamp_ig Posted May 8, 2014 Share Posted May 8, 2014 Found and fixed that bug! Quote Link to comment Share on other sites More sharing options...
ialdabaoth Posted May 8, 2014 Share Posted May 8, 2014 Found another bug - in some cases a module will be added to a part twice. Tested both 2.1.1 and 2.0.8 on a vanilla + 2 mods install and found that this only occurs with 2.1.1, ruling out an improperly written .cfg.Will start hunting for the cause.Check and see if you have two copies of a DLL loaded, and if that DLL is mentioned in the configNode's :FOR, :BEFORE, :AFTER or :NEEDS. If so, this is a bug that will need to be addressed. Quote Link to comment Share on other sites More sharing options...
Mecripp Posted May 8, 2014 Share Posted May 8, 2014 (edited) Can some 1 tell me what, I'm doing wrong or why is ModuleAnimateGeneric changing with this mod AntennaRange the Squad longAntenna will be locked if you use @ and won't if you use %@PART[longAntenna]{ %MODULE[ModuleDataTransmitter] { %name = ModuleLimitedDataTransmitter nominalRange = 1500000 maxPowerFactor = 8 maxDataFactor = 4 DeployFxModules = 0 }}@PART[longAntenna]{ @MODULE[ModuleDataTransmitter] { @name = ModuleLimitedDataTransmitter nominalRange = 1500000 maxPowerFactor = 8 maxDataFactor = 4 DeployFxModules = 0 }} using MM 2.1 EDIT Found, I had a conflicting cfg. Edited May 8, 2014 by Mecripp2 Quote Link to comment Share on other sites More sharing options...
BPI_Bel Posted May 8, 2014 Share Posted May 8, 2014 (edited) I have been trying to get the TAC-LS resources inserted into the config of the SDHI Service Module for the last day (using MM v2.1.0). I have run into a wall where I don't know what I am doing wrong. Yet I get an error on MM parse of this:@PART[*]:HAS[#title[SDHI 2.5m Service Module]]:AFTER[TacLifeSupport]{ @mass = 3 @RESOURCE[LiquidFuel] { @amount = 240 @maxAmount = 240 } @RESOURCE[Oxidizer] { @amount = 293.3333333333333 @maxAmount = 293.3333333333333 } RESOURCE { name = Food amount = 63 maxAmount = 63 } RESOURCE { name = Water amount = 63 maxAmount = 63 } RESOURCE { name = Oxygen amount = 63 maxAmount = 63 } RESOURCE { name = CarbonDioxide amount = 0 maxAmount = 21 } RESOURCE { name = Waste amount = 0 maxAmount = 21 } RESOURCE { name = WasteWater amount = 0 maxAmount = 21 }}...with the result being no change to the part. Is there something I missed in the documentation or an undocumented requirement that I don't know about? Edited May 8, 2014 by BPI_Bel Clarification of MM Version Quote Link to comment Share on other sites More sharing options...
NavyFish Posted May 8, 2014 Share Posted May 8, 2014 What version of MM?The current code on the github site does not load any modules, as far as I can tell. Quote Link to comment Share on other sites More sharing options...
BPI_Bel Posted May 8, 2014 Share Posted May 8, 2014 Edited my prior post to mention I am using version 2.1.0. Quote Link to comment Share on other sites More sharing options...
lextacy Posted May 8, 2014 Share Posted May 8, 2014 really confused at what this does....but....does this explain why when I try to change the toroid fuel tank from 10 units to 50 units of fuel, the game keeps reverting back to 10? This happens when I have module manager installed. Isnt the point of module manager to allow those .cfg edits to remain ? Quote Link to comment Share on other sites More sharing options...
Starwaster Posted May 8, 2014 Share Posted May 8, 2014 (edited) really confused at what this does....but....does this explain why when I try to change the toroid fuel tank from 10 units to 50 units of fuel, the game keeps reverting back to 10? This happens when I have module manager installed. Isnt the point of module manager to allow those .cfg edits to remain ?You should post the config code you're trying to use to make that change. You may have an error in what you're doing.I have been trying to get the TAC-LS resources inserted into the config of the SDHI Service Module for the last day (using MM v2.1.0). I have run into a wall where I don't know what I am doing wrong. Yet I get an error on MM parse of this:@PART[*]:HAS[#title[SDHI 2.5m Service Module]]:AFTER[TacLifeSupport]{ <buncha code [I]snipped![/I]>}...with the result being no change to the part. Is there something I missed in the documentation or an undocumented requirement that I don't know about?Firstly, the use of spaces there will trip you up. If you have to use spaces in your conditionals then use ? instead of space. It's a wildcard that will allow matching on the space.Secondly (this should have been first...)Don't use title to match on. Use its part name. You want it to look like this:@PART[SDHI_2.5_ServiceModule]:AFTER[TacLifeSupport]{ <put your code insertion here>} Edited May 8, 2014 by Starwaster Quote Link to comment Share on other sites More sharing options...
lextacy Posted May 8, 2014 Share Posted May 8, 2014 well not so much a code im putting in, im just editing a value........PART{name = toroidalFuelTankmodule = Partauthor = NovaSiliskomesh = model.murescaleFactor = 1node_stack_top = 0.0, 0.0498631, 0.0, 0.0, 1.0, 0.0node_stack_bottom = 0.0, -0.0498631, 0.0, 0.0, 1.0, 0.0TechRequired = precisionEngineeringentryCost = 4800cost = 220category = Propulsionsubcategory = 0title = ROUND-8 Toroidal Fuel Tankmanufacturer = Probodobodyne Inc.description = An unconventionally shaped (but undoubtedly handy) fuel tank.attachRules = 1,0,1,0,1mass = 0.025dragModelType = defaultmaximum_drag = 0.2minimum_drag = 0.15angularDrag = 2crashTolerance = 6maxTemp = 2900breakingForce = 50breakingTorque = 50RESOURCE{ name = LiquidFuel amount = 50 maxAmount = 50}RESOURCE{ name = Oxidizer amount = 62.2 maxAmount = 62.2}}you can see where the fuel is set to 50 and oxidizer at 62, but in-game it always stays at 10 and 12 oxidizer. Quote Link to comment Share on other sites More sharing options...
BudgetHedgehog Posted May 9, 2014 Share Posted May 9, 2014 (edited) <snip>Module Manager won't do anything with that. Your problem is because you're basically making a new part, but as the name is already used (by the normal toroidal tank), chances are that's loaded first and this is ignored.For MM to have any effect, you'll want this instead:@PART[toroidalFuelTank]:Final{ @RESOURCE[LiquidFuel] { @amount = 50 }}{ @RESOURCE[Oxidizer] { @amount = 62.2 }}I think.. I've never written a MM cfg from the start before, heh.. Oh, and don't forget to save that as 'cheatyfuelindoughnuttank.cfg' or something, not the original 'part.cfg' Edited May 9, 2014 by ObsessedWithKSP Quote Link to comment Share on other sites More sharing options...
BPI_Bel Posted May 9, 2014 Share Posted May 9, 2014 Thanks for the information. I was unsure about whether there would be a problem with HAS[] and spaces. It may be a good idea to edit the info post to clarify about using ? instead of spaces in all match fields. Quote Link to comment Share on other sites More sharing options...
Starstrider42 Posted May 9, 2014 Share Posted May 9, 2014 Firstly, the use of spaces there will trip you up. If you have to use spaces in your conditionals then use ? instead of space. It's a wildcard that will allow matching on the space.Secondly (this should have been first...)Don't use title to match on. Use its part name.I assume that config nodes with spaces in their names are also a big no-no where MM is concerned? Quote Link to comment Share on other sites More sharing options...
lextacy Posted May 9, 2014 Share Posted May 9, 2014 Module Manager won't do anything with that. Your problem is because you're basically making a new part, but as the name is already used (by the normal toroidal tank), chances are that's loaded first and this is ignored.For MM to have any effect, you'll want this instead:@PART[toroidalFuelTank]:Final{ @RESOURCE[LiquidFuel] { @amount = 50 }}{ @RESOURCE[Oxidizer] { @amount = 62.2 }}I think.. I've never written a MM cfg from the start before, heh.. Oh, and don't forget to save that as 'cheatyfuelindoughnuttank.cfg' or something, not the original 'part.cfg' so this snippet with your MM will allow for a 2nd part basically that has the more fuel? Quote Link to comment Share on other sites More sharing options...
skbernard Posted May 9, 2014 Share Posted May 9, 2014 that code finds an already existing part with name [torodialFuelTank], finds the existing resource module for [LiquidFuel] and modifies the amount value to the one listed, same for [Oxidizer]it overwrites the existing part without changing the original vanilla data files, not creates a new one - to make a new part find the existing cfg file for it, copy the config file and change the name of the part, but leave the things like the models the same, then change whatever values you want deeper inside the config Quote Link to comment Share on other sites More sharing options...
lextacy Posted May 9, 2014 Share Posted May 9, 2014 oh I see! thanks for the good info ! Quote Link to comment Share on other sites More sharing options...
Woopert Posted May 9, 2014 Share Posted May 9, 2014 (edited) Hey -- I just read the orange text, sorry. Can you put up a download link for the 2.07? I deleted it from my computer. Thanks, Edit: Nevermind, just noticed the the link in OP, it was "hidden." Oh, and just for reference: when was 2.1.0 released? Want to make sure the back up I had was before that so it didn't get corrupted or anything.Edit 2: from searching back a few pages it seems it was released May 4. My backup is from before then but that was from April 29 or so, before I finished an ARM mission. I have a persistent and quicksave from May 4 so I hope this will work out okay...Edit 3: my saves are from after you released it. Though, I was using 2.1.0 with my save and everything seemed to be working fine. If there's no noticeable effects has it still been corrupted? If it somehow survived, should I go back to 2.0.7 or keep using the new one? And how can I make sure that my save is or is not corrupted? Thanks! Edited May 9, 2014 by Woopert Quote Link to comment Share on other sites More sharing options...
Starwaster Posted May 9, 2014 Share Posted May 9, 2014 If I schedule a patch to occur in :AFTER[FerramAerospaceResearch] and FAR wasn't actually installed, would that patch still get applied? If I didn't want it to, would I just be better off using :NEEDS[FerramAerospaceResearch] ? Quote Link to comment Share on other sites More sharing options...
sarbian Posted May 10, 2014 Author Share Posted May 10, 2014 If you want it to apply the patch only if FAR is here then you need both the AFTER and NEEDIt you use only after then the patch will apply even if FAR is not here ( but after FAR patch if it's here)If you use only NEED the patch will apply only if FAR is here but not not after FAR---- Swamp_ig finished the last batch of change to MM and 2.1.1 is ready. I need volunteers to test it before we release it.First a short version of what change in this : - the code that make sure the module order stays the same after MM applied its patch is still in - a new Savegame fixed was added. it makes sure that you module order in the save games if the same as the one in the game memory - more, but it's 2:39 AM here, and it's the short version.Just before you get to KSP main menu MM will check all you save and "fix" them. Since we are carefull all file that are changed by that process are save before in the KSP\saves_backup\xxxxxxxx-xxxxxx directory. With the x being the date and time. we need some to test that and make sure MM does not mess up thing (I did some testing myself and some bug were fixed, I am quite sure it works fine now).If you want to test, and feel up to it please : - BACKUP your saves. MM does it too, but it's better to do it since you may find a nasty bug related to the save process. ( I am quite sure the backup works fine ) - get version 2.1.1 here : https://ksp.sarbian.com/jenkins/job/ModuleManager/lastSuccessfulBuild/artifact/jenkins-ModuleManager-25/ModuleManager.2.1.1.dll - play the game - come back to us if you find a bug you think is related to the new MMOnce more : A) This is a test version Backup yours saves C) Don't expect me to shed a tear if you found a bug and did not backup your game. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.