Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Attitude control overhaul #118

Draft
wants to merge 3 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 24 additions & 5 deletions GameData/KSPCommunityFixes/Settings.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -63,11 +63,6 @@ KSP_COMMUNITY_FIXES
// Fix a bug causing the ROC manager to crash during loading with Kopernicus modified systems
ROCValidationOOR = true

// Fix reaction wheels reporting incorrect available torque when the "Wheel Authority"
// tweakable is set below 100%. This fix instability issues with the stock SAS and other
// attitude controllers from various mods.
ReactionWheelsPotentialTorque = true

// Make the stock alarm to respect the day/year length defined by mods like
// Kronometer. Fix the underlying AppUIMemberDateTime UI widget API to use the
// custom IDateTimeFormatter if implemented.
Expand Down Expand Up @@ -157,6 +152,11 @@ KSP_COMMUNITY_FIXES
// Fix spread angle still being applied after decoupling symmetry-placed parachutes.
ChutePhantomSymmetry = true

// Rewrite of the stock ITorqueProvider.GetPotentialTorque() implementations for the reaction wheels,
// rcs, gimbal and control surface stock partmodules. Fix various issues with the stock implementations,
// ranging from "minor" to "completely broken".
GetPotentialTorqueFixes = true

// ##########################
// Obsolete bugfixes
// ##########################
Expand Down Expand Up @@ -210,6 +210,17 @@ KSP_COMMUNITY_FIXES
// Add part actions for locking/unlocking part resources flow state.
ResourceLockActions = true

// Slightly improves the stock SAS precision and implement an optional alternate attitude
// controller called "PreciseController", more stable and precise for in-space operations but
// not suited for atmospheric operations.
BetterSAS = true

// Add two extra tweakables in the RCS module "Actuation Toggles", giving the ability to define
// a separate angle threshold for linear and rotation actuation. This allow to optimize efficiency
// of multi-nozzle RCS parts that are impossible to fine-tune with only the actuation toggles.
// This also add a potential torque/force readout to the actuation toggles PAW items.
RCSLimiter = true

// ##########################
// Performance tweaks
// ##########################
Expand Down Expand Up @@ -302,6 +313,9 @@ KSP_COMMUNITY_FIXES
// Prevent performance drops when there are in-progress comet sample or rover construction contracts
ContractProgressEnumCache = true

// Disable control surfaces updates and actuation when the part isn't submerged or in an atmosphere
NoLiftInSpace = true

// ##########################
// Modding
// ##########################
Expand Down Expand Up @@ -335,6 +349,11 @@ KSP_COMMUNITY_FIXES
// upgrade scripts.
ModUpgradePipeline = false

// Allow BaseField and related features (PAW controls, persistence...) to work when a custom BaseField
// is added to a BaseFieldList (ie, a Part or PartModule) with a host instance other than the
// BaseFieldList owner. Allow to dynamically add fields defined in other classes to a Part or PartModule.
BaseFieldListUseFieldHost = true

// ##########################
// Localization tools
// ##########################
Expand Down
9 changes: 7 additions & 2 deletions KSPCommunityFixes.sln
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 16
VisualStudioVersion = 16.0.30804.86
# Visual Studio Version 17
VisualStudioVersion = 17.3.32929.385
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "KSPCommunityFixes", "KSPCommunityFixes\KSPCommunityFixes.csproj", "{4E405C02-5AEB-4975-B26C-07582BB3FB15}"
EndProject
Expand All @@ -18,15 +18,20 @@ EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Profiling|Any CPU = Profiling|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{4E405C02-5AEB-4975-B26C-07582BB3FB15}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{4E405C02-5AEB-4975-B26C-07582BB3FB15}.Debug|Any CPU.Build.0 = Debug|Any CPU
{4E405C02-5AEB-4975-B26C-07582BB3FB15}.Profiling|Any CPU.ActiveCfg = Profiling|Any CPU
{4E405C02-5AEB-4975-B26C-07582BB3FB15}.Profiling|Any CPU.Build.0 = Profiling|Any CPU
{4E405C02-5AEB-4975-B26C-07582BB3FB15}.Release|Any CPU.ActiveCfg = Release|Any CPU
{4E405C02-5AEB-4975-B26C-07582BB3FB15}.Release|Any CPU.Build.0 = Release|Any CPU
{32B601F4-B648-4C69-AA98-620FE7BA070C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{32B601F4-B648-4C69-AA98-620FE7BA070C}.Debug|Any CPU.Build.0 = Debug|Any CPU
{32B601F4-B648-4C69-AA98-620FE7BA070C}.Profiling|Any CPU.ActiveCfg = Profiling|Any CPU
{32B601F4-B648-4C69-AA98-620FE7BA070C}.Profiling|Any CPU.Build.0 = Profiling|Any CPU
{32B601F4-B648-4C69-AA98-620FE7BA070C}.Release|Any CPU.ActiveCfg = Release|Any CPU
{32B601F4-B648-4C69-AA98-620FE7BA070C}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
Expand Down
Loading