Hangar CKAN

Hangars are parts that can store whole ships inside. Stored ships are not docked but unloaded, which reduces part count considerably

License: MIT

Game Version: 1.12.3

Source code: allista/hangar

Downloads: 105,712

Author: allista

Mod Website: Forum Thread

Support this mod: Donate

Followers: 196

Information Changelog Stats

Hangar

store your vessels until they are needed

Hangars are parts that can store whole ships inside. Stored ships are not docked but unloaded, which reduces part count considerably, improving framerate and memory footprint while allowing to carry out missions of great complexity.

Aside from the hangars themselves the mod provides a set of utility parts that help in various usage scenarios. To further reduce part count, most parts (including hangars) have multiple integrated modules and resources that are balanced and often eliminate the need to add such things as batteries, lights, generators, probe cores and reaction wheels.

Features

  • Many different types of hangars for any application
  • Most hangars may be rescaled to the needed size and proportions via tweakables
  • Ships could be stored in hangars at construction time
  • Crew and resources can be transferred between a ship with a hangar and stored ships
  • Ground hangars have anchors for comfort use on low-gravity worlds
  • An asteroid can also be stored in a hangar. If it fits, of course.
  • And vice versa: a hangar can be made inside and asteroid!
  • In addition, many utility parts are provided to help in various usage scenarios.
  • For more information read:

Documentation

ChangeLog

Future plans

Support this project:

Downloads and Installation

Delete the old version of the mod before installing the new one.

You may keep the Hangar.user and config.xml files to retain your preferences.

Before any upgrade I recommend you to backup your saves.

Releases are available from:

  • CKAN support is pending
  • GitHub (all releases, optional packages and the source code)

Before using a hangar study the list of modules that are integrated into it (RMB on part's icon). Many of the hangars have plenty of modules (like batteries, command modules, fuel tanks, etc.) to reduce part count. Don't worry, all is balanced by weight and cost, no cheating.

Known Issues

  • GUI:
    • Dropdown lists show vertical scrollbars when there are too many items. But due to the implemented click-through prevention mechanism the scrollbars cannot be moved by mouse cursor; use mouse wheel instead. And curse Unity3D for the poor GUI API.
  • Rovers:
    • Rovers stored in editor have somewhat smaller dimensions due to inactive suspension of the wheels. So if you pack several rovers tightly into a hangar, and than launch one of them, the launched rover sometimes cannot be stored again into that same hangar with the "No room ..." message. Again: it's no bug, calculations are performed correctly, the rover's just got bigger.
  • Mod Conflicts: none at the moment.
  • Other:
    • Removing Hangar in career mode sometimes corrupts the savegame (the user cannot enter VAB/SPH and so on). This is due to a bug in KSP and should also affect any mod that has its own Agent for Contracts. To fix such savegame see this HOWTO

Requirements

Recommended mods

  • Extraplanetary Launchpads: big ground hangars are not suitable as parts for vessel construction and are too heavy to launch anyway. So the only meaningful way to use them is to build them on site.
  • Throttle Controlled Avionics: if you're planning to build VTOLs and hovercrafts with spaceplane hangars, this mod (which I currently maintain) will help greatly as it ads automatic thrust balancing and altitude control.
  • Editor Extensions: invaluable for vessel design. Even considering 0.90 editor improvements.

Supported mods

Hangar supports KSP Addon Version Checker.

And some functionality and parts are added if the following mods are installed:

  • TAC Life Support v0.10.+ adds life support resources and systems to inhabitable hangars,
  • RemoteTech adds RT antennas and SPUs to controllable hangars,
  • AntennaRange adds limited data transmitters to all hangars with integrated probe cores (thanks to Kerbas-ad-astra),
  • Deadly Reentry adds Ablative Shielding resource to heatshields,
  • Extraplanetary Launchpads adds a new Heavy Recycler model that fits the style of hangars.
  • MKS/OKS adds the Substrate Mixer -- a converter that allows to turn useless Silicates and Waste into a useful Substrate resource.

Unsupported Mods

  • Asteroid Recycling Technologies are not compatible with the Asteroid Hangars framework. Both mods can be installed at the same time, but you cannot use the same asteroid both as a hangar and by ART machinery.

Acknowledgements

First of, I want to thank my beloved wife for her support, understanding and help. This work takes much time...

My patrons on Patreon. Thank you for your support!

  • eL.Dude
  • Bart Blommaerts
  • Layne Benofsky
  • Issarlk
  • SCESW
  • Kevin Casey
  • Bob Palmer
  • Ryan Rasmussen
  • Matthew Zaleski
  • Patrice Hédé
  • Steve Victory

I also want to thank:

  • Taniwha for inspiration and advice.
  • DragonEG for helping me to fix the friction problem.
  • Kerbas-ad-astra for making AntennaRange adaptation.
  • Thorbane for making Switchable Tank Type configs for support of USI (MKS/OKS, FFT, Karbonite, Karbonite+) and initial support of KSPI to Switchable Tanks.

And here are the mods which sources provided me with an understanding of how KSP API works. And with working solutions in some cases. In no particular order:


Source code is licensed under the MIT License.

Models, Textures, Sounds and other assets are licensed under the Creative Commons Attribution 4.0 International License, until stated otherwise.

Version 3.6.2.2 for Kerbal Space Program 1.12.3

Released on 2022-04-01

  • Compiled for KSP 1.12.3 and latest AT_Utils
  • Internal project changes for CI/CD

Download (30.24 MiB)

Version 3.6.2.1 for Kerbal Space Program 1.11.1

Released on 2022-02-19

Compatible with KSP-1.11.1

Download (30.47 MiB)

Version 3.6.2 for Kerbal Space Program 1.10.0

Released on 2020-07-30

  • Improved Procedural Adapter behaviour in Editor
  • Fixed lag in Editor when opening PAW of hangars in symmetry group

Download (30.24 MiB)

Version 3.6.1 for Kerbal Space Program 1.10.0

Released on 2020-07-22

  • Squad cargo bays can store a vessel in flight now
  • Asteroid Hatch features new UI from Configurable Containers
  • Fixed ship loading into hangars in editor
  • Fixed HangarWindow not showing/hiding in Editor
  • Using new uGUI dialogs for warnings

Download (30.26 MiB)

Version 3.6.0.1 for Kerbal Space Program 1.10.0

Released on 2020-07-05

  • Compiled and tested for KSP-1.10
  • Fixed solar panel config of the Small Ground Hangar

Download (30.19 MiB)

Version 3.6.0 for Kerbal Space Program 1.9.1

Released on 2020-07-05

  • Fairings
    • Added Jettison Power PAW control to be able to change both jettison force, torque and launch velocity of the payload in flight.
    • Added Debris Destruction In PAW control that, if set to a values greater than zero, arms delayed action demolition charges in fairing debris (including the base, if it's not attached to anything).
    • Disabling relevant Decouplers and other PAW controls after jettisoning.
    • Added hibernation to command modules
    • If fairings has other parts attached to it, these parts are now jettisoned with limited force 3 seconds before the payload is jettisoned (to avoid collisions with the debris, while not launching them into the Sun).
    • Improved and fixed box fairings model, decreased its jettison force
    • Many fixes to the jettison logic, including CoM changes, linear and angular impulse conservation and others.
  • Allowing to change the aspect ratio of the Small VTOL Hangar

Download (30.19 MiB)

Version 3.5.0.3 for Kerbal Space Program 1.9.1

Released on 2020-05-04

  • Added all relevant .meta files from Unity project
  • Compiled against AT_Utils 1.9.3

Download (30.26 MiB)

Version 3.5.0.2 for Kerbal Space Program 1.9.1

Released on 2020-04-28

  • Compatible with KSP-1.9
  • Compiled against AT_Utils 1.9.2

Download (30.26 MiB)

Version 3.5.0.1 for Kerbal Space Program 1.8.1

Released on 2020-04-28

  • Compiled against AT_Utils 1.9.1

Download (30.26 MiB)

Version 3.5.0 for Kerbal Space Program 1.8.1

Released on 2019-12-21

  • Magnetic Dampers
    • All hangars except for VTOL and fairings now have the ATMagneticDamper module.
    • It can be switched on/off even remotely.
    • Its attenuation can also be changed in PAW in flight.
    • Orbital hangars also have attractors, i.e. they not only damp velocity of vessels within their premises, but can also pull them in and dock them inside automatically.
    • The polarity of the attractor could be changed remotely, so a vessel launched from an orbital hangar can order the hangar to push it slowly outside. Much like with the "Launch with Punch" option, but the vessel is physically controlled all the way by the hangar.
    • Damper works in Time Warp, so a vessel that is left inside the hangar's docking space will not fly though its walls anymore.
    • The damper is controlled by the hangar in that it is automatically activated on launch and, in case of the orbital hangars, on hangar activation. This helps a lot with launching heavy-with-many-parts rovers and planes that tend to jump on their wheels and explode. Should also help with sliding issues mentioned on the forum.
  • Hagar window remembers its visibility per vessel.
  • When Configurable Containers are installed, the Universal Fuel Tank is added to fuel tanks. It is basically the Procedural Adapter with Tank Manager and LFO tanks by default.
  • Rover Lander and Mk3 Hangar both spawn vessels at the floor now. No more falling from the center of the hangar.
  • Updated the Square Heatshields' configs to be more stock-like
  • Moved Square Heatshields to Thermal category
  • Moved non-ground and non-inflatible hangars to Payload category
  • Fixed the problem with Hangar Gateway that was missing the storage in mined asteroids after game reloading or vessel switching.
  • Fixed the problem with exploding vessels, when launched in very tight quarters, i.e. with some parts of the launched vessel mere centimeters away from the hangar walls.
  • Fixed directions of RCS plumes on the Hangar Gateway
  • Fixed costs of square heatshield
  • Fixed the problem with automatic game saves before vessel spawning.
  • Various fixes and adaptations to AT_Utils API changes.

Download (30.26 MiB)

Version 3.4.1 for Kerbal Space Program 1.8.1

Released on 2019-11-30

  • Updated Tech Tree limits for Size and Aspect:
    • General Construction: size/aspect [0.75, 1.5]
    • Miniaturization: size/aspect [0.5
    • Precision Engineering: size/aspect [0.1
    • Advanced Construction: size/aspect 3]
    • Specialized Construction: size/aspect 6]
    • Composites: size/aspect 12]
    • Meta Materials: size/aspect 1000]
  • Hopefully fixed aerodynamics of stock cargo bays that are patched to be hangars instead.
  • For modders:
    • onLaunchedFromHangar provides additional bool fromFairings == true data field when a vessel is launched from HangarFairings module. This may be needed, because in this case the launched vessel should behave as if it was just the next stage of the carrier.

Download (29.14 MiB)

Version 3.4.0 for Kerbal Space Program 1.8.1

Released on 2019-11-14

ReOrientation

  • Supports KSP-1.8.1
  • Hangar contents may be rotated both in Editor and in Flight
    • Payload may be rotated in 90 degree steps using the dedicated UI. The orientation is indicated by a translucent arrow drawn along with the content hint. The arrow indicates the bottom and front directions of the payload.
    • In Flight rotation is allowed only if the rotated payload fits inside docking space. And disabled for fairings and single-use hangars.
    • Orientation of each stored vessel is preserved, so if you have docked (in flight), say, nose-forward, that is how the vessel will be launched, unless rotated manually before launch. Note: the orientation will be actually slightly corrected, so that the stored vessel is aligned with the hangar.
    • When a stored vessel is transferred from one storage to the other its orientation is set to the optimal one for the receiving storage.
  • Mobile Smelter is deprecated in favor of the ISRUs. As usual, parts already in flight will be functional, but it wouldn't be available in Editor.
  • Asteroid Hatch creates resource tanks using Material Kits. Existing hatches will still use Metals, only the new parts will be affected. Tanks will cost slightly more, but will weight the same.
  • ISRUs are patched to produce Material Kits the same way they do in Global Construction (unless MKS is installed).
  • Vessels stored in Editor are not spawned-and-stored anymore during the launch, which caused considerable lag.
  • Hangars don't launch stored vessels if any physical object is present within their docking space.
  • Vessel docking is triggered only with dedicated trigger-colliders, rather than with any trigger-colliders on the part, like airlocks and ladders.
  • Added Show Payload button to part menu of fairings to show their content as they don't have the Hangar Window interface.
  • Numerous bugfixes and improvements:
    • Localizing vessel names.
    • Fixed NRE in case a jettisoned fairing is destroyed immediately.
    • Update content_hull_mesh on hangar resize.
    • Fixed UI not showing after launch from hangar if it was destroyed before launch ended.
    • Several performance improvements due to the use of the frameworks from AT_Utils rather than the legacy Hangar code.
    • Showing tooltips in HangarEditor.
    • Added random angular velocities to debris jettisoned from fairings for visual effect.
    • Limit the jettison force for parts decoupled form a fairing when it is itself jettisoned.
    • Fixed content highlighting in Hangar Gateway.
    • Improved hangar fairings texture and model.
    • Removed deprecated Readme.pdf from the distribution.
  • For modders (and for future integration with TCA):
    • Sending the Hangar PartModule as onLaunchedFromHangar KSPEvent to all parts of the launched vessel.

Download (29.13 MiB)

Version 3.3.7.0.1 for Kerbal Space Program 1.7.2

Released on 2019-06-17

  • Using the common Color Scheme for the hangar content hint color
  • Fixed transfer window behavior when selected payload is switched
  • Added Show button that displays content hint for a short time
    • this is actually a step toward user-controlled orientation of the payload

Download (28.94 MiB)

Version 3.3.6.1 for Kerbal Space Program 1.7.2

Released on 2019-05-28

  • Fixed some issues with Procedural Adapter and APR module.
  • Using latest AT_Utils

Download (29.52 MiB)

Version 3.3.6 for Kerbal Space Program 1.7.0

Released on 2019-05-14

  • Added ability to change UI color scheme at runtime
    • To access the Color Scheme dialog, right-click the GC toolbar button

Download (29.51 MiB)

Version 3.3.5 for Kerbal Space Program 1.7.0

Released on 2019-04-28

  • Compatible with KSP-1.7
  • Added ability to add single parts to a Hangar in editor.
  • Several bugfixes

Download (28.89 MiB)

Version 3.3.4.5 for Kerbal Space Program 1.4.5

Released on 2018-10-16

  • Moved Box Fairings to Survivability node on the Tech Tree
  • Moved Procedural Adapter to General Construction node
  • Corrected Tech required for the heavy 5-way RCS

Download (28.88 MiB)

Version 3.3.4.4 for Kerbal Space Program 1.4.5

Released on 2018-09-13

  • Fixed thrust effects of the 5-way RCS thruster
  • Using latest AT_Utils

Download (28.88 MiB)

Version 3.3.4.3 for Kerbal Space Program 1.4.5

Released on 2018-08-31

Recompiled against KSP-1.4.5

Download (28.88 MiB)

Version 3.3.4.2 for Kerbal Space Program 1.4.3

Released on 2018-06-15

  • Using new stuff from AT_Utils 1.6
  • Fixed content hull mesh rendering on hangar resize.
  • Fixed metric calculation for the stock RadialDrill part.

Download (28.88 MiB)

Version 3.3.4.1 for Kerbal Space Program 1.4.3

Released on 2018-05-10

  • Remote Tech support by aagon
  • Recompiled for KSP-1.4.3 and latest AT_Utils

Download (28.87 MiB)

Version 3.3.4 for Kerbal Space Program 1.4.1

Released on 2018-03-27

  • In Editor stored vessels's convex hulls are rendered using an unlit solid mesh rather than a whireframe to improve performance.
    • This mesh is green when a vessel fits the hangar and red otherwise.
  • Fixed automatic game saving on vessel launch.
  • HangarFairings allow toggling of staging.

Download (28.87 MiB)

Version 3.3.3 for Kerbal Space Program 1.3.1

Released on 2017-11-09

  • Single Use Grapples:
    • Fixed attachment using auto-generated AttachNodes.
    • Fixed grapple joint reinforcement.
    • Added HUD overlay for grapple contact points:
      • red line means "too far" from attach point
      • green line means "close enough"
      • when all are green, grapple is attached immediately
  • Fixed camera jumping on launch from hangar.
  • Merged -- Asteroid Hatch + Asteroid Hatch Port into a single part.
    • Old parts in flight will function, but will not be available in Editor.
  • Added two lamps on the sides of Hatch Port Adapter.
  • Increased lamp range of Structural Grapple.
  • Corrected Box Fairing mass calculation.
  • Procedural Adapter updates mesh after passage is Ready. And updates DragCubes as well.

Download (28.87 MiB)

Version 3.3.2 for Kerbal Space Program 1.3.0

Released on 2017-06-21

  • Added Box Fairings part for easier payload delivery onto the surface of planets.
  • Added displaying of stored vessel's convex hull, when storage editor is shown.
  • Hangar window is now shown after 3s after a level is loaded.

Download (27.36 MiB)

Version 3.3.1.1 for Kerbal Space Program 1.3.0

Released on 2017-06-05

  • Compatible with KSP-1.3
  • Fixed some issues with Single Use Grapple.

Download (27.24 MiB)

Version 3.3.1 for Kerbal Space Program 1.2.2

Released on 2017-02-22

  • Added appropriate CLS configs by Kerbas-ad-astra.
  • Added separate icons for Toolbar and AppLauncher.
  • Fixed inability to decouple the grapple/hatch after qsave/load.
  • Fixed Asteroid Gateway store/launch functionality.
  • When a vessel is docked inside a hangar the camera is now held still (instead of jump-switching) and the controls are newtralized to avoid accidental engine burns on the hangar's vessel.
  • Asteroid Gateway's docking space have strict positioning.

Download (27.24 MiB)

Version 3.3.0 for Kerbal Space Program 1.2.2

Released on 2017-02-06

  • Implemented subassembly loading into hangars in Editor.
  • Converted both Asteroid Hatch and Structural Grapple to use the new SingleUseGrappleNode that fixes the sliding-hatch problem. Moved both to Coupling category.
  • Moved Hatch Port Adapter to Coupling category.
  • Fixed doubling mass by Hangar Fairings.
  • Fixed the bug that prevented modification of StoredVessel resources.
  • Fixed TotalStoredMass display.
  • Fixed the issues with vessel transfer window.

Download (27.24 MiB)

Version 3.2.1.3 for Kerbal Space Program 1.2.2

Released on 2017-01-15

  • Dropped RemoteTech and AntennaRange patches.
  • Added GroundWorkshop module with 100% efficiency to the Big Ground Hangar (for Ground Construction mod).
  • Fixed the NaN storage size in Asteroid Hatch caused by creation of a resource tank taking 100% of the volume.
  • Fixed hangar switching for ships with multiple hangars.
  • Fixed several NREs.

Download (26.20 MiB)

Version 3.2.1.2 for Kerbal Space Program 1.2.2

Released on 2017-01-04

!!! HOTFIX !!!

  • Fixed initialization of Configurable Containers within asteroids from a savegame.

Sorry for inconvenience.

Download (26.20 MiB)

Version 3.2.1.1 for Kerbal Space Program 1.2.2

Released on 2017-01-04

  • Fixed Asteroid Drill.
  • Fixed Asteroid Hatch. Moved it to the Coupling category.
  • Rebalanced Asteroid Drill:
    • Fixed heat production and thermal efficiency.
    • Made the Drill twice more efficient.
    • Increased RCS power.
  • Rebalanced Mobile Smelter:
    • Changed productivity and thermal configuration.
    • Disabled SpecialistBonus; the thing is fully automatic and should work without kerbals.

Download (26.20 MiB)

Version 3.2.1 for Kerbal Space Program 1.2.2

Released on 2016-12-29

  • KIS inventory is now transferred with the kerbals when a ship is stored in a hangar or launched from it.
  • Implemented seamless camera transfer from a hangar to a launched vessel.
  • Fixed mass calculation of stored vessel (issue #177).
  • Made Asteroid Gateway into a Probe Control Point.
  • Corrected density of Fairings panels.

Download (26.20 MiB)

Version 3.2.0 for Kerbal Space Program 1.2.2

Released on 2016-12-19

  • Compiled against KSP-1.2.2
  • Added Small VTOL Hangar that acts like a small launchpad: you land on its roof and store the vessel; you launch a vessel and it appears on the roof, then you take off.
  • MobileSmelter consumes much more power now; comparable with IRSU.
  • Moved spawn transforms of the ground hangars to the bottom-back corner.
  • For modders:
    • Added HangarEntrance module that acts like HangarGateway, but for the same part that has HangarStorage. This way you can have several different size entrances into the same big HangarStorage.
    • Renamed HangarGateway.DockingSpace to .HangarSpace
    • Added test hangars to ForModders folder (available on GitHub).
  • Bugfixes:
    • Fixed NRE in HangarWindow when "piloting" EVAs.
    • Fixed toolbar button bug.
    • Fixed debris resize problem.

Download (26.20 MiB)

Version 3.1.0 for Kerbal Space Program 1.2.1

Released on 2016-11-13

  • Made it possible vessel launching while rotating and moving, even with acceleration.
  • Implemented temporary storage of resources in Hangar Fairings. This makes the Fairings compatible with Life Support mods.
  • Added placeholders for internals to all crewed parts. Added "back" stack nodes to ground hangars so that they could be hanged below a skycrane-like carrier.
  • In Editor positioning arrows are only drawn if a hangar has Strict Positioning; otherwise only a dot is drawn.
  • Bugfixes:
    • Crew transfer.
    • Prelaunch game saving.
    • Debris jettison velocity calculation.

Download (23.80 MiB)

Version 3.0.1 for Kerbal Space Program 1.2

Released on 2016-10-26

  • Yet another fix for vessel positioning on launch.
  • The game is now autosaved before a vessel is spawned from a hangar.
  • Spaceport and Big Ground Hangar may be used as standalone control centers (KerbNet integration).
  • Adapted to changes in Configurable Containers.
  • Moved ToolbarWrapper to AT_Utils. Updated it.

Download (23.02 MiB)

Version 3.0.0 for Kerbal Space Program 1.2

Released on 2016-10-15

Changes:

  • KSP-1.2 support.
  • Requires:
    • AT_Utils library
    • Community Resource Pack
  • Changed license to MIT (sources) + CC-BY-4.0 (assets).
  • Removed most non-hangar, non structural parts (engines, airbrake, etc.).
  • Added Inflatable Space Hangar.
  • Changed model of the Fairings Hangar.
  • In Editor: unfit vessels are automatically stored if a hangar becomes large enough when resized.
  • Asteroid Drill now produces Ore, like stock drills.
  • Mobile Smelter produces "Metals" from Community Resource Pack. It is then used to construct resource tanks inside asteroids.
  • Improved GUI, added tooltips.
  • Many bugfixes.

Download (23.02 MiB)

Stats for Hangar

Downloads over time

Downloads per version

New followers per day

Top Referrers

  1. spacedock.info
  2. www.google.com
  3. yandex.ru
  4. www.spacedock.info
  5. kerbalx.com
  6. forum.kerbalspaceprogram.com
  7. duckduckgo.com
  8. www.bing.com
  9. www.google.fr
  10. www.google.co.uk

Export Raw Stats

Export Downloads

Export Followers

Export Referrals

Raw stats are from the beginning of time until now. Each follower and download entry represents one hour of data. Uneventful hours are omitted.