KSP-RO / ProceduralParts

A continuation of StretchySRBs, which is a continuation of StretchyTanks
72 stars 79 forks source link

ProceduralParts allows you to procedurally generate a number of different parts in a range of sizes and shapes. The parts are fully tweakable with multiple options for customization of the shape, surface texture, and other parameters.

Features

The features include

Parts available

Installation

Place the ProceduralParts folder found inside the zip file into GameData.

Dependencies:

Upgrades

Known Issues

Custom Textures and Texture Packs

Procedural Parts is compatible with all texture packs for StretchySRBs. It's easy to roll your own texture packs too.

Here's some texture packs that other people have compiled:

Planeguy868

Download. Installation instructions: download and extract it to KSP's GameData folder.

image image

Ferram4's Saturn and Nova Textures

Download. Installation instructions in zip.

image

blackheart612

Full thread! Install instructions and sample images in link.

Compatibility with StretchyTanks / StretchySRBs

This is essentially a completely new mod and can run alongside either of the previous mods. This is useful if you have pre-existing ships in your save file still using those parts. If you don't have any ships using those parts, then you can delete the old mod.

There's a module manager patch file present that will hide all the StretchySRB tanks in the VAB so they don't clutter it up. If for whatever reason you want to continue using StretchySRBs, then delete ProceduralParts\ModuleManager\StretchyTanks_Hide.cfg and this won't happen.

Integration with Real Fuels and Modular Fuel Tanks

Integration with Real Fuels and Modular Fuels Tanks is complete. Ensure you have Real Fuels version 6.1 or newer, and Modular Fuel Tanks 5.0.1 or newer. There's one or two bugs still to get through, stay tuned for updates on those two.

For MFT, the existing tank types are turned into the corresponding MFT type.

For real fuels, there's an SRB which can be switched between low altitude and high altitude versions, plus a tank which can be switched between the various RF tank types.

The old real fuels system with multiple parts for different tank types is preserved as a deprecated option (hidden in the VAB). If you don't have any old tanks on ships or craft you can delete the PartsDeprecated from the root of the install.

Integration with other mods

Thanks to OtherBarry, there are now tanks for RealFuels, Kethane, Extraplanetary Launchpads, and TAC. There's also a procedural heat-shield for Deadly Reentry. All part's drag models will automatically update if using Ferram Aerospace Research. The tank types will automatically appear if the mods are installed. They should be 'fair' compared to their unmodded versions.

How to cheat in career mode have lower tech restrictions

The current tech restrictions have been tailored to closely mimic stock, with a bit of room to alter the original specs. Note that this will not be changed with the out of the box config.

If you'd like more generous limits, you can create a MM patch (ie: cut and paste this into a file called mycheats.cfg in your GameData dir) and tweak to your liking:

@PART[proceduralTank*] 
{
    @MODULE[ProceduralPart]
    {
        @TECHLIMIT,*
        {
            // Increase the max length for all tech levels by 3*
            @lengthMax *= 3
            // Corresponding volume increase
            @volumeMax *= 3

            // Increase the max diameter by double
            @diameterMax *= 2
            // Since volume goes up on diameter^2, need to use increase^2
            @volumeMax *= 4
        }
    }
}

This will affect all procedural tanks and the SRB. The name of the Real Fuels SRB is "proceduralSRBRealFuels" so you'll need to make another similar patch for that one if you want to mess with that too.

If you'd like to be able to use all the shapes from the early game then use the following MM patch:

@PART[*] 
{
    @MODULE[ProceduralShape*]
    {
        -techRequired = dummy
    }
}

This will affect all parts.

Future plans

Features That Are Not Planned

Acknowledgements

ProceduralParts has an extended family tree

Also featuring