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:
parent
e357a9cd44
commit
f6f881f7dd
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
|
||||
}
|
||||
|
||||
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
|
||||
@ -74,40 +44,9 @@
|
||||
{
|
||||
@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]
|
||||
{
|
||||
@author = Beale
|
||||
@ -115,7 +54,7 @@
|
||||
!MODEL,* {}
|
||||
MODEL
|
||||
{
|
||||
model = ReStock/Assets/Electrical/restock-solarpanel-2x3
|
||||
model = ReStock/Assets/Electrical/restock-solarpanel-3x2
|
||||
position = 0.0, 0.0, 0.0
|
||||
scale = 1,1,1
|
||||
rotation = 0, 0, 0
|
||||
@ -124,34 +63,6 @@
|
||||
{
|
||||
@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
|
||||
@ -171,35 +82,6 @@
|
||||
{
|
||||
@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
|
||||
|
Loading…
Reference in New Issue
Block a user