-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #13 from KSP-RO/HIAD
Add adjustable HIAD
- Loading branch information
Showing
6 changed files
with
285 additions
and
0 deletions.
There are no files selected for viewing
2 changes: 2 additions & 0 deletions
2
GameData/ROHeatshields/Compatibility/ROHeatshield.restockwhitelist
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,2 +1,4 @@ | ||
Squad/Parts/Aero/HeatShield/HeatShield1 | ||
Squad/Parts/Aero/HeatShield/heatshield | ||
Squad/Parts/Aero/InflatableHeatShield/HeatShield | ||
Squad/Parts/Aero/InflatableHeatShield/HeatShield_NRM |
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
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
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
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,192 @@ | ||
// =========================================================================== | ||
// All work here was originally from Shadowmage and SSTU. I have adapted their | ||
// work to be more usable for our purposes in Realism Overhaul, but all credit | ||
// should be given to Shadowmage for the great work! | ||
// =========================================================================== | ||
|
||
PART | ||
{ | ||
module = Part | ||
name = ROH-AdjustableHIAD | ||
author = Shadowmage, Pap | ||
|
||
RSSROConfig:NEEDS[RealismOverhaul] = True | ||
|
||
// ============================================================================ | ||
// Model and Dimensions | ||
// ============================================================================ | ||
|
||
MODEL | ||
{ | ||
model = ROLib/Assets/EmptyProxyModel | ||
} | ||
|
||
scale = 1.0 | ||
rescaleFactor = 1.0 | ||
|
||
//node_stack_mid = 0.0, 0.34, 0.0, 0.0, 1.0, 0.0, 1 | ||
node_stack_bottom = 0.0, 1.4, 0.0, 0.0, 1.0, 0.0, 2 | ||
node_stack_top = 0.0, -0.9, 0.0, 0.0, -1.0, 0.0, 2 | ||
|
||
// stack, srfAttach, allowStack, allowSrfAttach, allowCollision | ||
attachRules = 1,0,1,1,0 | ||
|
||
// --- FX definitions --- | ||
fx_gasBurst_white = 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, decouple | ||
sound_decoupler_fire = decouple | ||
|
||
// ============================================================================ | ||
// Title, Description, Category, Techs | ||
// ============================================================================ | ||
|
||
title = Adjustable HIAD | ||
manufacturer = Generic | ||
description = This hypersonic inflatable aerodynamic decelerator can have its diameter and configuration changed to fit many different craft sizes and reentry profiles. | ||
|
||
tags = ablate, reentry, heat, shield, heatshield, procedural | ||
|
||
mass = 0.01 | ||
|
||
category = Thermal | ||
|
||
TechRequired = start | ||
cost = 150 | ||
entryCost = 1 | ||
|
||
maxTemp = 1 | ||
skinMaxTemp = 2 | ||
leaveTemp = true | ||
|
||
// ============================================================================ | ||
// DO NOT CHANGE (Normally) | ||
// ============================================================================ | ||
|
||
crashTolerance = 10 | ||
breakingForce = 200 | ||
breakingTorque = 200 | ||
fuelCrossFeed = false | ||
subcategory = 0 | ||
emissiveConstant = 0.6 | ||
thermalMassModifier = 1.0 | ||
skinMassPerArea = 4 | ||
buoyancy = 0.95 | ||
|
||
// ============================================================================ | ||
// Modules and Resources | ||
// ============================================================================ | ||
|
||
MODULE | ||
{ | ||
name = ModuleROHeatshield | ||
heatShieldType = Inflatable | ||
presets = Inflatable | ||
} | ||
|
||
MODULE | ||
{ | ||
name = ModuleROTank | ||
|
||
// Dimension Settings | ||
diameterLargeStep = 1.0 | ||
diameterSmallStep = 0.1 | ||
diameterSlideStep = 0.001 | ||
minDiameter = 0.5 | ||
maxDiameter = 100.0 | ||
|
||
// V.Scale-Mass-Cost | ||
enableVScale = true | ||
scaleMass = true | ||
scaleCost = true | ||
|
||
// Attach Node Settings | ||
topNodeName = top | ||
bottomNodeName = bottom | ||
noseNodeNames = none | ||
coreNodeNames = none | ||
mountNodeNames = none | ||
topInterstageNodeName = none | ||
bottomInterstageNodeName = mid | ||
|
||
// Fairing Settings | ||
topFairingIndex = -1 | ||
bottomFairingIndex = -1 | ||
|
||
// Default Values | ||
currentDiameter = 10.0 | ||
currentVariant = Heatshield | ||
currentNose = Model-None | ||
currentCore = HIAD-Stock | ||
currentMount = Model-None | ||
currentNoseTexture = default | ||
currentCoreTexture = default | ||
currentMountTexture = default | ||
|
||
CORE | ||
{ | ||
variant = Heatshield | ||
model = HIAD-Stock | ||
model:NEEDS[ReStock] = HIAD-ReStock | ||
} | ||
|
||
NOSE | ||
{ | ||
model = Model-None | ||
} | ||
|
||
MOUNT | ||
{ | ||
model = Model-None | ||
} | ||
} | ||
|
||
MODULE | ||
{ | ||
name = ModuleDecouple | ||
ejectionForce = 100 | ||
isOmniDecoupler = true | ||
menuName = Jettison Heat Shield | ||
stagingEnabled = False | ||
stagingEnableText = HS Jettison Not Staged | ||
stagingDisableText = HS Jettison Staged | ||
} | ||
|
||
//ReStock and Squad use different animation names | ||
//So, make two animate modules. It's not pretty, but it works... | ||
MODULE | ||
{ | ||
name = ModuleAnimateGeneric | ||
animationName = InflatableHS | ||
isOneShot = false | ||
startEventGUIName = Inflate Heat Shield (Squad) | ||
endEventGUIName = Deflate Heat Shield (Squad) | ||
actionGUIName = Inflate Heat Shield (Squad) | ||
allowAnimationWhileShielded = False | ||
restrictedNode = top | ||
disableAfterPlaying = true | ||
} | ||
MODULE | ||
{ | ||
name = ModuleAnimateGeneric | ||
animationName = Inflate | ||
isOneShot = false | ||
startEventGUIName = Inflate Heat Shield (ReStock) | ||
endEventGUIName = Deflate Heat Shield (ReStock) | ||
actionGUIName = Inflate Heat Shield (ReStock) | ||
allowAnimationWhileShielded = False | ||
restrictedNode = top | ||
disableAfterPlaying = true | ||
} | ||
MODULE | ||
{ | ||
name = ModuleToggleCrossfeed | ||
toggleFlight = true | ||
toggleEditor = true | ||
crossfeedStatus = false | ||
} | ||
MODULE | ||
{ | ||
name = SSTURecolorGUI | ||
} | ||
} |
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