mirror of
https://github.com/PorktoberRevolution/ReStocked
synced 2024-09-01 17:34:42 +00:00
drewcassidy
931d891644
New module is extendable and modular, allowing constraints to be run in the expected order without relying on possibly undefined behavior
156 lines
2.9 KiB
INI
156 lines
2.9 KiB
INI
// Patches applying art changes to the Making History rover wheel
|
|
// Contents:
|
|
// - RoveMax M1-F Rover Wheel (roverWheelM1-F)
|
|
|
|
// RoveMax M1-F Rover Wheel
|
|
@PART[roverWheelM1-F]:HAS[~RestockIgnore[*]]:FOR[ReStock]
|
|
{
|
|
@author = Andrew Cassidy
|
|
|
|
!MODEL {}
|
|
MODEL
|
|
{
|
|
model = ReStock/Assets/Ground/restock-wheel-4
|
|
}
|
|
|
|
@MODULE[ModuleWheelSuspension] {
|
|
@suspensionTransformName = SuspensionPivot
|
|
}
|
|
|
|
@MODULE[ModuleWheelSteering] {
|
|
@steeringTransformName = SteeringPivot
|
|
}
|
|
|
|
@MODULE[ModuleWheelDamage] {
|
|
@damagedTransformName = WheelBusted
|
|
@undamagedTransformName = Wheel
|
|
}
|
|
|
|
@MODULE[ModuleWheelDeployment] {
|
|
@animationTrfName = restock-wheel-4
|
|
@animationStateName = restock-wheel-4-deploy
|
|
|
|
}
|
|
|
|
!MODULE[ModulePartVariants] {}
|
|
|
|
MODULE
|
|
{
|
|
name = ModulePartVariants
|
|
baseVariant = Orange
|
|
VARIANT
|
|
{
|
|
name = Orange
|
|
displayName = #autoLOC_8007100 // Orange
|
|
themeName = Orange
|
|
primaryColor = #74402B
|
|
secondaryColor = #707070
|
|
GAMEOBJECTS
|
|
{
|
|
Fender_orange = true
|
|
Fender_grey = false
|
|
Fender_cernan = false
|
|
}
|
|
}
|
|
|
|
VARIANT
|
|
{
|
|
name = Grey
|
|
displayName = #autoLOC_8007119 // White
|
|
themeName = White
|
|
primaryColor = #ffffff
|
|
secondaryColor = #707070
|
|
GAMEOBJECTS
|
|
{
|
|
Fender_orange = false
|
|
Fender_grey = true
|
|
Fender_cernan = false
|
|
}
|
|
}
|
|
|
|
VARIANT
|
|
{
|
|
name = Cernan
|
|
displayName = #LOC_Restock_variant-wheel_broken // Broken
|
|
themeName = Orange
|
|
primaryColor = #74402B
|
|
secondaryColor = #A0A0A0
|
|
GAMEOBJECTS
|
|
{
|
|
Fender_orange = false
|
|
Fender_grey = false
|
|
Fender_cernan = true
|
|
}
|
|
}
|
|
|
|
VARIANT
|
|
{
|
|
name = Bare
|
|
displayName = #LOC_Restock_variant-wheel_bare //Bare
|
|
themeName = White
|
|
primaryColor = #707070
|
|
secondaryColor = #707070
|
|
GAMEOBJECTS
|
|
{
|
|
Fender_orange = false
|
|
Fender_grey = false
|
|
Fender_cernan = false
|
|
}
|
|
}
|
|
}
|
|
|
|
!MODULE[FXModuleLookAtConstraint] {}
|
|
|
|
MODULE
|
|
{
|
|
name = ModuleRestockConstraints
|
|
|
|
LOOKATCONSTRAINT
|
|
{
|
|
rotatorsName = Link1
|
|
targetName = Link1Target
|
|
}
|
|
|
|
LOOKATCONSTRAINT
|
|
{
|
|
rotatorsName = Link2
|
|
targetName = Link2Target
|
|
}
|
|
|
|
LOOKATCONSTRAINT
|
|
{
|
|
rotatorsName = SuspensionPiston
|
|
targetName = SuspensionPistonTarget
|
|
}
|
|
|
|
LOOKATCONSTRAINT
|
|
{
|
|
rotatorsName = SuspensionCylinder
|
|
targetName = SuspensionCylinderTarget
|
|
}
|
|
|
|
COPYROTATIONCONSTRAINT
|
|
{
|
|
rotatorsName = LowerBracket
|
|
targetName = UpperBracket
|
|
}
|
|
|
|
COPYROTATIONCONSTRAINT
|
|
{
|
|
rotatorsName = SteeringPivotFollower
|
|
targetName = SteeringPivot
|
|
}
|
|
|
|
COPYPOSITIONCONSTRAINT
|
|
{
|
|
moversName = WheelMesh
|
|
targetName = WheelPivotFollower
|
|
}
|
|
|
|
COPYPOSITIONCONSTRAINT
|
|
{
|
|
moversName = WheelMeshBusted
|
|
targetName = WheelPivotFollower
|
|
}
|
|
}
|
|
} |