mirror of
https://github.com/PorktoberRevolution/ReStocked
synced 2024-09-01 17:34:42 +00:00
Fix solar panel pivot orientation
- Fix solar panel Pivot transform orientation to match that of stock - Move material config for shiny solar panels to the mu instead of using the material switcher - Rename restock-solarpanel-2x3.mu to restock-solarpanel-3x2.mu - Rename textures for consistancy - Add stock colliders to shrouded solar panels - Add normal map to solar panels - Fix small animation error in solar panel doors
This commit is contained in:
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -25,36 +25,6 @@
|
|||||||
{
|
{
|
||||||
@secondaryTransformName = panel6
|
@secondaryTransformName = panel6
|
||||||
}
|
}
|
||||||
|
|
||||||
MODULE
|
|
||||||
{
|
|
||||||
name = ModuleRestockModifyMaterials
|
|
||||||
MATERIAL
|
|
||||||
{
|
|
||||||
shader = KSP/Bumped Specular (Mapped)
|
|
||||||
TEXTURE_PROPERTY
|
|
||||||
{
|
|
||||||
name = _MainTex
|
|
||||||
textureUrl = ReStock/Assets/Electrical/restock-solarpanel-1
|
|
||||||
}
|
|
||||||
TEXTURE_PROPERTY
|
|
||||||
{
|
|
||||||
name = _SpecMap
|
|
||||||
textureUrl = ReStock/Assets/Electrical/restock-solarpanel-1-s
|
|
||||||
}
|
|
||||||
FLOAT_PROPERTY
|
|
||||||
{
|
|
||||||
name = _SpecTint
|
|
||||||
value = 0.02
|
|
||||||
}
|
|
||||||
FLOAT_PROPERTY
|
|
||||||
{
|
|
||||||
name = _Shininess
|
|
||||||
value = 0.7
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// 1x6 shielded
|
// 1x6 shielded
|
||||||
@ -74,40 +44,9 @@
|
|||||||
{
|
{
|
||||||
@secondaryTransformName = panel6
|
@secondaryTransformName = panel6
|
||||||
}
|
}
|
||||||
|
|
||||||
MODULE
|
|
||||||
{
|
|
||||||
name = ModuleRestockModifyMaterials
|
|
||||||
|
|
||||||
MATERIAL
|
|
||||||
{
|
|
||||||
shader = KSP/Bumped Specular (Mapped)
|
|
||||||
baseTransform = panel1
|
|
||||||
TEXTURE_PROPERTY
|
|
||||||
{
|
|
||||||
name = _MainTex
|
|
||||||
textureUrl = ReStock/Assets/Electrical/restock-solarpanel-1
|
|
||||||
}
|
|
||||||
TEXTURE_PROPERTY
|
|
||||||
{
|
|
||||||
name = _SpecMap
|
|
||||||
textureUrl = ReStock/Assets/Electrical/restock-solarpanel-1-s
|
|
||||||
}
|
|
||||||
FLOAT_PROPERTY
|
|
||||||
{
|
|
||||||
name = _SpecTint
|
|
||||||
value = 0.02
|
|
||||||
}
|
|
||||||
FLOAT_PROPERTY
|
|
||||||
{
|
|
||||||
name = _Shininess
|
|
||||||
value = 0.7
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// 2x3
|
// 3x2
|
||||||
@PART[solarPanels3]
|
@PART[solarPanels3]
|
||||||
{
|
{
|
||||||
@author = Beale
|
@author = Beale
|
||||||
@ -115,7 +54,7 @@
|
|||||||
!MODEL,* {}
|
!MODEL,* {}
|
||||||
MODEL
|
MODEL
|
||||||
{
|
{
|
||||||
model = ReStock/Assets/Electrical/restock-solarpanel-2x3
|
model = ReStock/Assets/Electrical/restock-solarpanel-3x2
|
||||||
position = 0.0, 0.0, 0.0
|
position = 0.0, 0.0, 0.0
|
||||||
scale = 1,1,1
|
scale = 1,1,1
|
||||||
rotation = 0, 0, 0
|
rotation = 0, 0, 0
|
||||||
@ -124,34 +63,6 @@
|
|||||||
{
|
{
|
||||||
@secondaryTransformName = solar6
|
@secondaryTransformName = solar6
|
||||||
}
|
}
|
||||||
MODULE
|
|
||||||
{
|
|
||||||
name = ModuleRestockModifyMaterials
|
|
||||||
MATERIAL
|
|
||||||
{
|
|
||||||
shader = KSP/Bumped Specular (Mapped)
|
|
||||||
TEXTURE_PROPERTY
|
|
||||||
{
|
|
||||||
name = _MainTex
|
|
||||||
textureUrl = ReStock/Assets/Electrical/restock-solarpanel-1
|
|
||||||
}
|
|
||||||
TEXTURE_PROPERTY
|
|
||||||
{
|
|
||||||
name = _SpecMap
|
|
||||||
textureUrl = ReStock/Assets/Electrical/restock-solarpanel-1-s
|
|
||||||
}
|
|
||||||
FLOAT_PROPERTY
|
|
||||||
{
|
|
||||||
name = _SpecTint
|
|
||||||
value = 0.02
|
|
||||||
}
|
|
||||||
FLOAT_PROPERTY
|
|
||||||
{
|
|
||||||
name = _Shininess
|
|
||||||
value = 0.7
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// 2x3 shroud
|
// 2x3 shroud
|
||||||
@ -171,35 +82,6 @@
|
|||||||
{
|
{
|
||||||
@secondaryTransformName = solar6
|
@secondaryTransformName = solar6
|
||||||
}
|
}
|
||||||
MODULE
|
|
||||||
{
|
|
||||||
name = ModuleRestockModifyMaterials
|
|
||||||
MATERIAL
|
|
||||||
{
|
|
||||||
shader = KSP/Bumped Specular (Mapped)
|
|
||||||
baseTransform = solar1
|
|
||||||
TEXTURE_PROPERTY
|
|
||||||
{
|
|
||||||
name = _MainTex
|
|
||||||
textureUrl = ReStock/Assets/Electrical/restock-solarpanel-1
|
|
||||||
}
|
|
||||||
TEXTURE_PROPERTY
|
|
||||||
{
|
|
||||||
name = _SpecMap
|
|
||||||
textureUrl = ReStock/Assets/Electrical/restock-solarpanel-1-s
|
|
||||||
}
|
|
||||||
FLOAT_PROPERTY
|
|
||||||
{
|
|
||||||
name = _SpecTint
|
|
||||||
value = 0.02
|
|
||||||
}
|
|
||||||
FLOAT_PROPERTY
|
|
||||||
{
|
|
||||||
name = _Shininess
|
|
||||||
value = 0.7
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Gigantor
|
// Gigantor
|
||||||
|
Reference in New Issue
Block a user