mirror of
https://github.com/PorktoberRevolution/ReStocked
synced 2024-09-01 17:34:42 +00:00
- 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.
113 lines
2.1 KiB
INI
113 lines
2.1 KiB
INI
// Patches applying art changes to relay antennas
|
|
// Contents:
|
|
// - Communotron 16 (longAntenna)
|
|
// - Communotron 16-S (surfAntenna)
|
|
// - Communotron HG-55 (mediumDishAntenna)
|
|
// - Communotron HG-55 (HighGainAntenna)
|
|
// - Communotron 88-88 (commDish)
|
|
|
|
// Communotron 16
|
|
@PART[longAntenna] {
|
|
@author = Andrew Cassidy
|
|
|
|
!mesh = DELETE
|
|
MODEL {
|
|
model = ReStock/Assets/Communication/restock-antenna-stack-1
|
|
}
|
|
|
|
@MODULE[ModuleDeployableAntenna] {
|
|
@animationName = Deploy
|
|
@pivotName = Segment_1
|
|
}
|
|
}
|
|
|
|
// Communotron 16-S
|
|
@PART[SurfAntenna] {
|
|
@author = Andrew Cassidy
|
|
|
|
!MODEL {}
|
|
MODEL {
|
|
model = ReStock/Assets/Communication/restock-antenna-radial-1
|
|
}
|
|
}
|
|
|
|
// Communotron DTS-M1
|
|
@PART[mediumDishAntenna] {
|
|
@author = Andrew Cassidy
|
|
|
|
!mesh = DELETE
|
|
MODEL {
|
|
model = ReStock/Assets/Communication/restock-antenna-radial-2
|
|
}
|
|
|
|
@MODULE[ModuleDeployableAntenna] {
|
|
@animationName = Deploy
|
|
@pivotName = Pivot
|
|
!raycastTransformName = DELETE
|
|
}
|
|
}
|
|
|
|
// Communotron HG-55
|
|
@PART[HighGainAntenna] {
|
|
@author = Andrew Cassidy
|
|
|
|
!MODEL {}
|
|
MODEL {
|
|
model = ReStock/Assets/Communication/restock-antenna-radial-3
|
|
}
|
|
|
|
@MODULE[ModuleDeployableAntenna] {
|
|
@animationName = Deploy_Radial
|
|
@pivotName = Pivot
|
|
!secondaryTransformName = DELETE
|
|
}
|
|
|
|
MODULE {
|
|
name = ModulePartVariants
|
|
baseVariant = Axial
|
|
|
|
VARIANT {
|
|
name = Axial
|
|
displayName = #LOC_Restock_variant-antenna_axial
|
|
themeName = Gold
|
|
|
|
primaryColor = #fccb0a
|
|
secondaryColor = #707070
|
|
|
|
GAMEOBJECTS {
|
|
Dish_Normal = false
|
|
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
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
// Communotron 88-88
|
|
@PART[commDish] {
|
|
@author = Andrew Cassidy
|
|
|
|
!mesh = DELETE
|
|
MODEL {
|
|
model = ReStock/Assets/Communication/restock-antenna-stack-4
|
|
}
|
|
|
|
@MODULE[ModuleDeployableAntenna] {
|
|
@animationName = Deploy
|
|
@pivotName = Dish
|
|
}
|
|
}
|