Merge pull request #650 from PorktoberRevolution/radiators

Add radiators
This commit is contained in:
Chris Adderley 2019-08-15 10:37:30 -07:00 committed by GitHub
commit 76f7a1f4d0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
16 changed files with 427 additions and 1 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.0 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.0 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.0 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.0 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.0 MiB

View File

@ -65,5 +65,9 @@ Localization
#LOC_Restock_variant-probe-gold = Gold
#LOC_Restock_variant-probe-silver = Silver
#LOC_Restock_variant-probe-bare = Basic
#LOC_Restock_variant-radiator_basic = Basic
#LOC_Restock_variant-radiator_flat = Flat
#LOC_Restock_variant-radiator_compact = Compact
}
}

View File

@ -4,6 +4,7 @@
- Heat Shield (1.25m) (HeatShield1)
- Heat Shield (2.5m) (HeatShield2)
- Heat Shield (3.75m) (HeatShield3)
- Heat Shield (10m) (InflatableHeatShield)
@PART[HeatShield0]
{
@ -283,3 +284,18 @@
excludedRenderer = HeatShield375Internal
}
}
@PART[InflatableHeatShieldx]
{
@author = Chris Adderley (Nertea)
!mesh = DELETE
!MODEL {}
MODEL
{
model = ReStock/Assets/Aero/restock-heatshield-inflatable-10-1
}
@MODULE[ModuleAnimateGeneric]
{
@animationName = InflatableHS
}
}

View File

@ -0,0 +1,400 @@
// Patches applying art changes to Radiator parts
// Contents:
// - Radiator Panel (edge) (radPanelEdge)
// - Radiator Panel (small) (radPanelSm)
// - Radiator Panel (large) (radPanelLg)
// - Thermal Control System (small) (foldingRadSmall)
// - Thermal Control System (medium) (foldingRadMed)
// - Thermal Control System (large) (foldingRadLarge)
// Edge radiator
@PART[radPanelEdge]
{
@author = Chris Adderley (Nertea)
!mesh = DELETE
!MODEL {}
MODEL
{
model = ReStock/Assets/Thermal/restock-radiator-static-edge-1
}
MODULE
{
name = ModuleHeatEffects
fxModuleNames = heatColor
useSkinTemp = true
}
MODULE
{
name = ModuleColorChanger
moduleID = heatColor
animRate = 1.0
shaderProperty = _EmissiveColor
toggleInEditor = false
toggleInFlight = false
redCurve
{
key = 0 0 1 1
key = 1 1 1 1
}
greenCurve
{
key = 0 0 1 1
key = 1 1 1 1
}
blueCurve
{
key = 0 0 1 1
key = 1 1 1 1
}
alphaCurve
{
key = 0 0 1 1
key = 1 1 1 1
}
}
}
// Small Static radiator
@PART[radPanelSm]
{
@author = Chris Adderley (Nertea)
!mesh = DELETE
!MODEL {}
MODEL
{
model = ReStock/Assets/Thermal/restock-radiator-static-small-1
}
MODULE
{
name = ModulePartVariants
useMultipleDragCubes = false
baseVariant = Basic
VARIANT
{
name = Basic
displayName = #LOC_Restock_variant-radiator_basic
primaryColor = #ffffff
secondaryColor = #999999
GAMEOBJECTS
{
RadPanel_Small = true
RadPanel_Small_Compact = false
RadPanel_Small_Flat = false
}
}
VARIANT
{
name = Compact
displayName = #LOC_Restock_variant-radiator_compact
primaryColor = #999999
GAMEOBJECTS
{
RadPanel_Small = false
RadPanel_Small_Compact = true
RadPanel_Small_Flat = false
}
}
VARIANT
{
name = Flat
displayName = #LOC_Restock_variant-radiator_flat
primaryColor = #ffffff
GAMEOBJECTS
{
RadPanel_Small = false
RadPanel_Small_Compact = false
RadPanel_Small_Flat = true
}
}
}
MODULE
{
name = ModuleHeatEffects
fxModuleNames = heatColor
useSkinTemp = true
}
MODULE
{
name = ModuleColorChanger
moduleID = heatColor
animRate = 1.0
shaderProperty = _EmissiveColor
toggleInEditor = false
toggleInFlight = false
redCurve
{
key = 0 0 1 1
key = 1 1 1 1
}
greenCurve
{
key = 0 0 1 1
key = 1 1 1 1
}
blueCurve
{
key = 0 0 1 1
key = 1 1 1 1
}
alphaCurve
{
key = 0 0 1 1
key = 1 1 1 1
}
}
}
// Large static radiator
@PART[radPanelLg]
{
@author = Chris Adderley (Nertea)
!mesh = DELETE
!MODEL {}
MODEL
{
model = ReStock/Assets/Thermal/restock-radiator-static-large-1
}
MODULE
{
name = ModulePartVariants
useMultipleDragCubes = false
baseVariant = Basic
VARIANT
{
name = Basic
displayName = #LOC_Restock_variant-radiator_basic
primaryColor = #ffffff
secondaryColor = #999999
GAMEOBJECTS
{
RadPanel_Large = true
RadPanel_Large_Compact = false
RadPanel_Large_Flat = false
}
}
VARIANT
{
name = Compact
displayName = #LOC_Restock_variant-radiator_compact
primaryColor = #999999
GAMEOBJECTS
{
RadPanel_Large = false
RadPanel_Large_Compact = true
RadPanel_Large_Flat = false
}
}
VARIANT
{
name = Flat
displayName = #LOC_Restock_variant-radiator_flat
primaryColor = #ffffff
GAMEOBJECTS
{
RadPanel_Large = false
RadPanel_Large_Compact = false
RadPanel_Large_Flat = true
}
}
}
MODULE
{
name = ModuleHeatEffects
fxModuleNames = heatColor
useSkinTemp = true
}
MODULE
{
name = ModuleColorChanger
moduleID = heatColor
animRate = 1.0
shaderProperty = _EmissiveColor
toggleInEditor = false
toggleInFlight = false
redCurve
{
key = 0 0 1 1
key = 1 1 1 1
}
greenCurve
{
key = 0 0 1 1
key = 1 1 1 1
}
blueCurve
{
key = 0 0 1 1
key = 1 1 1 1
}
alphaCurve
{
key = 0 0 1 1
key = 1 1 1 1
}
}
}
// Small deployable radiator
@PART[foldingRadSmall]
{
@author = Chris Adderley (Nertea)
!mesh = DELETE
!MODEL {}
MODEL
{
model = ReStock/Assets/Thermal/restock-radiator-deploying-small-1
}
@MODULE[ModuleDeployableRadiator]
{
@animationName = RadiatorExtend
@pivotName = B_TinyRadPivot001
@raycastTransformName = Panel_006
}
MODULE
{
name = ModuleHeatEffects
fxModuleNames = heatColor
useSkinTemp = true
}
MODULE
{
name = ModuleColorChanger
moduleID = heatColor
animRate = 1.0
shaderProperty = _EmissiveColor
toggleInEditor = false
toggleInFlight = false
redCurve
{
key = 0 0 1 1
key = 1 1 1 1
}
greenCurve
{
key = 0 0 1 1
key = 1 1 1 1
}
blueCurve
{
key = 0 0 1 1
key = 1 1 1 1
}
alphaCurve
{
key = 0 0 1 1
key = 1 1 1 1
}
}
}
// Medium deployable radiator
@PART[foldingRadMed]
{
@author = Chris Adderley (Nertea)
!mesh = DELETE
!MODEL {}
MODEL
{
model = ReStock/Assets/Thermal/restock-radiator-deploying-medium-1
}
@MODULE[ModuleDeployableRadiator]
{
@animationName = RadiatorExtend
@pivotName = B_MedRad_PanelPivot
@raycastTransformName = B_MedRad_Raycast
}
MODULE
{
name = ModuleHeatEffects
fxModuleNames = heatColor
useSkinTemp = true
}
MODULE
{
name = ModuleColorChanger
moduleID = heatColor
animRate = 1.0
shaderProperty = _EmissiveColor
toggleInEditor = false
toggleInFlight = false
redCurve
{
key = 0 0 1 1
key = 1 1 1 1
}
greenCurve
{
key = 0 0 1 1
key = 1 1 1 1
}
blueCurve
{
key = 0 0 1 1
key = 1 1 1 1
}
alphaCurve
{
key = 0 0 1 1
key = 1 1 1 1
}
}
}
// Large deployable radiator
@PART[foldingRadLarge]
{
@author = Chris Adderley (Nertea)
!mesh = DELETE
!MODEL {}
MODEL
{
model = ReStock/Assets/Thermal/restock-radiator-deploying-large-1
}
@MODULE[ModuleDeployableRadiator]
{
@animationName = RadiatorExtend
@pivotName = B_LargeRad_PanelPivot
@raycastTransformName = B_LargeRad_Raycast
}
MODULE
{
name = ModuleHeatEffects
fxModuleNames = heatColor
useSkinTemp = true
}
MODULE
{
name = ModuleColorChanger
moduleID = heatColor
animRate = 1.0
shaderProperty = _EmissiveColor
toggleInEditor = false
toggleInFlight = false
redCurve
{
key = 0 0 1 1
key = 1 1 1 1
}
greenCurve
{
key = 0 0 1 1
key = 1 1 1 1
}
blueCurve
{
key = 0 0 1 1
key = 1 1 1 1
}
alphaCurve
{
key = 0 0 1 1
key = 1 1 1 1
}
}
}

View File

@ -47,7 +47,13 @@ v0.2.0
- FL-A215 Fuel Tank Adapter (Nertea)
- FL-R5 RCS Fuel Tank (Nertea)
- Thermal
- Heat Shield (1.875m) (Nertea): now has Unpainted, Classic, Black variants
- Heat Shield (1.875m) (Nertea): new Unpainted, Classic, Black variants
- Radiator Panel (edge) (Nertea)
- Radiator Panel (small) (Nertea)
- Radiator Panel (large) (Nertea)
- Thermal Control System (small) (Nertea)
- Thermal Control System (medium) (Nertea)
- Thermal Control System (large) (Nertea)
- New Depth Mask module added
- Some parts can now be inset into other parts without visible clipping inside them
- Aero