forked from rsparkyc/ProceduralFairings
-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Recompiled for KSP 1.3.1. * Added compatibility for FilterExtensions to all parts. * Added the ability to toggle the fairing side decoupler (no more separate "Fairing" and "Fuselage" sides). * The base and nose shapes of fairing sides can now be changed in the editor (no more separate part configs for different fairing shapes). * Repackaged the distribution for the components to be on their own directories. * Changed the versioning system to use a <KSP Version>-<Release Number> format. * Updated the part configs for compatibility with the latest KSP versions. * Reorganized the repository. * Added a .gitattributes file. * Added a missing Github license file. * Updated the Github readme file.
- Loading branch information
PhineasFreak
committed
Feb 17, 2018
1 parent
a520358
commit 04b7880
Showing
69 changed files
with
7,223 additions
and
5,572 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
# ================================================== | ||
# Auto detect text files and perform LF | ||
# normalization. | ||
# ================================================== | ||
|
||
* text=auto | ||
|
||
# ================================================== | ||
# Generic files. | ||
# ================================================== | ||
|
||
*.cfg text eol=lf | ||
*.CFG text eol=lf | ||
*.csproj text eol=lf | ||
*.CSPROJ text eol=lf | ||
*.sln text eol=lf | ||
*.SLN text eol=lf | ||
*.txt text eol=lf | ||
*.TXT text eol=lf | ||
*.xml text eol=lf | ||
*.XML text eol=lf | ||
|
||
# ================================================== | ||
# Texture files. | ||
# ================================================== | ||
|
||
*.dds binary | ||
*.DDS binary | ||
*.png binary | ||
*.PNG binary | ||
|
||
# ================================================== | ||
# Assemblies and database files. | ||
# ================================================== | ||
|
||
*.dll binary | ||
*.DLL binary | ||
|
||
# ================================================== | ||
# Compilable source code files. | ||
# ================================================== | ||
|
||
*.cs diff=csharp | ||
*.CS diff=csharp | ||
|
||
# ================================================== | ||
# Ignore list (folder and file names). | ||
# ================================================== | ||
|
||
.gitattributes export-ignore | ||
.gitignore export-ignore | ||
*.md export-ignore | ||
*.MD export-ignore |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,18 @@ | ||
*.sublime-workspace | ||
*.sublime-project | ||
*.user | ||
Source/.vs | ||
Source/bin | ||
Source/obj | ||
# ================================================== | ||
# Ignore selected folders and file types from the git | ||
# repository. | ||
# ================================================== | ||
|
||
Source/Builds/* | ||
|
||
*.db | ||
*.DB | ||
*.DS_Store | ||
*.ini | ||
*.INI | ||
*.lnk | ||
*.LNK | ||
*.pdb | ||
*.PDB | ||
*.png | ||
*.PNG |
14 changes: 14 additions & 0 deletions
14
GameData/ProceduralFairings/Config/ProceduralFairings_FilterExtensions.cfg
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
// ================================================== | ||
// Add bulkhead profiles to all parts for FilterExtensions | ||
// compatibility. | ||
// ================================================== | ||
|
||
@PART[*]:HAS[@MODULE[ProceduralFairing*]]:NEEDS[FilterExtension] | ||
{ | ||
@bulkheadProfiles ^= :$:,proc: | ||
} | ||
|
||
@PART[KzThrustPlate]:NEEDS[FilterExtension] | ||
{ | ||
@bulkheadProfiles ^= :$:,proc: | ||
} |
162 changes: 162 additions & 0 deletions
162
GameData/ProceduralFairings/Config/ProceduralFairings_Settings.cfg
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,162 @@ | ||
// ================================================== | ||
// Global procedural fairings settings. | ||
// ================================================== | ||
|
||
PROCFAIRINGS_MINDIAMETER | ||
{ | ||
start = 1.00 | ||
miniaturization = 0.400 | ||
sandbox = 0.1 | ||
} | ||
|
||
PROCFAIRINGS_MAXDIAMETER | ||
{ | ||
start = 1.50 | ||
advAerodynamics = 4 | ||
heavyAerodynamics = 12 | ||
experimentalAerodynamics = 30 | ||
sandbox = 50 | ||
} | ||
|
||
PROCROCKET_MINDIAMETER | ||
{ | ||
start = 1.00 | ||
miniaturization = 0.400 | ||
sandbox = 0.1 | ||
} | ||
|
||
PROCROCKET_MAXDIAMETER | ||
{ | ||
start = 1.50 | ||
advConstruction = 4 | ||
metaMaterials = 12 | ||
aerospaceTech = 30 | ||
sandbox = 50 | ||
} | ||
|
||
// ================================================== | ||
// Dummy parts to represent Procedural Fairings | ||
// upgrades in the tech tree. | ||
// ================================================== | ||
|
||
PART | ||
{ | ||
name = pf_tech_fairing04m | ||
module = Part | ||
author = Starstrider42 (config), e-dog (model) | ||
|
||
MODEL | ||
{ | ||
model = ProceduralFairings/Parts/baseModel | ||
} | ||
|
||
TechRequired = miniaturization | ||
entryCost = 0 | ||
cost = 0 | ||
category = none | ||
title = Procedural Fairings Upgrade | ||
manufacturer = Keramzit Engineering | ||
description = Allows fairings and plates to be made as small as 0.4m. | ||
} | ||
|
||
PART | ||
{ | ||
name = pf_tech_fairing4m | ||
module = Part | ||
author = Starstrider42 (config), e-dog (model) | ||
|
||
MODEL | ||
{ | ||
model = ProceduralFairings/Parts/baseModel | ||
} | ||
|
||
TechRequired = advAerodynamics | ||
entryCost = 0 | ||
cost = 0 | ||
category = none | ||
title = Procedural Fairings Upgrade | ||
manufacturer = Keramzit Engineering | ||
description = Allows fairing bases up to 4m size. | ||
} | ||
|
||
PART | ||
{ | ||
name = pf_tech_fairing12m | ||
module = Part | ||
author = Starstrider42 (config), e-dog (model) | ||
|
||
description = | ||
|
||
MODEL | ||
{ | ||
model = ProceduralFairings/Parts/baseModel | ||
} | ||
|
||
TechRequired = heavyAerodynamics | ||
entryCost = 0 | ||
cost = 0 | ||
category = none | ||
title = Procedural Fairings Upgrade | ||
manufacturer = Keramzit Engineering | ||
description = Allows fairing bases up to 12m size. | ||
} | ||
|
||
PART | ||
{ | ||
name = pf_tech_fairing30m | ||
module = Part | ||
author = Starstrider42 (config), e-dog (model) | ||
|
||
MODEL | ||
{ | ||
model = ProceduralFairings/Parts/baseModel | ||
} | ||
|
||
TechRequired = experimentalAerodynamics | ||
entryCost = 0 | ||
cost = 0 | ||
category = none | ||
title = Procedural Fairings Upgrade | ||
manufacturer = Keramzit Engineering | ||
description = Allows fairing bases up to 30m size. | ||
} | ||
|
||
PART | ||
{ | ||
name = pf_tech_rocket12m | ||
module = Part | ||
author = Starstrider42 (config), e-dog (model) | ||
|
||
MODEL | ||
{ | ||
model = ProceduralFairings/Parts/thrustPlate | ||
} | ||
|
||
TechRequired = metaMaterials | ||
entryCost = 0 | ||
cost = 0 | ||
category = none | ||
title = Procedural Fairings Upgrade | ||
manufacturer = Keramzit Engineering | ||
description = Allows thrust plates up to 12m size. | ||
} | ||
|
||
PART | ||
{ | ||
name = pf_tech_rocket30m | ||
module = Part | ||
author = Starstrider42 (config), e-dog (model) | ||
|
||
MODEL | ||
{ | ||
model = ProceduralFairings/Parts/thrustPlate | ||
} | ||
|
||
TechRequired = aerospaceTech | ||
entryCost = 0 | ||
cost = 0 | ||
category = none | ||
title = Procedural Fairings Upgrade | ||
manufacturer = Keramzit Engineering | ||
description = Allows thrust plates up to 30m size. | ||
} |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,103 @@ | ||
PART | ||
{ | ||
name = KzResizableFairingBaseRing | ||
module = Part | ||
author = e-dog | ||
|
||
MODEL | ||
{ | ||
model = ProceduralFairings/Parts/baseRingModel | ||
scale = 1.0, 1.0, 1.0 | ||
} | ||
|
||
scale = 1.0 | ||
rescaleFactor = 1.0 | ||
|
||
node_stack_top = 0.0, 0.2, 0.0, 0.0, 1.0, 0.0, 1 | ||
node_stack_bottom = 0.0, 0.0, 0.0, 0.0, -1.0, 0.0, 1 | ||
|
||
node_stack_connect01 = 0.5, 0.1, 0.0, 0.0, 1.0, 0.0, 0 | ||
node_stack_connect02 = 0.5, 0.1, 0.0, 0.0, 1.0, 0.0, 0 | ||
node_stack_connect03 = 0.5, 0.1, 0.0, 0.0, 1.0, 0.0, 0 | ||
node_stack_connect04 = 0.5, 0.1, 0.0, 0.0, 1.0, 0.0, 0 | ||
node_stack_connect05 = 0.5, 0.1, 0.0, 0.0, 1.0, 0.0, 0 | ||
node_stack_connect06 = 0.5, 0.1, 0.0, 0.0, 1.0, 0.0, 0 | ||
node_stack_connect07 = 0.5, 0.1, 0.0, 0.0, 1.0, 0.0, 0 | ||
node_stack_connect08 = 0.5, 0.1, 0.0, 0.0, 1.0, 0.0, 0 | ||
|
||
attachRules = 1,0,1,1,0 | ||
|
||
TechRequired = aerodynamicSystems | ||
cost = 100 | ||
entryCost = 4600 | ||
category = Payload | ||
subcategory = 0 | ||
title = Fairing Base Ring | ||
manufacturer = Keramzit Engineering | ||
description = Structural base for mounting side fairings and your payload. Decoupler sold separately. | ||
|
||
mass = 0 | ||
dragModelType = default | ||
maximum_drag = 0.2 | ||
minimum_drag = 0.2 | ||
angularDrag = 2 | ||
crashTolerance = 12 | ||
breakingForce = 2000 | ||
breakingTorque = 2000 | ||
maxTemp = 2600 | ||
explosionPotential = 0 | ||
fuelCrossFeed = True | ||
thermalMassModifier = 2.0 | ||
skinMassPerArea = 4.0 | ||
skinInternalConductionMult = 0.25 | ||
emissiveConstant = 0.8 | ||
stackSymmetry = 7 | ||
stageOffset = 1 | ||
childStageOffset = 1 | ||
bulkheadProfiles = size1 | ||
tags = aero )cap cargo cone contain drag fairing hollow inter nose payload procedural protect rocket shroud stage (stor transport | ||
|
||
MODULE | ||
{ | ||
name = ProceduralFairingBase | ||
baseSize = 1.15 | ||
sideThickness = 0.05 | ||
verticalStep = 0.1 | ||
} | ||
|
||
MODULE | ||
{ | ||
name = KzNodeNumberTweaker | ||
nodePrefix = connect | ||
maxNumber = 8 | ||
numNodes = 2 | ||
radius = 0.625 | ||
shouldResizeNodes = False | ||
} | ||
|
||
MODULE | ||
{ | ||
name = KzFairingBaseResizer | ||
size = 1.25 | ||
costPerTonne = 1000 | ||
specificMass = 0.0064, 0.0130, 0.0098, 0 | ||
specificBreakingForce = 1280 | ||
specificBreakingTorque = 1280 | ||
dragAreaScale = 1.5 | ||
} | ||
|
||
MODULE | ||
{ | ||
name = KzFairingBaseShielding | ||
} | ||
|
||
MODULE | ||
{ | ||
name = ModuleToggleCrossfeed | ||
crossfeedStatus = False | ||
toggleEditor = True | ||
toggleFlight = True | ||
enableText = Enable Crossfeed | ||
disableText = Disable Crossfeed | ||
} | ||
} |
Oops, something went wrong.