mirror of
https://github.com/PorktoberRevolution/ReStocked
synced 2024-09-01 17:34:42 +00:00
99415890a3
!MODULE[FXModuleLookAtConstraint] not being applied, because of missing brackets
228 lines
4.6 KiB
INI
228 lines
4.6 KiB
INI
// Patches applying art changes to wheels
|
|
// Contents:
|
|
// - Rovemax Model S2 (roverWheel2)
|
|
// - Rovemax Model M1 (roverWHeel1)
|
|
// - TR-2L Ruggedized Wheel (wheelMed)
|
|
|
|
// RoveMax Model S2
|
|
@PART[roverWheel2]:HAS[~RestockIgnore[*]]:FOR[000_ReStock]
|
|
{
|
|
@author = Andrew Cassidy
|
|
!MODEL {}
|
|
MODEL
|
|
{
|
|
model = ReStock/Assets/Ground/restock-wheel-1
|
|
}
|
|
@MODULE[ModuleWheelSuspension]
|
|
{
|
|
@suspensionTransformName = SuspensionPivot
|
|
}
|
|
@MODULE[ModuleWheelSteering]
|
|
{
|
|
@steeringTransformName = SteeringPivot
|
|
}
|
|
@MODULE[ModuleWheelDamage]
|
|
{
|
|
@damagedTransformName = WheelBusted
|
|
@undamagedTransformName = Wheel
|
|
}
|
|
!MODULE[FXModuleLookAtConstraint] {}
|
|
MODULE
|
|
{
|
|
name = ModuleRestockConstraints
|
|
LOOKATCONSTRAINT
|
|
{
|
|
rotatorsName = Suspension1
|
|
targetName = Suspension2
|
|
}
|
|
LOOKATCONSTRAINT
|
|
{
|
|
rotatorsName = Suspension2
|
|
targetName = Suspension1
|
|
}
|
|
}
|
|
MODULE
|
|
{
|
|
name = ModulePartVariants
|
|
useMultipleDragCubes = false
|
|
baseVariant = Bare
|
|
VARIANT
|
|
{
|
|
name = Bare
|
|
displayName = #LOC_Restock_variant-probe-bare
|
|
primaryColor = #999999
|
|
secondaryColor = #999999
|
|
GAMEOBJECTS
|
|
{
|
|
body_gold = false
|
|
SteeringPivot_gold = false
|
|
body_silver = false
|
|
SteeringPivot_silver = false
|
|
}
|
|
}
|
|
VARIANT
|
|
{
|
|
name = Gold
|
|
displayName = #LOC_Restock_variant-probe-gold
|
|
themeName = Gold
|
|
primaryColor = #fccb0a
|
|
secondaryColor = #999999
|
|
GAMEOBJECTS
|
|
{
|
|
body_gold = true
|
|
SteeringPivot_gold = true
|
|
body_silver = false
|
|
SteeringPivot_silver = false
|
|
}
|
|
}
|
|
VARIANT
|
|
{
|
|
name = Silver
|
|
displayName = #LOC_Restock_variant-probe-silver
|
|
themeName = Silver
|
|
primaryColor = #cecece
|
|
secondaryColor = #999999
|
|
GAMEOBJECTS
|
|
{
|
|
body_gold = false
|
|
SteeringPivot_gold = false
|
|
body_silver = true
|
|
SteeringPivot_silver = true
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
// RoveMax Model M1
|
|
@PART[roverWheel1]:HAS[~RestockIgnore[*]]:FOR[000_ReStock]
|
|
{
|
|
@author = Andrew Cassidy
|
|
!mesh = DELETE
|
|
MODEL
|
|
{
|
|
model = ReStock/Assets/Ground/restock-wheel-2
|
|
}
|
|
@MODULE[ModuleWheelSuspension]
|
|
{
|
|
@suspensionTransformName = SuspensionPivot
|
|
}
|
|
@MODULE[ModuleWheelSteering]
|
|
{
|
|
@steeringTransformName = SteeringPivot
|
|
}
|
|
@MODULE[ModuleWheelDamage]
|
|
{
|
|
@damagedTransformName = WheelBusted
|
|
@undamagedTransformName = Wheel
|
|
}
|
|
!MODULE[FXModuleLookAtConstraint]{}
|
|
MODULE
|
|
{
|
|
name = ModuleRestockConstraints
|
|
LOOKATCONSTRAINT
|
|
{
|
|
rotatorsName = Link1
|
|
targetName = Link1Target
|
|
}
|
|
LOOKATCONSTRAINT
|
|
{
|
|
rotatorsName = Link2
|
|
targetName = Link2Target
|
|
}
|
|
COPYROTATIONCONSTRAINT
|
|
{
|
|
rotatorsName = LowerBracket
|
|
targetName = Base
|
|
}
|
|
COPYROTATIONCONSTRAINT
|
|
{
|
|
rotatorsName = SteeringPivotFollower
|
|
targetName = SteeringPivot
|
|
}
|
|
COPYROTATIONCONSTRAINT
|
|
{
|
|
rotatorsName = WheelPivotFollower
|
|
targetName = WheelPivot
|
|
}
|
|
LOOKATCONSTRAINT
|
|
{
|
|
rotatorsName = ShockCylinder
|
|
targetName = ShockPiston
|
|
}
|
|
LOOKATCONSTRAINT
|
|
{
|
|
rotatorsName = ShockPiston
|
|
targetName = ShockCylinder
|
|
}
|
|
LOOKATCONSTRAINT
|
|
{
|
|
rotatorsName = SteeringPiston1
|
|
targetName = SteeringCylinder1
|
|
}
|
|
LOOKATCONSTRAINT
|
|
{
|
|
rotatorsName = SteeringCylinder1
|
|
targetName = SteeringPiston1
|
|
}
|
|
LOOKATCONSTRAINT
|
|
{
|
|
rotatorsName = SteeringPiston2
|
|
targetName = SteeringCylinder2
|
|
}
|
|
LOOKATCONSTRAINT
|
|
{
|
|
rotatorsName = SteeringCylinder2
|
|
targetName = SteeringPiston2
|
|
}
|
|
}
|
|
}
|
|
|
|
// TR-2L Ruggedized Vehicular Wheel
|
|
@PART[wheelMed]:HAS[~RestockIgnore[*]]:FOR[000_ReStock]
|
|
{
|
|
@author = Andrew Cassidy
|
|
!MODEL {}
|
|
MODEL
|
|
{
|
|
model = ReStock/Assets/Ground/restock-wheel-3
|
|
}
|
|
@MODULE[ModuleWheelSuspension]
|
|
{
|
|
@suspensionTransformName = SuspensionPivot
|
|
}
|
|
@MODULE[ModuleWheelSteering]
|
|
{
|
|
@steeringTransformName = SteeringPivot
|
|
}
|
|
@MODULE[ModuleWheelDamage]
|
|
{
|
|
@damagedTransformName = WheelBusted
|
|
@undamagedTransformName = Wheel
|
|
}
|
|
!MODULE[FXModuleLookAtConstraint] {}
|
|
MODULE
|
|
{
|
|
name = ModuleRestockConstraints
|
|
LOOKATCONSTRAINT
|
|
{
|
|
rotatorsName = DamperCylinder
|
|
targetName = DamperPiston
|
|
}
|
|
LOOKATCONSTRAINT
|
|
{
|
|
rotatorsName = DamperPiston
|
|
targetName = DamperCylinder
|
|
}
|
|
LOOKATCONSTRAINT
|
|
{
|
|
rotatorsName = SteeringCylinder1
|
|
targetName = SteeringPiston1
|
|
}
|
|
LOOKATCONSTRAINT
|
|
{
|
|
rotatorsName = SteeringPiston1
|
|
targetName = SteeringCylinder1
|
|
}
|
|
}
|
|
}
|