Skip to content

Commit

Permalink
Initial Commit
Browse files Browse the repository at this point in the history
  • Loading branch information
pap1723 committed Sep 9, 2020
1 parent 5adfc8f commit cba9eba
Show file tree
Hide file tree
Showing 26 changed files with 874 additions and 0 deletions.
Binary file not shown.
Binary file added GameData/ROHeatshields/Assets/Coatl/draco_hs.mu
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Squad/Parts/Aero/HeatShield/HeatShield1
Squad/Parts/Aero/HeatShield/heatshield
71 changes: 71 additions & 0 deletions GameData/ROHeatshields/Data/ModelData-Heatshields.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
ROL_MODEL
{
name = HS-SSTU
title = Basic
description = Basic Style Heatshield
modelName = ROHeatshields/Assets/SSTU/SC-GEN-MHS
orientation = CENTRAL
diameter = 5
upperDiameter = 5
lowerDiameter = 5
minVerticalScale = 0.5
maxVerticalScale = 1.5
mass = 0.25
cost = 1
height = 0.454
volume = 0.0
}

ROL_MODEL
{
name = HS-Stock
title = Squad
description = Squad Style Heatshield
modelName = Squad/Parts/Aero/HeatShield/HeatShield1
orientation = CENTRAL
diameter = 1.27
upperDiameter = 1.27
lowerDiameter = 1.27
minVerticalScale = 0.5
maxVerticalScale = 1.5
mass = 0.0
cost = 1
height = 0.17
volume = 0.0
}

ROL_MODEL
{
name = HS-Coatl
title = 45-Deg
description = 45-Degree Heatshield
modelName = ROHeatshields/Assets/Coatl/draco_hs
orientation = CENTRAL
diameter = 1.87
upperDiameter = 1.87
lowerDiameter = 1.87
minVerticalScale = 0.5
maxVerticalScale = 1.5
mass = 0.0
cost = 1
height = 0.438
volume = 0.0
}

ROL_MODEL:NEEDS[ReStock]
{
name = HS-ReStock
title = ReStock
description = ReStock Style Heatshield
modelName = ReStock/Assets/Aero/restock-heatshield-125-1
orientation = CENTRAL
diameter = 1.25
upperDiameter = 1.25
lowerDiameter = 1.25
minVerticalScale = 0.5
maxVerticalScale = 1.5
mass = 0.0
cost = 1
height = 0.175
volume = 0.0
}
84 changes: 84 additions & 0 deletions GameData/ROHeatshields/Data/TextureSets-Heathshields.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,84 @@
@ROL_MODEL[HS-Stock]:FOR[ROHeatshields]
{
KSP_TEXTURE_SET
{
name = ROH-StockHS
title = Squad
recolorable = false

MATERIAL
{
shader = TU/Metallic
texture = _MainTex, Squad/Parts/Aero/HeatShield/heatshield
keyword = TU_STOCK_SPEC
}
}
}

@ROL_MODEL[HS-Coatl]:FOR[ROHeatshields]
{
KSP_TEXTURE_SET
{
name = ROH-CoatlHS
title = Coatl
recolorable = false

MATERIAL
{
shader = TU/Metallic
texture = _MainTex, ROHeatshields/Assets/Coatl/draco_b_D

PROPERTY
{
name = _Color
// Higher numbers are lighter
color = 1.5, 1.5, 1.5
}
PROPERTY
{
name = _Metal
// 0 = not metallic, 1 = mirror finish
float = 0.8
}
PROPERTY
{
name = _Smoothness
// 0 = most blurry, 1 = not blurry
float = 0.55
}
}
}
}

@ROL_MODEL[HS-ReStock]:NEEDS[ReStock]:FOR[ROHeatshields]
{
KSP_TEXTURE_SET
{
name = ROH-ReStock
title = ReStock
recolorable = false

MATERIAL
{
shader = TU/Metallic
texture = _MainTex, ReStock/Assets/Aero/restock-heat-shield-1
texture = _BumpMap, ReStock/Assets/Aero/restock-heat-shield-1-n
keyword = TU_STOCK_SPEC
}
}

KSP_TEXTURE_SET
{
name = ROH-ReStock2
title = ReStock Alt
recolorable = false

MATERIAL
{
shader = TU/Metallic
texture = _MainTex, ReStock/Assets/Aero/restock-heat-shield-1-alt
texture = _BumpMap, ReStock/Assets/Aero/restock-heat-shield-1-alt-n
keyword = TU_STOCK_SPEC
}
}
}
101 changes: 101 additions & 0 deletions GameData/ROHeatshields/Data/TextureSets-SSTU-Heatshields.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,101 @@
KSP_TEXTURE_SET
{
name = ROH-SSTU-A
title = Standard Recolor
recolorable = true
MATERIAL
{
shader = TU/Metallic
texture = _MainTex, ROHeatshields/Assets/SSTU/SC-GEN-MHS-DIFF
texture = _BumpMap, ROHeatshields/Assets/SSTU/SC-GEN-MHS-NRM-C
texture = _MaskTex, ROHeatshields/Assets/SSTU/SC-GEN-MHS-MASK-A
texture = _MetallicGlossMap, ROHeatshields/Assets/SSTU/SC-GEN-MHS-MET
texture = _AOMap, ROHeatshields/Assets/SSTU/SC-GEN-MHS-MET
keyword = TU_RECOLOR
vector = _DiffuseNorm,0.5,0.5,0.5
vector = _MetalNorm,0.5,0.5,0.5
vector = _SmoothnessNorm,0.5,0.5,0.5
}
COLORS
{
mainColor = black
secondColor = steel
detailColor = black
}
}

KSP_TEXTURE_SET
{
name = ROH-SSTU-B
title = Paneled Recolor
recolorable = true
MATERIAL
{
shader = TU/Metallic
texture = _MainTex, ROHeatshields/Assets/SSTU/SC-GEN-MHS-DIFF
texture = _BumpMap, ROHeatshields/Assets/SSTU/SC-GEN-MHS-NRM-D
texture = _MaskTex, ROHeatshields/Assets/SSTU/SC-GEN-MHS-MASK-B
texture = _MetallicGlossMap, ROHeatshields/Assets/SSTU/SC-GEN-MHS-MET
texture = _AOMap, ROHeatshields/Assets/SSTU/SC-GEN-MHS-MET
keyword = TU_RECOLOR
vector = _DiffuseNorm,0.5,0.5,0.5
vector = _MetalNorm,0.5,0.5,0.5
vector = _SmoothnessNorm,0.5,0.5,0.5
}
COLORS
{
mainColor = black
secondColor = steel
detailColor = black
}
}

KSP_TEXTURE_SET
{
name = ROH-SSTU-C
title = Standard
MATERIAL
{
shader = TU/Metallic
texture = _MainTex, ROHeatshields/Assets/SSTU/SC-GEN-MHS-DIFF-C
texture = _BumpMap, ROHeatshields/Assets/SSTU/SC-GEN-MHS-NRM-C
texture = _MetallicGlossMap, ROHeatshields/Assets/SSTU/SC-GEN-MHS-MET-C
texture = _AOMap, ROHeatshields/Assets/SSTU/SC-GEN-MHS-MET-C
keyword = TU_RECOLOR,false
}
COLORS
{
mainColor = silver
secondColor = silver
detailColor = silver
}
}

KSP_TEXTURE_SET
{
name = ROH-SSTU-D
title = Paneled
MATERIAL
{
shader = TU/Metallic
texture = _MainTex, ROHeatshields/Assets/SSTU/SC-GEN-MHS-DIFF-D
texture = _BumpMap, ROHeatshields/Assets/SSTU/SC-GEN-MHS-NRM-D
texture = _MetallicGlossMap, ROHeatshields/Assets/SSTU/SC-GEN-MHS-MET-D
texture = _AOMap, ROHeatshields/Assets/SSTU/SC-GEN-MHS-MET-D
keyword = TU_RECOLOR,false
}
COLORS
{
mainColor = silver
secondColor = silver
detailColor = silver
}
}

@ROL_MODEL[HS-SSTU]:FOR[ROHeatshields]
{
textureSet = ROH-SSTU-A
textureSet = ROH-SSTU-B
textureSet = ROH-SSTU-C
textureSet = ROH-SSTU-D
}
Loading

0 comments on commit cba9eba

Please sign in to comment.