linuxgurugamer / ksp-advanced-flybywire

Controller mod for Kerbal Space Program
MIT License
26 stars 11 forks source link

add check for vessel control state #42

Open Jonathon594 opened 1 year ago

Jonathon594 commented 1 year ago

AFBW Input applies to vessels regardless of control state. In the case of probes when you loose signal you can still throttle engines, active buttons, and rotate, essentially anything AFBW can control.

This fixes the flight control axis part of the problem. I'll need to look deeper into the code to find where to apply this to the action groups, etc. There may be a better location for the check to be placed where it would affect all of the control inputs.

Jonathon594 commented 1 year ago

I'm unsure how to make it ignore changes I had to make to sln/ide files in order to compile on my machine. regardless if this code is useful I'm going to leave it here.

I built the edited dll and am running it in my install and it works perfect for probes when they loose control.

linuxgurugamer commented 6 months ago

Did you ever find the code for the Action Groups? Re. the changes to the sln/ide/csproj files, you can either use a .gitignore or just select changed files rather than all. Another possiblity (for next time) is just to create variants for your local builds, and don't touch the originals. I'll wait for a response, knowing that there is this issue, I can easily work around it when I'm ready