Table of Contents

Class TrainAnimationConfig

Namespace
Root
Assembly
SPZGameAssembly.dll
public class TrainAnimationConfig : ScriptableObject
Inheritance
object
Object
ScriptableObject
TrainAnimationConfig
Extension Methods

Constructors

TrainAnimationConfig()

public TrainAnimationConfig()

Fields

BezierStretchDistance

[Tooltip("Defines the bezier distance ('stretch') for trains moving on end-caps")]
public float BezierStretchDistance

Field Value

float

CargoLoaderBridgeHatchAnimationCurve

[FormerlySerializedAs("CargoLoaderHatchesAnimationCurve")]
public AnimationCurve CargoLoaderBridgeHatchAnimationCurve

Field Value

AnimationCurve

CargoLoaderFillingHatchAnimationCurve

public AnimationCurve CargoLoaderFillingHatchAnimationCurve

Field Value

AnimationCurve

CargoUnloaderBridgeHatchAnimationCurve

[FormerlySerializedAs("CargoUnloaderHatchesAnimationCurve")]
public AnimationCurve CargoUnloaderBridgeHatchAnimationCurve

Field Value

AnimationCurve

CargoUnloaderFillingHatchAnimationCurve

public AnimationCurve CargoUnloaderFillingHatchAnimationCurve

Field Value

AnimationCurve

LaunchCatchAngleAnimationCurve

[FormerlySerializedAs("LaunchCatchHeightMultiplier")]
[Tooltip("Defines the wagon's angle delta during the animation, with 1 being 90 degrees")]
public AnimationCurve LaunchCatchAngleAnimationCurve

Field Value

AnimationCurve

LaunchCatchChunkLength

[Tooltip("Defines the length in chunk units for the launch/catch animation")]
public float LaunchCatchChunkLength

Field Value

float

LaunchCatchHeightAnimationCurve

[Tooltip("Defines relative height progress (0 is the base rail height) for the train's launching animation in the launcher/catcher chunks")]
public AnimationCurve LaunchCatchHeightAnimationCurve

Field Value

AnimationCurve

LaunchHeightMultiplier

[Tooltip("Defines the actual height value of 1 for the height animation curve's Y axis")]
public float LaunchHeightMultiplier

Field Value

float

LaunchIntoHubAirborneHeight

public AnimationCurve LaunchIntoHubAirborneHeight

Field Value

AnimationCurve

LaunchIntoHubAirbornePitch

public AnimationCurve LaunchIntoHubAirbornePitch

Field Value

AnimationCurve

LaunchIntoHubAirborneScale

[Space(10)]
public AnimationCurve LaunchIntoHubAirborneScale

Field Value

AnimationCurve

LaunchIntoHubFallHeight

public AnimationCurve LaunchIntoHubFallHeight

Field Value

AnimationCurve

LaunchIntoHubFallLength

[Space(10)]
public float LaunchIntoHubFallLength

Field Value

float

LaunchIntoHubFallPitch

public AnimationCurve LaunchIntoHubFallPitch

Field Value

AnimationCurve

LaunchIntoHubFallScale

public AnimationCurve LaunchIntoHubFallScale

Field Value

AnimationCurve

LaunchIntoHubHeightOffset

[Space(10)]
public float LaunchIntoHubHeightOffset

Field Value

float

LaunchIntoHubLauncherHeight

public AnimationCurve LaunchIntoHubLauncherHeight

Field Value

AnimationCurve

LaunchIntoHubLauncherLength

[Space(10)]
public float LaunchIntoHubLauncherLength

Field Value

float

LaunchIntoHubLauncherPitch

public AnimationCurve LaunchIntoHubLauncherPitch

Field Value

AnimationCurve

LaunchIntoHubLauncherScale

public AnimationCurve LaunchIntoHubLauncherScale

Field Value

AnimationCurve

LaunchIntoHubProgress

public AnimationCurve LaunchIntoHubProgress

Field Value

AnimationCurve

LaunchIntoHubRoll

public AnimationCurve LaunchIntoHubRoll

Field Value

AnimationCurve

LeanDampening

[Tooltip("Controls the interpolation speed (frame-rate independent) for trains leaning")]
public float LeanDampening

Field Value

float

LeanMaxAngle

[Space(20)]
[Tooltip("Sets the maximum angle the train will lean by when moving on a rail turn")]
public float LeanMaxAngle

Field Value

float

LeanOutCurve

public AnimationCurve LeanOutCurve

Field Value

AnimationCurve

LeanOutDuration

public float LeanOutDuration

Field Value

float

ManufacturingLevelOffset

public float ManufacturingLevelOffset

Field Value

float

ManufacturingLiftCurve

public AnimationCurve ManufacturingLiftCurve

Field Value

AnimationCurve

ManufacturingLiftHeight

public float ManufacturingLiftHeight

Field Value

float

ManufacturingLiftPitch

public AnimationCurve ManufacturingLiftPitch

Field Value

AnimationCurve

MidAirAngleAnimationCurve

[Tooltip("Defines the wagon's angle delta during the animation, with 1 being 90 degrees")]
public AnimationCurve MidAirAngleAnimationCurve

Field Value

AnimationCurve

MidAirHeightAnimationCurve

[Tooltip("Defines relative height progress (0 is the peak height of the launch curve) for the train's midair animation")]
public AnimationCurve MidAirHeightAnimationCurve

Field Value

AnimationCurve

MidAirHeightMultiplier

[Tooltip("Defines the actual height value of 1 for the height animation curve's Y axis")]
public float MidAirHeightMultiplier

Field Value

float

MidAirProgressPointForAngleInversion

[Tooltip("Defines the progress point of the mid air animation where the angle delta needs to be inverted (this happens at the angle peak, where the mid air angle delta is 0)")]
public float MidAirProgressPointForAngleInversion

Field Value

float

OverrideProgress

public bool OverrideProgress

Field Value

bool

OverridenProgress

[Range(0, 1)]
public float OverridenProgress

Field Value

float

ProducerDoorStateOverHeadJump

[Space(10)]
public AnimationCurve ProducerDoorStateOverHeadJump

Field Value

AnimationCurve

ProducerDoorStateOverTailJump

[Space(10)]
public AnimationCurve ProducerDoorStateOverTailJump

Field Value

AnimationCurve

RollerCoasterLoopDepthDisplacementOverProgress

public AnimationCurve RollerCoasterLoopDepthDisplacementOverProgress

Field Value

AnimationCurve

RollerCoasterLoopInnerCircleOffset

public Vector3 RollerCoasterLoopInnerCircleOffset

Field Value

Vector3

RollerCoasterLoopInnerCircleRadius

public float RollerCoasterLoopInnerCircleRadius

Field Value

float

RollerCoasterLoopInnerCircleScale

public AnimationCurve RollerCoasterLoopInnerCircleScale

Field Value

AnimationCurve

RollerCoasterLoopInnerRollOverProgress

public AnimationCurve RollerCoasterLoopInnerRollOverProgress

Field Value

AnimationCurve

RollerCoasterLoopInnerYawOverProgress

public AnimationCurve RollerCoasterLoopInnerYawOverProgress

Field Value

AnimationCurve

RollerCoasterLoopOuterCircleOffset

public Vector3 RollerCoasterLoopOuterCircleOffset

Field Value

Vector3

RollerCoasterLoopOuterCircleRadiusDelta

public float RollerCoasterLoopOuterCircleRadiusDelta

Field Value

float

RollerCoasterLoopOuterCircleScale

public AnimationCurve RollerCoasterLoopOuterCircleScale

Field Value

AnimationCurve

RollerCoasterLoopOuterRollOverProgress

public AnimationCurve RollerCoasterLoopOuterRollOverProgress

Field Value

AnimationCurve

RollerCoasterLoopOuterYawOverProgress

public AnimationCurve RollerCoasterLoopOuterYawOverProgress

Field Value

AnimationCurve

RollerCoasterLoopProgressModifier

public AnimationCurve RollerCoasterLoopProgressModifier

Field Value

AnimationCurve

TrainLoadingHatchesAnimationCurve

public AnimationCurve TrainLoadingHatchesAnimationCurve

Field Value

AnimationCurve

TrainUnloadingHatchesAnimationCurve

public AnimationCurve TrainUnloadingHatchesAnimationCurve

Field Value

AnimationCurve

UpsideDownHeightMultiplier

[Tooltip("Defines a multiplier on top of the Launch Height Multiplier to be applied to upside down trains trying to avoid clipping into space belts, for example")]
public float UpsideDownHeightMultiplier

Field Value

float

UpsideDownOffset

[Header("General")]
[Tooltip("Defines the rail height difference for upside down wagons")]
public float UpsideDownOffset

Field Value

float