Fix errors when migrating saves to Restock

-  the game keeps track of the orientation of the antenna pivot object in the save. This makes sense for solar panels, or antennas if they tracked, but some deployed antennas ended up pointed random directions and looking weird when migrating an existing save
- This commit rotates the root segment of the communotron 16 to match the stock orientation, and adds dummy pivot transforms matching the stock deployed pivot transforms so nothing changes when the game rotates them on load.
This commit is contained in:
Andrew Cassidy 2019-02-28 23:14:07 -08:00
parent 33fcf5442e
commit 20d1173d86
No known key found for this signature in database
GPG Key ID: 963017B38FD477A1
4 changed files with 16 additions and 16 deletions

View File

@ -42,7 +42,7 @@
@MODULE[ModuleDeployableAntenna] {
@animationName = Deploy
@pivotName = Dish
@pivotName = Pivot
!raycastTransformName = DELETE
}
}
@ -58,7 +58,7 @@
@MODULE[ModuleDeployableAntenna] {
@animationName = Deploy_Radial
@pivotName = Dish_Radial
@pivotName = Pivot
!secondaryTransformName = DELETE
}
@ -66,20 +66,6 @@
name = ModulePartVariants
baseVariant = Axial
VARIANT {
name = Radial
displayName = #LOC_Restock_variant-antenna_radial
themeName = Gold
primaryColor = #fccb0a
secondaryColor = #707070
GAMEOBJECTS {
Dish_Normal = true
Dish_Axial = false
}
}
VARIANT {
name = Axial
displayName = #LOC_Restock_variant-antenna_axial
@ -93,6 +79,20 @@
Dish_Axial = true
}
}
VARIANT {
name = Radial
displayName = #LOC_Restock_variant-antenna_radial
themeName = Gold
primaryColor = #fccb0a
secondaryColor = #707070
GAMEOBJECTS {
Dish_Normal = true
Dish_Axial = false
}
}
}
}