Jump to content

[1.12.x] KSP Part Volumes


linuxgurugamer

Recommended Posts

  • 1 year later...

I'm getting "construction only part" when trying to add some parts to storage containers (basically all crew pods as far as I checked), even with all the options enabled in the main menu settings. Can we change that?

---EDIT

It's clear that the mod is bypassing the crew pods because they have ModuleInventoryPart. Is there a reason for this? Can we add volume to these parts anyway?

Edited by mateusviccari
Link to comment
Share on other sites

On 7/14/2024 at 4:40 PM, mateusviccari said:

It's clear that the mod is bypassing the crew pods because they have ModuleInventoryPart. Is there a reason for this? Can we add volume to these parts anyway?

No, those are being bypassed BECAUSE they have the ModuleInventoryPart.   It's internal to KSP

New release, 0.0.3.11

  • Added blacklistModDir to blacklist complete mod dir
  • Added UmbraSpace to the blacklistModDir as all of it's parts were coming up with a wrong volume, due to the way the parts were made
  • Added check for ModuleGroundPart

Thanks to github user @rodb88 for pointing out that ModuleGroundPart wasn't being checked for

Link to comment
Share on other sites

11 hours ago, linuxgurugamer said:

No, those are being bypassed BECAUSE they have the ModuleInventoryPart.   It's internal to KSP

New release, 0.0.3.11

  • Added blacklistModDir to blacklist complete mod dir
  • Added UmbraSpace to the blacklistModDir as all of it's parts were coming up with a wrong volume, due to the way the parts were made
  • Added check for ModuleGroundPart

Thanks to github user @rodb88 for pointing out that ModuleGroundPart wasn't being checked for

Yes, that's what I guessed, sorry if I didn't phrase it correctly. So there's no way to make these parts storable in containers? 

Link to comment
Share on other sites

New release, 0.0.3.13:

  •     Fixed parts which had the following modules also getting a volume of -1:
    •         ModuleGroundCommsPart
    •         ModuleGroundExpControl
    •         ModuleGroundExperiment
    •         ModuleGroundSciencePart
Link to comment
Share on other sites

  • 3 months later...
  • 3 months later...

New release, 0.0.4

  • Added new option to PartBlacklist.cfg file to allow blacklisting modules
  • Removed hard-coded check for ModuleGroundPart, now using entries in the PartBlacklist.cfg file
  • Removed included config file

Please check the PartVolume config in your game

Link to comment
Share on other sites

On 11/18/2024 at 3:58 PM, MusicByVano said:

Why USI mods are blacklisted in this mod? Does it have it's own configs? And what gonna happen when I remove it from blacklist

They break, don't remove it.  Been a long time since I worked on the USI part, but essentially the cargo volumes will either be wrong or break the parts

Link to comment
Share on other sites

@linuxgurugamer not sure if this is a real issue but a whole bunch of errors popped up I've never seen before when I updated to the new version:

Spoiler

[ERR 10:07:47.525] KSP_PartVolume: PartInfo.Start, Part: B9_Aerospace_ProceduralWings/Parts/Aero_Wing_Procedural/wing_procedural_typeA/B9_Aero_Wing_Procedural_TypeA, Exception caught in ModuleCargoPart.GetInfo, exception: Object reference not set to an instance of an object
[ERR 10:07:47.530] KSP_PartVolume: PartInfo.Start, Part: B9_Aerospace_ProceduralWings/Parts/Aero_Wing_Procedural/wing_procedural_typeB/B9_Aero_Wing_Procedural_TypeB, Exception caught in ModuleCargoPart.GetInfo, exception: Object reference not set to an instance of an object
[ERR 10:07:47.537] KSP_PartVolume: PartInfo.Start, Part: B9_Aerospace_ProceduralWings/Parts/Aero_Wing_Procedural/wing_procedural_typeC/B9_Aero_Wing_Procedural_TypeC, Exception caught in ModuleCargoPart.GetInfo, exception: Object reference not set to an instance of an object
[ERR 10:07:49.076] KSP_PartVolume: PartInfo.Start, Part: KSA/Parts/EarlyRockets/bluedog_ableFairing/bluedog_ableFairing_PF, Exception caught in ModuleCargoPart.GetInfo, exception: Object reference not set to an instance of an object
[ERR 10:07:49.305] KSP_PartVolume: PartInfo.Start, Part: MagicSmokeIndustries/Parts/Rework_Core/Probe/Robotic_v3/IR_Extendatron_Basic/part/IR_Extendatron_Basic_v3, Exception caught in ModuleCargoPart.GetInfo, exception: Object reference not set to an instance of an object
[ERR 10:07:49.310] KSP_PartVolume: PartInfo.Start, Part: MagicSmokeIndustries/Parts/Rework_Core/Probe/Robotic_v3/IR_Extendatron_BasicHalf/part/IR_Extendatron_BasicHalf_v3, Exception caught in ModuleCargoPart.GetInfo, exception: Object reference not set to an instance of an object
[ERR 10:07:49.316] KSP_PartVolume: PartInfo.Start, Part: MagicSmokeIndustries/Parts/Rework_Core/Probe/Robotic_v3/IR_Extendatron_Right/part/IR_Extendatron_Right_v3, Exception caught in ModuleCargoPart.GetInfo, exception: Object reference not set to an instance of an object
[ERR 10:07:49.321] KSP_PartVolume: PartInfo.Start, Part: MagicSmokeIndustries/Parts/Rework_Core/Probe/Robotic_v3/IR_Extendatron_RightHalf/part/IR_Extendatron_RightHalf_v3, Exception caught in ModuleCargoPart.GetInfo, exception: Object reference not set to an instance of an object
[ERR 10:07:49.325] KSP_PartVolume: PartInfo.Start, Part: MagicSmokeIndustries/Parts/Rework_Core/Probe/Robotic_v3/IR_Extendatron_Stackable/part/IR_Extendatron_Stackable_v3, Exception caught in ModuleCargoPart.GetInfo, exception: Object reference not set to an instance of an object
[ERR 10:07:49.330] KSP_PartVolume: PartInfo.Start, Part: MagicSmokeIndustries/Parts/Rework_Core/Probe/Robotic_v3/IR_Extendatron_StackableHalf/part/IR_Extendatron_StackableHalf_v3, Exception caught in ModuleCargoPart.GetInfo, exception: Object reference not set to an instance of an object
[ERR 10:07:49.337] KSP_PartVolume: PartInfo.Start, Part: MagicSmokeIndustries/Parts/Rework_Core/Probe/Robotic_v3/IR_Pivotron_Basic/part/IR_Pivotron_Basic_v3, Exception caught in ModuleCargoPart.GetInfo, exception: Object reference not set to an instance of an object
[ERR 10:07:49.341] KSP_PartVolume: PartInfo.Start, Part: MagicSmokeIndustries/Parts/Rework_Core/Probe/Robotic_v3/IR_Pivotron_Hinge_Basic/part/IR_Pivotron_Hinge_Basic_v3, Exception caught in ModuleCargoPart.GetInfo, exception: Object reference not set to an instance of an object
[ERR 10:07:49.346] KSP_PartVolume: PartInfo.Start, Part: MagicSmokeIndustries/Parts/Rework_Core/Probe/Robotic_v3/IR_Pivotron_Hinge_Flat/part/IR_Pivotron_Hinge_Flat_v3, Exception caught in ModuleCargoPart.GetInfo, exception: Object reference not set to an instance of an object
[ERR 10:07:49.351] KSP_PartVolume: PartInfo.Start, Part: MagicSmokeIndustries/Parts/Rework_Core/Probe/Robotic_v3/IR_Pivotron_OneTwenty/part/IR_Pivotron_OneTwenty_v3, Exception caught in ModuleCargoPart.GetInfo, exception: Object reference not set to an instance of an object
[ERR 10:07:49.356] KSP_PartVolume: PartInfo.Start, Part: MagicSmokeIndustries/Parts/Rework_Core/Probe/Robotic_v3/IR_Pivotron_RangeNinety/part/IR_Pivotron_RangeNinety_v3, Exception caught in ModuleCargoPart.GetInfo, exception: Object reference not set to an instance of an object
[ERR 10:07:49.361] KSP_PartVolume: PartInfo.Start, Part: MagicSmokeIndustries/Parts/Rework_Core/Probe/Robotic_v3/IR_Pivotron_Sixty/part/IR_Pivotron_Sixty_v3, Exception caught in ModuleCargoPart.GetInfo, exception: Object reference not set to an instance of an object
[ERR 10:07:49.367] KSP_PartVolume: PartInfo.Start, Part: MagicSmokeIndustries/Parts/Rework_Core/Probe/Robotic_v3/IR_Pivotron_Uncontrolled/part/IR_Pivotron_Uncontrolled_v3, Exception caught in ModuleCargoPart.GetInfo, exception: Object reference not set to an instance of an object
[ERR 10:07:49.373] KSP_PartVolume: PartInfo.Start, Part: MagicSmokeIndustries/Parts/Rework_Core/Probe/Robotic_v3/IR_Rotatron_Basic/part/IR_Rotatron_Basic_v3, Exception caught in ModuleCargoPart.GetInfo, exception: Object reference not set to an instance of an object
[ERR 10:07:49.377] KSP_PartVolume: PartInfo.Start, Part: MagicSmokeIndustries/Parts/Rework_Core/Probe/Robotic_v3/IR_Rotatron_OffAxis/part/IR_Rotatron_OffAxis_v3, Exception caught in ModuleCargoPart.GetInfo, exception: Object reference not set to an instance of an object
[ERR 10:07:49.383] KSP_PartVolume: PartInfo.Start, Part: MagicSmokeIndustries/Parts/Rework_Core/Probe/Robotic_v3/IR_Rotatron_Parallel/part/IR_Rotatron_Parallel_v3, Exception caught in ModuleCargoPart.GetInfo, exception: Object reference not set to an instance of an object
[ERR 10:07:49.388] KSP_PartVolume: PartInfo.Start, Part: MagicSmokeIndustries/Parts/Rework_Core/Probe/Robotic_v3/IR_Rotatron_Right/part/IR_Rotatron_Right_v3, Exception caught in ModuleCargoPart.GetInfo, exception: Object reference not set to an instance of an object
[ERR 10:07:49.394] KSP_PartVolume: PartInfo.Start, Part: MagicSmokeIndustries/Parts/Rework_Core/Probe/Robotic_v3/IR_Rotatron_Uncontrolled/part/IR_Rotatron_Uncontrolled_v3, Exception caught in ModuleCargoPart.GetInfo, exception: Object reference not set to an instance of an object
[ERR 10:07:49.474] KSP_PartVolume: PartInfo.Start, Part: MagicSmokeIndustries/Parts/Rework_Expansion/Probe/Robotic_v3/IR_Adaptron_Basic/part/IR_Adaptron_Basic_v3, Exception caught in ModuleCargoPart.GetInfo, exception: Object reference not set to an instance of an object
[ERR 10:07:49.479] KSP_PartVolume: PartInfo.Start, Part: MagicSmokeIndustries/Parts/Rework_Expansion/Probe/Robotic_v3/IR_Adaptron_Offset/part/IR_Adaptron_Offset_v3, Exception caught in ModuleCargoPart.GetInfo, exception: Object reference not set to an instance of an object
[ERR 10:07:49.485] KSP_PartVolume: PartInfo.Start, Part: MagicSmokeIndustries/Parts/Rework_Expansion/Probe/Robotic_v3/IR_Foldatron_Basic/part/IR_Foldatron_Basic_v3, Exception caught in ModuleCargoPart.GetInfo, exception: Object reference not set to an instance of an object
[ERR 10:07:49.490] KSP_PartVolume: PartInfo.Start, Part: MagicSmokeIndustries/Parts/Rework_Expansion/Probe/Robotic_v3/IR_Foldatron_Extended/part/IR_Foldatron_Extended_v3, Exception caught in ModuleCargoPart.GetInfo, exception: Object reference not set to an instance of an object
[ERR 10:07:49.494] KSP_PartVolume: PartInfo.Start, Part: MagicSmokeIndustries/Parts/Rework_Expansion/Probe/Robotic_v3/IR_Foldatron_Hinge/part/IR_Foldatron_Hinge_v3, Exception caught in ModuleCargoPart.GetInfo, exception: Object reference not set to an instance of an object
[ERR 10:07:49.499] KSP_PartVolume: PartInfo.Start, Part: MagicSmokeIndustries/Parts/Rework_Expansion/Probe/Robotic_v3/IR_Foldatron_Inset/part/IR_Foldatron_Inset_v3, Exception caught in ModuleCargoPart.GetInfo, exception: Object reference not set to an instance of an object
[ERR 10:07:49.505] KSP_PartVolume: PartInfo.Start, Part: MagicSmokeIndustries/Parts/Rework_Expansion/Probe/Robotic_v3/IR_Foldatron_InsetEnd/part/IR_Foldatron_InsetEnd_v3, Exception caught in ModuleCargoPart.GetInfo, exception: Object reference not set to an instance of an object
[ERR 10:07:49.510] KSP_PartVolume: PartInfo.Start, Part: MagicSmokeIndustries/Parts/Rework_Expansion/Probe/Robotic_v3/IR_Foldatron_InsetTwist/part/IR_Foldatron_InsetTwist_v3, Exception caught in ModuleCargoPart.GetInfo, exception: Object reference not set to an instance of an object
[ERR 10:07:49.515] KSP_PartVolume: PartInfo.Start, Part: MagicSmokeIndustries/Parts/Rework_Expansion/Probe/Robotic_v3/IR_Foldatron_Mini/part/IR_Foldatron_Mini_v3, Exception caught in ModuleCargoPart.GetInfo, exception: Object reference not set to an instance of an object
[ERR 10:07:49.524] KSP_PartVolume: PartInfo.Start, Part: MagicSmokeIndustries/Parts/Rework_Expansion/Probe/Robotic_v3/IR_Foldatron_Offset/part/IR_Foldatron_Offset_v3, Exception caught in ModuleCargoPart.GetInfo, exception: Object reference not set to an instance of an object
[ERR 10:07:49.529] KSP_PartVolume: PartInfo.Start, Part: MagicSmokeIndustries/Parts/Rework_Expansion/Probe/Robotic_v3/IR_Foldatron_OffsetMini/part/IR_Foldatron_OffsetMini_v3, Exception caught in ModuleCargoPart.GetInfo, exception: Object reference not set to an instance of an object
[ERR 10:07:49.535] KSP_PartVolume: PartInfo.Start, Part: MagicSmokeIndustries/Parts/Rework_Expansion/Probe/Robotic_v3/IR_Rotatron_Bearing_Basic/part/IR_Rotatron_Bearing_Basic_v3, Exception caught in ModuleCargoPart.GetInfo, exception: Object reference not set to an instance of an object
[ERR 10:07:49.545] KSP_PartVolume: PartInfo.Start, Part: MagicSmokeIndustries/Parts/Rework_Expansion/Probe/Robotic_v3/IR_Rotatron_Bearing_Uncontrolled/part/IR_Rotatron_Bearing_Uncontrolled_v3, Exception caught in ModuleCargoPart.GetInfo, exception: Object reference not set to an instance of an object
[ERR 10:07:49.560] KSP_PartVolume: PartInfo.Start, Part: MagicSmokeIndustries/Parts/Rework_Expansion/Rail/IR_RailExtendatron/part/IR_RailExtendatron, Exception caught in ModuleCargoPart.GetInfo, exception: Object reference not set to an instance of an object
[ERR 10:07:49.566] KSP_PartVolume: PartInfo.Start, Part: MagicSmokeIndustries/Parts/Rework_Expansion/Rail/IR_RailGantry_Long/part/IR_RailGantry_Long, Exception caught in ModuleCargoPart.GetInfo, exception: Object reference not set to an instance of an object
[ERR 10:07:49.570] KSP_PartVolume: PartInfo.Start, Part: MagicSmokeIndustries/Parts/Rework_Expansion/Rail/IR_RailGantry_Short/part/IR_RailGantry_Short, Exception caught in ModuleCargoPart.GetInfo, exception: Object reference not set to an instance of an object
[ERR 10:07:49.575] KSP_PartVolume: PartInfo.Start, Part: MagicSmokeIndustries/Parts/Rework_Expansion/Rail/IR_RailHinge_Long/part/IR_RailHinge_Long, Exception caught in ModuleCargoPart.GetInfo, exception: Object reference not set to an instance of an object
[ERR 10:07:49.580] KSP_PartVolume: PartInfo.Start, Part: MagicSmokeIndustries/Parts/Rework_Expansion/Rail/IR_RailHinge_Short/part/IR_RailHinge_Short, Exception caught in ModuleCargoPart.GetInfo, exception: Object reference not set to an instance of an object
[ERR 10:07:49.587] KSP_PartVolume: PartInfo.Start, Part: MagicSmokeIndustries/Parts/Rework_Expansion/Rail/IR_RailLiftatron_Long/part/IR_RailLiftatron_Long, Exception caught in ModuleCargoPart.GetInfo, exception: Object reference not set to an instance of an object
[ERR 10:07:49.592] KSP_PartVolume: PartInfo.Start, Part: MagicSmokeIndustries/Parts/Rework_Expansion/Rail/IR_RailLiftatron_Short/part/IR_RailLiftatron_Short, Exception caught in ModuleCargoPart.GetInfo, exception: Object reference not set to an instance of an object
[ERR 10:07:49.597] KSP_PartVolume: PartInfo.Start, Part: MagicSmokeIndustries/Parts/Rework_Expansion/Rail/IR_RailPivotron_Long/part/IR_RailPivotron_Long, Exception caught in ModuleCargoPart.GetInfo, exception: Object reference not set to an instance of an object
[ERR 10:07:49.602] KSP_PartVolume: PartInfo.Start, Part: MagicSmokeIndustries/Parts/Rework_Expansion/Rail/IR_RailPivotron_Short/part/IR_RailPivotron_Short, Exception caught in ModuleCargoPart.GetInfo, exception: Object reference not set to an instance of an object
[ERR 10:07:49.607] KSP_PartVolume: PartInfo.Start, Part: MagicSmokeIndustries/Parts/Rework_Expansion/Rail/IR_RailRotatron_Long/part/IR_RailRotatron_Long, Exception caught in ModuleCargoPart.GetInfo, exception: Object reference not set to an instance of an object
[ERR 10:07:49.613] KSP_PartVolume: PartInfo.Start, Part: MagicSmokeIndustries/Parts/Rework_Expansion/Rail/IR_RailRotatron_Short/part/IR_RailRotatron_Short, Exception caught in ModuleCargoPart.GetInfo, exception: Object reference not set to an instance of an object
[ERR 10:07:49.618] KSP_PartVolume: PartInfo.Start, Part: MagicSmokeIndustries/Parts/Rework_Expansion/Rail/IR_RailSlidertron_Long/part/IR_RailSlidertron_Long, Exception caught in ModuleCargoPart.GetInfo, exception: Object reference not set to an instance of an object
[ERR 10:07:49.623] KSP_PartVolume: PartInfo.Start, Part: MagicSmokeIndustries/Parts/Rework_Expansion/Rail/IR_RailSlidertron_Short/part/IR_RailSlidertron_Short, Exception caught in ModuleCargoPart.GetInfo, exception: Object reference not set to an instance of an object
[ERR 10:07:50.402] KSP_PartVolume: PartInfo.Start, Part: ProceduralFairings/Parts/Payload/fairing_sides/KzProcFairingSide1, Exception caught in ModuleCargoPart.GetInfo, exception: Object reference not set to an instance of an object
[ERR 10:07:50.411] KSP_PartVolume: PartInfo.Start, Part: ProceduralFairings/Parts/Payload/fairing_sides/bluedog_ProcFairingSide3, Exception caught in ModuleCargoPart.GetInfo, exception: Object reference not set to an instance of an object
[ERR 10:07:50.419] KSP_PartVolume: PartInfo.Start, Part: ProceduralFairings/Parts/Payload/fairing_sides/KzProcFairingSide1_TU, Exception caught in ModuleCargoPart.GetInfo, exception: Object reference not set to an instance of an object
[ERR 10:07:50.427] KSP_PartVolume: PartInfo.Start, Part: ProceduralFairings/Parts/Payload/fairing_sides/KzProcFairingSide2, Exception caught in ModuleCargoPart.GetInfo, exception: Object reference not set to an instance of an object
[ERR 10:07:50.435] KSP_PartVolume: PartInfo.Start, Part: ProceduralFairings/Parts/Payload/fairing_sides/KzProcFairingSide2_TU, Exception caught in ModuleCargoPart.GetInfo, exception: Object reference not set to an instance of an object
[ERR 10:07:50.441] KSP_PartVolume: PartInfo.Start, Part: ProceduralFairings/Parts/Payload/thrust_plate/KzThrustPlate, Exception caught in ModuleCargoPart.GetInfo, exception: Object reference not set to an instance of an object
[ERR 10:07:54.689] KSP_PartVolume: PartInfo.Start, Part: VanguardTechnologies/Parts/EjModule/EjectionModule/EjectionModule, Exception caught in ModuleCargoPart.GetInfo, exception: Object reference not set to an instance of an object
[ERR 10:07:54.704] KSP_PartVolume: PartInfo.Start, Part: VanguardTechnologies/Parts/EjModule2/EjectionCover2A/EjectionCover2A, Exception caught in ModuleCargoPart.GetInfo, exception: Object reference not set to an instance of an object

They were gone after I restarted the game

Log file

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...