[KSP 1.2.2][2016-12-13] All Y'All [v0.10.1] One-Button Common Action Grouping (2024)

THIS IS THE OLD THREAD!

@linuxgurugamer has graciously taken over this mod as he has the tools, talent, and most importantly (and surprisingly given the number of mods he maintains) time to keep up with it. Please visit the new thread here:

Spoilering the rest of this as it's going to get more and more irrelevant over time.

Spoiler

We've all been there: You slap 48 solar panels on your ship, fly it all the way to Eve, and realize you don't have action groups set up. So you right click all of them and "Extend". Then you come in to Aerobrake, and you have to right click them all again to "Retract". And then once you've landed, sure enough, let's "Extend" them all again.

NO MORE!

Enter All Y'All, the one-stop, one-click extend and retract solution. It is ridiculously simple in implementation. Right click any solar panel (just like you would to extend it) and instead of clicking "Extend" just click "Extend All". Repeat with "Retract All". All Y'All also works with radiators and science, and may expand to other functions in the future.

Note: This does not retract non-retractable panels, but the option's still there, and will retract any other panels on the same ship.

[KSP 1.2.2][2016-12-13] All Y'All [v0.10.1] One-Button Common Action Grouping (1)

DOWNLOAD:

SOURCE: https://github.com/5thHorseman/AllYAll

INSTALLATION:
Within the install zip file is a GameData folder. Within that folder is an AllYAll folder. Put that folder in your KSP GameData folder.

REQUIREMENTS:
Module Manager (but what doesn't these days?)

CHANGELOG:

Spoiler

  • 0.10.1: I forgot to update the .version file for 0.10. If you've not had a problem there's no need to update.
  • 0.10: Bugfix and code optimization, plus some changes to menus
    • Updated to 1.2.2
    • Fixed: Null Reference errors when deploying/retracting solar panels when static panels were present.
    • Buttons are more logical now, "retract all" is available on all extended panels, while "extend all" is on retracted ones. Changes for Radiators, Solar Panels, and Cargo Bays.
    • Minor changes: Does not appear on extended solar panels that cannot retract. Cargo Bays can be toggled while in motion to whatever they will eventually be.
  • 0.9: MASSIVE rewrite with major additions, all by linuxgurugamer:
    • Updated to 1.2.1
    • Added Cargo Bays, Drills, Reaction Wheels, Fuel Cells
    • Set up single-button functionality.
    • Was - in general - awesome.
  • 0.8: Added functionality to the new 1.2 "Science Box."
    • "Perform All Science" even though it's not actually a science experiment, for ease of use.
    • "Reset All Science" - the good part.
      • Will reset all experiments whose data has not been collected.
      • Will reset Mystery Goo and Science Jr (and hopefully any modded science) if you have a scientist on board.
      • Usage: Pin the Science Box right-click menu, then click in turn "perform science", "collect data", and "reset science." Repeat in all biomes.
  • 0.7: Recompile for KSP 1.2 (Prerelease, should work in final as well)
  • 0.6: Quick fix for M.O.L.E. parts. They utilize ModuleScienceExperiment but shouldn't be auto-collected. I've hard coded to ignore them when triggering science.
  • 0.5: Bugfix release
    - Fixed bug in science experiments: AYA allowed you to run Mystery Goo and Materials Bay science that had been collected, but not reset.
  • 0.4: Bugfix Release
    - Fixed bug in science experiments: AYA allowed you to perform surface samples in a command chair without having to upgrade R&D
    - Fixed bug in science experiments: AYA would only run the first experiment it came across in any given part. Now it will run each experiment in turn for all parts. Note this did not affect the stock game, but would affect any modded parts with multiple experiments.
    - Included all source files in source zip, to hopefully make it easier for others to build from source.
  • 0.3: Science Experiments confirmed working.
  • 0.2: Radiators confirmed working.
  • 0.1: Solar panels confirmed working.

Bugs (I'll be fixing these when I can, and can figure out how)

  • Unknown problem in RSS/RP-0. I can't recreate it or troubleshoot it, so I don't know what the problem would be, but it's just some missing functionality and not a serious bug. See this post for more information.

TO DO (Though I'll admit, I have no idea how. The first 3 were easy but these are well beyond my abilities. At least for the time being):

  • Nothing?

WON'T DO (Things I've decided to not do for whatever reason)

  • An option to group by actual part instead of similar parts (so all Gigantors, as well as all Solar Panels). Without dynamic buttons this will just add too many buttons to the right click menu for my taste. I think this mod is worth 2 extra buttons (even though I'd rather just have the one), but not 4. Or 8. Or whatever.
  • Config files and more generalized code. Not only am I not smart enough to do it, it's not very practical because each type of part has its own code with its own names, so I'd have to write specific stuff anyway. May as well keep all the stuff fully separated.

LICENSE:

CC share-alike. Anyone is free to do anything they like with All Y'All's source, so long as they allow others to do the same.

THANKS:

VERY SPECIAL THANKS to linuxgurugamer, who basically took my hodgepodge of slapped together code and made it into a real project. Then, he added all the features I wanted but never could figure out how to implement.

Thanks to NathanKell, Crzyrndm, DMagic, and Aelfhe1m, wasml, Diazo, and nightingale for code snippets and all around help.

I literally have no idea what I'm doing and without the wonderful KSP modding community this mod would never have even started.

DONATIONS

I do not need donations, but if you want to contribute, please donate to SpaceDock:

[KSP 1.2.2][2016-12-13] All Y'All [v0.10.1] One-Button Common Action Grouping (2)

____________________________

Thanks to KottabosGames for showcasing All Y'All on YouTube (why didn't I think to do that?)

Spoiler

And also thanks to Chrizz for his review as well, that shows All Y'All working with non-stock science parts.

Spoiler

Edited by 5thHorseman
Passing the torch

[KSP 1.2.2][2016-12-13] All Y'All [v0.10.1] One-Button Common Action Grouping (2024)

References

Top Articles
Latest Posts
Article information

Author: Tish Haag

Last Updated:

Views: 5864

Rating: 4.7 / 5 (47 voted)

Reviews: 86% of readers found this page helpful

Author information

Name: Tish Haag

Birthday: 1999-11-18

Address: 30256 Tara Expressway, Kutchburgh, VT 92892-0078

Phone: +4215847628708

Job: Internal Consulting Engineer

Hobby: Roller skating, Roller skating, Kayaking, Flying, Graffiti, Ghost hunting, scrapbook

Introduction: My name is Tish Haag, I am a excited, delightful, curious, beautiful, agreeable, enchanting, fancy person who loves writing and wants to share my knowledge and understanding with you.