This commit is contained in:
Chris Adderley 2019-01-27 22:44:10 -08:00
parent 38baee3ba3
commit 7d5681b95f
35 changed files with 530 additions and 22 deletions

View File

@ -83,6 +83,10 @@ Localization
#LOC_RestockPlus_restock-fairing-base-0625-1_description = While the Kerbals at Mission Control were still figuring out how to get their rockets back down to Kerbin safely, the research engineers at FLOOYD were quickly realising that protecting parts on ascent was just as important. Heavy research into two-dimensional-input driven procedural construction was then funded with the hopes of making protective shells for important payloads and interstage areas of the crafts. The protective shells also have the benefit of making the craft more aerodynamic, hopefully saving on precious rocket fuel! The AE-FF0 is an even tinier size available from FLOOYD. #LOC_RestockPlus_restock-fairing-base-0625-1_description = While the Kerbals at Mission Control were still figuring out how to get their rockets back down to Kerbin safely, the research engineers at FLOOYD were quickly realising that protecting parts on ascent was just as important. Heavy research into two-dimensional-input driven procedural construction was then funded with the hopes of making protective shells for important payloads and interstage areas of the crafts. The protective shells also have the benefit of making the craft more aerodynamic, hopefully saving on precious rocket fuel! The AE-FF0 is an even tinier size available from FLOOYD.
#LOC_RestockPlus_restock-fairing-base-0625-1_tags = restock aero )cap cargo cone contain drag fairing hollow inter nose payload protect rocket shroud stage (stor transport #LOC_RestockPlus_restock-fairing-base-0625-1_tags = restock aero )cap cargo cone contain drag fairing hollow inter nose payload protect rocket shroud stage (stor transport
#LOC_RestockPlus_restock-fairing-base-1875-1_title = AE-FF1-L Airstream Protective Shell (1.875m)
#LOC_RestockPlus_restock-fairing-base-1875-1_description = While the Kerbals at Mission Control were still figuring out how to get their rockets back down to Kerbin safely, the research engineers at FLOOYD were quickly realising that protecting parts on ascent was just as important. Heavy research into two-dimensional-input driven procedural construction was then funded with the hopes of making protective shells for important payloads and interstage areas of the crafts. The protective shells also have the benefit of making the craft more aerodynamic, hopefully saving on precious rocket fuel! As a result of budget schedule realignments, the AE-FF1-L has become available.
#LOC_RestockPlus_restock-fairing-base-1875-1_tags = restock aero )cap cargo cone contain drag fairing hollow inter nose payload protect rocket shroud stage (stor transport
// Science // Science
#LOC_RestockPlus_restock-materialbay-radial-1_title = SC-9001R Radial Science Jr. #LOC_RestockPlus_restock-materialbay-radial-1_title = SC-9001R Radial Science Jr.
#LOC_RestockPlus_restock-materialbay-radial-1_description = The SC-9001R has the same set of experiments as the regular Science Jr. Material Bay, but in a conveniant, radial-mountable package. Recommended for ages 4-8. Small parts inside make it not suitable for small children. #LOC_RestockPlus_restock-materialbay-radial-1_description = The SC-9001R has the same set of experiments as the regular Science Jr. Material Bay, but in a conveniant, radial-mountable package. Recommended for ages 4-8. Small parts inside make it not suitable for small children.

View File

@ -20,9 +20,9 @@ PART
// --- node definitions --- // --- node definitions ---
node_attach = 0.0, 0.598, 0.0, 0.0, 1.0, 0.0, 0 node_attach = 0.0, 0.2499, 0.0, 0.0, 1.0, 0.0, 0
node_stack_top = 0.0, 0.598, 0.0, 0.0, 1.0, 0.0, 0 node_stack_top = 0.0, 0.2499, 0.0, 0.0, 1.0, 0.0, 0
node_stack_bottom = 0.0, -1.75, 0.0, 0.0, -1.0, 0.0, 0 node_stack_bottom = 0.0, -0.584, 0.0, 0.0, -1.0, 0.0, 0
// --- FX definitions --- // --- FX definitions ---
@ -72,7 +72,7 @@ PART
MODEL_MULTI_PARTICLE MODEL_MULTI_PARTICLE
{ {
name = core name = core
modelName = ReStock/FX/restock-fx-torch-core-1 modelName = ReStockPlus/FX/restock-fx-torch-core-1
transformName = fxTransformCore transformName = fxTransformCore
emission = 0.0 0.0 emission = 0.0 0.0
emission = 0.01 0.1 emission = 0.01 0.1
@ -84,7 +84,7 @@ PART
MODEL_MULTI_PARTICLE MODEL_MULTI_PARTICLE
{ {
name = plume name = plume
modelName = ReStock/FX/restock-fx-torch-plume-1 modelName = ReStockPlus/FX/restock-fx-torch-plume-1
transformName = fxTransformPlume transformName = fxTransformPlume
emission = 0.0 0.0 emission = 0.0 0.0
emission = 0.01 0.1 emission = 0.01 0.1
@ -182,7 +182,7 @@ PART
{ {
name = ModuleGimbal name = ModuleGimbal
gimbalTransformName = B_Gimbal gimbalTransformName = B_Gimbal
gimbalRange = 3 gimbalRange = 1
gimbalResponseSpeed = 6 gimbalResponseSpeed = 6
useGimbalResponseSpeed = true useGimbalResponseSpeed = true
} }
@ -198,7 +198,19 @@ PART
secondaryColor = #999999 secondaryColor = #999999
GAMEOBJECTS GAMEOBJECTS
{ {
Var_25Boat = false Torch_0625 = true
Torch_Boattail = false
Torch_Compact = false
CylUpper001 = true
CylUpper002 = true
CylUpper003 = false
CylUpper004 = false
CylLower001 = true
CylLower002 = true
CylLower003 = false
CylLower004 = false
ShroudTorchBasic = true
ShroudTorchCompact = false
} }
NODES NODES
{ {
@ -213,7 +225,19 @@ PART
secondaryColor = #000000 secondaryColor = #000000
GAMEOBJECTS GAMEOBJECTS
{ {
Var_25Boat = true Torch_0625 = false
Torch_Boattail = true
Torch_Compact = false
CylUpper001 = true
CylUpper002 = true
CylUpper003 = false
CylUpper004 = false
CylLower001 = true
CylLower002 = true
CylLower003 = false
CylLower004 = false
ShroudTorchBasic = false
ShroudTorchCompact = false
} }
NODES NODES
{ {
@ -227,7 +251,19 @@ PART
secondaryColor = #f69449 secondaryColor = #f69449
GAMEOBJECTS GAMEOBJECTS
{ {
Torch_0625 = false
Torch_Boattail = false
Torch_Compact = true
CylUpper001 = false
CylUpper002 = false
CylUpper003 = true
CylUpper004 = true
CylLower001 = false
CylLower002 = false
CylLower003 = true
CylLower004 = true
ShroudTorchBasic = false
ShroudTorchCompact = true
} }
NODES NODES
{ {
@ -414,20 +450,51 @@ PART
name = FXModuleLookAtConstraint name = FXModuleLookAtConstraint
CONSTRAINLOOKFX CONSTRAINLOOKFX
{ {
targetName = CylTop001 targetName = CylUpper001
rotatorsName = CylBot001 rotatorsName = CylLower001
} }
CONSTRAINLOOKFX CONSTRAINLOOKFX
{ {
targetName = CylBot001 targetName = CylLower001
rotatorsName =CylTop001 rotatorsName =CylUpper001
} }
CONSTRAINLOOKFX
{
targetName = CylUpper002
rotatorsName = CylLower002
}
CONSTRAINLOOKFX
{
targetName = CylLower002
rotatorsName =CylUpper002
}
CONSTRAINLOOKFX
{
targetName = CylUpper003
rotatorsName = CylLower003
}
CONSTRAINLOOKFX
{
targetName = CylLower003
rotatorsName =CylUpper003
}
CONSTRAINLOOKFX
{
targetName = CylUpper004
rotatorsName = CylLower004
}
CONSTRAINLOOKFX
{
targetName = CylLower004
rotatorsName =CylUpper004
}
} }
MODULE MODULE
{ {
name = ModuleJettison name = ModuleJettison
jettisonName = Fairing0625,Fairing0625_Compact jettisonName = ShroudTorchBasic,ShroudTorchCompact
bottomNodeName = bottom bottomNodeName = bottom
isFairing = True isFairing = True
jettisonedObjectMass = 0.1 jettisonedObjectMass = 0.1

View File

@ -355,7 +355,7 @@ PART
MODULE MODULE
{ {
name = ModuleJettison name = ModuleJettison
jettisonName = shroud jettisonName = ShroudSRB
bottomNodeName = bottom bottomNodeName = bottom
isFairing = True isFairing = True
jettisonedObjectMass = 0.1 jettisonedObjectMass = 0.1

View File

@ -355,7 +355,7 @@ PART
MODULE MODULE
{ {
name = ModuleJettison name = ModuleJettison
jettisonName = shroud jettisonName = ShroudSRB
bottomNodeName = bottom bottomNodeName = bottom
isFairing = True isFairing = True
jettisonedObjectMass = 0.1 jettisonedObjectMass = 0.1

View File

@ -2,20 +2,21 @@
// 0.625m fairing base // 0.625m fairing base
PART PART
{ {
name = _restock-fairing-base-0625-1 name = restock-fairing-base-0625-1
module = Part module = Part
author = Chris Adderley (Nertea) author = Chris Adderley (Nertea)
MODEL MODEL
{ {
model = RestockPlus/Assets/Payload/_restock-fairing-base-0625-1 model = ReStock/Assets/Payload/restock-fairing-base-0625-1
} }
MODEL MODEL
{ {
model = Squad/Parts/Aero/fairings/AutoTruss model = Squad/Parts/Aero/fairings/AutoTruss
scale = 0.5,0.5,0.5 scale = 0.5,0.5,0.5
position = 0.0,0.22,0.0 position = 0.0,0.138,0.0
} }
scale = 1
rescaleFactor = 1 rescaleFactor = 1
node_stack_interstage01a = 0.0, 0.35, 0.0, 0.0, -1.0, 0.0, 0 node_stack_interstage01a = 0.0, 0.35, 0.0, 0.0, -1.0, 0.0, 0
@ -36,10 +37,10 @@ PART
node_stack_interstage06a = 0.0, 1.6, 0.0, 0.0, -1.0, 0.0, 0 node_stack_interstage06a = 0.0, 1.6, 0.0, 0.0, -1.0, 0.0, 0
node_stack_interstage06b = 0.0, 1.62, 0.0, 0.0, 1.0, 0.0, 0 node_stack_interstage06b = 0.0, 1.62, 0.0, 0.0, 1.0, 0.0, 0
node_stack_top = 0.0, 0.22, 0.0, 0.0, 1.0, 0.0, 0 node_stack_top = 0.0, 0.138, 0.0, 0.0, 1.0, 0.0, 0
node_stack_bottom = 0.0, -0.2, 0.0, 0.0, -1.0, 0.0, 1 node_stack_bottom = 0.0, -0.045, 0.0, 0.0, -1.0, 0.0, 0
fx_gasBurst_white = 0.0, 0.3, 0.0, 0.0, 1.0, 0.0, deploy fx_gasBurst_white = 0.0, 0.14, 0.0, 0.0, 1.0, 0.0, deploy
sound_vent_large = deploy sound_vent_large = deploy
TechRequired = advConstruction TechRequired = advConstruction
@ -140,6 +141,7 @@ PART
GAMEOBJECTS GAMEOBJECTS
{ {
FairingBase0625White = true FairingBase0625White = true
FairingBase0625Orange = false
FairingBase0625BlackWhite = false FairingBase0625BlackWhite = false
} }
} }
@ -164,6 +166,7 @@ PART
GAMEOBJECTS GAMEOBJECTS
{ {
FairingBase0625White = false FairingBase0625White = false
FairingBase0625Orange = false
FairingBase0625BlackWhite = true FairingBase0625BlackWhite = true
} }
} }
@ -351,4 +354,24 @@ PART
MeshMenuName = Truss Structure MeshMenuName = Truss Structure
NodeMenuName = Interstage Nodes NodeMenuName = Interstage Nodes
} }
MODULE
{
name = ModuleRestockModifyFairingMaterials
COLOR_PROPERTY
{
name = _Color
color = 1.0, 1.0, 1.0, 1.0
}
COLOR_PROPERTY
{
name = _SpecColor
color = 0.753, 0.753, 0.753, 1.0
}
FLOAT_PROPERTY
{
name = _Shininess
value = 0.3
}
}
} }

View File

@ -0,0 +1,414 @@
// ReStock+ 0.1.0
// 1.875m fairing base
PART
{
name = restock-fairing-base-1875-1
module = Part
author = Chris Adderley (Nertea)
MODEL
{
model = ReStock/Assets/Payload/restock-fairing-base-1875-1
}
MODEL
{
model = Squad/Parts/Aero/fairings/AutoTruss
scale = 1.5,1.5,1.5
position = 0.0,0.22,0.0
}
scale = 1
rescaleFactor = 1
node_stack_interstage01a = 0.0, 0.94, 0.0, 0.0, -1.0, 0.0, 1
node_stack_interstage01b = 0.0, 1.0, 0.0, 0.0, 1.0, 0.0, 1
node_stack_interstage02a = 0.0, 1.69, 0.0, 0.0, -1.0, 0.0, 1
node_stack_interstage02b = 0.0, 1.75, 0.0, 0.0, 1.0, 0.0, 1
node_stack_interstage03a = 0.0, 2.44, 0.0, 0.0, -1.0, 0.0, 1
node_stack_interstage03b = 0.0, 2.50, 0.0, 0.0, 1.0, 0.0, 1
node_stack_interstage04a = 0.0, 3.19, 0.0, 0.0, -1.0, 0.0, 1
node_stack_interstage04b = 0.0, 3.25, 0.0, 0.0, 1.0, 0.0, 1
node_stack_interstage05a = 0.0, 3.94, 0.0, 0.0, -1.0, 0.0, 1
node_stack_interstage05b = 0.0, 4.00, 0.0, 0.0, 1.0, 0.0, 1
node_stack_interstage06a = 0.0, 4.69, 0.0, 0.0, -1.0, 0.0, 1
node_stack_interstage06b = 0.0, 4.75, 0.0, 0.0, 1.0, 0.0, 1
node_stack_top = 0.0, 0.22, 0.0, 0.0, 1.0, 0.0, 2
node_stack_bottom = 0.0, -0.2, 0.0, 0.0, -1.0, 0.0, 2
fx_gasBurst_white = 0.0, 0.3, 0.0, 0.0, 1.0, 0.0, deploy
sound_vent_large = deploy
TechRequired = advConstruction
entryCost = 4500
cost = 450
category = Payload
subcategory = 0
title = #LOC_RestockPlus_restock-fairing-base-1875-1_title
manufacturer = #autoLOC_501634
description = #LOC_RestockPlus_restock-fairing-base-1875-1_description
attachRules = 1,0,1,1,0
mass = 0.15
thermalMassModifier = 2.0
skinMassPerArea = 4.0
skinInternalConductionMult = 0.25
// heatConductivity = 0.06 // half default
emissiveConstant = 0.8
dragModelType = default
maximum_drag = 0.2
minimum_drag = 0.2
angularDrag = 2
crashTolerance = 9
maxTemp = 2600 // = 3400
fuelCrossFeed = True
stageOffset = 1
childStageOffset = 1
inverseStageCarryover = false
bulkheadProfiles = size1p5
tags = #LOC_RestockPlus_restock-fairing-base-1875-1_tags
MODULE
{
name = ModuleProceduralFairing
nSides = 32
nArcs = 2
nCollidersPerXSection = 8
TextureURL = ReStock/Assets/Payload/restock-fairing-125-1
CapTextureURL = ReStock/Assets/Payload/restock-fairing-cap-1
TextureNormalURL = ReStock/Assets/Payload/restock-fairing-125-1-n
panelGrouping = 3
pivot = 0,0.17,0
axis = 0,1,0
baseRadius = 0.9375
maxRadius = 2.25
capRadius = 0.2
snapThreshold = 0.1
xSectionHeightMin = 0.2
xSectionHeightMax = 2
edgeSlide = 0.15
edgeWarp = 0
noseTip = 0.7
UnitAreaMass = 0.015
UnitAreaCost = 6 //Needs balance
stagingToggleEnabledEditor = True
stagingToggleEnabledFlight = False
stagingEnableText = #autoLOC_502000 //#autoLOC_502000 = Fairing Not Staged
stagingDisableText = #autoLOC_502001 //#autoLOC_502001 = Fairing Staged
}
MODULE
{
name = ModuleCargoBay
DeployModuleIndex = 0
closedPosition = 0
lookupRadius = 0.75
// nodeOuterAftID = bottom
// nodeInnerAftID = top
}
MODULE
{
name = ModuleTestSubject
useStaging = True
useEvent = False
situationMask = 127
CONSTRAINT
{
type = ATMOSPHERE
value = True
}
CONSTRAINT
{
type = REPEATABILITY
value = ALWAYS
prestige = Trivial
}
CONSTRAINT
{
type = REPEATABILITY
value = BODYANDSITUATION
prestige = Significant
}
CONSTRAINT
{
type = REPEATABILITY
value = ONCEPERPART
prestige = Exceptional
}
CONSTRAINT
{
type = ALTITUDE
test = GT
value = 0 // this just registers altitude as something to care about
situationMask = 8
}
CONSTRAINT
{
type = ALTITUDEENV
test = GT
value = 4000
prestige = Trivial
}
CONSTRAINT
{
type = ALTITUDEENV
test = LT
value = 8000
prestige = Trivial
}
CONSTRAINT
{
type = ALTITUDEENV
test = GT
value = 2000
prestige = Significant
}
CONSTRAINT
{
type = ALTITUDEENV
test = LT
value = 4000
prestige = Significant
}
CONSTRAINT
{
type = ALTITUDEENV
test = GT
value = 1000
prestige = Exceptional
}
CONSTRAINT
{
type = ALTITUDEENV
test = LT
value = 2000
prestige = Exceptional
}
CONSTRAINT
{
type = SPEED
test = LT
value = 2000
situationMask = 8
}
CONSTRAINT
{
type = ALTITUDE
test = LT
value = 300000
situationMask = 16
body = _NotSun
}
CONSTRAINT
{
type = ALTITUDE
test = LT
value = 600000
situationMask = 32
body = _NotSun
}
}
MODULE
{
name = ModuleStructuralNode
rootObject = Cap1
attachNodeNames = interstage01a,interstage01b
}
MODULE
{
name = ModuleStructuralNode
rootObject = Cap2
attachNodeNames = interstage02a,interstage02b
}
MODULE
{
name = ModuleStructuralNode
rootObject = Cap3
attachNodeNames = interstage03a,interstage03b
}
MODULE
{
name = ModuleStructuralNode
rootObject = Cap4
attachNodeNames = interstage04a,interstage04b
}
MODULE
{
name = ModuleStructuralNode
rootObject = Cap5
attachNodeNames = interstage05a,interstage05b
}
MODULE
{
name = ModuleStructuralNode
rootObject = Cap6
attachNodeNames = interstage06a,interstage06b
}
MODULE
{
name = ModuleStructuralNode
rootObject = Truss1
attachNodeNames = interstage01a,interstage01b,interstage02a,interstage02b,interstage03a,interstage03b,interstage04a,interstage04b,interstage05a,interstage05b,interstage06a,interstage06b
}
MODULE
{
name = ModuleStructuralNode
rootObject = Truss2
attachNodeNames = interstage02a,interstage02b,interstage03a,interstage03b,interstage04a,interstage04b,interstage05a,interstage05b,interstage06a,interstage06b
}
MODULE
{
name = ModuleStructuralNode
rootObject = Truss3
attachNodeNames = interstage03a,interstage03b,interstage04a,interstage04b,interstage05a,interstage05b,interstage06a,interstage06b
}
MODULE
{
name = ModuleStructuralNode
rootObject = Truss4
attachNodeNames = interstage04a,interstage04b,interstage05a,interstage05b,interstage06a,interstage06b
}
MODULE
{
name = ModuleStructuralNode
rootObject = Truss5
attachNodeNames = interstage05a,interstage05b,interstage06a,interstage06b
}
MODULE
{
name = ModuleStructuralNode
rootObject = Truss6
attachNodeNames = interstage06a,interstage06b
}
MODULE
{
name = ModuleStructuralNodeToggle
MeshMenuName = #autoLOC_502002 //#autoLOC_502002 = Truss Structure
NodeMenuName = #autoLOC_502003 //#autoLOC_502003 = Interstage Nodes
showNodes = false
}
MODULE
{
name = ModuleCargoBay
DeployModuleIndex = 0
closedPosition = 0
lookupRadius = 0.375
// nodeOuterAftID = bottom
// nodeInnerAftID = top
}
MODULE
{
name = ModulePartVariants
useMultipleDragCubes = false
baseVariant = White
VARIANT
{
name = White
displayName = #autoLOC_8007119
themeName = White
primaryColor = #ffffff
secondaryColor = #ffffff
TEXTURE
{
materialName=FairingIconShell
mainTextureURL = ReStock/Assets/Payload/restock-fairing-125-1
}
EXTRA_INFO
{
FairingsTextureURL= ReStock/Assets/Payload/restock-fairing-125-1
FairingsNormalURL= ReStock/Assets/Payload/restock-fairing-125-1-n
CapTextureURL = ReStock/Assets/Payload/restock-fairing-cap-1
}
GAMEOBJECTS
{
FairingBase1875White = true
FairingBase1875Orange = false
FairingBase1875BlackWhite = false
}
}
VARIANT
{
name = Grey
displayName = #autoLOC_8007120
themeName = BlackAndWhite
primaryColor = #000000
secondaryColor = #ffffff
TEXTURE
{
materialName=FairingIconShell
mainTextureURL = ReStock/Assets/Payload/restock-fairing-125-1
}
EXTRA_INFO
{
FairingsTextureURL= ReStock/Assets/Payload/restock-fairing-125-1
FairingsNormalURL= ReStock/Assets/Payload/restock-fairing-125-1-n
CapTextureURL = ReStock/Assets/Payload/restock-fairing-cap-1
}
GAMEOBJECTS
{
FairingBase1875White = false
FairingBase1875Orange = false
FairingBase1875BlackWhite = true
}
}
VARIANT
{
name = Dark Grey
displayName = #autoLOC_8007121
themeName = GrayAndOrange
primaryColor = #4c4f47
secondaryColor = #f49841
TEXTURE
{
materialName=FairingIconShell
mainTextureURL = ReStock/Assets/Payload/restock-fairing-125-1-orange
}
EXTRA_INFO
{
FairingsTextureURL= ReStock/Assets/Payload/restock-fairing-125-1-orange
FairingsNormalURL= ReStock/Assets/Payload/restock-fairing-125-1-n
CapTextureURL = ReStock/Assets/Payload/restock-fairing-cap-1-orange
}
GAMEOBJECTS
{
FairingBase1875White = false
FairingBase1875Orange = true
FairingBase1875BlackWhite = false
}
}
}
MODULE
{
name = ModuleRestockModifyFairingMaterials
COLOR_PROPERTY
{
name = _Color
color = 1.0, 1.0, 1.0, 1.0
}
COLOR_PROPERTY
{
name = _SpecColor
color = 0.753, 0.753, 0.753, 1.0
}
FLOAT_PROPERTY
{
name = _Shininess
value = 0.3
}
}
}