mirror of
https://github.com/PorktoberRevolution/ReStocked
synced 2024-09-01 17:34:42 +00:00
Add wheels
This commit is contained in:
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Before Width: | Height: | Size: 4.0 MiB |
Binary file not shown.
Binary file not shown.
Before Width: | Height: | Size: 4.0 MiB |
@ -1,6 +1,104 @@
|
||||
// Patches applying art changes to wheels
|
||||
// Contents:
|
||||
|
||||
// RoveMax Model S2
|
||||
+PART[roverWheel2]:HAS[~RestockIgnore[*]]:FOR[ReStock]
|
||||
{
|
||||
@author = Andrew Cassidy
|
||||
@name = restock-wheel-1
|
||||
|
||||
!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 = ModuleAdvancedLookAtConstraint
|
||||
|
||||
CONSTRAINLOOKFX
|
||||
{
|
||||
rotatorsName = Suspension1
|
||||
targetName = Suspension2
|
||||
}
|
||||
|
||||
CONSTRAINLOOKFX
|
||||
{
|
||||
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[ReStock]
|
||||
@ -114,6 +212,63 @@
|
||||
}
|
||||
}
|
||||
|
||||
// TR-2L Ruggedized Vehicular Wheel
|
||||
+PART[wheelMed]:HAS[~RestockIgnore[*]]:FOR[ReStock]
|
||||
{
|
||||
@author = Andrew Cassidy
|
||||
@name = restock-wheel-3
|
||||
|
||||
!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 = ModuleAdvancedLookAtConstraint
|
||||
|
||||
CONSTRAINLOOKFX
|
||||
{
|
||||
rotatorsName = DamperCylinder
|
||||
targetName = DamperPiston
|
||||
}
|
||||
|
||||
CONSTRAINLOOKFX
|
||||
{
|
||||
rotatorsName = DamperPiston
|
||||
targetName = DamperCylinder
|
||||
}
|
||||
|
||||
CONSTRAINLOOKFX
|
||||
{
|
||||
rotatorsName = SteeringCylinder1
|
||||
targetName = SteeringPiston1
|
||||
}
|
||||
|
||||
CONSTRAINLOOKFX
|
||||
{
|
||||
rotatorsName = SteeringPiston1
|
||||
targetName = SteeringCylinder1
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// RoveMax M1-F Rover Wheel
|
||||
+PART[roverWheelM1-F]:HAS[~RestockIgnore[*]]:FOR[ReStock]
|
||||
{
|
||||
@ -216,7 +371,7 @@
|
||||
|
||||
MODULE
|
||||
{
|
||||
name = FXModuleLookAtConstraint
|
||||
name = ModuleAdvancedLookAtConstraint
|
||||
|
||||
CONSTRAINLOOKFX
|
||||
{
|
||||
@ -229,6 +384,18 @@
|
||||
rotatorsName = Link2
|
||||
targetName = Link2Target
|
||||
}
|
||||
|
||||
CONSTRAINLOOKFX
|
||||
{
|
||||
rotatorsName = SuspensionPiston
|
||||
targetName = SuspensionPistonTarget
|
||||
}
|
||||
|
||||
CONSTRAINLOOKFX
|
||||
{
|
||||
rotatorsName = SuspensionCylinder
|
||||
targetName = SuspensionCylinderTarget
|
||||
}
|
||||
}
|
||||
|
||||
MODULE
|
||||
@ -270,21 +437,5 @@
|
||||
targetName = WheelPivotFollower
|
||||
}
|
||||
}
|
||||
|
||||
MODULE
|
||||
{
|
||||
name = ModuleAdvancedLookAtConstraint
|
||||
|
||||
CONSTRAINLOOKFX
|
||||
{
|
||||
rotatorsName = SuspensionPiston
|
||||
targetName = SuspensionPistonTarget
|
||||
}
|
||||
|
||||
CONSTRAINLOOKFX
|
||||
{
|
||||
rotatorsName = SuspensionCylinder
|
||||
targetName = SuspensionCylinderTarget
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user