KSP_PartVolume

Create configs for parts which don't have ModuleCargoPart

License: CC-BY-NC-SA-4.0

Game Version: 1.12.2

Downloads: 2,861

Author: linuxgurugamer

Mod Website: Forum Thread

Support this mod: Donate

Followers: 18

Information Changelog Stats

KSP_PartVolume

Dependencies * ModuleManager * Click Through Blocker * SpaceTuxLibrary

This is a small mod which will add the ModuleCargoPart to all parts which don't already have it. This is necessary in order to allow a part to be an inventory cargo part that can be placed in inventories or allowing larger parts to be manipulated in EVA construction mode (but not placeable in inventories).

It works by using the stock methods GetRendererBounds() to get the outermost bounds of the part.

Usage

Install the mod using either CKAN or a manual install. The first time the game is run, a file will be created in the GameData directory called partVolume.cfg A popup warning will be shown indicating that the file has been generated and the game will need to be restarted for it to take effect.

Settings A toolbar button will be visible when at the MainMenu. Click the button to open a Settings window

Filler is a default amount of extra volume used for packing and storage.  There are several different filler settings, the settings are (with their defaults) as follows:

Part Type

Filler (10%) A default amount when no other applies ScienceFiller (25%) Filler for science parts EngineFiller (15%) Filler for engines RCS Filler (20%) Filler for RCS parts DoTanks (False) Create configs for tanks Manned (False) Create configs for manned parts Limit Size (True) Limit maximum size for a config to be applied (before filler adjustment) Largest Allowable Part (64000 l) Largest volume allowed if Limit Size is true

All filler percentages go from 0 to 100%. In the event that more than one type of filler can apply to a part, only the largest will apply.

Part types are determined as follows:

Science     Part is listed in the config to be a PartCategories.Science part
Engine      Part has either ModuleEngines or ModuleEnginesFX
RCS         Part has either ModuleRCS or ModuleRCSFX
Tank        Part has resources and no other module (yes, this includes batteries)
Manned      Part can hold crew

If any setting is changed and saved, the config file (GameData/partVolumes.cfg) is deleted and a popup is shown indicating that the game will need to be restarted

All configs generated by this mod will only apply if a part does NOT have a ModuleCargoPart already defined. This way mods can get updated by the author with their settings with no worry that their settings will be overridden.

If you have Kerbal Inventory For All installed, you will need to delete the file:

GameData/KerbalInventoryForAll/AllowModPartsInStock.cfg

Version 0.0.3 for Kerbal Space Program 1.12.2

Released on 2021-08-18

Added check for ModuleInventoryPart, if there, packedVolume set to -1
Added part whitelist
Added option to allow manipulatable parts to have volumes changed
Added part    cryoengine-iguanodon-1    to blacklist due to an inability to properly get the correct dimensions from Unity for this engine

Download (28.93 KiB)

Version 0.0.2.8 for Kerbal Space Program 1.12.1

Released on 2021-07-28

Renamed DLL for CKAN compatibility Added AssemblyFileVersion Updated version file for 1.12

Download (27.85 KiB)

Version 0.0.2.7 for Kerbal Space Program 1.12.1

Released on 2021-07-11

Added Part Blacklist, will now ignore parts listed.  Look at the file PartBlacklist.cfg for an example
Replaced check for part called "flag" with the blacklist file

Download (27.83 KiB)

Version 0.0.2.6 for Kerbal Space Program 1.12.1

Released on 2021-07-11

Added check for missing resource (if resource in tank/engine doesn't exist, ignores it now)

Download (27.16 KiB)

Version 0.0.2.5 for Kerbal Space Program 1.12.1

Released on 2021-07-05

Fixed partVolumes.cfg getting deleted every other run

Download (27.15 KiB)

Version 0.0.2.4 for Kerbal Space Program 1.12.1

Released on 2021-06-30

Fixed partVolumes.cfg file constantly being appended to after every start

Download (27.08 KiB)

Version 0.0.2.3 for Kerbal Space Program 1.11.2

Released on 2021-06-19

No changelog provided

Download (27.06 KiB)

Version 0.0.2.2 for Kerbal Space Program 1.11.2

Released on 2021-05-10

Fixed error caused by parens in file name

Download (31.76 KiB)

Version 0.0.2.1 for Kerbal Space Program 1.11.2

Released on 2021-05-09

Changed output to write commented data for all parts to the cfg file. 
New parts now don't require a restart of the game
Added new part module to udpate the packedVolume
Removed popup requiring restart after new parts added
Added packedVolume to PAW for parts which have been modified
Fixed nullrefs caused by UniversalStorage.GetInfo() begin called by ModuleCargoPart during initialization

Download (31.73 KiB)

Version 0.0.1.2 for Kerbal Space Program 1.11.2

Released on 2021-04-01

Fixed the saving/loading of the DoTanks option

Download (29.21 KiB)

Version 0.0.1.1 for Kerbal Space Program 1.11.2

Released on 2021-03-31

Fixed issue where a partname with a space was causing a ModuleManager error. Replaced spaces in partnames with questionmarks per the MM manual

Delete the file partVolumes.cfg in the GameData directory before rerunning again

Download (29.22 KiB)

Version 0.0.1 for Kerbal Space Program 1.11.2

Released on 2021-03-31

Initial release

Download (29.18 KiB)

Version 0.0.1.A for Kerbal Space Program 1.11.2

Released on 2021-03-31

No changelog provided

Download (29.18 KiB)

Stats for KSP_PartVolume

Downloads over time

Downloads per version

New followers per day

Top Referrers

  1. spacedock.info
  2. forum.kerbalspaceprogram.com
  3. www.google.com
  4. duckduckgo.com
  5. www.bing.com
  6. www.startpage.com
  7. status.ksp-ckan.space
  8. www.ecosia.org
  9. cn.bing.com
  10. yandex.ru

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.