Jump to content

[1.4.x - 1.7.x] Procedural Fairings For Everything! v1.6.1 [02-05-2019]


pap1723

Recommended Posts

@Felger originally created this mod a long time ago, and it became part of the KSP-RO group of mods. Here is the original forum post: https://forum.kerbalspaceprogram.com/index.php?/topic/114189-11x-procedural-fairings-for-everything-v020-july-4/&

 

Procedural Fairings For Everything!

Procedural Fairings For Everything (PFFE) replaces / adds to fairings and fairing bases in mods to use Procedural Fairings instead of the stock fairings, or the various other means that mods have come up with to add fairings to their packs. The more recent versions support the stock part variants as well as coloring from Textures Unlimited.

Features

  • Fairing bases upgraded to use Procedural Fairings
  • Interstage bases upgraded to use Procedural Interstages
  • Decouplers used as Interstage Bases when not available
  • Many fairing textures from blackheart612, Ravenchant, MeCripp, and pap1723
  • Full colorization using texture masks supported by Textures Unlimited
  • Texture Switching using the Part Variant system in stock
 
PFFEfairings.PNG
 
PFFEfairingsTU.PNG
 
Supported Mods
  • Stock
  • Ven's Stock Revamp
  • KW Rocketry
  • NovaPunch
  • Realism Overhaul
 
Requirements & Installation

These required mods are not included with the download so you will need to get them on your own. We highly reccomend CKAN to install PFFE.

 

DOWNLOAD

Download v.0.3.0 from GitHub!

Also available from CKAN

Licensed under CC-BY-4.0

 

Contributors

@Felger @blackheart612 @Ravenchant @Mecripp @ferram4 @Phineas Freak @NathanKell

 

Fairing Shape Reference

With the newest release of Procedural Fairings, you can now completely design your own fairing shape. We have decided to remove all of the individual fairing shapes that were previously released as parts. This cleans up the very cluttered VAB, but with the drawback of not having the pre-built shapes you may have used before. Here is a reference to the settings you should have in order to make the fairing shapes the same as previous parts.

In order to be able to edit the shape of the fairing:

  1. Right click on the fairing side
  2. Click Base Auto-shape to OFF
  3. Click Nose Auto-shape to OFF
  4. Input the numbers here

Here are the different shapes:

Spoiler

Conic [Pre-set Part]

Setting Value
baseConeShape1 0.3
baseConeShape2 0.3
baseConeShape3 0.7
baseConeShape4 0.7
baseConeSegments 7
noseConeShape1 0.1
noseConeShape2 0
noseConeShape3 0.7
noseConeShape4 0.7
noseConeSegments 11
noseHeightRatio 2

Ogive (Egg) [Pre-set Part]

Setting Value
baseConeShape1 0.3
baseConeShape2 0.2
baseConeShape3 1
baseConeShape4 0.5
baseConeSegments 7
noseConeShape1 0.5
noseConeShape2 0
noseConeShape3 1
noseConeShape4 0.7
noseConeSegments 11
noseHeightRatio 2

Cone-Egg (Conic Base, Ogive Nose)

Setting Value
baseConeShape1 0.3
baseConeShape2 0.3
baseConeShape3 0.7
baseConeShape4 0.7
baseConeSegments 3
noseConeShape1 0.5
noseConeShape2 0
noseConeShape3 1
noseConeShape4 0.7
noseConeSegments 11
noseHeightRatio 2

Atlas V

Setting Value
baseConeShape1 0.1
baseConeShape2 1
baseConeShape3 0
baseConeShape4 0.7
baseConeSegments 3
noseConeShape1 0.1
noseConeShape2 0
noseConeShape3 0.7
noseConeShape4 0.7
noseConeSegments 11
noseHeightRatio 3.5

Delta

Setting Value
baseConeShape1 0
baseConeShape2 0
baseConeShape3 0
baseConeShape4 0
baseConeSegments 3
noseConeShape1 0.3
noseConeShape2 0
noseConeShape3 1
noseConeShape4 0.8
noseConeSegments 11
noseHeightRatio 2

Jupiter / Titan

Setting Value
baseConeShape1 0.3
baseConeShape2 0.3
baseConeShape3 0.7
baseConeShape4 0.7
baseConeSegments 3
noseConeShape1 0
noseConeShape2 0
noseConeShape3 0.7
noseConeShape4 0.2
noseConeSegments 3
noseHeightRatio 2

Long March

Setting Value
baseConeShape1 0.7
baseConeShape2 0.7
baseConeShape3 0.3
baseConeShape4 0.3
baseConeSegments 5
noseConeShape1 0.2
noseConeShape2 0
noseConeShape3 0.7
noseConeShape4 0.2
noseConeSegments 50
noseHeightRatio 2.8

Proton

Setting Value
baseConeShape1 0
baseConeShape2 0
baseConeShape3 0
baseConeShape4 0
baseConeSegments 4
noseConeShape1 1.25
noseConeShape2 0.2
noseConeShape3 0.1
noseConeShape4 0.8
noseConeSegments 3
noseHeightRatio 3

Soyuz

Setting Value
baseConeShape1 0.3
baseConeShape2 0.3
baseConeShape3 0.9
baseConeShape4 1
baseConeSegments 2
noseConeShape1 0.54
noseConeShape2 0
noseConeShape3 0.52
noseConeShape4 0.035
noseConeSegments 10
noseHeightRatio 2.2

 

Changelog

v0.3.0

  • Removed the dependency on Firespitter => Using stock part variant system now
  • Added full support for Textures Unlimited, if installed, it creates recolorable versions of the included textures
  • Added a new style of Fairing called "Procedural Fairing Logos"
    • NASA
    • Angara ISS
    • Angara Roscosmos
    • Falcon 9
    • Falcon Heavy
    • GLONASS
    • GPS
    • Iridium Next
    • KSLO KerbalX
    • Landsat
    • Long March CLEP
    • Long March Chinese Flag
    • NASA Seal
    • NASA Worm
    • NOAA
    • NRO
    • SpaceX
    • SpaceX Vertical
    • TDRS
    • USAF
  • Removed the different fairing sides that were created as separate parts
  • Removed the base decoupler patch as it is included in Procedural Fairings now
  • Removed the Invisible Wall patch as it is included in Procedural Fairings now
  • Completely restructured all of the folders to maintain consistency with how most mods organize them now
 
Spoiler

v0.2.0

  • Sound patch and don't-create-unloadable-parts patch by khr15714n
  • Saturn-Nova stringers texture and the inclusion of working normal maps generally by ferram4
  • Repackaged without bundled dependencies--get them separately! Oh and we have a readme now.

v0.1.1

  • Added PhineasFreak's Invisibility patch to the fairing walls.

v0.1.0

  • Changed part methodology to duplicate Procedural Fairings parts to reduce risk of forward compatibility.
  • Fixed "parts don't want to stay attached to vehicle" bug.

v0.0.3

  • Added MeCripp's Long March Textures and Shape
  • Changed default editor preview texture for all Fairing Walls to their default textures.

v0.0.2a

  • Added Ravenchant's Soyuz and Tskylon shapes and textures to the fairing walls

v0.0.1

  • Minor Release, adds Realism Overhaul scaling as a final pass to all fairing and interstage bases.

v0.0.0

  • Initial Release

 

Edited by pap1723
Contributors
Link to comment
Share on other sites

Just to be clear, do the instructions for shapes apply equally to Proc Fairings (your other post) as well as this (Proc Fairing For Everything)?  Is there any way to 'save' a preset or will I need to re-enter values every build?

Link to comment
Share on other sites

2 hours ago, Friznit said:

Just to be clear, do the instructions for shapes apply equally to Proc Fairings (your other post) as well as this (Proc Fairing For Everything)?  Is there any way to 'save' a preset or will I need to re-enter values every build?

So Procedural Fairings is the one that implements all of these shapes. So yes, these presets work inside there. It will remember it each time, but only for the part. So once you get a shape you like, save it and the base as a Subassembly and then you can just pick from there. 

Link to comment
Share on other sites

7 hours ago, Friznit said:

Is there any way to 'save' a preset or will I need to re-enter values every build?

That is actually something that i forgot to implement back in the KSP 1.4 days. I was envisioning a similar system to Procedural Parts (named predefined shapes) but:

  • being able to tweak the fairing shape in-game (as it is currently done)
  • being able to have custom pre-defined shapes in a list (something that Procedural Parts is missing)

Would require some rework of PF (and extra config files that are user-friendly) but i think it can be done.

Link to comment
Share on other sites

  • 1 month later...
  • 1 month later...

There is a sanity fix in RP-0 aka. RP-1;
GameData\RP-0\Parts\ProcFairingFix.cfg

+PART[KzProcFairingSide1]:FOR[RP-0]
{
	@name = KzProcFairingFuselage1
	@title = Egg-Shaped Fuselage Fairing (Deprecated)
	@description = Legacy part to make sure that old crafts would still load. To make interstage fairings, use regular payload fairings and disable decoupling.

	//!MODULE[ProceduralFairingDecoupler] {}
	
	@MODULE[ModuleToolingPFSide]
	{
		%toolingType = KzProcFairingSide1
	}
}

+PART[KzProcFairingSide2]:FOR[RP-0]
{
	@name = KzProcFairingFuselage2
	@title = Conic Fuselage Fairing (Deprecated)
	@description = Legacy part to make sure that old crafts would still load. To make interstage fairings, use regular payload fairings and disable decoupling.

	//!MODULE[ProceduralFairingDecoupler] {}
	
	@MODULE[ModuleToolingPFSide]
	{
		%toolingType = KzProcFairingSide2
	}
}

If you're on stock without RO / RP-0 you can create a new stock compatible patch based on that, if you know how.

Link to comment
Share on other sites

This thread is quite old. Please consider starting a new thread rather than reviving this one.

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...