MechJeb 2.15.1 compatibility fixes#170
Open
adventure-gpt wants to merge 1 commit intoFirstPersonKSP:masterfrom
Open
MechJeb 2.15.1 compatibility fixes#170adventure-gpt wants to merge 1 commit intoFirstPersonKSP:masterfrom
adventure-gpt wants to merge 1 commit intoFirstPersonKSP:masterfrom
Conversation
- Update JSIMechJeb.cs field bindings to use PascalCase for MJ 2.15.1: - MechJebCore: target->Target, node->Node, attitude->Attitude, vesselState->VesselState - AbsoluteVector: latitude->Latitude, longitude->Longitude - ComputerModule: enabled->Enabled, users->Users - EditableDouble/EditableDoubleMult: val->Val property - ReentrySimulation.Result: outcome->Outcome, endPosition->EndPosition, endUT->EndUT - Add MechJebModuleAscentSettings support (replaces AscentAutopilot/AscentGuidance): - DesiredOrbitAltitude, DesiredInclination fields - AscentAutopilot property access for autopilot control - Fix FuelFlowSimulation type lookup: - Try MechJebLib assembly first (MJ 2.15.1 moved it there) - Fall back to nested type in MechJeb2 assembly - Fix stage stats handling for List<FuelStats>: - Use Count property and get_Item method instead of array access - Fix ButtonAscentGuidance/ButtonAscentGuidanceState: - Try MechJebModuleAscentBaseAutopilot first - Fall back to AscentSettings.AscentAutopilot property - Use MechJebModuleAscentMenu instead of AscentGuidance - Handle Users property with PascalCase fallback - Fix MechJebRPM.cs: - Update module check from MechJebModuleAscentAutopilot to MechJebModuleAscentSettings - Fix Force Roll menu index (5->6) for Home button adjustment
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
relates to issue: #169
Update JSIMechJeb.cs field bindings to use PascalCase for MJ 2.15.1:
Add MechJebModuleAscentSettings support (replaces AscentAutopilot/AscentGuidance):
Fix FuelFlowSimulation type lookup:
Fix stage stats handling for List:
Fix ButtonAscentGuidance/ButtonAscentGuidanceState:
Fix MechJebRPM.cs: