mirror of
https://github.com/PorktoberRevolution/ReStocked
synced 2024-09-01 17:34:42 +00:00
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:
parent
33fcf5442e
commit
20d1173d86
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -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
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user