Zdexby TheHolyOneZ
6,144 classes
Class

AAVS_Vehicle_C

: AVehicleSystemBase : APawn : AActor : UObject
/VehicleSystemPlugin/AVS_Vehicle.AVS_Vehicle_C 0x09C2 (2,498 B) align 8 inherited 0x06C0 143 scripted vtable /VehicleSystemPlugin/AVS_Vehicle
0x00x09C2

Members 88

OffsetSizeNameTypeFlagsDefault
0x08UberGraphFrameFPointerToUberGraphFrameTransient+2 flags{}
0x10WheelsTArray<UVehicle_Wheel_C*>4 flags[]
0x01ConstructCalledbool8 flagsfalse
0x01Initializedbool8 flagsfalse
0x06DA0x06padding / unreflected
0x08EngineAudioUVehicle_EngineAudio_C*7 flagsnullptr
0x08RPMdouble7 flags0
0x08dRPMdouble7 flags0
0x01StartWithPhysicsbool7 flagstrue
0x01StabilityControlbool7 flagsfalse
0x06FA0x06padding / unreflected
0x08StabilityControlForcedouble7 flags100
0x01DynamicAirDragbool7 flagstrue
0x07090x07padding / unreflected
0x08BaseLinearDragdouble7 flags0
0x08DefaultLinearDragdouble7 flags0
0x08PhysicsMaterialUPhysicalMaterial*5 flags/VehicleSystemPlugin/VehicleAssets/PhysMat/VehicleChassis.V…
0x04NumDrivingWheelsint327 flags0
0x01EngineRunningbool8 flagsfalse
0x01AllowPassiveModebool7 flagstrue
0x01StartWithEngineRunningbool7 flagsfalse
0x01ZeroThrottleWhileShiftingbool7 flagsfalse
0x01SpeedUnitsSpeedUnits6 flagsNewEnumerator0
0x07310x07padding / unreflected
0x28SpeedUnitFSpeedUnit4 flags{Index_14_1DB21482406D1076E96F90B0D07A804F=NewEnumerator0, …
0x08IgnitionTimedouble6 flags0.5
0x01ShifterShifterPositionsNetRepNotify+8 flagsNewEnumerator0
0x01AutomaticShifterPositonbool7 flagsfalse
0x01AutomaticTransmissionbool6 flagstrue
0x076B0x05padding / unreflected
0x08GearSwitchTimedouble6 flags0.5
0x08InputHostAAVS_Vehicle_C*7 flagsnullptr
0x08ThrottleInputdoubleNetRepNotify+8 flags0
0x08Throttledouble7 flags0
0x08BrakeInputdoubleNetRepNotify+8 flags0
0x08Brakedouble7 flags0
0x08Steeringdouble7 flags0
0x01isBrakeAppliedbool7 flagsfalse
0x01HandbrakeAppliedboolNetRepNotify+7 flagsfalse
0x01ServerEngineRunningboolNetRepNotify+7 flagsfalse
0x07AB0x05padding / unreflected
0x08IgnitionTimerFTimerHandle5 flags{Handle=0}
0x08Accelerationdouble7 flags0
0x08AirSpeeddouble7 flags0
0x08TargetSpeeddouble7 flags0
0x08Torquedouble7 flags0
0x08Slipdouble7 flags0
0x20GearFVehicleGear4 flags{EndSpeed=0, StartSpeed=0, UpShift=0, DownShift=0, HighRPM=…
0x04CurrentGearint327 flags-1
0x08040x04padding / unreflected
0x10LightControllersTArray<UVehicle_LightController_C*>4 flags[]
0x10ExhaustsTArray<UVehicle_ExhaustController_C*>4 flags[]
0x10ActiveLightGroupsTArray<FName>3 flags[]
0x04previousGearint327 flags-1
0x01isShiftingbool7 flagsfalse
0x083D0x03padding / unreflected
0x08ThrottleCurveUCurveFloat*6 flags/VehicleSystemPlugin/VehicleAssets/Defaults/ThrottleCurve.T…
0x08GearCurveUCurveFloat*6 flags/VehicleSystemPlugin/VehicleAssets/Defaults/GearTorqueCurve…
0x08SteeringInputdoubleNetRepNotify+8 flags0
0x04GearInputint327 flags-1
0x01VisualizeCenterOfMassbool7 flagsfalse
0x01OverrideCenterOfMassbool7 flagsfalse
0x085E0x02padding / unreflected
0x18RelativeCenterOfMassFVector7 flags{X=0, Y=0, Z=0}
0x18DefaultCOMFVector7 flags{X=0, Y=0, Z=0}
0x01AccelerationConfigbool7 flagsfalse
0x08910x07padding / unreflected
0x08TargetAccelerationdouble7 flags1
0x08DynamicMaxTorquedouble7 flags0
0x18CenterOfMassOffsetFVector7 flags{X=0, Y=0, Z=0}
0x08IdleRPMdouble7 flags1000
0x08IdleMaxRPMdouble7 flags7500
0x01SyncAsTrailerbool7 flagsfalse
0x08D10x07padding / unreflected
0x08TrailerSyncTimerFTimerHandle5 flags{Handle=0}
0x18LocalTrailerRotationFRotator6 flags{Pitch=0, Yaw=0, Roll=0}
0x18HostTrailerRotationFRotatorNet+6 flags{Pitch=0, Yaw=0, Roll=0}
0x08NetworkTowHitchUVehicle_Hitch_C*7 flagsnullptr
0x08NetworkTrailerHitchUVehicle_Hitch_C*7 flagsnullptr
0x08VehicleMaxAngularVelocitydouble7 flags700
0x01WheelReprojectionbool7 flagsfalse
0x09290x07padding / unreflected
0x08ReprojectionSmoothAlphadouble7 flags0.75
0x08TickDeltadouble7 flags0
0x01CinematicPlaybackbool7 flagsfalse
0x01WheelReprojectionCamberbool7 flagsfalse
0x09420x06padding / unreflected
0x10CamberCompressedFVector2D7 flags{X=30, Y=15}
0x10CamberDecompressedFVector2D7 flags{X=-30, Y=-15}
0x01ContactModificationDirtybool7 flagstrue
0x09690x07padding / unreflected
0x08TPS_TimerFTimerHandle5 flags{Handle=0}
0x08LocalSteeringInputdouble7 flags0
0x01SuspensionDebugbool8 flagsfalse
0x01DisplayDebugMenubool7 flagsfalse
0x09820x06padding / unreflected
0x08DebugMenuUVehicleSetup_HUD_C*7 flagsnullptr
0x10DebugMeshesTArray<UPrimitiveComponent*>4 flags[]
0x08DebugCOMUStaticMeshComponent*7 flagsnullptr
0x10OnEngineRunningUpdatedEventFMulticastScriptDelegateBlueprintCallable+5 flags<delegate>
0x08VehicleSpeedFromWheelRotationdouble7 flags0
0x01PreviousShifterShifterPositions8 flagsNewEnumerator0
0x01ForceLockWheelsbool7 flagsfalse
Inherited from AVehicleSystemBase 29
OffsetSizeNameTypeFlagsDefault
0x10VehicleWheelsTArray<UVehicleWheelBase*>4 flags[]
0x03380x10padding / unreflected
0x10ContactModMeshesTArray<UPrimitiveComponent*>4 flags[]
0x03580x15padding / unreflected
0x01ReplicateMovementboolProtected+7 flagstrue
0x01SyncLocationboolProtected+7 flagstrue
0x01SyncRotationboolProtected+7 flagstrue
0x04NetSendRatefloatProtected+8 flags0.0333
0x04NetTimeBehindfloatProtected+8 flags0.15
0x04NetLerpStartfloatProtected+8 flags0.35
0x04NetPositionTolerancefloatProtected+8 flags0.1
0x04NetSmoothingfloatProtected+8 flags10
0x03840x04padding / unreflected
0x68RestStateFNetStateNetRepNotify+3 flags{NetTimestamp=0, LocalTimestamp=0, Position={}, Rotation={P…
0x03F00x01padding / unreflected
0x01NetworkAtRestboolProtected+7 flagsfalse
0x03F20x02padding / unreflected
0x04RestTimerfloatProtected+7 flags0
0x03F80x88padding / unreflected
0x04ChaosDeltaTimefloatProtected+9 flags0
0x18InputsForPhysicsThreadFAVS_InputsProtected+3 flags{Steering=0, Throttle=0, Brake=0, Handbrake=false, Torque=0…
0x049C0x04padding / unreflected
0x10DebugTracesTArray<FHitResult>Protected+7 flags[]
0x10DebugForcesTArray<FDebugForce>Protected+6 flags[]
0x08VehicleMeshUStaticMeshComponent*10 flags/Script/VehicleSystemPlugin.Default__VehicleSystemBase.Vehi…
0x01PassiveModebool7 flagsfalse
0x01PassiveTickGatekeepingbool8 flagstrue
0x04CA0x02padding / unreflected
0x04RestVelocityThresholdfloat8 flags25
0x01LocalVehicleAtRestbool7 flagsfalse
0x04D10x07padding / unreflected
0x88SteeringFalloffCurveFRuntimeFloatCurve2 flags{EditorCurveData={Keys=[4 items]}, ExternalCurve=nullptr}
0x01SteeringInputSmoothingSteeringSmoothingType7 flagsEase
0x05610x03padding / unreflected
0x04SteeringSpeedfloat7 flags2.5
0x04SteeringRecenterSpeedfloat7 flags2.5
0x056C0x04padding / unreflected
0x10GearsTArray<FVehicleGear>4 flags[]
0x04PredictiveSync_PositionSnapThresholdfloat8 flags500
0x04PredictiveSync_RotationSnapThresholdfloat8 flags45
Inherited from APawn 20
OffsetSizeNameTypeFlagsDefault
0x01bUseControllerRotationPitch : 1bit 0bool5 flagsfalse
0x01bUseControllerRotationYaw : 1bit 1bool5 flagsfalse
0x01bUseControllerRotationRoll : 1bit 2bool5 flagsfalse
0x01bCanAffectNavigationGeneration : 1bit 3bool6 flagsfalse
0x01bIsLocalViewTarget : 1bit 6boolTransientProtected+3 flagsfalse
0x02B10x03padding / unreflected
0x04BaseEyeHeightfloat7 flags64
0x01AutoPossessPlayerEAutoReceiveInput6 flagsDisabled
0x01AutoPossessAIEAutoPossessAI6 flagsPlacedInWorld
0x02RemoteViewPitch16uint16NetProtected+5 flags0
0x01RemoteViewPitchuint8Net+5 flags0
0x02BD0x03padding / unreflected
0x08AIControllerClassTSubclassOf<AController>7 flags/Script/AIModule.AIController
0x08PlayerStateAPlayerState*NetRepNotify+8 flagsnullptr
0x08LastHitByAController*Transient+8 flagsnullptr
0x08ControllerAController*NetRepNotify+6 flagsnullptr
0x08PreviousControllerAController*Transient+6 flagsnullptr
0x02E80x04padding / unreflected
0x01ReceiveControllerChangedDelegateFMulticastScriptDelegate4 flags<delegate>
0x01ReceiveRestartedDelegateFMulticastScriptDelegate4 flags<delegate>
0x02EE0x02padding / unreflected
0x18ControlInputVectorFVectorTransientProtected+5 flags{X=0, Y=0, Z=0}
0x18LastControlInputVectorFVectorTransientProtected+5 flags{X=0, Y=0, Z=0}
0x08OverrideInputComponentClassTSubclassOf<UInputComponent>Protected+7 flagsnullptr
Inherited from AActor 79
OffsetSizeNameTypeFlagsDefault
0x30PrimaryActorTickFActorTickFunction3 flags{}
0x01bNetTemporary : 1bit 0bool3 flagsfalse
0x01bOnlyRelevantToOwner : 1bit 2bool7 flagsfalse
0x01bAlwaysRelevant : 1bit 3bool6 flagsfalse
0x01bReplicateMovement : 1bit 4boolNetRepNotify+5 flagsfalse
0x01bCallPreReplication : 1bit 5bool6 flagstrue
0x01bCallPreReplicationForReplay : 1bit 6bool6 flagstrue
0x01bHidden : 1bit 7boolNet+7 flagsfalse
0x01bTearOff : 1bit 0boolNet+3 flagsfalse
0x01bForceNetAddressable : 1bit 1bool3 flagsfalse
0x01bExchangedRoles : 1bit 2boolTransient+3 flagsfalse
0x01bNetLoadOnClient : 1bit 3bool4 flagstrue
0x01bNetUseOwnerRelevancy : 1bit 4bool6 flagsfalse
0x01bRelevantForNetworkReplays : 1bit 5bool3 flagstrue
0x01bRelevantForLevelBounds : 1bit 6bool5 flagstrue
0x01bReplayRewindable : 1bit 7bool6 flagsfalse
0x01bAllowTickBeforeBeginPlay : 1bit 0bool5 flagsfalse
0x01bAutoDestroyWhenFinished : 1bit 1bool4 flagsfalse
0x01bCanBeDamaged : 1bit 2boolNet+6 flagstrue
0x01bBlockInput : 1bit 3bool5 flagsfalse
0x01bCollideWhenPlacing : 1bit 4bool3 flagsfalse
0x01bFindCameraComponentWhenViewTarget : 1bit 5bool6 flagstrue
0x01bGenerateOverlapEventsDuringLevelStreaming : 1bit 6bool5 flagsfalse
0x01bIgnoresOriginShifting : 1bit 7bool5 flagsfalse
0x01bEnableAutoLODGeneration : 1bit 0bool5 flagstrue
0x01bIsEditorOnlyActor : 1bit 1bool5 flagsfalse
0x01bReplicates : 1bit 3boolProtected+7 flagsfalse
0x01bCanBeInCluster : 1bit 4boolProtected+5 flagsfalse
0x01bAllowReceiveTickEventOnDedicatedServer : 1bit 5boolProtected+3 flagstrue
0x01bReplicateUsingRegisteredSubObjectList : 1bit 7boolProtected+9 flagsfalse
0x005C0x01padding / unreflected
0x01bActorEnableCollision : 1bit 0bool3 flagstrue
0x01bActorIsBeingDestroyed : 1bit 1boolTransient+4 flagsfalse
0x01bAsyncPhysicsTickEnabled : 1bit 6boolProtected+4 flagsfalse
0x01UpdateOverlapsMethodDuringLevelStreamingEActorUpdateOverlapsMethodProtected+6 flagsUseConfigDefault
0x01DefaultUpdateOverlapsMethodDuringLevelStreamingEActorUpdateOverlapsMethod8 flagsOnlyUpdateMovable
0x01RemoteRoleENetRoleNetTransient+8 flagsROLE_None
0x00610x03padding / unreflected
0x04InitialLifeSpanfloat8 flags0
0x04CustomTimeDilationfloat7 flags1
0x04RayTracingGroupIdint325 flags-1
0x60AttachmentReplicationFRepAttachmentNetTransient+5 flags{AttachParent=nullptr, LocationOffset={}, RelativeScale3D={…
0x88ReplicatedMovementFRepMovementNetRepNotify+5 flags{LinearVelocity={X=0, Y=0, Z=0}, AngularVelocity={X=0, Y=0,…
0x08OwnerAActor*NetRepNotify+6 flagsnullptr
0x08NetDriverNameFNameProtected+5 flagsGameNetDriver
0x01RoleENetRoleNet+8 flagsROLE_Authority
0x01NetDormancyENetDormancy9 flagsDORM_Awake
0x01SpawnCollisionHandlingMethodESpawnActorCollisionHandlingMethod7 flagsAlwaysSpawn
0x01AutoReceiveInputEAutoReceiveInput6 flagsDisabled
0x04InputPriorityint326 flags0
0x01700x08padding / unreflected
0x08InputComponentUInputComponent*9 flagsnullptr
0x04NetTagint32Transient+5 flags0
0x04NetCullDistanceSquaredfloat8 flags2.25e+08
0x04NetUpdateFrequencyfloat8 flags100
0x04MinNetUpdateFrequencyfloat8 flags2
0x04NetPriorityfloat8 flags1
0x01PhysicsReplicationModeEPhysicsReplicationMode7 flagsDefault
0x01950x0Bpadding / unreflected
0x08InstigatorAPawn*NetRepNotify+8 flagsnullptr
0x10ChildrenTArray<AActor*>Transient+4 flags[]
0x08RootComponentUSceneComponent*Protected+10 flagsnullptr
0x01C00x08padding / unreflected
0x10LayersTArray<FName>4 flags[]
0x08ParentComponentTWeakObjectPtr<UChildActorComponent>8 flagsnullptr
0x10TagsTArray<FName>5 flags[]
0x01OnTakeAnyDamageFMulticastScriptDelegate4 flags<delegate>
0x01OnTakePointDamageFMulticastScriptDelegate4 flags<delegate>
0x01OnTakeRadialDamageFMulticastScriptDelegate4 flags<delegate>
0x01OnActorBeginOverlapFMulticastScriptDelegate4 flags<delegate>
0x01OnActorEndOverlapFMulticastScriptDelegate4 flags<delegate>
0x01OnBeginCursorOverFMulticastScriptDelegate4 flags<delegate>
0x01OnEndCursorOverFMulticastScriptDelegate4 flags<delegate>
0x01OnClickedFMulticastScriptDelegate4 flags<delegate>
0x01OnReleasedFMulticastScriptDelegate4 flags<delegate>
0x01OnInputTouchBeginFMulticastScriptDelegate4 flags<delegate>
0x01OnInputTouchEndFMulticastScriptDelegate4 flags<delegate>
0x01OnInputTouchEnterFMulticastScriptDelegate4 flags<delegate>
0x01OnInputTouchLeaveFMulticastScriptDelegate4 flags<delegate>
0x01OnActorHitFMulticastScriptDelegate4 flags<delegate>
0x01OnDestroyedFMulticastScriptDelegate4 flags<delegate>
0x01OnEndPlayFMulticastScriptDelegate4 flags<delegate>
0x02000x80padding / unreflected
0x10InstanceComponentsTArray<UActorComponent*>6 flags[]
0x10BlueprintCreatedComponentsTArray<UActorComponent*>8 flags[]

Functions 143

SignatureFlagsNativeParams
void GetDebugUIValues(const bool& IsOnBoat)
Script3 statements · 14 bytes of bytecode
0x0000IsOnBoat = false;0x000Breturn;0x000D// end of script
Public0x01
void SetForceLockWheels(bool ForceLockWheels)
Script3 statements · 22 bytes of bytecode
0x0000ForceLockWheels = ForceLockWheels;0x0013return;0x0015// end of script
Public0x01
void GetVehicleBaseLinearDamping(const double& LinearDamping)
Script3 statements · 30 bytes of bytecode
0x0000LinearDamping = BaseLinearDrag;0x001Breturn;0x001D// end of script
Public0x08
void OnShifterUpdatedEvent(const ShifterPositions& PreviousValue, const ShifterPositions& NewValue)
Script2 statements · 3 bytes of bytecode
0x0000return;0x0002// end of script
Protected0x02
void OnEngineRunningUpdated(bool IsEngineRunning)
Script2 statements · 3 bytes of bytecode
0x0000return;0x0002// end of script
Public0x01
void OnBrakeInputUpdated(double BrakeInputValue)
Script2 statements · 3 bytes of bytecode
0x0000return;0x0002// end of script
Public0x08
void SetLinearDamping(double LinearDamping)
Script3 statements · 30 bytes of bytecode
0x0000BaseLinearDrag = LinearDamping;0x001Breturn;0x001D// end of script
Public0x08
void CalculateSteering()
Script51 statements · 1,469 bytes of bytecode
0x0000K2Node_SwitchEnum_CmpSuccess = NotEqual_ByteByte(SteeringInputSmoothing, 0);0x001Fif (!(K2Node_SwitchEnum_CmpSuccess)) goto Label_008C;0x002DK2Node_SwitchEnum_CmpSuccess = NotEqual_ByteByte(SteeringInputSmoothing, 1);0x004Cif (!(K2Node_SwitchEnum_CmpSuccess)) goto Label_01B5;0x005AK2Node_SwitchEnum_CmpSuccess = NotEqual_ByteByte(SteeringInputSmoothing, 2);0x0079if (!(K2Node_SwitchEnum_CmpSuccess)) goto Label_03BA;0x0087goto Label_05BA;0x008CLabel_008C:0x008CCallFunc_GetMaxSteeringInput_Speed_ImplicitCast = Cast<3>(AirSpeed);0x00A9CallFunc_GetMaxSteeringInput_ReturnValue = GetMaxSteeringInput(CallFunc_GetMaxSteeringInput_Speed_ImplicitCast);0x00CECallFunc_Add_DoubleDouble_A_ImplicitCast = Cast<4>(CallFunc_GetMaxSteeringInput_ReturnValue);0x00EBCallFunc_Add_DoubleDouble_ReturnValue = Add_DoubleDouble(CallFunc_Add_DoubleDouble_A_ImplicitCast, Slip);0x0119CallFunc_FClamp_ReturnValue = FClamp(CallFunc_Add_DoubleDouble_ReturnValue, 0, 1);0x0150GetCurrentSteeringInput(CallFunc_GetCurrentSteeringInput_SteeringInput_1);0x0167CallFunc_Multiply_DoubleDouble_ReturnValue = Multiply_DoubleDouble(CallFunc_FClamp_ReturnValue, CallFunc_GetCurrentSteeringInput_SteeringInput_1);0x0195Steering = CallFunc_Multiply_DoubleDouble_ReturnValue;0x01B0goto Label_05BA;0x01B5Label_01B5:0x01B5CallFunc_GetMaxSteeringInput_Speed_ImplicitCast = Cast<3>(AirSpeed);0x01D2CallFunc_GetMaxSteeringInput_ReturnValue = GetMaxSteeringInput(CallFunc_GetMaxSteeringInput_Speed_ImplicitCast);0x01F7GetCurrentSteeringInput(CallFunc_GetCurrentSteeringInput_SteeringInput);0x020ECallFunc_Add_DoubleDouble_A_ImplicitCast = Cast<4>(CallFunc_GetMaxSteeringInput_ReturnValue);0x022BCallFunc_Add_DoubleDouble_ReturnValue = Add_DoubleDouble(CallFunc_Add_DoubleDouble_A_ImplicitCast, Slip);0x0259CallFunc_GetSteeringSpeed_OldSteering_ImplicitCast = Cast<3>(Steering);0x0276CallFunc_GetSteeringSpeed_NewSteering_ImplicitCast = Cast<3>(CallFunc_GetCurrentSteeringInput_SteeringInput);0x0293CallFunc_GetSteeringSpeed_ReturnValue = GetSteeringSpeed(CallFunc_GetSteeringSpeed_OldSteering_ImplicitCast, CallFunc_GetSteeringSpeed_NewSteering_ImplicitCast);0x02C1CallFunc_FClamp_ReturnValue = FClamp(CallFunc_Add_DoubleDouble_ReturnValue, 0, 1);0x02F8GetCurrentSteeringInput(CallFunc_GetCurrentSteeringInput_SteeringInput_1);0x030FCallFunc_Multiply_DoubleDouble_ReturnValue = Multiply_DoubleDouble(CallFunc_FClamp_ReturnValue, CallFunc_GetCurrentSteeringInput_SteeringInput_1);0x033DCallFunc_FInterpTo_Constant_InterpSpeed_ImplicitCast = Cast<4>(CallFunc_GetSteeringSpeed_ReturnValue);0x035ACallFunc_FInterpTo_Constant_ReturnValue = FInterpTo_Constant(Steering, CallFunc_Multiply_DoubleDouble_ReturnValue, TickDelta, CallFunc_FInterpTo_Constant_InterpSpeed_ImplicitCast);0x039ASteering = CallFunc_FInterpTo_Constant_ReturnValue;0x03B5goto Label_05BA;0x03BALabel_03BA:0x03BACallFunc_GetMaxSteeringInput_Speed_ImplicitCast = Cast<3>(AirSpeed);0x03D7CallFunc_GetMaxSteeringInput_ReturnValue = GetMaxSteeringInput(CallFunc_GetMaxSteeringInput_Speed_ImplicitCast);0x03FCGetCurrentSteeringInput(CallFunc_GetCurrentSteeringInput_SteeringInput);0x0413CallFunc_Add_DoubleDouble_A_ImplicitCast = Cast<4>(CallFunc_GetMaxSteeringInput_ReturnValue);0x0430CallFunc_Add_DoubleDouble_ReturnValue = Add_DoubleDouble(CallFunc_Add_DoubleDouble_A_ImplicitCast, Slip);0x045ECallFunc_GetSteeringSpeed_OldSteering_ImplicitCast = Cast<3>(Steering);0x047BCallFunc_GetSteeringSpeed_NewSteering_ImplicitCast = Cast<3>(CallFunc_GetCurrentSteeringInput_SteeringInput);0x0498CallFunc_GetSteeringSpeed_ReturnValue = GetSteeringSpeed(CallFunc_GetSteeringSpeed_OldSteering_ImplicitCast, CallFunc_GetSteeringSpeed_NewSteering_ImplicitCast);0x04C6CallFunc_FClamp_ReturnValue = FClamp(CallFunc_Add_DoubleDouble_ReturnValue, 0, 1);0x04FDGetCurrentSteeringInput(CallFunc_GetCurrentSteeringInput_SteeringInput_1);0x0514CallFunc_Multiply_DoubleDouble_ReturnValue = Multiply_DoubleDouble(CallFunc_FClamp_ReturnValue, CallFunc_GetCurrentSteeringInput_SteeringInput_1);0x0542CallFunc_FInterpTo_InterpSpeed_ImplicitCast = Cast<4>(CallFunc_GetSteeringSpeed_ReturnValue);0x055FCallFunc_FInterpTo_ReturnValue = FInterpTo(Steering, CallFunc_Multiply_DoubleDouble_ReturnValue, TickDelta, CallFunc_FInterpTo_InterpSpeed_ImplicitCast);0x059FSteering = CallFunc_FInterpTo_ReturnValue;0x05BALabel_05BA:0x05BAreturn;0x05BC// end of script
Public0x00
void TickInputs()
Script3 statements · 17 bytes of bytecode
0x0000CalculateSteering();0x000Ereturn;0x0010// end of script
Public0x00
void GetBrake(const double& Brake)
Script3 statements · 30 bytes of bytecode
0x0000Brake = Brake;0x001Breturn;0x001D// end of script
Public0x08
void GetThrottle(const double& Throttle)
Script3 statements · 30 bytes of bytecode
0x0000Throttle = Throttle;0x001Breturn;0x001D// end of script
Public0x08
void GetRPM(const double& RPM)
Script3 statements · 30 bytes of bytecode
0x0000RPM = RPM;0x001Breturn;0x001D// end of script
Public0x08
void ToogleDebugMenu()
Script32 statements · 721 bytes of bytecode
0x0000PushFlow(Label_02CE);0x0005CallFunc_IsPlayerControlled_ReturnValue = IsPlayerControlled();0x001DCallFunc_IsLocallyControlled_ReturnValue = IsLocallyControlled();0x0035CallFunc_BooleanAND_ReturnValue = BooleanAND(CallFunc_IsLocallyControlled_ReturnValue, CallFunc_IsPlayerControlled_ReturnValue);0x005Bif (!(CallFunc_BooleanAND_ReturnValue)) PopFlow();0x0065CallFunc_GetAllWidgetsOfClass_FoundWidgets = {};0x0070/Script/UMG.Default__WidgetBlueprintLibrary.GetAllWidgetsOfClass(this, CallFunc_GetAllWidgetsOfClass_FoundWidgets, /VehicleSystemPlugin/VehicleAssets/HUD/VehicleSetup_HUD.VehicleSetup_HUD_C, true);0x00A4CallFunc_Array_IsEmpty_ReturnValue = /Script/Engine.Default__KismetArrayLibrary.Array_IsEmpty(CallFunc_GetAllWidgetsOfClass_FoundWidgets);0x00D7if (!(CallFunc_Array_IsEmpty_ReturnValue)) goto Label_016B;0x00E5CallFunc_Create_ReturnValue = /Script/UMG.Default__WidgetBlueprintLibrary.Create(this, /VehicleSystemPlugin/VehicleAssets/HUD/VehicleSetup_HUD.VehicleSetup_HUD_C, nullptr);0x011ASetBoolPropertyByName(CallFunc_Create_ReturnValue, FName(DestroyWhenNoVehicle), true);0x013BCallFunc_AddToPlayerScreen_ReturnValue = CallFunc_Create_ReturnValue.AddToPlayerScreen(0);0x016APopFlow();0x016BLabel_016B:0x016BTemp_int_Loop_Counter_Variable = 0;0x0182Temp_int_Array_Index_Variable = 0;0x0199Label_0199:0x0199CallFunc_Array_Length_ReturnValue = /Script/Engine.Default__KismetArrayLibrary.Array_Length(CallFunc_GetAllWidgetsOfClass_FoundWidgets);0x01D4CallFunc_Less_IntInt_ReturnValue = Less_IntInt(Temp_int_Loop_Counter_Variable, CallFunc_Array_Length_ReturnValue);0x01FAif (!(CallFunc_Less_IntInt_ReturnValue)) PopFlow();0x0204Temp_int_Array_Index_Variable = Temp_int_Loop_Counter_Variable;0x021FPushFlow(Label_0284);0x0224/Script/Engine.Default__KismetArrayLibrary.Array_Get(CallFunc_GetAllWidgetsOfClass_FoundWidgets, Temp_int_Array_Index_Variable, CallFunc_Array_Get_Item);0x025FCallFunc_Array_Get_Item.RemoveFromParent();0x0283PopFlow();0x0284Label_0284:0x0284CallFunc_Add_IntInt_ReturnValue = Add_IntInt(Temp_int_Loop_Counter_Variable, 1);0x02AETemp_int_Loop_Counter_Variable = CallFunc_Add_IntInt_ReturnValue;0x02C9goto Label_0199;0x02CELabel_02CE:0x02CEreturn;0x02D0// end of script
Public0x00
void DebugDraw()
Script51 statements · 1,510 bytes of bytecode
0x0000PushFlow(Label_05E3);0x0005PushFlow(Label_0098);0x000ACallFunc_IsValid_ReturnValue = IsValid(DebugCOM);0x0027if (!(CallFunc_IsValid_ReturnValue)) PopFlow();0x0031CallFunc_GetMeshCenterOfMass_ReturnValue = GetMeshCenterOfMass(VehicleMesh, FName(None));0x0063DebugCOM.K2_SetRelativeLocation(CallFunc_GetMeshCenterOfMass_ReturnValue, false, CallFunc_K2_SetRelativeLocation_SweepHitResult, false);0x0097PopFlow();0x0098Label_0098:0x0098if (!(SuspensionDebug)) PopFlow();0x00A2Temp_int_Loop_Counter_Variable = 0;0x00B9Temp_int_Array_Index_Variable_1 = 0;0x00D0Label_00D0:0x00D0CallFunc_Array_Length_ReturnValue = /Script/Engine.Default__KismetArrayLibrary.Array_Length(DebugTraces);0x010BCallFunc_Less_IntInt_ReturnValue = Less_IntInt(Temp_int_Loop_Counter_Variable, CallFunc_Array_Length_ReturnValue);0x0131if (!(CallFunc_Less_IntInt_ReturnValue)) goto Label_0327;0x013FTemp_int_Array_Index_Variable_1 = Temp_int_Loop_Counter_Variable;0x015APushFlow(Label_0599);0x015FTemp_struct_Variable_1 = LinearColor{0.991102f, 0.287441f, 0f, 1f};0x0193Temp_struct_Variable_2 = LinearColor{1f, 0f, 0f, 1f};0x01C7/Script/Engine.Default__KismetArrayLibrary.Array_Get(DebugTraces, Temp_int_Array_Index_Variable_1, CallFunc_Array_Get_Item);0x0202BreakHitResult(CallFunc_Array_Get_Item, CallFunc_BreakHitResult_bBlockingHit, CallFunc_BreakHitResult_bInitialOverlap, CallFunc_BreakHitResult_Time, CallFunc_BreakHitResult_Distance, CallFunc_BreakHitResult_Location, CallFunc_BreakHitResult_ImpactPoint, CallFunc_BreakHitResult_Normal, CallFunc_BreakHitResult_ImpactNormal, CallFunc_BreakHitResult_PhysMat, CallFunc_BreakHitResult_HitActor, CallFunc_BreakHitResult_HitComponent, CallFunc_BreakHitResult_HitBoneName, CallFunc_BreakHitResult_BoneName, CallFunc_BreakHitResult_HitItem, CallFunc_BreakHitResult_ElementIndex, CallFunc_BreakHitResult_FaceIndex, CallFunc_BreakHitResult_TraceStart, CallFunc_BreakHitResult_TraceEnd);0x02B7Temp_bool_Variable = CallFunc_BreakHitResult_bBlockingHit;0x02CADrawDebugLine(this, CallFunc_BreakHitResult_TraceStart, CallFunc_BreakHitResult_TraceEnd, Switch(Temp_bool_Variable, false => Temp_struct_Variable_2, true => Temp_struct_Variable_1, default => K2Node_Select_Default), 0f, 4f);0x0326PopFlow();0x0327Label_0327:0x0327Temp_int_Loop_Counter_Variable_1 = 0;0x033ETemp_int_Array_Index_Variable = 0;0x0355Label_0355:0x0355CallFunc_Array_Length_ReturnValue_1 = /Script/Engine.Default__KismetArrayLibrary.Array_Length(DebugForces);0x0390CallFunc_Less_IntInt_ReturnValue_1 = Less_IntInt(Temp_int_Loop_Counter_Variable_1, CallFunc_Array_Length_ReturnValue_1);0x03B6if (!(CallFunc_Less_IntInt_ReturnValue_1)) PopFlow();0x03C0Temp_int_Array_Index_Variable = Temp_int_Loop_Counter_Variable_1;0x03DBPushFlow(Label_054F);0x03E0Temp_struct_Variable = LinearColor{1f, 0f, 0f, 1f};0x0414Temp_struct_Variable_3 = LinearColor{1f, 1f, 0f, 1f};0x0448/Script/Engine.Default__KismetArrayLibrary.Array_Get(DebugForces, Temp_int_Array_Index_Variable, CallFunc_Array_Get_Item_1);0x0483Temp_byte_Variable = CallFunc_Array_Get_Item_1.WheelMode;0x04A7CallFunc_Add_VectorVector_ReturnValue = Add_VectorVector(CallFunc_Array_Get_Item_1.Location, CallFunc_Array_Get_Item_1.Force);0x04E7DrawDebugLine(this, CallFunc_Array_Get_Item_1.Location, CallFunc_Add_VectorVector_ReturnValue, Switch(Temp_byte_Variable, 0 => Temp_struct_Variable, 1 => Temp_struct_Variable_3, default => K2Node_Select_Default_1), 0f, 4f);0x054EPopFlow();0x054FLabel_054F:0x054FCallFunc_Add_IntInt_ReturnValue_1 = Add_IntInt(Temp_int_Loop_Counter_Variable_1, 1);0x0579Temp_int_Loop_Counter_Variable_1 = CallFunc_Add_IntInt_ReturnValue_1;0x0594goto Label_0355;0x0599Label_0599:0x0599CallFunc_Add_IntInt_ReturnValue = Add_IntInt(Temp_int_Loop_Counter_Variable, 1);0x05C3Temp_int_Loop_Counter_Variable = CallFunc_Add_IntInt_ReturnValue;0x05DEgoto Label_00D0;0x05E3Label_05E3:0x05E3return;0x05E5// end of script
Private0x00
void DebugPassiveText()
Script18 statements · 684 bytes of bytecode
0x0000CallFunc_Conv_DoubleToString_InDouble_ImplicitCast = Cast<4>(ChaosDeltaTime);0x001DCallFunc_Conv_DoubleToString_ReturnValue = Conv_DoubleToString(CallFunc_Conv_DoubleToString_InDouble_ImplicitCast);0x0042CallFunc_Conv_BoolToString_ReturnValue = Conv_BoolToString(LocalVehicleAtRest);0x0067CallFunc_Conv_BoolToString_ReturnValue_1 = Conv_BoolToString(NetworkAtRest);0x008CCallFunc_Conv_DoubleToString_InDouble_ImplicitCast_1 = Cast<4>(RestTimer);0x00A9CallFunc_Conv_DoubleToString_ReturnValue_1 = Conv_DoubleToString(CallFunc_Conv_DoubleToString_InDouble_ImplicitCast_1);0x00CECallFunc_Concat_StrStr_ReturnValue = Concat_StrStr(CallFunc_Conv_DoubleToString_ReturnValue_1, " -> ");0x00F9CallFunc_Conv_BoolToString_ReturnValue_2 = Conv_BoolToString(PassiveMode);0x011ECallFunc_Concat_StrStr_ReturnValue_1 = Concat_StrStr(CallFunc_Concat_StrStr_ReturnValue, CallFunc_Conv_BoolToString_ReturnValue);0x014CCallFunc_Concat_StrStr_ReturnValue_2 = Concat_StrStr(CallFunc_Concat_StrStr_ReturnValue_1, " -> ");0x0177CallFunc_Concat_StrStr_ReturnValue_3 = Concat_StrStr(CallFunc_Concat_StrStr_ReturnValue_2, CallFunc_Conv_BoolToString_ReturnValue_1);0x01A5CallFunc_Concat_StrStr_ReturnValue_4 = Concat_StrStr(CallFunc_Concat_StrStr_ReturnValue_3, " // ");0x01D0CallFunc_Concat_StrStr_ReturnValue_5 = Concat_StrStr(CallFunc_Concat_StrStr_ReturnValue_4, CallFunc_Conv_BoolToString_ReturnValue_2);0x01FECallFunc_Concat_StrStr_ReturnValue_6 = Concat_StrStr(CallFunc_Concat_StrStr_ReturnValue_5, " /// Chaos: ");0x0231CallFunc_Concat_StrStr_ReturnValue_7 = Concat_StrStr(CallFunc_Concat_StrStr_ReturnValue_6, CallFunc_Conv_DoubleToString_ReturnValue);0x025FPrintString(this, CallFunc_Concat_StrStr_ReturnValue_7, true, false, LinearColor{1f, 0.411281f, 0f, 1f}, 0f, FName(None));0x02A9return;0x02AB// end of script
Private0x00
void PassiveStateChanged(bool NewPassiveState)
Script15 statements · 179 bytes of bytecode
0x0000PassiveStateChanged(NewPassiveState);0x0013if (!(NewPassiveState)) goto Label_0092;0x0021K2_ClearAndInvalidateTimerHandle(this, TPS_Timer);0x0035Label_0035:0x0035CallFunc_IsValid_ReturnValue = IsValid(EngineAudio);0x0052if (!(CallFunc_IsValid_ReturnValue)) goto Label_00B0;0x0060EngineAudio.ChangePassiveState(NewPassiveState);0x008Dgoto Label_00B0;0x0092Label_0092:0x0092ContactModificationDirty = true;0x009DReinit TPS();0x00ABgoto Label_0035;0x00B0Label_00B0:0x00B0return;0x00B2// end of script
EventProtected0x01
bool DeterminePassiveState()
Script14 statements · 438 bytes of bytecode
0x0000Temp_real_Variable = 0.01;0x001BCallFunc_BooleanAND_ReturnValue = BooleanAND(AllowPassiveMode, LocalVehicleAtRest);0x0041CallFunc_Not_PreBool_ReturnValue = Not_PreBool(SyncAsTrailer);0x005ECallFunc_BooleanAND_ReturnValue_1 = BooleanAND(CallFunc_BooleanAND_ReturnValue, CallFunc_Not_PreBool_ReturnValue);0x0084Temp_bool_Variable = EngineRunning;0x0097CallFunc_IsPlayerControlled_ReturnValue = IsPlayerControlled();0x00AFCallFunc_Add_DoubleDouble_ReturnValue = Add_DoubleDouble(IdleRPM, 5);0x00DDCallFunc_Not_PreBool_ReturnValue_1 = Not_PreBool(CallFunc_IsPlayerControlled_ReturnValue);0x00FACallFunc_BooleanAND_ReturnValue_2 = BooleanAND(CallFunc_BooleanAND_ReturnValue_1, CallFunc_Not_PreBool_ReturnValue_1);0x0120CallFunc_LessEqual_DoubleDouble_ReturnValue = LessEqual_DoubleDouble(RPM, Switch(Temp_bool_Variable, false => Temp_real_Variable, true => CallFunc_Add_DoubleDouble_ReturnValue, default => K2Node_Select_Default));0x0172CallFunc_BooleanAND_ReturnValue_3 = BooleanAND(CallFunc_BooleanAND_ReturnValue_2, CallFunc_LessEqual_DoubleDouble_ReturnValue);0x0198ReturnValue = CallFunc_BooleanAND_ReturnValue_3;0x01ABreturn ReturnValue;0x01B5// end of script
EventProtected0x01
void SyncTrailer()
Script23 statements · 733 bytes of bytecode
0x0000CallFunc_IsValid_ReturnValue = IsValid(NetworkTowHitch);0x001DCallFunc_BooleanAND_ReturnValue = BooleanAND(SyncAsTrailer, CallFunc_IsValid_ReturnValue);0x0043if (!(CallFunc_BooleanAND_ReturnValue)) goto Label_02DA;0x0051NetworkTowHitch.GetOwningVehicle(CallFunc_GetOwningVehicle_Vehicle);0x007ECallFunc_GetOwningVehicle_Vehicle.isOwningClient(CallFunc_isOwningClient_OwningClient);0x00ABCallFunc_Not_PreBool_ReturnValue = Not_PreBool(CallFunc_isOwningClient_OwningClient);0x00C8if (!(CallFunc_Not_PreBool_ReturnValue)) goto Label_02DA;0x00D6NetworkTowHitch.GetOwningVehicle(CallFunc_GetOwningVehicle_Vehicle);0x0103CallFunc_GetOwningVehicle_Vehicle.GetHostTrailerRotation(CallFunc_GetHostTrailerRotation_HostTrailerRotation);0x0130CallFunc_NotEqual_RotatorRotator_ReturnValue = NotEqual_RotatorRotator(CallFunc_GetHostTrailerRotation_HostTrailerRotation, FRotator(0, 0, 0), 1e-04f);0x016Bif (!(CallFunc_NotEqual_RotatorRotator_ReturnValue)) goto Label_02DA;0x0179NetworkTowHitch.GetOwningVehicle(CallFunc_GetOwningVehicle_Vehicle);0x01A6CallFunc_GetOwningVehicle_Vehicle.GetHostTrailerRotation(CallFunc_GetHostTrailerRotation_HostTrailerRotation);0x01D3CallFunc_RInterpTo_DeltaTime_ImplicitCast = Cast<3>(TickDelta);0x01F0CallFunc_RInterpTo_ReturnValue = RInterpTo(LocalTrailerRotation, CallFunc_GetHostTrailerRotation_HostTrailerRotation, CallFunc_RInterpTo_DeltaTime_ImplicitCast, 2f);0x022CLocalTrailerRotation = CallFunc_RInterpTo_ReturnValue;0x0247CallFunc_K2_GetActorRotation_ReturnValue = K2_GetActorRotation();0x0263CallFunc_RInterpTo_DeltaTime_ImplicitCast_1 = Cast<3>(TickDelta);0x0280CallFunc_RInterpTo_ReturnValue_1 = RInterpTo(CallFunc_K2_GetActorRotation_ReturnValue, LocalTrailerRotation, CallFunc_RInterpTo_DeltaTime_ImplicitCast_1, 5f);0x02BCCallFunc_K2_SetActorRotation_ReturnValue = K2_SetActorRotation(CallFunc_RInterpTo_ReturnValue_1, false);0x02DALabel_02DA:0x02DAreturn;0x02DC// end of script
Private0x00
void RefreshContactModification(bool Instant)
Script6 statements · 42 bytes of bytecode
0x0000ContactModificationDirty = true;0x000Bif (!(Instant)) goto Label_0027;0x0019RunContactMod();0x0027Label_0027:0x0027return;0x0029// end of script
Public0x01
void SetupWheelContactModification(const bool& RegisterSuccess)
Script57 statements · 1,314 bytes of bytecode
0x0000PushFlow(Label_051F);0x0005GetVehicleMesh(CallFunc_GetVehicleMesh_Mesh);0x001CCallFunc_IsSimulatingPhysics_ReturnValue = CallFunc_GetVehicleMesh_Mesh.IsSimulatingPhysics(FName(None));0x0057if (!(CallFunc_IsSimulatingPhysics_ReturnValue)) goto Label_0218;0x0065Temp_int_Loop_Counter_Variable = 0;0x007CTemp_int_Array_Index_Variable = 0;0x0093Label_0093:0x0093GetAllWheels(CallFunc_GetAllWheels_Wheels);0x00AACallFunc_Array_Length_ReturnValue = /Script/Engine.Default__KismetArrayLibrary.Array_Length(CallFunc_GetAllWheels_Wheels);0x00E5CallFunc_Less_IntInt_ReturnValue = Less_IntInt(Temp_int_Loop_Counter_Variable, CallFunc_Array_Length_ReturnValue);0x010Bif (!(CallFunc_Less_IntInt_ReturnValue)) goto Label_0228;0x0119Temp_int_Array_Index_Variable = Temp_int_Loop_Counter_Variable;0x0134PushFlow(Label_025D);0x0139GetAllWheels(CallFunc_GetAllWheels_Wheels);0x0150/Script/Engine.Default__KismetArrayLibrary.Array_Get(CallFunc_GetAllWheels_Wheels, Temp_int_Array_Index_Variable, CallFunc_Array_Get_Item);0x018BCallFunc_GetWheelMode_ReturnValue = CallFunc_Array_Get_Item.GetWheelMode();0x01BDK2Node_SwitchEnum_CmpSuccess = NotEqual_ByteByte(CallFunc_GetWheelMode_ReturnValue, 0);0x01DCif (!(K2Node_SwitchEnum_CmpSuccess)) goto Label_02A7;0x01EAK2Node_SwitchEnum_CmpSuccess = NotEqual_ByteByte(CallFunc_GetWheelMode_ReturnValue, 1);0x0209if (!(K2Node_SwitchEnum_CmpSuccess)) goto Label_035A;0x0217PopFlow();0x0218Label_0218:0x0218RegisterSuccess = false;0x0223goto Label_051F;0x0228Label_0228:0x0228CallFunc_SetArrayDisabledCollisions_ReturnValue = SetArrayDisabledCollisions(MeshesArray);0x0245RegisterSuccess = CallFunc_SetArrayDisabledCollisions_ReturnValue;0x0258goto Label_051F;0x025DLabel_025D:0x025DCallFunc_Add_IntInt_ReturnValue = Add_IntInt(Temp_int_Loop_Counter_Variable, 1);0x0287Temp_int_Loop_Counter_Variable = CallFunc_Add_IntInt_ReturnValue;0x02A2goto Label_0093;0x02A7Label_02A7:0x02A7GetAllWheels(CallFunc_GetAllWheels_Wheels);0x02BE/Script/Engine.Default__KismetArrayLibrary.Array_Get(CallFunc_GetAllWheels_Wheels, Temp_int_Array_Index_Variable, CallFunc_Array_Get_Item);0x02F9CallFunc_Array_Get_Item.GetWheelMesh(CallFunc_GetWheelMesh_WheelMesh);0x0326CallFunc_K2_IsCollisionEnabled_ReturnValue = CallFunc_GetWheelMesh_WheelMesh.K2_IsCollisionEnabled();0x0350if (!(CallFunc_K2_IsCollisionEnabled_ReturnValue)) PopFlow();0x035ALabel_035A:0x035AGetAllWheels(CallFunc_GetAllWheels_Wheels);0x0371/Script/Engine.Default__KismetArrayLibrary.Array_Get(CallFunc_GetAllWheels_Wheels, Temp_int_Array_Index_Variable, CallFunc_Array_Get_Item);0x03ACCallFunc_GetIsAttached_ReturnValue = CallFunc_Array_Get_Item.GetIsAttached();0x03D6if (!(CallFunc_GetIsAttached_ReturnValue)) goto Label_04A8;0x03E4Label_03E4:0x03E4GetAllWheels(CallFunc_GetAllWheels_Wheels);0x03FB/Script/Engine.Default__KismetArrayLibrary.Array_Get(CallFunc_GetAllWheels_Wheels, Temp_int_Array_Index_Variable, CallFunc_Array_Get_Item);0x0436CallFunc_Array_Get_Item.GetWheelMesh(CallFunc_GetWheelMesh_WheelMesh);0x0463CallFunc_Array_Add_ReturnValue = /Script/Engine.Default__KismetArrayLibrary.Array_Add(MeshesArray, CallFunc_GetWheelMesh_WheelMesh);0x04A7PopFlow();0x04A8Label_04A8:0x04A8GetAllWheels(CallFunc_GetAllWheels_Wheels);0x04BF/Script/Engine.Default__KismetArrayLibrary.Array_Get(CallFunc_GetAllWheels_Wheels, Temp_int_Array_Index_Variable, CallFunc_Array_Get_Item);0x04FAif (!(CallFunc_Array_Get_Item.CollideWhenDetached)) goto Label_03E4;0x051EPopFlow();0x051FLabel_051F:0x051Freturn;0x0521// end of script
Private0x01
void CreateSuspensionPreview(UVehicle_Wheel_C* Wheel)
Script33 statements · 1,629 bytes of bytecode
0x0000Wheel.GetSuspensionPreview(CallFunc_GetSuspensionPreview_EditorPreview);0x002Dif (!(CallFunc_GetSuspensionPreview_EditorPreview)) goto Label_065A;0x003BCallFunc_IsValid_ReturnValue = IsValid(Wheel.WheelStaticMesh);0x006Eif (!(CallFunc_IsValid_ReturnValue)) goto Label_065A;0x007CCallFunc_MakeTransform_ReturnValue_2 = MakeTransform(FVector(0, 0, 0), FRotator(0, 0, 0), FVector(1, 1, 1));0x00E3CallFunc_AddComponent_ReturnValue = AddComponent(FName(NODE_AddStaticMeshComponent-15), false, CallFunc_MakeTransform_ReturnValue_2, this, false);0x0110CallFunc_SetStaticMesh_ReturnValue_1 = CallFunc_AddComponent_ReturnValue.SetStaticMesh(Wheel.WheelStaticMesh);0x015DSetMeshMaterial(CallFunc_AddComponent_ReturnValue, /VehicleSystemPlugin/VehicleAssets/Material/Debug/Debug_Halo_Red.Debug_Halo_Red);0x017DCallFunc_Multiply_DoubleDouble_A_ImplicitCast = Cast<4>(Wheel.WheelConfig.SpringLength);0x01B9CallFunc_Multiply_DoubleDouble_ReturnValue_1 = Multiply_DoubleDouble(CallFunc_Multiply_DoubleDouble_A_ImplicitCast, 0.5);0x01E7CallFunc_MakeVector_ReturnValue_1 = MakeVector(0, 0, CallFunc_Multiply_DoubleDouble_ReturnValue_1);0x021ECallFunc_K2_GetComponentToWorld_ReturnValue = Wheel.K2_GetComponentToWorld();0x0250BreakTransform(CallFunc_K2_GetComponentToWorld_ReturnValue, CallFunc_BreakTransform_Location, CallFunc_BreakTransform_Rotation, CallFunc_BreakTransform_Scale);0x027ECallFunc_TransformLocation_ReturnValue_1 = TransformLocation(CallFunc_K2_GetComponentToWorld_ReturnValue, CallFunc_MakeVector_ReturnValue_1);0x02ACCallFunc_MakeTransform_ReturnValue_1 = MakeTransform(CallFunc_TransformLocation_ReturnValue_1, CallFunc_BreakTransform_Rotation, FVector(1, 1, 1));0x02F3CallFunc_AddComponent_ReturnValue.K2_SetWorldTransform(CallFunc_MakeTransform_ReturnValue_1, false, CallFunc_K2_SetWorldTransform_SweepHitResult, false);0x0327CallFunc_Array_Add_ReturnValue_1 = /Script/Engine.Default__KismetArrayLibrary.Array_Add(DebugMeshes, CallFunc_AddComponent_ReturnValue);0x036BCallFunc_MakeTransform_ReturnValue_3 = MakeTransform(FVector(0, 0, 0), FRotator(0, 0, 0), FVector(1, 1, 1));0x03D2CallFunc_AddComponent_ReturnValue_1 = AddComponent(FName(NODE_AddStaticMeshComponent-16), false, CallFunc_MakeTransform_ReturnValue_3, this, false);0x03FFCallFunc_SetStaticMesh_ReturnValue = CallFunc_AddComponent_ReturnValue_1.SetStaticMesh(Wheel.WheelStaticMesh);0x044CSetMeshMaterial(CallFunc_AddComponent_ReturnValue_1, /VehicleSystemPlugin/VehicleAssets/Material/Debug/Debug_Halo_Green.Debug_Halo_Green);0x046CCallFunc_Multiply_DoubleDouble_A_ImplicitCast_1 = Cast<4>(Wheel.WheelConfig.SpringLength);0x04A8CallFunc_Multiply_DoubleDouble_ReturnValue = Multiply_DoubleDouble(CallFunc_Multiply_DoubleDouble_A_ImplicitCast_1, -0.5);0x04D6CallFunc_MakeVector_ReturnValue = MakeVector(0, 0, CallFunc_Multiply_DoubleDouble_ReturnValue);0x050DCallFunc_K2_GetComponentToWorld_ReturnValue = Wheel.K2_GetComponentToWorld();0x053FBreakTransform(CallFunc_K2_GetComponentToWorld_ReturnValue, CallFunc_BreakTransform_Location, CallFunc_BreakTransform_Rotation, CallFunc_BreakTransform_Scale);0x056DCallFunc_TransformLocation_ReturnValue = TransformLocation(CallFunc_K2_GetComponentToWorld_ReturnValue, CallFunc_MakeVector_ReturnValue);0x059BCallFunc_MakeTransform_ReturnValue = MakeTransform(CallFunc_TransformLocation_ReturnValue, CallFunc_BreakTransform_Rotation, FVector(1, 1, 1));0x05E2CallFunc_AddComponent_ReturnValue_1.K2_SetWorldTransform(CallFunc_MakeTransform_ReturnValue, false, CallFunc_K2_SetWorldTransform_SweepHitResult_1, false);0x0616CallFunc_Array_Add_ReturnValue = /Script/Engine.Default__KismetArrayLibrary.Array_Add(DebugMeshes, CallFunc_AddComponent_ReturnValue_1);0x065ALabel_065A:0x065Areturn;0x065C// end of script
Private0x08
void UpdateWheelTorque(UVehicle_Wheel_C* Wheel)
Script29 statements · 861 bytes of bytecode
0x0000Wheel.GetIsDrivingWheel(CallFunc_GetIsDrivingWheel_isDrivingWheel);0x002Dif (!(CallFunc_GetIsDrivingWheel_isDrivingWheel)) goto Label_035A;0x003BWheel.GetWheelTorque(CallFunc_GetWheelTorque_WheelTorque);0x0068CallFunc_NotEqual_DoubleDouble_ReturnValue = NotEqual_DoubleDouble(CallFunc_GetWheelTorque_WheelTorque, Torque);0x008Eif (!(CallFunc_NotEqual_DoubleDouble_ReturnValue)) goto Label_035A;0x009CTemp_bool_Variable = false;0x00A7Wheel.GetIsLocked(CallFunc_GetIsLocked_isLocked);0x00D4Temp_bool_Variable_1 = true;0x00DFTemp_bool_Variable_2 = false;0x00EATemp_bool_Variable_3 = true;0x00F5CallFunc_Greater_DoubleDouble_ReturnValue = Greater_DoubleDouble(AirSpeed, TargetSpeed);0x011BCallFunc_EqualEqual_IntInt_ReturnValue = EqualEqual_IntInt(CurrentGear, -1);0x013DTemp_byte_Variable = Shifter;0x0158CallFunc_BooleanOR_ReturnValue = BooleanOR(Switch(Temp_byte_Variable, 0 => Temp_bool_Variable_3, 1 => Temp_bool_Variable_2, 2 => Temp_bool_Variable_1, 3 => Temp_bool_Variable, default => K2Node_Select_Default), CallFunc_GetIsLocked_isLocked);0x01CACallFunc_BooleanOR_ReturnValue_1 = BooleanOR(CallFunc_BooleanOR_ReturnValue, CallFunc_Greater_DoubleDouble_ReturnValue);0x01F0CallFunc_BooleanOR_ReturnValue_2 = BooleanOR(CallFunc_BooleanOR_ReturnValue_1, CallFunc_EqualEqual_IntInt_ReturnValue);0x0216if (!(CallFunc_BooleanOR_ReturnValue_2)) goto Label_02AE;0x0224GetSpeedUnitData(CallFunc_GetSpeedUnitData_SpeedUnit);0x023BCallFunc_Multiply_DoubleDouble_ReturnValue = Multiply_DoubleDouble(TargetSpeed, CallFunc_GetSpeedUnitData_SpeedUnit.ToCm_18_AC487B3549C4602F8051A7BEFD1ECEAB);0x0272Wheel.SetVehicleTorque(CallFunc_Multiply_DoubleDouble_ReturnValue, 0, false);0x02A9goto Label_035A;0x02AELabel_02AE:0x02AEGetSpeedUnitData(CallFunc_GetSpeedUnitData_SpeedUnit);0x02C5CallFunc_Multiply_DoubleDouble_ReturnValue = Multiply_DoubleDouble(TargetSpeed, CallFunc_GetSpeedUnitData_SpeedUnit.ToCm_18_AC487B3549C4602F8051A7BEFD1ECEAB);0x02FCCallFunc_EqualEqual_ByteByte_ReturnValue = EqualEqual_ByteByte(Shifter, 1);0x031BWheel.SetVehicleTorque(CallFunc_Multiply_DoubleDouble_ReturnValue, Torque, CallFunc_EqualEqual_ByteByte_ReturnValue);0x035ALabel_035A:0x035Areturn;0x035C// end of script
Public0x08
void SetMeshMaterial(UStaticMeshComponent* Mesh, UMaterialInterface* Material)
Script16 statements · 267 bytes of bytecode
0x0000PushFlow(Label_0108);0x0005Temp_int_Variable = 0;0x001CLabel_001C:0x001CCallFunc_GetNumMaterials_ReturnValue = Mesh.GetNumMaterials();0x0052CallFunc_LessEqual_IntInt_ReturnValue = LessEqual_IntInt(Temp_int_Variable, CallFunc_GetNumMaterials_ReturnValue);0x0078if (!(CallFunc_LessEqual_IntInt_ReturnValue)) PopFlow();0x0082PushFlow(Label_00BE);0x0087Mesh.SetMaterial(Temp_int_Variable, Material);0x00BDPopFlow();0x00BELabel_00BE:0x00BECallFunc_Add_IntInt_ReturnValue = Add_IntInt(Temp_int_Variable, 1);0x00E8Temp_int_Variable = CallFunc_Add_IntInt_ReturnValue;0x0103goto Label_001C;0x0108Label_0108:0x0108return;0x010A// end of script
Private0x10
void SuspensionPreview()
Script44 statements · 915 bytes of bytecode
0x0000PushFlow(Label_0390);0x0005PushFlow(Label_0186);0x000ATemp_int_Loop_Counter_Variable_1 = 0;0x0021Temp_int_Array_Index_Variable = 0;0x0038Label_0038:0x0038CallFunc_Array_Length_ReturnValue_1 = /Script/Engine.Default__KismetArrayLibrary.Array_Length(DebugMeshes);0x0073CallFunc_Less_IntInt_ReturnValue_1 = Less_IntInt(Temp_int_Loop_Counter_Variable_1, CallFunc_Array_Length_ReturnValue_1);0x0099if (!(CallFunc_Less_IntInt_ReturnValue_1)) goto Label_031C;0x00A7Temp_int_Array_Index_Variable = Temp_int_Loop_Counter_Variable_1;0x00C2PushFlow(Label_0346);0x00C7/Script/Engine.Default__KismetArrayLibrary.Array_Get(DebugMeshes, Temp_int_Array_Index_Variable, CallFunc_Array_Get_Item_1);0x0102CallFunc_IsValid_ReturnValue = IsValid(CallFunc_Array_Get_Item_1);0x011Fif (!(CallFunc_IsValid_ReturnValue)) PopFlow();0x0129/Script/Engine.Default__KismetArrayLibrary.Array_Get(DebugMeshes, Temp_int_Array_Index_Variable, CallFunc_Array_Get_Item_1);0x0164CallFunc_Array_Get_Item_1.K2_DestroyComponent(this);0x0185PopFlow();0x0186Label_0186:0x0186CallFunc_K2_GetComponentsByClass_ReturnValue = K2_GetComponentsByClass(/VehicleSystemPlugin/VehicleAssets/Components/Vehicle_Wheel.Vehicle_Wheel_C);0x01ABL_WheelComps = CallFunc_K2_GetComponentsByClass_ReturnValue;0x01C6Temp_int_Loop_Counter_Variable = 0;0x01DDTemp_int_Array_Index_Variable_1 = 0;0x01F4Label_01F4:0x01F4CallFunc_Array_Length_ReturnValue = /Script/Engine.Default__KismetArrayLibrary.Array_Length(L_WheelComps);0x022FCallFunc_Less_IntInt_ReturnValue = Less_IntInt(Temp_int_Loop_Counter_Variable, CallFunc_Array_Length_ReturnValue);0x0255if (!(CallFunc_Less_IntInt_ReturnValue)) PopFlow();0x025FTemp_int_Array_Index_Variable_1 = Temp_int_Loop_Counter_Variable;0x027APushFlow(Label_02D2);0x027F/Script/Engine.Default__KismetArrayLibrary.Array_Get(L_WheelComps, Temp_int_Array_Index_Variable_1, CallFunc_Array_Get_Item);0x02BACreateSuspensionPreview(CallFunc_Array_Get_Item);0x02D1PopFlow();0x02D2Label_02D2:0x02D2CallFunc_Add_IntInt_ReturnValue = Add_IntInt(Temp_int_Loop_Counter_Variable, 1);0x02FCTemp_int_Loop_Counter_Variable = CallFunc_Add_IntInt_ReturnValue;0x0317goto Label_01F4;0x031CLabel_031C:0x031C/Script/Engine.Default__KismetArrayLibrary.Array_Clear(DebugMeshes);0x0345PopFlow();0x0346Label_0346:0x0346CallFunc_Add_IntInt_ReturnValue_1 = Add_IntInt(Temp_int_Loop_Counter_Variable_1, 1);0x0370Temp_int_Loop_Counter_Variable_1 = CallFunc_Add_IntInt_ReturnValue_1;0x038Bgoto Label_0038;0x0390Label_0390:0x0390return;0x0392// end of script
Public0x00
void OnRep_Shifter()
Script9 statements · 142 bytes of bytecode
0x0000UpdateWheelLocks();0x000EWakePhysics();0x001CCallFunc_NotEqual_ByteByte_ReturnValue = NotEqual_ByteByte(Shifter, PreviousShifter);0x0042if (!(CallFunc_NotEqual_ByteByte_ReturnValue)) goto Label_008B;0x0050OnShifterUpdatedEvent(PreviousShifter, Shifter);0x0070PreviousShifter = Shifter;0x008BLabel_008B:0x008Breturn;0x008D// end of script
0x00
void OnRep_SteeringInput()
Script2 statements · 3 bytes of bytecode
0x0000return;0x0002// end of script
0x00
void OnRep_BrakeInput()
Script8 statements · 115 bytes of bytecode
0x0000OnBrakeInputUpdated(BrakeInput);0x0017GetAirSpeed(CallFunc_GetAirSpeed_AirSpeed);0x002ECallFunc_Greater_DoubleDouble_ReturnValue = Greater_DoubleDouble(CallFunc_GetAirSpeed_AirSpeed, 0.1);0x0054if (!(CallFunc_Greater_DoubleDouble_ReturnValue)) goto Label_0070;0x0062WakePhysics();0x0070Label_0070:0x0070return;0x0072// end of script
0x00
void OnRep_ThrottleInput()
Script7 statements · 92 bytes of bytecode
0x0000GetTorque(CallFunc_GetTorque_Torque);0x0017CallFunc_Greater_DoubleDouble_ReturnValue = Greater_DoubleDouble(CallFunc_GetTorque_Torque, 0);0x003Dif (!(CallFunc_Greater_DoubleDouble_ReturnValue)) goto Label_0059;0x004BWakePhysics();0x0059Label_0059:0x0059return;0x005B// end of script
0x00
void WakePhysics()
Script8 statements · 117 bytes of bytecode
0x0000CallFunc_IsAnyRigidBodyAwake_ReturnValue = VehicleMesh.IsAnyRigidBodyAwake();0x002Eif (!(CallFunc_IsAnyRigidBodyAwake_ReturnValue)) goto Label_0041;0x003Cgoto Label_0072;0x0041Label_0041:0x0041VehicleMesh.WakeRigidBody(FName(None));0x0072Label_0072:0x0072return;0x0074// end of script
Private0x00
void IsCinematic(const bool& IsCinematic)
Script6 statements · 113 bytes of bytecode
0x0000CallFunc_IsPlayerControlled_ReturnValue = IsPlayerControlled();0x0018CallFunc_Not_PreBool_ReturnValue = Not_PreBool(CallFunc_IsPlayerControlled_ReturnValue);0x0035CallFunc_BooleanAND_ReturnValue = BooleanAND(CinematicPlayback, CallFunc_Not_PreBool_ReturnValue);0x005BIsCinematic = CallFunc_BooleanAND_ReturnValue;0x006Ereturn;0x0070// end of script
Public0x01
void UpdateLinearDamping()
Script38 statements · 1,178 bytes of bytecode
0x0000GetVehicleMesh(CallFunc_GetVehicleMesh_Mesh_1);0x0017CallFunc_IsSimulatingPhysics_ReturnValue = CallFunc_GetVehicleMesh_Mesh_1.IsSimulatingPhysics(FName(None));0x0052CallFunc_EqualEqual_DoubleDouble_ReturnValue = EqualEqual_DoubleDouble(ThrottleInput, 0);0x0078CallFunc_LessEqual_DoubleDouble_ReturnValue = LessEqual_DoubleDouble(AirSpeed, 0.5);0x009ECallFunc_BooleanAND_ReturnValue = BooleanAND(CallFunc_LessEqual_DoubleDouble_ReturnValue, CallFunc_EqualEqual_DoubleDouble_ReturnValue);0x00C4CallFunc_BooleanAND_ReturnValue_1 = BooleanAND(CallFunc_BooleanAND_ReturnValue, CallFunc_IsSimulatingPhysics_ReturnValue);0x00EAif (!(CallFunc_BooleanAND_ReturnValue_1)) goto Label_02E3;0x00F8GetVehicleMesh(CallFunc_GetVehicleMesh_Mesh);0x010FCallFunc_GetPhysicsLinearVelocity_ReturnValue = CallFunc_GetVehicleMesh_Mesh.GetPhysicsLinearVelocity(FName(None));0x014EGetVehicleMesh(CallFunc_GetVehicleMesh_Mesh);0x0165CallFunc_GetLinearDamping_ReturnValue = CallFunc_GetVehicleMesh_Mesh.GetLinearDamping();0x019BCallFunc_VSize_ReturnValue = VSize(CallFunc_GetPhysicsLinearVelocity_ReturnValue);0x01C0CallFunc_MapRangeClamped_ReturnValue = MapRangeClamped(CallFunc_VSize_ReturnValue, 0, 5, 15, 5);0x0209CallFunc_FMax_ReturnValue = FMax(CallFunc_MapRangeClamped_ReturnValue, BaseLinearDrag);0x0237CallFunc_FInterpTo_Constant_Current_ImplicitCast = Cast<4>(CallFunc_GetLinearDamping_ReturnValue);0x0254CallFunc_FInterpTo_Constant_ReturnValue = FInterpTo_Constant(CallFunc_FInterpTo_Constant_Current_ImplicitCast, CallFunc_FMax_ReturnValue, 0.1, 1);0x0294CallFunc_SetLinearDamping_InDamping_ImplicitCast = Cast<3>(CallFunc_FInterpTo_Constant_ReturnValue);0x02B1CallFunc_GetVehicleMesh_Mesh.SetLinearDamping(CallFunc_SetLinearDamping_InDamping_ImplicitCast);0x02DEgoto Label_0497;0x02E3Label_02E3:0x02E3if (!(DynamicAirDrag)) goto Label_0436;0x02F1CallFunc_Greater_DoubleDouble_ReturnValue = Greater_DoubleDouble(AirSpeed, 7);0x0317if (!(CallFunc_Greater_DoubleDouble_ReturnValue)) goto Label_0436;0x0325CallFunc_Greater_DoubleDouble_ReturnValue_1 = Greater_DoubleDouble(Slip, 0.10000000149011612);0x034Bif (!(CallFunc_Greater_DoubleDouble_ReturnValue_1)) goto Label_0436;0x0359GetVehicleMesh(CallFunc_GetVehicleMesh_Mesh_3);0x0370CallFunc_MapRangeClamped_ReturnValue_1 = MapRangeClamped(Slip, 0, 1, 0.019999999552965164, 0.25);0x03B9CallFunc_Add_DoubleDouble_ReturnValue = Add_DoubleDouble(BaseLinearDrag, CallFunc_MapRangeClamped_ReturnValue_1);0x03E7CallFunc_SetLinearDamping_InDamping_ImplicitCast_2 = Cast<3>(CallFunc_Add_DoubleDouble_ReturnValue);0x0404CallFunc_GetVehicleMesh_Mesh_3.SetLinearDamping(CallFunc_SetLinearDamping_InDamping_ImplicitCast_2);0x0431goto Label_0497;0x0436Label_0436:0x0436GetVehicleMesh(CallFunc_GetVehicleMesh_Mesh_2);0x044DCallFunc_SetLinearDamping_InDamping_ImplicitCast_1 = Cast<3>(BaseLinearDrag);0x046ACallFunc_GetVehicleMesh_Mesh_2.SetLinearDamping(CallFunc_SetLinearDamping_InDamping_ImplicitCast_1);0x0497Label_0497:0x0497return;0x0499// end of script
Private0x00
void AnyWheelContact(const bool& WheelContact)
Script31 statements · 564 bytes of bytecode
0x0000PushFlow(Label_0231);0x0005AWheelTouched = false;0x0010Temp_bool_True_if_break_was_hit_Variable = false;0x001BTemp_int_Loop_Counter_Variable = 0;0x0032Temp_int_Array_Index_Variable = 0;0x0049Label_0049:0x0049CallFunc_Not_PreBool_ReturnValue = Not_PreBool(Temp_bool_True_if_break_was_hit_Variable);0x0066GetAllWheels(CallFunc_GetAllWheels_Wheels);0x007DCallFunc_Array_Length_ReturnValue = /Script/Engine.Default__KismetArrayLibrary.Array_Length(CallFunc_GetAllWheels_Wheels);0x00B8CallFunc_Less_IntInt_ReturnValue = Less_IntInt(Temp_int_Loop_Counter_Variable, CallFunc_Array_Length_ReturnValue);0x00DECallFunc_BooleanAND_ReturnValue = BooleanAND(CallFunc_Not_PreBool_ReturnValue, CallFunc_Less_IntInt_ReturnValue);0x0104if (!(CallFunc_BooleanAND_ReturnValue)) goto Label_01CF;0x0112Temp_int_Array_Index_Variable = Temp_int_Loop_Counter_Variable;0x012DPushFlow(Label_01E7);0x0132GetAllWheels(CallFunc_GetAllWheels_Wheels);0x0149/Script/Engine.Default__KismetArrayLibrary.Array_Get(CallFunc_GetAllWheels_Wheels, Temp_int_Array_Index_Variable, CallFunc_Array_Get_Item);0x0184CallFunc_GetHasContact_ReturnValue = CallFunc_Array_Get_Item.GetHasContact();0x01AEif (!(CallFunc_GetHasContact_ReturnValue)) PopFlow();0x01B8AWheelTouched = true;0x01C3Temp_bool_True_if_break_was_hit_Variable = true;0x01CEPopFlow();0x01CFLabel_01CF:0x01CFWheelContact = AWheelTouched;0x01E2goto Label_0231;0x01E7Label_01E7:0x01E7CallFunc_Add_IntInt_ReturnValue = Add_IntInt(Temp_int_Loop_Counter_Variable, 1);0x0211Temp_int_Loop_Counter_Variable = CallFunc_Add_IntInt_ReturnValue;0x022Cgoto Label_0049;0x0231Label_0231:0x0231return;0x0233// end of script
Public0x01
void DoStabilityControl()
Script35 statements · 1,301 bytes of bytecode
0x0000if (!(StabilityControl)) goto Label_0512;0x000EGetAirSpeed(CallFunc_GetAirSpeed_AirSpeed);0x0025CallFunc_Greater_DoubleDouble_ReturnValue = Greater_DoubleDouble(CallFunc_GetAirSpeed_AirSpeed, 15);0x004Bif (!(CallFunc_Greater_DoubleDouble_ReturnValue)) goto Label_0512;0x0059AnyWheelContact(CallFunc_AnyWheelContact_WheelContact);0x0070if (!(CallFunc_AnyWheelContact_WheelContact)) goto Label_0512;0x007EGetVehicleMesh(CallFunc_GetVehicleMesh_Mesh_3);0x0095CallFunc_GetPhysicsLinearVelocity_ReturnValue = CallFunc_GetVehicleMesh_Mesh_3.GetPhysicsLinearVelocity(FName(None));0x00D4CallFunc_MakeVector_ReturnValue = MakeVector(0, 0, StabilityControlForce);0x010BGetVehicleMesh(CallFunc_GetVehicleMesh_Mesh);0x0122GetVehicleMesh(CallFunc_GetVehicleMesh_Mesh_1);0x0139CallFunc_K2_GetComponentRotation_ReturnValue = CallFunc_GetVehicleMesh_Mesh.K2_GetComponentRotation();0x016BGetVehicleMesh(CallFunc_GetVehicleMesh_Mesh_2);0x0182CallFunc_GetPhysicsAngularVelocityInDegrees_ReturnValue = CallFunc_GetVehicleMesh_Mesh_2.GetPhysicsAngularVelocityInDegrees(FName(None));0x01C1CallFunc_K2_GetComponentToWorld_ReturnValue = CallFunc_GetVehicleMesh_Mesh_2.K2_GetComponentToWorld();0x01F3CallFunc_InverseTransformDirection_ReturnValue = InverseTransformDirection(CallFunc_K2_GetComponentToWorld_ReturnValue, CallFunc_GetPhysicsAngularVelocityInDegrees_ReturnValue);0x0221CallFunc_InverseTransformDirection_ReturnValue_1 = InverseTransformDirection(CallFunc_K2_GetComponentToWorld_ReturnValue, CallFunc_GetPhysicsLinearVelocity_ReturnValue);0x024FCallFunc_Conv_VectorToRotator_ReturnValue = Conv_VectorToRotator(CallFunc_InverseTransformDirection_ReturnValue_1);0x0274BreakRotator(CallFunc_Conv_VectorToRotator_ReturnValue, CallFunc_BreakRotator_Roll, CallFunc_BreakRotator_Pitch, CallFunc_BreakRotator_Yaw);0x02A2CallFunc_MapRangeClamped_Value_ImplicitCast = Cast<4>(CallFunc_BreakRotator_Yaw);0x02BFCallFunc_MapRangeClamped_ReturnValue = MapRangeClamped(CallFunc_MapRangeClamped_Value_ImplicitCast, -45, 45, -1, 1);0x0308CallFunc_Multiply_DoubleDouble_ReturnValue = Multiply_DoubleDouble(StabilityControlForce, CallFunc_MapRangeClamped_ReturnValue);0x0336CallFunc_MakeVector_ReturnValue_1 = MakeVector(0, 0, CallFunc_Multiply_DoubleDouble_ReturnValue);0x036DCallFunc_Subtract_VectorVector_ReturnValue = Subtract_VectorVector(CallFunc_MakeVector_ReturnValue_1, CallFunc_InverseTransformDirection_ReturnValue);0x039BCallFunc_Vector_GetSignVector_ReturnValue = Vector_GetSignVector(CallFunc_Subtract_VectorVector_ReturnValue);0x03C0CallFunc_Vector_GetAbs_ReturnValue = Vector_GetAbs(CallFunc_Subtract_VectorVector_ReturnValue);0x03E5CallFunc_Vector_ComponentMin_ReturnValue = Vector_ComponentMin(CallFunc_Vector_GetAbs_ReturnValue, CallFunc_MakeVector_ReturnValue);0x0413CallFunc_Multiply_VectorVector_ReturnValue = Multiply_VectorVector(CallFunc_Vector_ComponentMin_ReturnValue, CallFunc_Vector_GetSignVector_ReturnValue);0x0441CallFunc_Multiply_VectorVector_ReturnValue_1 = Multiply_VectorVector(CallFunc_Multiply_VectorVector_ReturnValue, FVector(0, 0, 1));0x047FCallFunc_Multiply_VectorFloat_ReturnValue = Multiply_VectorFloat(CallFunc_Multiply_VectorVector_ReturnValue_1, TickDelta);0x04ADCallFunc_GreaterGreater_VectorRotator_ReturnValue = GreaterGreater_VectorRotator(CallFunc_Multiply_VectorFloat_ReturnValue, CallFunc_K2_GetComponentRotation_ReturnValue);0x04DBCallFunc_GetVehicleMesh_Mesh_1.SetPhysicsAngularVelocityInDegrees(CallFunc_GreaterGreater_VectorRotator_ReturnValue, true, FName(None));0x0512Label_0512:0x0512return;0x0514// end of script
Private0x00
void DestroyOwnedComponent(UActorComponent* Target)
Script3 statements · 36 bytes of bytecode
0x0000Target.K2_DestroyComponent(this);0x0021return;0x0023// end of script
Public0x08
void AutomaticShifterPosition()
Script56 statements · 1,095 bytes of bytecode
0x0000CallFunc_HasAuthority_ReturnValue = HasAuthority();0x0014CallFunc_IsPlayerControlled_ReturnValue = this.IsPlayerControlled();0x003ACallFunc_Not_PreBool_ReturnValue = Not_PreBool(CallFunc_IsPlayerControlled_ReturnValue);0x0057CallFunc_IsLocallyControlled_ReturnValue = this.IsLocallyControlled();0x007DCallFunc_BooleanAND_ReturnValue = BooleanAND(CallFunc_Not_PreBool_ReturnValue, CallFunc_HasAuthority_ReturnValue);0x00A3CallFunc_BooleanOR_ReturnValue = BooleanOR(CallFunc_IsLocallyControlled_ReturnValue, CallFunc_BooleanAND_ReturnValue);0x00C9if (!(CallFunc_BooleanOR_ReturnValue)) goto Label_0444;0x00D7if (!(AutomaticShifterPositon)) goto Label_0444;0x00E5GetShifterPosition(CallFunc_GetShifterPosition_ShifterPos);0x00FCK2Node_SwitchEnum_CmpSuccess = NotEqual_ByteByte(CallFunc_GetShifterPosition_ShifterPos, 0);0x011Bif (!(K2Node_SwitchEnum_CmpSuccess)) goto Label_01B5;0x0129K2Node_SwitchEnum_CmpSuccess = NotEqual_ByteByte(CallFunc_GetShifterPosition_ShifterPos, 1);0x0148if (!(K2Node_SwitchEnum_CmpSuccess)) goto Label_024A;0x0156K2Node_SwitchEnum_CmpSuccess = NotEqual_ByteByte(CallFunc_GetShifterPosition_ShifterPos, 2);0x0175if (!(K2Node_SwitchEnum_CmpSuccess)) goto Label_02F6;0x0183K2Node_SwitchEnum_CmpSuccess = NotEqual_ByteByte(CallFunc_GetShifterPosition_ShifterPos, 3);0x01A2if (!(K2Node_SwitchEnum_CmpSuccess)) goto Label_039D;0x01B0goto Label_0444;0x01B5Label_01B5:0x01B5CallFunc_GreaterEqual_DoubleDouble_ReturnValue_2 = GreaterEqual_DoubleDouble(BrakeInput, 0.10000000149011612);0x01DBCallFunc_GreaterEqual_DoubleDouble_ReturnValue_3 = GreaterEqual_DoubleDouble(ThrottleInput, 0.10000000149011612);0x0201CallFunc_BooleanOR_ReturnValue_1 = BooleanOR(CallFunc_GreaterEqual_DoubleDouble_ReturnValue_3, CallFunc_GreaterEqual_DoubleDouble_ReturnValue_2);0x0227if (!(CallFunc_BooleanOR_ReturnValue_1)) goto Label_0444;0x0235SetShifterPosition(2);0x0245goto Label_0444;0x024ALabel_024A:0x024ACallFunc_LessEqual_DoubleDouble_ReturnValue_1 = LessEqual_DoubleDouble(ThrottleInput, 0.0010000000474974513);0x0270GetAirSpeed(CallFunc_GetAirSpeed_AirSpeed);0x0287CallFunc_LessEqual_DoubleDouble_ReturnValue_2 = LessEqual_DoubleDouble(CallFunc_GetAirSpeed_AirSpeed, 2.5);0x02ADCallFunc_BooleanAND_ReturnValue_1 = BooleanAND(CallFunc_LessEqual_DoubleDouble_ReturnValue_2, CallFunc_LessEqual_DoubleDouble_ReturnValue_1);0x02D3if (!(CallFunc_BooleanAND_ReturnValue_1)) goto Label_0444;0x02E1SetShifterPosition(2);0x02F1goto Label_0444;0x02F6Label_02F6:0x02F6CallFunc_GreaterEqual_DoubleDouble_ReturnValue_1 = GreaterEqual_DoubleDouble(ThrottleInput, 0.10000000149011612);0x031Cif (!(CallFunc_GreaterEqual_DoubleDouble_ReturnValue_1)) goto Label_033F;0x032ASetShifterPosition(3);0x033Agoto Label_0444;0x033FLabel_033F:0x033FCallFunc_GreaterEqual_DoubleDouble_ReturnValue = GreaterEqual_DoubleDouble(BrakeInput, 0.10000000149011612);0x0365if (!(CallFunc_GreaterEqual_DoubleDouble_ReturnValue)) goto Label_0388;0x0373SetShifterPosition(1);0x0383goto Label_0444;0x0388Label_0388:0x0388SetShifterPosition(0);0x0398goto Label_0444;0x039DLabel_039D:0x039DCallFunc_LessEqual_DoubleDouble_ReturnValue = LessEqual_DoubleDouble(ThrottleInput, 0.0010000000474974513);0x03C3GetAirSpeed(CallFunc_GetAirSpeed_AirSpeed_1);0x03DACallFunc_LessEqual_DoubleDouble_ReturnValue_3 = LessEqual_DoubleDouble(CallFunc_GetAirSpeed_AirSpeed_1, 2.5);0x0400CallFunc_BooleanAND_ReturnValue_2 = BooleanAND(CallFunc_LessEqual_DoubleDouble_ReturnValue_3, CallFunc_LessEqual_DoubleDouble_ReturnValue);0x0426if (!(CallFunc_BooleanAND_ReturnValue_2)) goto Label_0444;0x0434SetShifterPosition(2);0x0444Label_0444:0x0444return;0x0446// end of script
Private0x00
void ReprojectWheels()
Script62 statements · 2,274 bytes of bytecode
0x0000PushFlow(Label_08DF);0x0005if (!(WheelReprojection)) PopFlow();0x000FTemp_int_Loop_Counter_Variable = 0;0x0026Temp_int_Array_Index_Variable = 0;0x003DLabel_003D:0x003DGetAllWheels(CallFunc_GetAllWheels_Wheels);0x0054CallFunc_Array_Length_ReturnValue = /Script/Engine.Default__KismetArrayLibrary.Array_Length(CallFunc_GetAllWheels_Wheels);0x008FCallFunc_Less_IntInt_ReturnValue = Less_IntInt(Temp_int_Loop_Counter_Variable, CallFunc_Array_Length_ReturnValue);0x00B5if (!(CallFunc_Less_IntInt_ReturnValue)) PopFlow();0x00BFTemp_int_Array_Index_Variable = Temp_int_Loop_Counter_Variable;0x00DAPushFlow(Label_0895);0x00DFGetAllWheels(CallFunc_GetAllWheels_Wheels);0x00F6/Script/Engine.Default__KismetArrayLibrary.Array_Get(CallFunc_GetAllWheels_Wheels, Temp_int_Array_Index_Variable, CallFunc_Array_Get_Item);0x0131CallFunc_GetIsAttached_ReturnValue = CallFunc_Array_Get_Item.GetIsAttached();0x015Bif (!(CallFunc_GetIsAttached_ReturnValue)) PopFlow();0x0165BreakVector2D(CamberDecompressed, CallFunc_BreakVector2D_X, CallFunc_BreakVector2D_Y);0x018ABreakVector2D(CamberCompressed, CallFunc_BreakVector2D_X_1, CallFunc_BreakVector2D_Y_1);0x01AFTemp_bool_Variable = WheelReprojectionCamber;0x01C2GetAllWheels(CallFunc_GetAllWheels_Wheels);0x01D9/Script/Engine.Default__KismetArrayLibrary.Array_Get(CallFunc_GetAllWheels_Wheels, Temp_int_Array_Index_Variable, CallFunc_Array_Get_Item);0x0214CallFunc_K2_GetComponentToWorld_ReturnValue = CallFunc_Array_Get_Item.K2_GetComponentToWorld();0x0246CallFunc_Array_Get_Item.GetWheelMesh(CallFunc_GetWheelMesh_WheelMesh);0x0273CallFunc_K2_GetComponentToWorld_ReturnValue_1 = CallFunc_GetWheelMesh_WheelMesh.K2_GetComponentToWorld();0x02A5CallFunc_Array_Get_Item.GetProjectedMesh(CallFunc_GetProjectedMesh_ProjectedMesh);0x02D2CallFunc_MakeRelativeTransform_ReturnValue = MakeRelativeTransform(CallFunc_K2_GetComponentToWorld_ReturnValue_1, CallFunc_K2_GetComponentToWorld_ReturnValue);0x0300CallFunc_K2_GetComponentLocation_ReturnValue = CallFunc_GetProjectedMesh_ProjectedMesh.K2_GetComponentLocation();0x0332BreakTransform(CallFunc_MakeRelativeTransform_ReturnValue, CallFunc_BreakTransform_Location, CallFunc_BreakTransform_Rotation, CallFunc_BreakTransform_Scale);0x0360CallFunc_Array_Get_Item.GetWheelMesh(CallFunc_GetWheelMesh_WheelMesh_1);0x038DBreakVector(CallFunc_BreakTransform_Location, CallFunc_BreakVector_X, CallFunc_BreakVector_Y, CallFunc_BreakVector_Z);0x03BBCallFunc_K2_GetComponentLocation_ReturnValue_1 = CallFunc_GetWheelMesh_WheelMesh_1.K2_GetComponentLocation();0x03EDCallFunc_MapRangeClamped_ReturnValue = MapRangeClamped(CallFunc_BreakVector_Z, CallFunc_BreakVector2D_X_1, CallFunc_BreakVector2D_X, CallFunc_BreakVector2D_Y_1, CallFunc_BreakVector2D_Y);0x0436CallFunc_VLerp_Alpha_ImplicitCast = Cast<3>(ReprojectionSmoothAlpha);0x0453CallFunc_VLerp_ReturnValue = VLerp(CallFunc_K2_GetComponentLocation_ReturnValue, CallFunc_K2_GetComponentLocation_ReturnValue_1, CallFunc_VLerp_Alpha_ImplicitCast);0x048ACallFunc_MakeRotator_Pitch_ImplicitCast = Cast<3>(CallFunc_MapRangeClamped_ReturnValue);0x04A7CallFunc_MakeRotator_ReturnValue = MakeRotator(0f, CallFunc_MakeRotator_Pitch_ImplicitCast, 0f);0x04D6CallFunc_Array_Get_Item.GetWheelMesh(CallFunc_GetWheelMesh_WheelMesh_2);0x0503CallFunc_K2_GetComponentRotation_ReturnValue = CallFunc_GetWheelMesh_WheelMesh_2.K2_GetComponentRotation();0x0535CallFunc_Array_Get_Item.GetWheelController(CallFunc_GetWheelController_ControllerMesh);0x0562CallFunc_Conv_RotatorToVector_ReturnValue = Conv_RotatorToVector(CallFunc_K2_GetComponentRotation_ReturnValue);0x0587CallFunc_GetRightVector_ReturnValue = CallFunc_GetWheelController_ControllerMesh.GetRightVector();0x05B9CallFunc_Conv_VectorToRotator_ReturnValue = Conv_VectorToRotator(CallFunc_GetRightVector_ReturnValue);0x05DECallFunc_Array_Get_Item.GetProjectedMesh(CallFunc_GetProjectedMesh_ProjectedMesh_1);0x060BCallFunc_ComposeRotators_ReturnValue = ComposeRotators(CallFunc_MakeRotator_ReturnValue, CallFunc_Conv_VectorToRotator_ReturnValue);0x0639CallFunc_Conv_RotatorToVector_ReturnValue_1 = Conv_RotatorToVector(CallFunc_ComposeRotators_ReturnValue);0x065ECallFunc_MakeRotFromYX_ReturnValue = MakeRotFromYX(Switch(Temp_bool_Variable, false => CallFunc_GetRightVector_ReturnValue, true => CallFunc_Conv_RotatorToVector_ReturnValue_1, default => K2Node_Select_Default), CallFunc_Conv_RotatorToVector_ReturnValue);0x06B8CallFunc_GetProjectedMesh_ProjectedMesh_1.K2_SetWorldLocationAndRotation(CallFunc_VLerp_ReturnValue, CallFunc_MakeRotFromYX_ReturnValue, false, CallFunc_K2_SetWorldLocationAndRotation_SweepHitResult, false);0x06F5GetAllWheels(CallFunc_GetAllWheels_Wheels);0x070C/Script/Engine.Default__KismetArrayLibrary.Array_Get(CallFunc_GetAllWheels_Wheels, Temp_int_Array_Index_Variable, CallFunc_Array_Get_Item);0x0747CallFunc_Array_Get_Item.GetWheelController(CallFunc_GetWheelController_ControllerMesh);0x0774BreakVector(CallFunc_GetWheelController_ControllerMesh.RelativeLocation, CallFunc_BreakVector_X_1, CallFunc_BreakVector_Y_1, CallFunc_BreakVector_Z_1);0x07B8CallFunc_Array_Get_Item.GetProjectedMesh(CallFunc_GetProjectedMesh_ProjectedMesh_1);0x07E5BreakVector(CallFunc_GetProjectedMesh_ProjectedMesh_1.RelativeLocation, CallFunc_BreakVector_X_2, CallFunc_BreakVector_Y_2, CallFunc_BreakVector_Z_2);0x0829CallFunc_MakeVector_ReturnValue = MakeVector(CallFunc_BreakVector_X_1, CallFunc_BreakVector_Y_1, CallFunc_BreakVector_Z_2);0x0860CallFunc_GetProjectedMesh_ProjectedMesh_1.K2_SetRelativeLocation(CallFunc_MakeVector_ReturnValue, false, CallFunc_K2_SetRelativeLocation_SweepHitResult, false);0x0894PopFlow();0x0895Label_0895:0x0895CallFunc_Add_IntInt_ReturnValue = Add_IntInt(Temp_int_Loop_Counter_Variable, 1);0x08BFTemp_int_Loop_Counter_Variable = CallFunc_Add_IntInt_ReturnValue;0x08DAgoto Label_003D;0x08DFLabel_08DF:0x08DFreturn;0x08E1// end of script
Private0x00
void InitWheelReprojectionExperiment()
Script43 statements · 1,243 bytes of bytecode
0x0000PushFlow(Label_04D8);0x0005if (!(WheelReprojection)) PopFlow();0x000FTemp_int_Loop_Counter_Variable = 0;0x0026Temp_int_Array_Index_Variable = 0;0x003DLabel_003D:0x003DGetAllWheels(CallFunc_GetAllWheels_Wheels);0x0054CallFunc_Array_Length_ReturnValue = /Script/Engine.Default__KismetArrayLibrary.Array_Length(CallFunc_GetAllWheels_Wheels);0x008FCallFunc_Less_IntInt_ReturnValue = Less_IntInt(Temp_int_Loop_Counter_Variable, CallFunc_Array_Length_ReturnValue);0x00B5if (!(CallFunc_Less_IntInt_ReturnValue)) PopFlow();0x00BFTemp_int_Array_Index_Variable = Temp_int_Loop_Counter_Variable;0x00DAPushFlow(Label_046B);0x00DFGetAllWheels(CallFunc_GetAllWheels_Wheels);0x00F6/Script/Engine.Default__KismetArrayLibrary.Array_Get(CallFunc_GetAllWheels_Wheels, Temp_int_Array_Index_Variable, CallFunc_Array_Get_Item);0x0131CallFunc_Array_Get_Item.GetWheelMesh(CallFunc_GetWheelMesh_WheelMesh);0x015ECallFunc_GetWheelMesh_WheelMesh.SetVisibility(false, false);0x0180Temp_struct_Variable = FTransform(...);0x01E3CallFunc_AddComponent_ReturnValue = AddComponent(FName(NODE_AddStaticMeshComponent-9), false, Temp_struct_Variable, this, false);0x0210GetAllWheels(CallFunc_GetAllWheels_Wheels);0x0227/Script/Engine.Default__KismetArrayLibrary.Array_Get(CallFunc_GetAllWheels_Wheels, Temp_int_Array_Index_Variable, CallFunc_Array_Get_Item);0x0262CallFunc_Array_Get_Item.SetProjectedMesh(CallFunc_AddComponent_ReturnValue);0x028FGetAllWheels(CallFunc_GetAllWheels_Wheels);0x02A6/Script/Engine.Default__KismetArrayLibrary.Array_Get(CallFunc_GetAllWheels_Wheels, Temp_int_Array_Index_Variable, CallFunc_Array_Get_Item);0x02E1CallFunc_Array_Get_Item.GetWheelMesh(CallFunc_GetWheelMesh_WheelMesh);0x030EK2Node_DynamicCast_AsStatic_Mesh_Component = Cast<StaticMeshComponent>(CallFunc_GetWheelMesh_WheelMesh);0x0332K2Node_DynamicCast_bSuccess = Cast<1>(K2Node_DynamicCast_AsStatic_Mesh_Component);0x034Fif (!(K2Node_DynamicCast_bSuccess)) goto Label_04B5;0x035DGetAllWheels(CallFunc_GetAllWheels_Wheels);0x0374/Script/Engine.Default__KismetArrayLibrary.Array_Get(CallFunc_GetAllWheels_Wheels, Temp_int_Array_Index_Variable, CallFunc_Array_Get_Item);0x03AFCallFunc_Array_Get_Item.GetWheelMesh(CallFunc_GetWheelMesh_WheelMesh);0x03DCK2Node_DynamicCast_AsStatic_Mesh_Component = Cast<StaticMeshComponent>(CallFunc_GetWheelMesh_WheelMesh);0x0400K2Node_DynamicCast_bSuccess = Cast<1>(K2Node_DynamicCast_AsStatic_Mesh_Component);0x041DCallFunc_SetStaticMesh_ReturnValue = CallFunc_AddComponent_ReturnValue.SetStaticMesh(K2Node_DynamicCast_AsStatic_Mesh_Component.StaticMesh);0x046APopFlow();0x046BLabel_046B:0x046BCallFunc_Add_IntInt_ReturnValue = Add_IntInt(Temp_int_Loop_Counter_Variable, 1);0x0495Temp_int_Loop_Counter_Variable = CallFunc_Add_IntInt_ReturnValue;0x04B0goto Label_003D;0x04B5Label_04B5:0x04B5CallFunc_AddComponent_ReturnValue.SetVisibility(false, false);0x04D7PopFlow();0x04D8Label_04D8:0x04D8return;0x04DA// end of script
Private0x00
void GetHostTrailerRotation(const FRotator& HostTrailerRotation)
Script3 statements · 30 bytes of bytecode
0x0000HostTrailerRotation = HostTrailerRotation;0x001Breturn;0x001D// end of script
Public0x18
void SetGearItem(int32 Index, const FVehicleGear& NewGearSettings)
Script14 statements · 471 bytes of bytecode
0x0000/Script/Engine.Default__KismetArrayLibrary.Array_Set(Gears, Index, NewGearSettings, true);0x003CCallFunc_Array_LastIndex_ReturnValue_1 = /Script/Engine.Default__KismetArrayLibrary.Array_LastIndex(Gears);0x0077CallFunc_Clamp_ReturnValue_1 = Clamp(GearInput, 1, CallFunc_Array_LastIndex_ReturnValue_1);0x00AAGearInput = CallFunc_Clamp_ReturnValue_1;0x00C5CallFunc_Array_LastIndex_ReturnValue = /Script/Engine.Default__KismetArrayLibrary.Array_LastIndex(Gears);0x0100CallFunc_Clamp_ReturnValue = Clamp(CurrentGear, -2, CallFunc_Array_LastIndex_ReturnValue);0x0133CurrentGear = CallFunc_Clamp_ReturnValue;0x014ECallFunc_GreaterEqual_IntInt_ReturnValue = GreaterEqual_IntInt(CurrentGear, 0);0x0170if (!(CallFunc_GreaterEqual_IntInt_ReturnValue)) goto Label_01D4;0x017E/Script/Engine.Default__KismetArrayLibrary.Array_Get(Gears, CurrentGear, CallFunc_Array_Get_Item);0x01B9Gear = CallFunc_Array_Get_Item;0x01D4Label_01D4:0x01D4return;0x01D6// end of script
Public0x24
void SetGearArray(TArray<FVehicleGear>& Gears)
Script14 statements · 438 bytes of bytecode
0x0000Gears = Gears;0x001BCallFunc_Array_LastIndex_ReturnValue_1 = /Script/Engine.Default__KismetArrayLibrary.Array_LastIndex(Gears);0x0056CallFunc_Clamp_ReturnValue_1 = Clamp(GearInput, 1, CallFunc_Array_LastIndex_ReturnValue_1);0x0089GearInput = CallFunc_Clamp_ReturnValue_1;0x00A4CallFunc_Array_LastIndex_ReturnValue = /Script/Engine.Default__KismetArrayLibrary.Array_LastIndex(Gears);0x00DFCallFunc_Clamp_ReturnValue = Clamp(CurrentGear, -2, CallFunc_Array_LastIndex_ReturnValue);0x0112CurrentGear = CallFunc_Clamp_ReturnValue;0x012DCallFunc_GreaterEqual_IntInt_ReturnValue = GreaterEqual_IntInt(CurrentGear, 0);0x014Fif (!(CallFunc_GreaterEqual_IntInt_ReturnValue)) goto Label_01B3;0x015D/Script/Engine.Default__KismetArrayLibrary.Array_Get(Gears, CurrentGear, CallFunc_Array_Get_Item);0x0198Gear = CallFunc_Array_Get_Item;0x01B3Label_01B3:0x01B3return;0x01B5// end of script
Public0x10
void isOwningClient(const bool& OwningClient)
Script9 statements · 223 bytes of bytecode
0x0000CallFunc_HasAuthority_ReturnValue = HasAuthority();0x0014CallFunc_IsLocallyControlled_ReturnValue = this.IsLocallyControlled();0x003ACallFunc_IsPlayerControlled_ReturnValue = this.IsPlayerControlled();0x0060CallFunc_Not_PreBool_ReturnValue = Not_PreBool(CallFunc_IsPlayerControlled_ReturnValue);0x007DCallFunc_BooleanAND_ReturnValue = BooleanAND(CallFunc_Not_PreBool_ReturnValue, CallFunc_HasAuthority_ReturnValue);0x00A3CallFunc_BooleanOR_ReturnValue = BooleanOR(CallFunc_IsLocallyControlled_ReturnValue, CallFunc_BooleanAND_ReturnValue);0x00C9OwningClient = CallFunc_BooleanOR_ReturnValue;0x00DCreturn;0x00DE// end of script
Public0x01
void SetInputHost(AAVS_Vehicle_C* InputHost)
Script3 statements · 22 bytes of bytecode
0x0000InputHost = InputHost;0x0013return;0x0015// end of script
Public0x08
void CopyInputsFromHost()
Script15 statements · 392 bytes of bytecode
0x0000CallFunc_IsValid_ReturnValue = IsValid(InputHost);0x001Dif (!(CallFunc_IsValid_ReturnValue)) goto Label_0185;0x002BSetThrottleInput(InputHost.Throttle);0x0058SetBrakeInput(InputHost.Brake);0x0085InputHost.GetCurrentSteeringInput(CallFunc_GetCurrentSteeringInput_SteeringInput);0x00B2SetSteeringInput(CallFunc_GetCurrentSteeringInput_SteeringInput);0x00C9GetHandbrakeApplied(CallFunc_GetHandbrakeApplied_isHandbrakeApplied);0x00E0InputHost.GetHandbrakeApplied(CallFunc_GetHandbrakeApplied_isHandbrakeApplied_1);0x010DCallFunc_NotEqual_BoolBool_ReturnValue = NotEqual_BoolBool(CallFunc_GetHandbrakeApplied_isHandbrakeApplied, CallFunc_GetHandbrakeApplied_isHandbrakeApplied_1);0x0133if (!(CallFunc_NotEqual_BoolBool_ReturnValue)) goto Label_0185;0x0141InputHost.GetHandbrakeApplied(CallFunc_GetHandbrakeApplied_isHandbrakeApplied_1);0x016ESetHandbrakeInput(CallFunc_GetHandbrakeApplied_isHandbrakeApplied_1);0x0185Label_0185:0x0185return;0x0187// end of script
Private0x00
void DestroyWheelMesh(UVehicle_Wheel_C* WheelComponent)
Script9 statements · 179 bytes of bytecode
0x0000WheelComponent.GetWheelMesh(CallFunc_GetWheelMesh_WheelMesh);0x002DMeshToDestroy = CallFunc_GetWheelMesh_WheelMesh;0x0040CallFunc_IsValid_ReturnValue = IsValid(MeshToDestroy);0x005Dif (!(CallFunc_IsValid_ReturnValue)) goto Label_00B0;0x006BWheelComponent.Detach();0x008FMeshToDestroy.K2_DestroyComponent(this);0x00B0Label_00B0:0x00B0return;0x00B2// end of script
Public0x08
void CreateWheelMesh(UVehicle_Wheel_C* WheelComponent, const UPrimitiveComponent*& NewMesh)
Script20 statements · 628 bytes of bytecode
0x0000Wheel = WheelComponent;0x0013CallFunc_IsValid_ReturnValue = IsValid(Wheel.WheelStaticMesh);0x0046if (!(CallFunc_IsValid_ReturnValue)) goto Label_01C9;0x0054Temp_struct_Variable = FTransform(...);0x00B7CallFunc_AddComponent_ReturnValue = AddComponent(FName(NODE_AddStaticMeshComponent-2), true, Temp_struct_Variable, this, false);0x00E4CreatedMesh = CallFunc_AddComponent_ReturnValue;0x00F7CallFunc_SetStaticMesh_ReturnValue = CallFunc_AddComponent_ReturnValue.SetStaticMesh(Wheel.WheelStaticMesh);0x0144Label_0144:0x0144CreatedMesh.SetCollisionEnabled(0);0x016ACallFunc_K2_AttachToComponent_ReturnValue = CreatedMesh.K2_AttachToComponent(Wheel, FName(None), 0, 0, 0, true);0x01B1NewMesh = CreatedMesh;0x01C4goto Label_0271;0x01C9Label_01C9:0x01C9Temp_struct_Variable_1 = FTransform(...);0x022CCallFunc_AddComponent_ReturnValue_1 = AddComponent(FName(NODE_AddSphereComponent-0), true, Temp_struct_Variable_1, this, false);0x0259CreatedMesh = CallFunc_AddComponent_ReturnValue_1;0x026Cgoto Label_0144;0x0271Label_0271:0x0271return;0x0273// end of script
Public0x10
void UnhitchAll()
Script21 statements · 427 bytes of bytecode
0x0000PushFlow(Label_01A8);0x0005CallFunc_K2_GetComponentsByClass_ReturnValue = K2_GetComponentsByClass(/VehicleSystemPlugin/VehicleAssets/Components/Vehicle_Hitch.Vehicle_Hitch_C);0x002ACompCache = CallFunc_K2_GetComponentsByClass_ReturnValue;0x0045Temp_int_Loop_Counter_Variable = 0;0x005CTemp_int_Array_Index_Variable = 0;0x0073Label_0073:0x0073CallFunc_Array_Length_ReturnValue = /Script/Engine.Default__KismetArrayLibrary.Array_Length(CompCache);0x00AECallFunc_Less_IntInt_ReturnValue = Less_IntInt(Temp_int_Loop_Counter_Variable, CallFunc_Array_Length_ReturnValue);0x00D4if (!(CallFunc_Less_IntInt_ReturnValue)) PopFlow();0x00DETemp_int_Array_Index_Variable = Temp_int_Loop_Counter_Variable;0x00F9PushFlow(Label_015E);0x00FE/Script/Engine.Default__KismetArrayLibrary.Array_Get(CompCache, Temp_int_Array_Index_Variable, CallFunc_Array_Get_Item);0x0139CallFunc_Array_Get_Item.Unhitch();0x015DPopFlow();0x015ELabel_015E:0x015ECallFunc_Add_IntInt_ReturnValue = Add_IntInt(Temp_int_Loop_Counter_Variable, 1);0x0188Temp_int_Loop_Counter_Variable = CallFunc_Add_IntInt_ReturnValue;0x01A3goto Label_0073;0x01A8Label_01A8:0x01A8return;0x01AA// end of script
Public0x00
void RemoveWheel(UVehicle_Wheel_C* Wheel)
Script9 statements · 210 bytes of bytecode
0x0000Wheel.Detach();0x0024Wheel.GetWheelMesh(CallFunc_GetWheelMesh_WheelMesh);0x0051CallFunc_GetWheelMesh_WheelMesh.K2_DestroyComponent(this);0x0072Wheel.CleanupForDestroy();0x0096Wheel.K2_DestroyComponent(this);0x00B7InitWheels();0x00C5UpdateInternalWheelArray();0x00CFreturn;0x00D1// end of script
Public0x08
void AddWheel(UVehicle_Wheel_C* NewWheel)
Script20 statements · 544 bytes of bytecode
0x0000CallFunc_GetNumChildrenComponents_ReturnValue = NewWheel.GetNumChildrenComponents();0x0032CallFunc_EqualEqual_IntInt_ReturnValue = EqualEqual_IntInt(CallFunc_GetNumChildrenComponents_ReturnValue, 0);0x0054if (!(CallFunc_EqualEqual_IntInt_ReturnValue)) goto Label_0082;0x0062CreateWheelMesh(NewWheel, CallFunc_CreateWheelMesh_NewMesh);0x0082Label_0082:0x0082NewWheel.Construct();0x00A6CallFunc_Array_Add_ReturnValue = /Script/Engine.Default__KismetArrayLibrary.Array_Add(Wheels, NewWheel);0x00EANewWheel.GetIsDrivingWheel(CallFunc_GetIsDrivingWheel_isDrivingWheel);0x0117if (!(CallFunc_GetIsDrivingWheel_isDrivingWheel)) goto Label_0185;0x0125CallFunc_Add_IntInt_ReturnValue = Add_IntInt(NumDrivingWheels, 1);0x014FTemp_int_Variable = CallFunc_Add_IntInt_ReturnValue;0x016ANumDrivingWheels = Temp_int_Variable;0x0185Label_0185:0x0185NewWheel.InitializeWheel(this);0x01AACallFunc_IsSimulatingPhysics_ReturnValue = VehicleMesh.IsSimulatingPhysics(FName(None));0x01E5SetPhysics(CallFunc_IsSimulatingPhysics_ReturnValue);0x01FCSetupWheelContactModification(CallFunc_SetupWheelContactModification_RegisterSuccess);0x0213UpdateInternalWheelArray();0x021Dreturn;0x021F// end of script
Public0x08
void CreateHitchConstraints(bool bManualAttachment, const FTransform& RelativeTransform, const UVehicleConstraint*& VehicleConstraint, const UPhysicsHandleComponent*& PhysicsHandle)
Script6 statements · 127 bytes of bytecode
0x0000CreateNewConstraint(bManualAttachment, RelativeTransform, CallFunc_CreateNewConstraint_VehicleConstraint);0x0029CallFunc_AddComponent_ReturnValue = AddComponent(FName(NODE_AddPhysicsHandleComponent-0), false, Temp_struct_Variable, this, false);0x0056VehicleConstraint = CallFunc_CreateNewConstraint_VehicleConstraint;0x0069PhysicsHandle = CallFunc_AddComponent_ReturnValue;0x007Creturn;0x007E// end of script
Public0x80
void SetCenterOfMassOffset(const FVector& RelativeCOM)
Script5 statements · 55 bytes of bytecode
0x0000OverrideCenterOfMass = true;0x000BCenterOfMassOffset = RelativeCOM;0x0026ApplyCOM();0x0034return;0x0036// end of script
Public0x18
void StartupEngine()
Script26 statements · 492 bytes of bytecode
0x0000if (!(EngineRunning)) goto Label_0027;0x000EK2_ClearAndInvalidateTimerHandle(this, IgnitionTimer);0x0022goto Label_01E9;0x0027Label_0027:0x0027CallFunc_K2_TimerExistsHandle_ReturnValue = K2_TimerExistsHandle(this, IgnitionTimer);0x0045if (!(CallFunc_K2_TimerExistsHandle_ReturnValue)) goto Label_0121;0x0053CallFunc_K2_GetTimerElapsedTimeHandle_ReturnValue = K2_GetTimerElapsedTimeHandle(this, IgnitionTimer);0x0079CallFunc_GreaterEqual_DoubleDouble_A_ImplicitCast = Cast<4>(CallFunc_K2_GetTimerElapsedTimeHandle_ReturnValue);0x0096CallFunc_GreaterEqual_DoubleDouble_ReturnValue = GreaterEqual_DoubleDouble(CallFunc_GreaterEqual_DoubleDouble_A_ImplicitCast, IgnitionTime);0x00BCif (!(CallFunc_GreaterEqual_DoubleDouble_ReturnValue)) goto Label_01E9;0x00CAEngineRunning = true;0x00D5K2_ClearAndInvalidateTimerHandle(this, IgnitionTimer);0x00E9OnEngineRunningUpdated(EngineRunning);0x0100OnEngineRunningUpdatedEvent.Broadcast(EngineRunning);0x011Cgoto Label_01E9;0x0121Label_0121:0x0121CallFunc_IsValid_ReturnValue = IsValid(EngineAudio);0x013Eif (!(CallFunc_IsValid_ReturnValue)) goto Label_0170;0x014CEngineAudio.PlayIgnition();0x0170Label_0170:0x0170CallFunc_K2_SetTimer_Time_ImplicitCast = Cast<3>(IgnitionTime);0x018DCallFunc_K2_SetTimer_ReturnValue = K2_SetTimer(this, "StartupEngine", CallFunc_K2_SetTimer_Time_ImplicitCast, true, false, 0f, 0f);0x01CEIgnitionTimer = CallFunc_K2_SetTimer_ReturnValue;0x01E9Label_01E9:0x01E9return;0x01EB// end of script
Private0x00
void OnRep_ServerEngineRunning()
Script13 statements · 117 bytes of bytecode
0x0000if (!(ServerEngineRunning)) goto Label_0021;0x000Eif (!(EngineRunning)) goto Label_0064;0x001Cgoto Label_0072;0x0021Label_0021:0x0021EngineRunning = false;0x002COnEngineRunningUpdated(EngineRunning);0x0043OnEngineRunningUpdatedEvent.Broadcast(EngineRunning);0x005Fgoto Label_0072;0x0064Label_0064:0x0064StartupEngine();0x0072Label_0072:0x0072return;0x0074// end of script
0x00
void OnRep_EngineRunning()
Script2 statements · 3 bytes of bytecode
0x0000return;0x0002// end of script
0x00
void GetSpeedUnitData(FSpeedUnit& SpeedUnit)
Script3 statements · 30 bytes of bytecode
0x0000SpeedUnit = SpeedUnit;0x001Breturn;0x001D// end of script
Public0x28
void Cleanup()
Script27 statements · 490 bytes of bytecode
0x0000PushFlow(Label_01E7);0x0005PushFlow(Label_0056);0x000ACallFunc_IsValid_ReturnValue = IsValid(EngineAudio);0x0027if (!(CallFunc_IsValid_ReturnValue)) PopFlow();0x0031EngineAudio.StopSound();0x0055PopFlow();0x0056Label_0056:0x0056Temp_int_Loop_Counter_Variable = 0;0x006DTemp_int_Array_Index_Variable = 0;0x0084Label_0084:0x0084GetAllWheels(CallFunc_GetAllWheels_Wheels);0x009BCallFunc_Array_Length_ReturnValue = /Script/Engine.Default__KismetArrayLibrary.Array_Length(CallFunc_GetAllWheels_Wheels);0x00D6CallFunc_Less_IntInt_ReturnValue = Less_IntInt(Temp_int_Loop_Counter_Variable, CallFunc_Array_Length_ReturnValue);0x00FCif (!(CallFunc_Less_IntInt_ReturnValue)) PopFlow();0x0106Temp_int_Array_Index_Variable = Temp_int_Loop_Counter_Variable;0x0121PushFlow(Label_019D);0x0126GetAllWheels(CallFunc_GetAllWheels_Wheels);0x013D/Script/Engine.Default__KismetArrayLibrary.Array_Get(CallFunc_GetAllWheels_Wheels, Temp_int_Array_Index_Variable, CallFunc_Array_Get_Item);0x0178CallFunc_Array_Get_Item.ClearActiveParticle();0x019CPopFlow();0x019DLabel_019D:0x019DCallFunc_Add_IntInt_ReturnValue = Add_IntInt(Temp_int_Loop_Counter_Variable, 1);0x01C7Temp_int_Loop_Counter_Variable = CallFunc_Add_IntInt_ReturnValue;0x01E2goto Label_0084;0x01E7Label_01E7:0x01E7return;0x01E9// end of script
Public0x00
void GetAcceleration(const double& Acceleration)
Script3 statements · 30 bytes of bytecode
0x0000Acceleration = Acceleration;0x001Breturn;0x001D// end of script
Public0x08
void InitSpeedUnit()
Script29 statements · 618 bytes of bytecode
0x0000PushFlow(Label_0267);0x0005CallFunc_GetDataTableRowNames_OutRowNames = {};0x0010GetDataTableRowNames(/VehicleSystemPlugin/VehicleAssets/Config/SpeedUnitData.SpeedUnitData, CallFunc_GetDataTableRowNames_OutRowNames);0x002CTemp_bool_True_if_break_was_hit_Variable = false;0x0037Temp_int_Loop_Counter_Variable = 0;0x004ETemp_int_Array_Index_Variable = 0;0x0065Label_0065:0x0065CallFunc_Not_PreBool_ReturnValue = Not_PreBool(Temp_bool_True_if_break_was_hit_Variable);0x0082CallFunc_Array_Length_ReturnValue = /Script/Engine.Default__KismetArrayLibrary.Array_Length(CallFunc_GetDataTableRowNames_OutRowNames);0x00BDCallFunc_Less_IntInt_ReturnValue = Less_IntInt(Temp_int_Loop_Counter_Variable, CallFunc_Array_Length_ReturnValue);0x00E3CallFunc_BooleanAND_ReturnValue = BooleanAND(CallFunc_Not_PreBool_ReturnValue, CallFunc_Less_IntInt_ReturnValue);0x0109if (!(CallFunc_BooleanAND_ReturnValue)) PopFlow();0x0113Temp_int_Array_Index_Variable = Temp_int_Loop_Counter_Variable;0x012EPushFlow(Label_021D);0x0133/Script/Engine.Default__KismetArrayLibrary.Array_Get(CallFunc_GetDataTableRowNames_OutRowNames, Temp_int_Array_Index_Variable, CallFunc_Array_Get_Item);0x016ECallFunc_GetDataTableRowFromName_ReturnValue = /Script/Engine.Default__DataTableFunctionLibrary.GetDataTableRowFromName(/VehicleSystemPlugin/VehicleAssets/Config/SpeedUnitData.SpeedUnitData, CallFunc_Array_Get_Item, CallFunc_GetDataTableRowFromName_OutRow);0x01B3if (!(CallFunc_GetDataTableRowFromName_ReturnValue)) PopFlow();0x01BDCallFunc_EqualEqual_ByteByte_ReturnValue = EqualEqual_ByteByte(CallFunc_GetDataTableRowFromName_OutRow.Index_14_1DB21482406D1076E96F90B0D07A804F, SpeedUnits);0x01ECif (!(CallFunc_EqualEqual_ByteByte_ReturnValue)) PopFlow();0x01F6SpeedUnit = CallFunc_GetDataTableRowFromName_OutRow;0x0211Temp_bool_True_if_break_was_hit_Variable = true;0x021CPopFlow();0x021DLabel_021D:0x021DCallFunc_Add_IntInt_ReturnValue = Add_IntInt(Temp_int_Loop_Counter_Variable, 1);0x0247Temp_int_Loop_Counter_Variable = CallFunc_Add_IntInt_ReturnValue;0x0262goto Label_0065;0x0267Label_0267:0x0267return;0x0269// end of script
Private0x00
void GetExactCenterOfMass(const FVector& ExactCOM, const bool& IsValid)
Script4 statements · 49 bytes of bytecode
0x0000ExactCOM = RelativeCenterOfMass;0x001BIsValid = OverrideCenterOfMass;0x002Ereturn;0x0030// end of script
Public0x19
void SetExactCenterOfMass(const FVector& NewCenterOfMass)
Script5 statements · 55 bytes of bytecode
0x0000OverrideCenterOfMass = true;0x000BRelativeCenterOfMass = NewCenterOfMass;0x0026ApplyCOM();0x0034return;0x0036// end of script
Public0x18
void DetachAllWheels()
Script21 statements · 409 bytes of bytecode
0x0000PushFlow(Label_0196);0x0005Temp_int_Loop_Counter_Variable = 0;0x001CTemp_int_Array_Index_Variable = 0;0x0033Label_0033:0x0033GetAllWheels(CallFunc_GetAllWheels_Wheels);0x004ACallFunc_Array_Length_ReturnValue = /Script/Engine.Default__KismetArrayLibrary.Array_Length(CallFunc_GetAllWheels_Wheels);0x0085CallFunc_Less_IntInt_ReturnValue = Less_IntInt(Temp_int_Loop_Counter_Variable, CallFunc_Array_Length_ReturnValue);0x00ABif (!(CallFunc_Less_IntInt_ReturnValue)) PopFlow();0x00B5Temp_int_Array_Index_Variable = Temp_int_Loop_Counter_Variable;0x00D0PushFlow(Label_014C);0x00D5GetAllWheels(CallFunc_GetAllWheels_Wheels);0x00EC/Script/Engine.Default__KismetArrayLibrary.Array_Get(CallFunc_GetAllWheels_Wheels, Temp_int_Array_Index_Variable, CallFunc_Array_Get_Item);0x0127CallFunc_Array_Get_Item.Detach();0x014BPopFlow();0x014CLabel_014C:0x014CCallFunc_Add_IntInt_ReturnValue = Add_IntInt(Temp_int_Loop_Counter_Variable, 1);0x0176Temp_int_Loop_Counter_Variable = CallFunc_Add_IntInt_ReturnValue;0x0191goto Label_0033;0x0196Label_0196:0x0196return;0x0198// end of script
Public0x00
void ResetAllWheels()
Script29 statements · 725 bytes of bytecode
0x0000PushFlow(Label_02D2);0x0005Temp_int_Loop_Counter_Variable = 0;0x001CTemp_int_Array_Index_Variable = 0;0x0033Label_0033:0x0033GetAllWheels(CallFunc_GetAllWheels_Wheels);0x004ACallFunc_Array_Length_ReturnValue = /Script/Engine.Default__KismetArrayLibrary.Array_Length(CallFunc_GetAllWheels_Wheels);0x0085CallFunc_Less_IntInt_ReturnValue = Less_IntInt(Temp_int_Loop_Counter_Variable, CallFunc_Array_Length_ReturnValue);0x00ABif (!(CallFunc_Less_IntInt_ReturnValue)) PopFlow();0x00B5Temp_int_Array_Index_Variable = Temp_int_Loop_Counter_Variable;0x00D0PushFlow(Label_0288);0x00D5GetAllWheels(CallFunc_GetAllWheels_Wheels);0x00EC/Script/Engine.Default__KismetArrayLibrary.Array_Get(CallFunc_GetAllWheels_Wheels, Temp_int_Array_Index_Variable, CallFunc_Array_Get_Item);0x0127CallFunc_Array_Get_Item.ResetPosition();0x014BGetAllWheels(CallFunc_GetAllWheels_Wheels);0x0162/Script/Engine.Default__KismetArrayLibrary.Array_Get(CallFunc_GetAllWheels_Wheels, Temp_int_Array_Index_Variable, CallFunc_Array_Get_Item);0x019DCallFunc_Array_Get_Item.GetWheelMesh(CallFunc_GetWheelMesh_WheelMesh);0x01CACallFunc_IsSimulatingPhysics_ReturnValue = CallFunc_GetWheelMesh_WheelMesh.IsSimulatingPhysics(FName(None));0x0205if (!(CallFunc_IsSimulatingPhysics_ReturnValue)) PopFlow();0x020FGetAllWheels(CallFunc_GetAllWheels_Wheels);0x0226/Script/Engine.Default__KismetArrayLibrary.Array_Get(CallFunc_GetAllWheels_Wheels, Temp_int_Array_Index_Variable, CallFunc_Array_Get_Item);0x0261CallFunc_Array_Get_Item.Attach(false, true);0x0287PopFlow();0x0288Label_0288:0x0288CallFunc_Add_IntInt_ReturnValue = Add_IntInt(Temp_int_Loop_Counter_Variable, 1);0x02B2Temp_int_Loop_Counter_Variable = CallFunc_Add_IntInt_ReturnValue;0x02CDgoto Label_0033;0x02D2Label_02D2:0x02D2return;0x02D4// end of script
Public0x00
void ApplyCOM()
Script8 statements · 225 bytes of bytecode
0x0000if (!(OverrideCenterOfMass)) goto Label_00DE;0x000ECallFunc_Multiply_VectorVector_ReturnValue = Multiply_VectorVector(DefaultCOM, FVector(-1, -1, -1));0x004CCallFunc_Add_VectorVector_ReturnValue = Add_VectorVector(CallFunc_Multiply_VectorVector_ReturnValue, RelativeCenterOfMass);0x007ACallFunc_Add_VectorVector_ReturnValue_1 = Add_VectorVector(CallFunc_Add_VectorVector_ReturnValue, CenterOfMassOffset);0x00A8VehicleMesh.SetCenterOfMass(CallFunc_Add_VectorVector_ReturnValue_1, FName(None));0x00DELabel_00DE:0x00DEreturn;0x00E0// end of script
Private0x00
void InitCOM()
Script29 statements · 909 bytes of bytecode
0x0000CallFunc_GetComponentByClass_ReturnValue = GetComponentByClass(/VehicleSystemPlugin/VehicleAssets/Components/Vehicle_CenterOfMass.Vehicle_CenterOfMass_C);0x001DComponent = CallFunc_GetComponentByClass_ReturnValue;0x0030CallFunc_IsValid_ReturnValue_1 = IsValid(Component);0x004Dif (!(CallFunc_IsValid_ReturnValue_1)) goto Label_038A;0x005BCallFunc_GetAttachParent_ReturnValue = Component.GetAttachParent();0x0085CallFunc_EqualEqual_ObjectObject_ReturnValue = EqualEqual_ObjectObject(CallFunc_GetAttachParent_ReturnValue, VehicleMesh);0x00ABif (!(CallFunc_EqualEqual_ObjectObject_ReturnValue)) goto Label_038A;0x00B9CallFunc_GetMeshCenterOfMass_ReturnValue_1 = GetMeshCenterOfMass(VehicleMesh, FName(None));0x00EBDefaultCOM = CallFunc_GetMeshCenterOfMass_ReturnValue_1;0x0106OverrideCenterOfMass = true;0x0111RelativeCenterOfMass = Component.RelativeLocation;0x0142CallFunc_IsValid_ReturnValue = IsValid(DebugCOM);0x015Fif (!(CallFunc_IsValid_ReturnValue)) goto Label_0217;0x016DTemp_bool_Variable = OverrideCenterOfMass;0x0180CallFunc_GetMeshCenterOfMass_ReturnValue = GetMeshCenterOfMass(VehicleMesh, FName(None));0x01B2DebugCOM.K2_SetRelativeLocation(Switch(Temp_bool_Variable, false => CallFunc_GetMeshCenterOfMass_ReturnValue, true => RelativeCenterOfMass, default => K2Node_Select_Default), false, CallFunc_K2_SetRelativeLocation_SweepHitResult, false);0x0212goto Label_038A;0x0217Label_0217:0x0217if (!(VisualizeCenterOfMass)) goto Label_038A;0x0225Temp_bool_Variable = OverrideCenterOfMass;0x0238CallFunc_GetMeshCenterOfMass_ReturnValue = GetMeshCenterOfMass(VehicleMesh, FName(None));0x026ACallFunc_MakeTransform_ReturnValue = MakeTransform(Switch(Temp_bool_Variable, false => CallFunc_GetMeshCenterOfMass_ReturnValue, true => RelativeCenterOfMass, default => K2Node_Select_Default), FRotator(0, 0, 0), FVector(1, 1, 1));0x02EDCallFunc_AddComponent_ReturnValue = AddComponent(FName(NODE_AddStaticMeshComponent-5), false, CallFunc_MakeTransform_ReturnValue, this, false);0x031ADebugCOM = CallFunc_AddComponent_ReturnValue;0x032DCallFunc_SetStaticMesh_ReturnValue = DebugCOM.SetStaticMesh(/VehicleSystemPlugin/VehicleAssets/Mesh/Transform_Visualizer.Transform_Visualizer);0x0364DebugCOM.SetCollisionEnabled(0);0x038ALabel_038A:0x038Areturn;0x038C// end of script
Private0x00
void SetHandbrakeInput(bool Handbrake)
Script12 statements · 137 bytes of bytecode
0x0000FlushNetDormancy();0x000AHandbrakeApplied = Handbrake;0x001DMarkPropertyDirtyFromRepIndex(this, 18, FName(HandbrakeApplied));0x003AOnRep_HandbrakeApplied();0x0048CallFunc_HasAuthority_ReturnValue = HasAuthority();0x005Cif (!(CallFunc_HasAuthority_ReturnValue)) goto Label_006F;0x006Agoto Label_0086;0x006FLabel_006F:0x006FRPC_Server_Handbrake(HandbrakeApplied);0x0086Label_0086:0x0086return;0x0088// end of script
Public0x01
void SetShifterPosition(const ShifterPositions& Shifter Position)
Script14 statements · 183 bytes of bytecode
0x0000FlushNetDormancy();0x000AShifter = Shifter Position;0x0025MarkPropertyDirtyFromRepIndex(this, 15, FName(Shifter));0x0042OnRep_Shifter();0x0050CallFunc_HasAuthority_ReturnValue = HasAuthority();0x0064if (!(CallFunc_HasAuthority_ReturnValue)) goto Label_0077;0x0072goto Label_00B4;0x0077Label_0077:0x0077CallFunc_IsLocallyControlled_ReturnValue = IsLocallyControlled();0x008Fif (!(CallFunc_IsLocallyControlled_ReturnValue)) goto Label_00B4;0x009DRPC_Server_Shifter(Shifter);0x00B4Label_00B4:0x00B4return;0x00B6// end of script
Public0x01
void SetSteeringInput(double Steering)
Script26 statements · 669 bytes of bytecode
0x0000LocalSteeringInput = Steering;0x001BCallFunc_HasAuthority_ReturnValue_1 = HasAuthority();0x002FCallFunc_IsPlayerControlled_ReturnValue = this.IsPlayerControlled();0x0055CallFunc_Not_PreBool_ReturnValue = Not_PreBool(CallFunc_IsPlayerControlled_ReturnValue);0x0072CallFunc_BooleanAND_ReturnValue = BooleanAND(CallFunc_Not_PreBool_ReturnValue, CallFunc_HasAuthority_ReturnValue_1);0x0098CallFunc_IsLocallyControlled_ReturnValue = this.IsLocallyControlled();0x00BECallFunc_BooleanOR_ReturnValue = BooleanOR(CallFunc_IsLocallyControlled_ReturnValue, CallFunc_BooleanAND_ReturnValue);0x00E4if (!(CallFunc_BooleanOR_ReturnValue)) goto Label_029A;0x00F2CallFunc_FClamp_ReturnValue = FClamp(Steering, -1, 1);0x0129/VehicleSystemPlugin/VehicleAssets/VehicleMath.Default__VehicleMath_C.SetFloatPrecision(CallFunc_FClamp_ReturnValue, 1, this, CallFunc_SetFloatPrecision_Result);0x0165CallFunc_NotEqual_DoubleDouble_ReturnValue = NotEqual_DoubleDouble(CallFunc_SetFloatPrecision_Result, SteeringInput);0x018Bif (!(CallFunc_NotEqual_DoubleDouble_ReturnValue)) goto Label_029A;0x0199FlushNetDormancy();0x01A3CallFunc_FClamp_ReturnValue = FClamp(Steering, -1, 1);0x01DA/VehicleSystemPlugin/VehicleAssets/VehicleMath.Default__VehicleMath_C.SetFloatPrecision(CallFunc_FClamp_ReturnValue, 1, this, CallFunc_SetFloatPrecision_Result);0x0216SteeringInput = CallFunc_SetFloatPrecision_Result;0x0231MarkPropertyDirtyFromRepIndex(this, 20, FName(SteeringInput));0x024EOnRep_SteeringInput();0x025CCallFunc_HasAuthority_ReturnValue = HasAuthority();0x0270if (!(CallFunc_HasAuthority_ReturnValue)) goto Label_0283;0x027Egoto Label_029A;0x0283Label_0283:0x0283RPC_Server_Steering(SteeringInput);0x029ALabel_029A:0x029Areturn;0x029C// end of script
Public0x08
void SetBrakeInput(double Brake)
Script25 statements · 642 bytes of bytecode
0x0000CallFunc_HasAuthority_ReturnValue_1 = HasAuthority();0x0014CallFunc_IsPlayerControlled_ReturnValue = this.IsPlayerControlled();0x003ACallFunc_Not_PreBool_ReturnValue = Not_PreBool(CallFunc_IsPlayerControlled_ReturnValue);0x0057CallFunc_BooleanAND_ReturnValue = BooleanAND(CallFunc_Not_PreBool_ReturnValue, CallFunc_HasAuthority_ReturnValue_1);0x007DCallFunc_IsLocallyControlled_ReturnValue = this.IsLocallyControlled();0x00A3CallFunc_BooleanOR_ReturnValue = BooleanOR(CallFunc_IsLocallyControlled_ReturnValue, CallFunc_BooleanAND_ReturnValue);0x00C9if (!(CallFunc_BooleanOR_ReturnValue)) goto Label_027F;0x00D7CallFunc_FClamp_ReturnValue = FClamp(Brake, 0, 1);0x010E/VehicleSystemPlugin/VehicleAssets/VehicleMath.Default__VehicleMath_C.SetFloatPrecision(CallFunc_FClamp_ReturnValue, 1, this, CallFunc_SetFloatPrecision_Result);0x014ACallFunc_NotEqual_DoubleDouble_ReturnValue = NotEqual_DoubleDouble(CallFunc_SetFloatPrecision_Result, BrakeInput);0x0170if (!(CallFunc_NotEqual_DoubleDouble_ReturnValue)) goto Label_027F;0x017EFlushNetDormancy();0x0188CallFunc_FClamp_ReturnValue = FClamp(Brake, 0, 1);0x01BF/VehicleSystemPlugin/VehicleAssets/VehicleMath.Default__VehicleMath_C.SetFloatPrecision(CallFunc_FClamp_ReturnValue, 1, this, CallFunc_SetFloatPrecision_Result);0x01FBBrakeInput = CallFunc_SetFloatPrecision_Result;0x0216MarkPropertyDirtyFromRepIndex(this, 17, FName(BrakeInput));0x0233OnRep_BrakeInput();0x0241CallFunc_HasAuthority_ReturnValue = HasAuthority();0x0255if (!(CallFunc_HasAuthority_ReturnValue)) goto Label_0268;0x0263goto Label_027F;0x0268Label_0268:0x0268RPC_Server_Brake(BrakeInput);0x027FLabel_027F:0x027Freturn;0x0281// end of script
Public0x08
void SetThrottleInput(double Throttle)
Script25 statements · 642 bytes of bytecode
0x0000CallFunc_HasAuthority_ReturnValue_1 = HasAuthority();0x0014CallFunc_IsPlayerControlled_ReturnValue = this.IsPlayerControlled();0x003ACallFunc_Not_PreBool_ReturnValue = Not_PreBool(CallFunc_IsPlayerControlled_ReturnValue);0x0057CallFunc_BooleanAND_ReturnValue = BooleanAND(CallFunc_Not_PreBool_ReturnValue, CallFunc_HasAuthority_ReturnValue_1);0x007DCallFunc_IsLocallyControlled_ReturnValue = this.IsLocallyControlled();0x00A3CallFunc_BooleanOR_ReturnValue = BooleanOR(CallFunc_IsLocallyControlled_ReturnValue, CallFunc_BooleanAND_ReturnValue);0x00C9if (!(CallFunc_BooleanOR_ReturnValue)) goto Label_027F;0x00D7CallFunc_FClamp_ReturnValue = FClamp(Throttle, 0, 1);0x010E/VehicleSystemPlugin/VehicleAssets/VehicleMath.Default__VehicleMath_C.SetFloatPrecision(CallFunc_FClamp_ReturnValue, 1, this, CallFunc_SetFloatPrecision_Result);0x014ACallFunc_NotEqual_DoubleDouble_ReturnValue = NotEqual_DoubleDouble(CallFunc_SetFloatPrecision_Result, ThrottleInput);0x0170if (!(CallFunc_NotEqual_DoubleDouble_ReturnValue)) goto Label_027F;0x017EFlushNetDormancy();0x0188CallFunc_FClamp_ReturnValue = FClamp(Throttle, 0, 1);0x01BF/VehicleSystemPlugin/VehicleAssets/VehicleMath.Default__VehicleMath_C.SetFloatPrecision(CallFunc_FClamp_ReturnValue, 1, this, CallFunc_SetFloatPrecision_Result);0x01FBThrottleInput = CallFunc_SetFloatPrecision_Result;0x0216MarkPropertyDirtyFromRepIndex(this, 16, FName(ThrottleInput));0x0233OnRep_ThrottleInput();0x0241CallFunc_HasAuthority_ReturnValue = HasAuthority();0x0255if (!(CallFunc_HasAuthority_ReturnValue)) goto Label_0268;0x0263goto Label_027F;0x0268Label_0268:0x0268RPC_Server_Throttle(ThrottleInput);0x027FLabel_027F:0x027Freturn;0x0281// end of script
Public0x08
void SetThrottleAndBrakeInput(double Throttle)
Script18 statements · 653 bytes of bytecode
0x0000CallFunc_FClamp_ReturnValue = FClamp(Throttle, -1, 0);0x0037CallFunc_FClamp_ReturnValue_1 = FClamp(Throttle, 0, 1);0x006EGetShifterPosition(CallFunc_GetShifterPosition_ShifterPos);0x0085CallFunc_EqualEqual_ByteByte_ReturnValue = EqualEqual_ByteByte(CallFunc_GetShifterPosition_ShifterPos, 1);0x00A4CallFunc_BooleanAND_ReturnValue = BooleanAND(AutomaticShifterPositon, CallFunc_EqualEqual_ByteByte_ReturnValue);0x00CATemp_bool_Variable = CallFunc_BooleanAND_ReturnValue;0x00DDCallFunc_Abs_ReturnValue = Abs(Switch(Temp_bool_Variable, false => CallFunc_FClamp_ReturnValue_1, true => CallFunc_FClamp_ReturnValue, default => K2Node_Select_Default));0x012ESetThrottleInput(CallFunc_Abs_ReturnValue);0x0145CallFunc_FClamp_ReturnValue = FClamp(Throttle, -1, 0);0x017CCallFunc_FClamp_ReturnValue_1 = FClamp(Throttle, 0, 1);0x01B3GetShifterPosition(CallFunc_GetShifterPosition_ShifterPos);0x01CACallFunc_EqualEqual_ByteByte_ReturnValue = EqualEqual_ByteByte(CallFunc_GetShifterPosition_ShifterPos, 1);0x01E9CallFunc_BooleanAND_ReturnValue = BooleanAND(AutomaticShifterPositon, CallFunc_EqualEqual_ByteByte_ReturnValue);0x020FTemp_bool_Variable_1 = CallFunc_BooleanAND_ReturnValue;0x0222CallFunc_Abs_ReturnValue_1 = Abs(Switch(Temp_bool_Variable_1, false => CallFunc_FClamp_ReturnValue, true => CallFunc_FClamp_ReturnValue_1, default => K2Node_Select_Default_1));0x0273SetBrakeInput(CallFunc_Abs_ReturnValue_1);0x028Areturn;0x028C// end of script
Public0x08
void SetupSkeletalMeshes()
Script27 statements · 679 bytes of bytecode
0x0000PushFlow(Label_02A4);0x0005CallFunc_K2_GetComponentsByClass_ReturnValue = K2_GetComponentsByClass(/Script/Engine.SkeletalMeshComponent);0x002AMeshCache = CallFunc_K2_GetComponentsByClass_ReturnValue;0x0045Temp_int_Loop_Counter_Variable = 0;0x005CTemp_int_Array_Index_Variable = 0;0x0073Label_0073:0x0073CallFunc_Array_Length_ReturnValue = /Script/Engine.Default__KismetArrayLibrary.Array_Length(MeshCache);0x00AECallFunc_Less_IntInt_ReturnValue = Less_IntInt(Temp_int_Loop_Counter_Variable, CallFunc_Array_Length_ReturnValue);0x00D4if (!(CallFunc_Less_IntInt_ReturnValue)) PopFlow();0x00DETemp_int_Array_Index_Variable = Temp_int_Loop_Counter_Variable;0x00F9PushFlow(Label_025A);0x00FE/Script/Engine.Default__KismetArrayLibrary.Array_Get(MeshCache, Temp_int_Array_Index_Variable, CallFunc_Array_Get_Item);0x0139CallFunc_ComponentHasTag_ReturnValue = CallFunc_Array_Get_Item.ComponentHasTag(FName(KeepCollision));0x0170CallFunc_Not_PreBool_ReturnValue = Not_PreBool(CallFunc_ComponentHasTag_ReturnValue);0x018Dif (!(CallFunc_Not_PreBool_ReturnValue)) PopFlow();0x0197/Script/Engine.Default__KismetArrayLibrary.Array_Get(MeshCache, Temp_int_Array_Index_Variable, CallFunc_Array_Get_Item);0x01D2CallFunc_Array_Get_Item.SetCollisionResponseToAllChannels(0);0x01F8/Script/Engine.Default__KismetArrayLibrary.Array_Get(MeshCache, Temp_int_Array_Index_Variable, CallFunc_Array_Get_Item);0x0233CallFunc_Array_Get_Item.SetCollisionEnabled(2);0x0259PopFlow();0x025ALabel_025A:0x025ACallFunc_Add_IntInt_ReturnValue = Add_IntInt(Temp_int_Loop_Counter_Variable, 1);0x0284Temp_int_Loop_Counter_Variable = CallFunc_Add_IntInt_ReturnValue;0x029Fgoto Label_0073;0x02A4Label_02A4:0x02A4return;0x02A6// end of script
Private0x00
void GetCurrentSteeringInput(const double& SteeringInput)
Script5 statements · 117 bytes of bytecode
0x0000CallFunc_IsLocallyControlled_ReturnValue = IsLocallyControlled();0x0018Temp_bool_Variable = CallFunc_IsLocallyControlled_ReturnValue;0x002BSteeringInput = Switch(Temp_bool_Variable, false => SteeringInput, true => LocalSteeringInput, default => K2Node_Select_Default);0x0072return;0x0074// end of script
Public0x08
void GetCurrentSteering(const double& CurrentSteering)
Script3 statements · 30 bytes of bytecode
0x0000CurrentSteering = Steering;0x001Breturn;0x001D// end of script
Public0x08
void CreateBoneConstraint(bool bManualAttachment, const FTransform& RelativeTransform, const UVehicleConstraint*& VehicleConstraint)
Script4 statements · 75 bytes of bytecode
0x0000CallFunc_AddComponent_ReturnValue = AddComponent(FName(NODE_AddVehicleConstraint-2), bManualAttachment, RelativeTransform, this, false);0x0035VehicleConstraint = CallFunc_AddComponent_ReturnValue;0x0048return;0x004A// end of script
Public0x78
void CreateNewConstraint(bool bManualAttachment, const FTransform& RelativeTransform, const UVehicleConstraint*& VehicleConstraint)
Script4 statements · 75 bytes of bytecode
0x0000CallFunc_AddComponent_ReturnValue = AddComponent(FName(NODE_AddVehicleConstraint-1), bManualAttachment, RelativeTransform, this, false);0x0035VehicleConstraint = CallFunc_AddComponent_ReturnValue;0x0048return;0x004A// end of script
Public0x78
void CreateNewWheelController(bool bManualAttachment, const FTransform& RelativeTransform, const UStaticMeshComponent*& Mesh)
Script4 statements · 75 bytes of bytecode
0x0000CallFunc_AddComponent_ReturnValue = AddComponent(FName(NODE_AddStaticMeshComponent-10), bManualAttachment, RelativeTransform, this, false);0x0035Mesh = CallFunc_AddComponent_ReturnValue;0x0048return;0x004A// end of script
Public0x78
void GetSelectedGear(const int32& GearNumber, FVehicleGear& SelectedGear)
Script11 statements · 245 bytes of bytecode
0x0000CallFunc_Array_IsValidIndex_ReturnValue = /Script/Engine.Default__KismetArrayLibrary.Array_IsValidIndex(Gears, GearInput);0x003Cif (!(CallFunc_Array_IsValidIndex_ReturnValue)) goto Label_008F;0x004AGearNumber = GearInput;0x0065SelectedGear = Gears[GearInput];0x008Agoto Label_00F2;0x008FLabel_008F:0x008FGearNumber = GearInput;0x00AASelectedGear = VehicleGear{0f, 0f, 0f, 0f, 0f, 0f, 0f, 0f};0x00F2Label_00F2:0x00F2return;0x00F4// end of script
Public0x24
void GetHandbrakeApplied(const bool& isHandbrakeApplied)
Script3 statements · 22 bytes of bytecode
0x0000isHandbrakeApplied = HandbrakeApplied;0x0013return;0x0015// end of script
Public0x01
void ValidateTransmission()
Script118 statements · 3,095 bytes of bytecode
0x0000PushFlow(Label_0C14);0x0005NextGear = 0;0x001CPrevGear = 0;0x0033FinalErrorMessage = "Hello";0x004CTemp_int_Loop_Counter_Variable = 0;0x0063Temp_int_Array_Index_Variable = 0;0x007ALabel_007A:0x007ACallFunc_Array_Length_ReturnValue_2 = /Script/Engine.Default__KismetArrayLibrary.Array_Length(Gears);0x00B5CallFunc_Less_IntInt_ReturnValue_2 = Less_IntInt(Temp_int_Loop_Counter_Variable, CallFunc_Array_Length_ReturnValue_2);0x00DBif (!(CallFunc_Less_IntInt_ReturnValue_2)) goto Label_01AA;0x00E9Temp_int_Array_Index_Variable = Temp_int_Loop_Counter_Variable;0x0104PushFlow(Label_04A8);0x0109Current = Temp_int_Array_Index_Variable;0x0124CallFunc_NotEqual_IntInt_ReturnValue = NotEqual_IntInt(Current, 0);0x0146if (!(CallFunc_NotEqual_IntInt_ReturnValue)) PopFlow();0x0150PushFlow(Label_05FF);0x0155PushFlow(Label_05BB);0x015APushFlow(Label_0538);0x015FPushFlow(Label_04F2);0x0164CallFunc_Add_IntInt_ReturnValue_3 = Add_IntInt(Current, 1);0x018ENextGear = CallFunc_Add_IntInt_ReturnValue_3;0x01A9PopFlow();0x01AALabel_01AA:0x01AACallFunc_Array_Length_ReturnValue_1 = /Script/Engine.Default__KismetArrayLibrary.Array_Length(Errors);0x01E5CallFunc_EqualEqual_IntInt_ReturnValue = EqualEqual_IntInt(CallFunc_Array_Length_ReturnValue_1, 0);0x0207if (!(CallFunc_EqualEqual_IntInt_ReturnValue)) goto Label_0274;0x0215PrintString(this, "Transmission checks passed!", true, true, LinearColor{0f, 1f, 0f, 1f}, 5f, FName(None));0x0273PopFlow();0x0274Label_0274:0x0274CallFunc_Concat_StrStr_ReturnValue_6 = Concat_StrStr("", "\r\nTransmission check(s) failed!\r\n----------------------------------");0x02D7FinalErrorMessage = CallFunc_Concat_StrStr_ReturnValue_6;0x02F2Temp_int_Loop_Counter_Variable_1 = 0;0x0309Temp_int_Array_Index_Variable_1 = 0;0x0320Label_0320:0x0320CallFunc_Array_Length_ReturnValue = /Script/Engine.Default__KismetArrayLibrary.Array_Length(Errors);0x035BCallFunc_Less_IntInt_ReturnValue = Less_IntInt(Temp_int_Loop_Counter_Variable_1, CallFunc_Array_Length_ReturnValue);0x0381if (!(CallFunc_Less_IntInt_ReturnValue)) goto Label_045D;0x038FTemp_int_Array_Index_Variable_1 = Temp_int_Loop_Counter_Variable_1;0x03AAPushFlow(Label_0BCA);0x03AF/Script/Engine.Default__KismetArrayLibrary.Array_Get(Errors, Temp_int_Array_Index_Variable_1, CallFunc_Array_Get_Item);0x03EACallFunc_Concat_StrStr_ReturnValue_7 = Concat_StrStr(FinalErrorMessage, "\r\n");0x0413CallFunc_Concat_StrStr_ReturnValue_8 = Concat_StrStr(CallFunc_Concat_StrStr_ReturnValue_7, CallFunc_Array_Get_Item);0x0441FinalErrorMessage = CallFunc_Concat_StrStr_ReturnValue_8;0x045CPopFlow();0x045DLabel_045D:0x045DPrintString(this, FinalErrorMessage, true, true, LinearColor{1f, 0f, 0f, 1f}, 15f, FName(None));0x04A7PopFlow();0x04A8Label_04A8:0x04A8CallFunc_Add_IntInt_ReturnValue = Add_IntInt(Temp_int_Loop_Counter_Variable, 1);0x04D2Temp_int_Loop_Counter_Variable = CallFunc_Add_IntInt_ReturnValue;0x04EDgoto Label_007A;0x04F2Label_04F2:0x04F2CallFunc_Add_IntInt_ReturnValue_2 = Add_IntInt(Current, -1);0x051CPrevGear = CallFunc_Add_IntInt_ReturnValue_2;0x0537PopFlow();0x0538Label_0538:0x0538CallFunc_Array_LastIndex_ReturnValue = /Script/Engine.Default__KismetArrayLibrary.Array_LastIndex(Gears);0x0573CallFunc_Greater_IntInt_ReturnValue = Greater_IntInt(NextGear, CallFunc_Array_LastIndex_ReturnValue);0x0599if (!(CallFunc_Greater_IntInt_ReturnValue)) PopFlow();0x05A3NextGear = -1;0x05BAPopFlow();0x05BBLabel_05BB:0x05BBCallFunc_Less_IntInt_ReturnValue_1 = Less_IntInt(PrevGear, 1);0x05DDif (!(CallFunc_Less_IntInt_ReturnValue_1)) PopFlow();0x05E7PrevGear = -1;0x05FEPopFlow();0x05FFLabel_05FF:0x05FFPushFlow(Label_09C4);0x0604CallFunc_Greater_DoubleDouble_A_ImplicitCast = Cast<4>(Gears[Current].EndSpeed);0x0634CallFunc_Greater_DoubleDouble_B_ImplicitCast_1 = Cast<4>(Gears[Current].StartSpeed);0x0664CallFunc_Greater_DoubleDouble_ReturnValue = Greater_DoubleDouble(CallFunc_Greater_DoubleDouble_A_ImplicitCast, CallFunc_Greater_DoubleDouble_B_ImplicitCast_1);0x068Aif (!(CallFunc_Greater_DoubleDouble_ReturnValue)) goto Label_089F;0x0698Label_0698:0x0698CallFunc_NotEqual_IntInt_ReturnValue_1 = NotEqual_IntInt(NextGear, -1);0x06BAif (!(CallFunc_NotEqual_IntInt_ReturnValue_1)) PopFlow();0x06C4CallFunc_Greater_DoubleDouble_A_ImplicitCast_1 = Cast<4>(Gears[Current].EndSpeed);0x06F4CallFunc_Greater_DoubleDouble_B_ImplicitCast = Cast<4>(Gears[NextGear].StartSpeed);0x0724CallFunc_Greater_DoubleDouble_ReturnValue_1 = Greater_DoubleDouble(CallFunc_Greater_DoubleDouble_A_ImplicitCast_1, CallFunc_Greater_DoubleDouble_B_ImplicitCast);0x074Aif (!(CallFunc_Greater_DoubleDouble_ReturnValue_1)) goto Label_0759;0x0758PopFlow();0x0759Label_0759:0x0759CallFunc_Conv_IntToString_ReturnValue_1 = Conv_IntToString(NextGear);0x077ECallFunc_Conv_IntToString_ReturnValue_2 = Conv_IntToString(Current);0x07A3CallFunc_Concat_StrStr_ReturnValue_3 = Concat_StrStr("EndSpeed on Gear ", CallFunc_Conv_IntToString_ReturnValue_2);0x07DBCallFunc_Concat_StrStr_ReturnValue_4 = Concat_StrStr(CallFunc_Concat_StrStr_ReturnValue_3, " should be higher than StartSpeed on Gear ");0x082CCallFunc_Concat_StrStr_ReturnValue_5 = Concat_StrStr(CallFunc_Concat_StrStr_ReturnValue_4, CallFunc_Conv_IntToString_ReturnValue_1);0x085ACallFunc_Array_Add_ReturnValue_1 = /Script/Engine.Default__KismetArrayLibrary.Array_Add(Errors, CallFunc_Concat_StrStr_ReturnValue_5);0x089EPopFlow();0x089FLabel_089F:0x089FCallFunc_Conv_IntToString_ReturnValue = Conv_IntToString(Current);0x08C4CallFunc_Concat_StrStr_ReturnValue = Concat_StrStr("EndSpeed on Gear ", CallFunc_Conv_IntToString_ReturnValue);0x08FCCallFunc_Concat_StrStr_ReturnValue_1 = Concat_StrStr(CallFunc_Concat_StrStr_ReturnValue, " should be higher than StartSpeed on Gear ");0x094DCallFunc_Concat_StrStr_ReturnValue_2 = Concat_StrStr(CallFunc_Concat_StrStr_ReturnValue_1, CallFunc_Conv_IntToString_ReturnValue);0x097BCallFunc_Array_Add_ReturnValue = /Script/Engine.Default__KismetArrayLibrary.Array_Add(Errors, CallFunc_Concat_StrStr_ReturnValue_2);0x09BFgoto Label_0698;0x09C4Label_09C4:0x09C4CallFunc_NotEqual_IntInt_ReturnValue_2 = NotEqual_IntInt(NextGear, -1);0x09E6if (!(CallFunc_NotEqual_IntInt_ReturnValue_2)) PopFlow();0x09F0CallFunc_Greater_DoubleDouble_A_ImplicitCast_2 = Cast<4>(Gears[Current].UpShift);0x0A20CallFunc_Greater_DoubleDouble_B_ImplicitCast_2 = Cast<4>(Gears[NextGear].DownShift);0x0A50CallFunc_Greater_DoubleDouble_ReturnValue_2 = Greater_DoubleDouble(CallFunc_Greater_DoubleDouble_A_ImplicitCast_2, CallFunc_Greater_DoubleDouble_B_ImplicitCast_2);0x0A76if (!(CallFunc_Greater_DoubleDouble_ReturnValue_2)) goto Label_0A85;0x0A84PopFlow();0x0A85Label_0A85:0x0A85CallFunc_Conv_IntToString_ReturnValue_3 = Conv_IntToString(NextGear);0x0AAACallFunc_Conv_IntToString_ReturnValue_4 = Conv_IntToString(Current);0x0ACFCallFunc_Concat_StrStr_ReturnValue_9 = Concat_StrStr("Upshift on Gear ", CallFunc_Conv_IntToString_ReturnValue_4);0x0B06CallFunc_Concat_StrStr_ReturnValue_10 = Concat_StrStr(CallFunc_Concat_StrStr_ReturnValue_9, " is not compatible with Downshift on gear ");0x0B57CallFunc_Concat_StrStr_ReturnValue_11 = Concat_StrStr(CallFunc_Concat_StrStr_ReturnValue_10, CallFunc_Conv_IntToString_ReturnValue_3);0x0B85CallFunc_Array_Add_ReturnValue_2 = /Script/Engine.Default__KismetArrayLibrary.Array_Add(Errors, CallFunc_Concat_StrStr_ReturnValue_11);0x0BC9PopFlow();0x0BCALabel_0BCA:0x0BCACallFunc_Add_IntInt_ReturnValue_1 = Add_IntInt(Temp_int_Loop_Counter_Variable_1, 1);0x0BF4Temp_int_Loop_Counter_Variable_1 = CallFunc_Add_IntInt_ReturnValue_1;0x0C0Fgoto Label_0320;0x0C14Label_0C14:0x0C14return;0x0C16// end of script
Public0x00
void GetSlip(const double& Slip)
Script3 statements · 30 bytes of bytecode
0x0000Slip = Slip;0x001Breturn;0x001D// end of script
Public0x08
void InitAudio()
Script4 statements · 51 bytes of bytecode
0x0000CallFunc_GetComponentByClass_ReturnValue = GetComponentByClass(/VehicleSystemPlugin/VehicleAssets/Components/Vehicle_EngineAudio.Vehicle_EngineAudio_C);0x001DEngineAudio = CallFunc_GetComponentByClass_ReturnValue;0x0030return;0x0032// end of script
Private0x00
void SetManualGear(int32 GearNum)
Script6 statements · 163 bytes of bytecode
0x0000CallFunc_Array_LastIndex_ReturnValue = /Script/Engine.Default__KismetArrayLibrary.Array_LastIndex(Gears);0x003BCallFunc_Clamp_ReturnValue = Clamp(GearNum, 1, CallFunc_Array_LastIndex_ReturnValue);0x006EGearInput = CallFunc_Clamp_ReturnValue;0x0089CurrentGear = -2;0x00A0return;0x00A2// end of script
Public0x04
void SetLocalEngineRunning(bool EngineRunning)
Script3 statements · 22 bytes of bytecode
0x0000EngineRunning = EngineRunning;0x0013return;0x0015// end of script
Public0x01
void GetShifterPosition(const ShifterPositions& ShifterPos)
Script3 statements · 30 bytes of bytecode
0x0000ShifterPos = Shifter;0x001Breturn;0x001D// end of script
Public0x01
void GetCurrentGear(const int32& Gear, FVehicleGear& CurrentGear)
Script11 statements · 245 bytes of bytecode
0x0000CallFunc_Array_IsValidIndex_ReturnValue = /Script/Engine.Default__KismetArrayLibrary.Array_IsValidIndex(Gears, CurrentGear);0x003Cif (!(CallFunc_Array_IsValidIndex_ReturnValue)) goto Label_008F;0x004AGear = CurrentGear;0x0065CurrentGear = Gears[CurrentGear];0x008Agoto Label_00F2;0x008FLabel_008F:0x008FGear = CurrentGear;0x00AACurrentGear = VehicleGear{0f, 0f, 0f, 0f, 0f, 0f, 0f, 0f};0x00F2Label_00F2:0x00F2return;0x00F4// end of script
Public0x24
void GetTorque(const double& Torque)
Script3 statements · 30 bytes of bytecode
0x0000Torque = Torque;0x001Breturn;0x001D// end of script
Public0x08
void GetTargetSpeed(const double& TargetSpeed)
Script3 statements · 30 bytes of bytecode
0x0000TargetSpeed = TargetSpeed;0x001Breturn;0x001D// end of script
Public0x08
void TeleportVehicle(const FVector& Location, const FRotator& Rotation, bool KeepRelativeVelocity)
Script120 statements · 4,083 bytes of bytecode
0x0000PushFlow(Label_0FF0);0x0005LocalChassisLinVelocity = FVector(0, 0, 0);0x0030LocalChassisAngVelocity = FVector(0, 0, 0);0x005Bif (!(KeepRelativeVelocity)) goto Label_01DF;0x0069GetVehicleMesh(CallFunc_GetVehicleMesh_Mesh);0x0080CallFunc_GetPhysicsLinearVelocity_ReturnValue = CallFunc_GetVehicleMesh_Mesh.GetPhysicsLinearVelocity(FName(None));0x00BFCallFunc_K2_GetActorRotation_ReturnValue = K2_GetActorRotation();0x00DBCallFunc_LessLess_VectorRotator_ReturnValue_1 = LessLess_VectorRotator(CallFunc_GetPhysicsLinearVelocity_ReturnValue, CallFunc_K2_GetActorRotation_ReturnValue);0x0109LocalChassisLinVelocity = CallFunc_LessLess_VectorRotator_ReturnValue_1;0x0124GetVehicleMesh(CallFunc_GetVehicleMesh_Mesh);0x013BCallFunc_GetPhysicsAngularVelocityInDegrees_ReturnValue = CallFunc_GetVehicleMesh_Mesh.GetPhysicsAngularVelocityInDegrees(FName(None));0x017ACallFunc_K2_GetActorRotation_ReturnValue = K2_GetActorRotation();0x0196CallFunc_LessLess_VectorRotator_ReturnValue = LessLess_VectorRotator(CallFunc_GetPhysicsAngularVelocityInDegrees_ReturnValue, CallFunc_K2_GetActorRotation_ReturnValue);0x01C4LocalChassisAngVelocity = CallFunc_LessLess_VectorRotator_ReturnValue;0x01DFLabel_01DF:0x01DFTemp_int_Loop_Counter_Variable = 0;0x01F6Temp_int_Array_Index_Variable_1 = 0;0x020DLabel_020D:0x020DCallFunc_Array_Length_ReturnValue_1 = /Script/Engine.Default__KismetArrayLibrary.Array_Length(Wheels);0x0248CallFunc_Less_IntInt_ReturnValue = Less_IntInt(Temp_int_Loop_Counter_Variable, CallFunc_Array_Length_ReturnValue_1);0x026Eif (!(CallFunc_Less_IntInt_ReturnValue)) goto Label_064E;0x027CTemp_int_Array_Index_Variable_1 = Temp_int_Loop_Counter_Variable;0x0297PushFlow(Label_0FA6);0x029C/Script/Engine.Default__KismetArrayLibrary.Array_Get(Wheels, Temp_int_Array_Index_Variable_1, CallFunc_Array_Get_Item);0x02D7CallFunc_Array_Get_Item.GetWheelMesh(CallFunc_GetWheelMesh_WheelMesh);0x0304CallFunc_K2_GetComponentToWorld_ReturnValue = CallFunc_GetWheelMesh_WheelMesh.K2_GetComponentToWorld();0x0336GetVehicleMesh(CallFunc_GetVehicleMesh_Mesh_2);0x034DCallFunc_K2_GetComponentToWorld_ReturnValue_1 = CallFunc_GetVehicleMesh_Mesh_2.K2_GetComponentToWorld();0x037FCallFunc_MakeRelativeTransform_ReturnValue = MakeRelativeTransform(CallFunc_K2_GetComponentToWorld_ReturnValue, CallFunc_K2_GetComponentToWorld_ReturnValue_1);0x03AD/Script/Engine.Default__KismetArrayLibrary.Array_Set(LocalWheelTransforms, Temp_int_Array_Index_Variable_1, CallFunc_MakeRelativeTransform_ReturnValue, true);0x03E9if (!(KeepRelativeVelocity)) PopFlow();0x03F3/Script/Engine.Default__KismetArrayLibrary.Array_Get(Wheels, Temp_int_Array_Index_Variable_1, CallFunc_Array_Get_Item);0x042ECallFunc_Array_Get_Item.GetWheelMesh(CallFunc_GetWheelMesh_WheelMesh);0x045BCallFunc_GetPhysicsLinearVelocity_ReturnValue_1 = CallFunc_GetWheelMesh_WheelMesh.GetPhysicsLinearVelocity(FName(None));0x049ACallFunc_K2_GetActorRotation_ReturnValue_1 = K2_GetActorRotation();0x04B6CallFunc_LessLess_VectorRotator_ReturnValue_3 = LessLess_VectorRotator(CallFunc_GetPhysicsLinearVelocity_ReturnValue_1, CallFunc_K2_GetActorRotation_ReturnValue_1);0x04E4/Script/Engine.Default__KismetArrayLibrary.Array_Set(LocalWheelLinVelocities, Temp_int_Array_Index_Variable_1, CallFunc_LessLess_VectorRotator_ReturnValue_3, true);0x0520/Script/Engine.Default__KismetArrayLibrary.Array_Get(Wheels, Temp_int_Array_Index_Variable_1, CallFunc_Array_Get_Item);0x055BCallFunc_Array_Get_Item.GetWheelMesh(CallFunc_GetWheelMesh_WheelMesh);0x0588CallFunc_GetPhysicsAngularVelocityInDegrees_ReturnValue_1 = CallFunc_GetWheelMesh_WheelMesh.GetPhysicsAngularVelocityInDegrees(FName(None));0x05C7CallFunc_K2_GetActorRotation_ReturnValue_1 = K2_GetActorRotation();0x05E3CallFunc_LessLess_VectorRotator_ReturnValue_2 = LessLess_VectorRotator(CallFunc_GetPhysicsAngularVelocityInDegrees_ReturnValue_1, CallFunc_K2_GetActorRotation_ReturnValue_1);0x0611/Script/Engine.Default__KismetArrayLibrary.Array_Set(LocalWheelAngVelocities, Temp_int_Array_Index_Variable_1, CallFunc_LessLess_VectorRotator_ReturnValue_2, true);0x064DPopFlow();0x064ELabel_064E:0x064ECallFunc_MakeTransform_ReturnValue = MakeTransform(Location, Rotation, FVector(1, 1, 1));0x0695NewLocation = CallFunc_MakeTransform_ReturnValue;0x06B0BreakTransform(NewLocation, CallFunc_BreakTransform_Location_2, CallFunc_BreakTransform_Rotation_2, CallFunc_BreakTransform_Scale_2);0x06DEGetVehicleMesh(CallFunc_GetVehicleMesh_Mesh_3);0x06F5CallFunc_GetVehicleMesh_Mesh_3.K2_SetWorldLocationAndRotation(CallFunc_BreakTransform_Location_2, CallFunc_BreakTransform_Rotation_2, false, CallFunc_K2_SetWorldLocationAndRotation_SweepHitResult_1, true);0x0732Temp_int_Loop_Counter_Variable_1 = 0;0x0749Temp_int_Array_Index_Variable = 0;0x0760Label_0760:0x0760CallFunc_Array_Length_ReturnValue_2 = /Script/Engine.Default__KismetArrayLibrary.Array_Length(Wheels);0x079BCallFunc_Less_IntInt_ReturnValue_2 = Less_IntInt(Temp_int_Loop_Counter_Variable_1, CallFunc_Array_Length_ReturnValue_2);0x07C1if (!(CallFunc_Less_IntInt_ReturnValue_2)) goto Label_0A3A;0x07CFTemp_int_Array_Index_Variable = Temp_int_Loop_Counter_Variable_1;0x07EAPushFlow(Label_09F0);0x07EF/Script/Engine.Default__KismetArrayLibrary.Array_Get(Wheels, Temp_int_Array_Index_Variable, CallFunc_Array_Get_Item_1);0x082ACallFunc_GetWheelMode_ReturnValue = CallFunc_Array_Get_Item_1.GetWheelMode();0x085CCallFunc_EqualEqual_ByteByte_ReturnValue = EqualEqual_ByteByte(CallFunc_GetWheelMode_ReturnValue, 1);0x087Bif (!(CallFunc_EqualEqual_ByteByte_ReturnValue)) PopFlow();0x0885/Script/Engine.Default__KismetArrayLibrary.Array_Get(Wheels, Temp_int_Array_Index_Variable, CallFunc_Array_Get_Item_1);0x08C0CallFunc_Array_Get_Item_1.GetWheelMesh(CallFunc_GetWheelMesh_WheelMesh_1);0x08ED/Script/Engine.Default__KismetArrayLibrary.Array_Get(LocalWheelTransforms, Temp_int_Array_Index_Variable, CallFunc_Array_Get_Item_2);0x0928BreakTransform(CallFunc_Array_Get_Item_2, CallFunc_BreakTransform_Location_3, CallFunc_BreakTransform_Rotation_3, CallFunc_BreakTransform_Scale_3);0x0956CallFunc_TransformRotation_ReturnValue = TransformRotation(NewLocation, CallFunc_BreakTransform_Rotation_3);0x0984CallFunc_TransformLocation_ReturnValue = TransformLocation(NewLocation, CallFunc_BreakTransform_Location_3);0x09B2CallFunc_GetWheelMesh_WheelMesh_1.K2_SetWorldLocationAndRotation(CallFunc_TransformLocation_ReturnValue, CallFunc_TransformRotation_ReturnValue, false, CallFunc_K2_SetWorldLocationAndRotation_SweepHitResult, true);0x09EFPopFlow();0x09F0Label_09F0:0x09F0CallFunc_Add_IntInt_ReturnValue_1 = Add_IntInt(Temp_int_Loop_Counter_Variable_1, 1);0x0A1ATemp_int_Loop_Counter_Variable_1 = CallFunc_Add_IntInt_ReturnValue_1;0x0A35goto Label_0760;0x0A3ALabel_0A3A:0x0A3Aif (!(KeepRelativeVelocity)) PopFlow();0x0A44GetVehicleMesh(CallFunc_GetVehicleMesh_Mesh_1);0x0A5BBreakTransform(NewLocation, CallFunc_BreakTransform_Location_1, CallFunc_BreakTransform_Rotation_1, CallFunc_BreakTransform_Scale_1);0x0A89CallFunc_GreaterGreater_VectorRotator_ReturnValue_1 = GreaterGreater_VectorRotator(LocalChassisLinVelocity, CallFunc_BreakTransform_Rotation_1);0x0AB7CallFunc_GetVehicleMesh_Mesh_1.SetPhysicsLinearVelocity(CallFunc_GreaterGreater_VectorRotator_ReturnValue_1, false, FName(None));0x0AF2GetVehicleMesh(CallFunc_GetVehicleMesh_Mesh_1);0x0B09BreakTransform(NewLocation, CallFunc_BreakTransform_Location_1, CallFunc_BreakTransform_Rotation_1, CallFunc_BreakTransform_Scale_1);0x0B37CallFunc_GreaterGreater_VectorRotator_ReturnValue = GreaterGreater_VectorRotator(LocalChassisAngVelocity, CallFunc_BreakTransform_Rotation_1);0x0B65CallFunc_GetVehicleMesh_Mesh_1.SetPhysicsAngularVelocityInDegrees(CallFunc_GreaterGreater_VectorRotator_ReturnValue, false, FName(None));0x0B9CTemp_int_Loop_Counter_Variable_2 = 0;0x0BB3Temp_int_Array_Index_Variable_2 = 0;0x0BCALabel_0BCA:0x0BCACallFunc_Array_Length_ReturnValue = /Script/Engine.Default__KismetArrayLibrary.Array_Length(Wheels);0x0C05CallFunc_Less_IntInt_ReturnValue_1 = Less_IntInt(Temp_int_Loop_Counter_Variable_2, CallFunc_Array_Length_ReturnValue);0x0C2Bif (!(CallFunc_Less_IntInt_ReturnValue_1)) PopFlow();0x0C35Temp_int_Array_Index_Variable_2 = Temp_int_Loop_Counter_Variable_2;0x0C50PushFlow(Label_0F5C);0x0C55/Script/Engine.Default__KismetArrayLibrary.Array_Get(Wheels, Temp_int_Array_Index_Variable_2, CallFunc_Array_Get_Item_5);0x0C90CallFunc_GetWheelMode_ReturnValue_1 = CallFunc_Array_Get_Item_5.GetWheelMode();0x0CC2CallFunc_EqualEqual_ByteByte_ReturnValue_1 = EqualEqual_ByteByte(CallFunc_GetWheelMode_ReturnValue_1, 1);0x0CE1if (!(CallFunc_EqualEqual_ByteByte_ReturnValue_1)) PopFlow();0x0CEBBreakTransform(NewLocation, CallFunc_BreakTransform_Location, CallFunc_BreakTransform_Rotation, CallFunc_BreakTransform_Scale);0x0D19/Script/Engine.Default__KismetArrayLibrary.Array_Get(LocalWheelLinVelocities, Temp_int_Array_Index_Variable_2, CallFunc_Array_Get_Item_3);0x0D54CallFunc_GreaterGreater_VectorRotator_ReturnValue_2 = GreaterGreater_VectorRotator(CallFunc_Array_Get_Item_3, CallFunc_BreakTransform_Rotation);0x0D82/Script/Engine.Default__KismetArrayLibrary.Array_Get(Wheels, Temp_int_Array_Index_Variable_2, CallFunc_Array_Get_Item_5);0x0DBDCallFunc_Array_Get_Item_5.GetWheelMesh(CallFunc_GetWheelMesh_WheelMesh_2);0x0DEACallFunc_GetWheelMesh_WheelMesh_2.SetPhysicsLinearVelocity(CallFunc_GreaterGreater_VectorRotator_ReturnValue_2, false, FName(None));0x0E25BreakTransform(NewLocation, CallFunc_BreakTransform_Location, CallFunc_BreakTransform_Rotation, CallFunc_BreakTransform_Scale);0x0E53/Script/Engine.Default__KismetArrayLibrary.Array_Get(LocalWheelAngVelocities, Temp_int_Array_Index_Variable_2, CallFunc_Array_Get_Item_4);0x0E8ECallFunc_GreaterGreater_VectorRotator_ReturnValue_3 = GreaterGreater_VectorRotator(CallFunc_Array_Get_Item_4, CallFunc_BreakTransform_Rotation);0x0EBC/Script/Engine.Default__KismetArrayLibrary.Array_Get(Wheels, Temp_int_Array_Index_Variable_2, CallFunc_Array_Get_Item_5);0x0EF7CallFunc_Array_Get_Item_5.GetWheelMesh(CallFunc_GetWheelMesh_WheelMesh_2);0x0F24CallFunc_GetWheelMesh_WheelMesh_2.SetPhysicsAngularVelocityInDegrees(CallFunc_GreaterGreater_VectorRotator_ReturnValue_3, false, FName(None));0x0F5BPopFlow();0x0F5CLabel_0F5C:0x0F5CCallFunc_Add_IntInt_ReturnValue_2 = Add_IntInt(Temp_int_Loop_Counter_Variable_2, 1);0x0F86Temp_int_Loop_Counter_Variable_2 = CallFunc_Add_IntInt_ReturnValue_2;0x0FA1goto Label_0BCA;0x0FA6Label_0FA6:0x0FA6CallFunc_Add_IntInt_ReturnValue = Add_IntInt(Temp_int_Loop_Counter_Variable, 1);0x0FD0Temp_int_Loop_Counter_Variable = CallFunc_Add_IntInt_ReturnValue;0x0FEBgoto Label_020D;0x0FF0Label_0FF0:0x0FF0return;0x0FF2// end of script
Public0x31
void GetBrakeApplied(const bool& isBrakeApplied)
Script3 statements · 22 bytes of bytecode
0x0000isBrakeApplied = isBrakeApplied;0x0013return;0x0015// end of script
Public0x01
void GetAirSpeed(const double& AirSpeed)
Script3 statements · 30 bytes of bytecode
0x0000AirSpeed = AirSpeed;0x001Breturn;0x001D// end of script
Public0x08
void GetAllWheels(TArray<UVehicle_Wheel_C*>& Wheels)
Script3 statements · 30 bytes of bytecode
0x0000Wheels = Wheels;0x001Breturn;0x001D// end of script
Public0x10
void ToggleLightsActive(const FName& LightGroup, const bool& Active)
Script7 statements · 144 bytes of bytecode
0x0000GetLightsActive(LightGroup, CallFunc_GetLightsActive_Active);0x0020CallFunc_Not_PreBool_ReturnValue = Not_PreBool(CallFunc_GetLightsActive_Active);0x003DSetLightsActive(LightGroup, CallFunc_Not_PreBool_ReturnValue);0x005DCallFunc_Not_PreBool_ReturnValue = Not_PreBool(CallFunc_GetLightsActive_Active);0x007AActive = CallFunc_Not_PreBool_ReturnValue;0x008Dreturn;0x008F// end of script
Public0x09
void SetEngineRunning(bool EngineRunning)
Script3 statements · 26 bytes of bytecode
0x0000RPC_Server_EngineRunning(EngineRunning);0x0017return;0x0019// end of script
Public0x01
void GetEngineRunning(const bool& EngineRunning)
Script3 statements · 22 bytes of bytecode
0x0000EngineRunning = EngineRunning;0x0013return;0x0015// end of script
Public0x01
void StartEngine()
Script3 statements · 18 bytes of bytecode
0x0000SetEngineRunning(true);0x000Freturn;0x0011// end of script
Public0x00
void ConstructWheels()
Script40 statements · 1,070 bytes of bytecode
0x0000PushFlow(Label_042B);0x0005CallFunc_K2_GetComponentsByClass_ReturnValue = K2_GetComponentsByClass(/VehicleSystemPlugin/VehicleAssets/Components/Vehicle_Wheel.Vehicle_Wheel_C);0x002AVehicleChildren = CallFunc_K2_GetComponentsByClass_ReturnValue;0x0045Temp_int_Loop_Counter_Variable = 0;0x005CTemp_int_Array_Index_Variable = 0;0x0073Label_0073:0x0073CallFunc_Array_Length_ReturnValue = /Script/Engine.Default__KismetArrayLibrary.Array_Length(VehicleChildren);0x00AECallFunc_Less_IntInt_ReturnValue = Less_IntInt(Temp_int_Loop_Counter_Variable, CallFunc_Array_Length_ReturnValue);0x00D4if (!(CallFunc_Less_IntInt_ReturnValue)) goto Label_03D2;0x00E2Temp_int_Array_Index_Variable = Temp_int_Loop_Counter_Variable;0x00FDPushFlow(Label_03E1);0x0102/Script/Engine.Default__KismetArrayLibrary.Array_Get(VehicleChildren, Temp_int_Array_Index_Variable, CallFunc_Array_Get_Item);0x013DCallFunc_GetAttachParent_ReturnValue = CallFunc_Array_Get_Item.GetAttachParent();0x0167K2Node_DynamicCast_AsSkeletal_Mesh_Component = Cast<SkeletalMeshComponent>(CallFunc_GetAttachParent_ReturnValue);0x018BK2Node_DynamicCast_bSuccess = Cast<1>(K2Node_DynamicCast_AsSkeletal_Mesh_Component);0x01A8if (!(K2Node_DynamicCast_bSuccess)) goto Label_027A;0x01B6/Script/Engine.Default__KismetArrayLibrary.Array_Get(VehicleChildren, Temp_int_Array_Index_Variable, CallFunc_Array_Get_Item);0x01F1CallFunc_GetSocketLocation_ReturnValue = K2Node_DynamicCast_AsSkeletal_Mesh_Component.GetSocketLocation(CallFunc_Array_Get_Item.BoneName);0x0246CallFunc_Array_Get_Item.K2_SetWorldLocation(CallFunc_GetSocketLocation_ReturnValue, false, CallFunc_K2_SetWorldLocation_SweepHitResult, false);0x027ALabel_027A:0x027A/Script/Engine.Default__KismetArrayLibrary.Array_Get(VehicleChildren, Temp_int_Array_Index_Variable, CallFunc_Array_Get_Item);0x02B5CallFunc_GetNumChildrenComponents_ReturnValue = CallFunc_Array_Get_Item.GetNumChildrenComponents();0x02E7CallFunc_EqualEqual_IntInt_ReturnValue = EqualEqual_IntInt(CallFunc_GetNumChildrenComponents_ReturnValue, 0);0x0309if (!(CallFunc_EqualEqual_IntInt_ReturnValue)) goto Label_0372;0x0317/Script/Engine.Default__KismetArrayLibrary.Array_Get(VehicleChildren, Temp_int_Array_Index_Variable, CallFunc_Array_Get_Item);0x0352CreateWheelMesh(CallFunc_Array_Get_Item, CallFunc_CreateWheelMesh_NewMesh);0x0372Label_0372:0x0372/Script/Engine.Default__KismetArrayLibrary.Array_Get(VehicleChildren, Temp_int_Array_Index_Variable, CallFunc_Array_Get_Item);0x03ADCallFunc_Array_Get_Item.Construct();0x03D1PopFlow();0x03D2Label_03D2:0x03D2SuspensionPreview();0x03E0PopFlow();0x03E1Label_03E1:0x03E1CallFunc_Add_IntInt_ReturnValue = Add_IntInt(Temp_int_Loop_Counter_Variable, 1);0x040BTemp_int_Loop_Counter_Variable = CallFunc_Add_IntInt_ReturnValue;0x0426goto Label_0073;0x042BLabel_042B:0x042Breturn;0x042D// end of script
Private0x00
void ConstructComponents()
Script57 statements · 1,323 bytes of bytecode
0x0000PushFlow(Label_0528);0x0005CallFunc_K2_GetComponentsByClass_ReturnValue = K2_GetComponentsByClass(/Script/VehicleSystemPlugin.VehicleComponent);0x002AComponentsToInit = CallFunc_K2_GetComponentsByClass_ReturnValue;0x0045Temp_int_Loop_Counter_Variable = 0;0x005CTemp_int_Array_Index_Variable_1 = 0;0x0073Label_0073:0x0073CallFunc_Array_Length_ReturnValue = /Script/Engine.Default__KismetArrayLibrary.Array_Length(ComponentsToInit);0x00AECallFunc_Less_IntInt_ReturnValue = Less_IntInt(Temp_int_Loop_Counter_Variable, CallFunc_Array_Length_ReturnValue);0x00D4if (!(CallFunc_Less_IntInt_ReturnValue)) PopFlow();0x00DETemp_int_Array_Index_Variable_1 = Temp_int_Loop_Counter_Variable;0x00F9PushFlow(Label_01AD);0x00FE/Script/Engine.Default__KismetArrayLibrary.Array_Get(ComponentsToInit, Temp_int_Array_Index_Variable_1, CallFunc_Array_Get_Item);0x0139K2Node_DynamicCast_AsVehicle_Exhaust_Controller = Cast<Vehicle_ExhaustController_C>(CallFunc_Array_Get_Item);0x015DK2Node_DynamicCast_bSuccess_2 = Cast<1>(K2Node_DynamicCast_AsVehicle_Exhaust_Controller);0x017Aif (!(K2Node_DynamicCast_bSuccess_2)) goto Label_01F7;0x0188K2Node_DynamicCast_AsVehicle_Exhaust_Controller.Construct();0x01ACPopFlow();0x01ADLabel_01AD:0x01ADCallFunc_Add_IntInt_ReturnValue = Add_IntInt(Temp_int_Loop_Counter_Variable, 1);0x01D7Temp_int_Loop_Counter_Variable = CallFunc_Add_IntInt_ReturnValue;0x01F2goto Label_0073;0x01F7Label_01F7:0x01F7/Script/Engine.Default__KismetArrayLibrary.Array_Get(ComponentsToInit, Temp_int_Array_Index_Variable_1, CallFunc_Array_Get_Item);0x0232K2Node_DynamicCast_AsVehicle_Hitch = Cast<Vehicle_Hitch_C>(CallFunc_Array_Get_Item);0x0256K2Node_DynamicCast_bSuccess_1 = Cast<1>(K2Node_DynamicCast_AsVehicle_Hitch);0x0273if (!(K2Node_DynamicCast_bSuccess_1)) goto Label_02A6;0x0281K2Node_DynamicCast_AsVehicle_Hitch.InitHitch();0x02A5PopFlow();0x02A6Label_02A6:0x02A6/Script/Engine.Default__KismetArrayLibrary.Array_Get(ComponentsToInit, Temp_int_Array_Index_Variable_1, CallFunc_Array_Get_Item);0x02E1K2Node_DynamicCast_AsVehicle_Light_Controller = Cast<Vehicle_LightController_C>(CallFunc_Array_Get_Item);0x0305K2Node_DynamicCast_bSuccess = Cast<1>(K2Node_DynamicCast_AsVehicle_Light_Controller);0x0322if (!(K2Node_DynamicCast_bSuccess)) PopFlow();0x032CCallFunc_GetChildrenComponents_Children = {};0x0337K2Node_DynamicCast_AsVehicle_Light_Controller.GetChildrenComponents(false, CallFunc_GetChildrenComponents_Children);0x0361LightControllerComps = CallFunc_GetChildrenComponents_Children;0x037CTemp_int_Loop_Counter_Variable_1 = 0;0x0393Temp_int_Array_Index_Variable = 0;0x03AALabel_03AA:0x03AACallFunc_Array_Length_ReturnValue_1 = /Script/Engine.Default__KismetArrayLibrary.Array_Length(LightControllerComps);0x03E5CallFunc_Less_IntInt_ReturnValue_1 = Less_IntInt(Temp_int_Loop_Counter_Variable_1, CallFunc_Array_Length_ReturnValue_1);0x040Bif (!(CallFunc_Less_IntInt_ReturnValue_1)) PopFlow();0x0415Temp_int_Array_Index_Variable = Temp_int_Loop_Counter_Variable_1;0x0430PushFlow(Label_04DE);0x0435/Script/Engine.Default__KismetArrayLibrary.Array_Get(LightControllerComps, Temp_int_Array_Index_Variable, CallFunc_Array_Get_Item_1);0x0470K2Node_DynamicCast_AsLight_Component = Cast<LightComponent>(CallFunc_Array_Get_Item_1);0x0494K2Node_DynamicCast_bSuccess_3 = Cast<1>(K2Node_DynamicCast_AsLight_Component);0x04B1if (!(K2Node_DynamicCast_bSuccess_3)) PopFlow();0x04BBK2Node_DynamicCast_AsLight_Component.SetVisibility(false, false);0x04DDPopFlow();0x04DELabel_04DE:0x04DECallFunc_Add_IntInt_ReturnValue_1 = Add_IntInt(Temp_int_Loop_Counter_Variable_1, 1);0x0508Temp_int_Loop_Counter_Variable_1 = CallFunc_Add_IntInt_ReturnValue_1;0x0523goto Label_03AA;0x0528Label_0528:0x0528return;0x052A// end of script
Private0x00
void OnRep_HandbrakeApplied()
Script3 statements · 17 bytes of bytecode
0x0000UpdateWheelLocks();0x000Ereturn;0x0010// end of script
0x00
void TickCosmetics()
Script25 statements · 587 bytes of bytecode
0x0000PushFlow(Label_0248);0x0005Temp_int_Loop_Counter_Variable = 0;0x001CTemp_int_Array_Index_Variable = 0;0x0033Label_0033:0x0033CallFunc_Array_Length_ReturnValue = /Script/Engine.Default__KismetArrayLibrary.Array_Length(Exhausts);0x006ECallFunc_Less_IntInt_ReturnValue = Less_IntInt(Temp_int_Loop_Counter_Variable, CallFunc_Array_Length_ReturnValue);0x0094if (!(CallFunc_Less_IntInt_ReturnValue)) PopFlow();0x009ETemp_int_Array_Index_Variable = Temp_int_Loop_Counter_Variable;0x00B9PushFlow(Label_01FE);0x00BE/Script/Engine.Default__KismetArrayLibrary.Array_Get(Exhausts, Temp_int_Array_Index_Variable, CallFunc_Array_Get_Item);0x00F9CallFunc_IsValid_ReturnValue = IsValid(CallFunc_Array_Get_Item);0x0116if (!(CallFunc_IsValid_ReturnValue)) PopFlow();0x0120GetAirSpeed(CallFunc_GetAirSpeed_AirSpeed);0x0137CallFunc_Less_DoubleDouble_ReturnValue = Less_DoubleDouble(CallFunc_GetAirSpeed_AirSpeed, 40);0x015DCallFunc_BooleanAND_ReturnValue = BooleanAND(EngineRunning, CallFunc_Less_DoubleDouble_ReturnValue);0x0183/Script/Engine.Default__KismetArrayLibrary.Array_Get(Exhausts, Temp_int_Array_Index_Variable, CallFunc_Array_Get_Item);0x01BECallFunc_Array_Get_Item.UpdateExhaustSmoke(RPM, Throttle, CallFunc_BooleanAND_ReturnValue);0x01FDPopFlow();0x01FELabel_01FE:0x01FECallFunc_Add_IntInt_ReturnValue = Add_IntInt(Temp_int_Loop_Counter_Variable, 1);0x0228Temp_int_Loop_Counter_Variable = CallFunc_Add_IntInt_ReturnValue;0x0243goto Label_0033;0x0248Label_0248:0x0248return;0x024A// end of script
Private0x00
void InitExhausts()
Script4 statements · 67 bytes of bytecode
0x0000CallFunc_K2_GetComponentsByClass_ReturnValue = K2_GetComponentsByClass(/VehicleSystemPlugin/VehicleAssets/Components/Vehicle_ExhaustController.Vehicle_ExhaustController_C);0x0025Exhausts = CallFunc_K2_GetComponentsByClass_ReturnValue;0x0040return;0x0042// end of script
Private0x00
void TickWheels()
Script24 statements · 496 bytes of bytecode
0x0000PushFlow(Label_01ED);0x0005Temp_int_Loop_Counter_Variable = 0;0x001CTemp_int_Array_Index_Variable = 0;0x0033Label_0033:0x0033GetAllWheels(CallFunc_GetAllWheels_Wheels);0x004ACallFunc_Array_Length_ReturnValue = /Script/Engine.Default__KismetArrayLibrary.Array_Length(CallFunc_GetAllWheels_Wheels);0x0085CallFunc_Less_IntInt_ReturnValue = Less_IntInt(Temp_int_Loop_Counter_Variable, CallFunc_Array_Length_ReturnValue);0x00ABif (!(CallFunc_Less_IntInt_ReturnValue)) PopFlow();0x00B5Temp_int_Array_Index_Variable = Temp_int_Loop_Counter_Variable;0x00D0PushFlow(Label_01A3);0x00D5GetAllWheels(CallFunc_GetAllWheels_Wheels);0x00EC/Script/Engine.Default__KismetArrayLibrary.Array_Get(CallFunc_GetAllWheels_Wheels, Temp_int_Array_Index_Variable, CallFunc_Array_Get_Item);0x0127CurrentWheel = CallFunc_Array_Get_Item;0x013ACurrentWheel.UpdateSteering(Steering);0x0167UpdateWheelTorque(CurrentWheel);0x017ECurrentWheel.UpdateWheel();0x01A2PopFlow();0x01A3Label_01A3:0x01A3CallFunc_Add_IntInt_ReturnValue = Add_IntInt(Temp_int_Loop_Counter_Variable, 1);0x01CDTemp_int_Loop_Counter_Variable = CallFunc_Add_IntInt_ReturnValue;0x01E8goto Label_0033;0x01EDLabel_01ED:0x01EDreturn;0x01EF// end of script
Private0x00
void GearChanged(int32 previousGear, int32 CurrentGear)
Script2 statements · 3 bytes of bytecode
0x0000return;0x0002// end of script
Protected0x08
void GetInitializationState(const bool& Initialized)
Script3 statements · 22 bytes of bytecode
0x0000Initialized = Initialized;0x0013return;0x0015// end of script
Public0x01
void AVS_PrintDebugMessage(const FString& Message, bool Error?)
Script9 statements · 337 bytes of bytecode
0x0000Temp_bool_Variable = Error?;0x0013Temp_struct_Variable = LinearColor{1f, 0f, 0f, 1f};0x0047Temp_struct_Variable_1 = LinearColor{1f, 1f, 0f, 1f};0x007BCallFunc_GetDisplayName_ReturnValue = GetDisplayName(this);0x0098CallFunc_Concat_StrStr_ReturnValue = Concat_StrStr(CallFunc_GetDisplayName_ReturnValue, " :: ");0x00C3CallFunc_Concat_StrStr_ReturnValue_1 = Concat_StrStr(CallFunc_Concat_StrStr_ReturnValue, Message);0x00F1PrintString(this, CallFunc_Concat_StrStr_ReturnValue_1, true, true, Switch(Temp_bool_Variable, false => Temp_struct_Variable_1, true => Temp_struct_Variable, default => K2Node_Select_Default), 15f, FName(None));0x014Ereturn;0x0150// end of script
Public0x11
void InitVehicleMesh(const bool& HasValidMesh)
Script16 statements · 285 bytes of bytecode
0x0000CallFunc_IsValid_ReturnValue_1 = IsValid(VehicleMesh);0x001Dif (!(CallFunc_IsValid_ReturnValue_1)) goto Label_00E7;0x002BCallFunc_SetPhysicsMaxAngularVelocityInDegrees_NewMaxAngVel_ImplicitCast = Cast<3>(VehicleMaxAngularVelocity);0x0048VehicleMesh.SetPhysicsMaxAngularVelocityInDegrees(CallFunc_SetPhysicsMaxAngularVelocityInDegrees_NewMaxAngVel_ImplicitCast, false, FName(None));0x007FCallFunc_IsValid_ReturnValue = IsValid(PhysicsMaterial);0x009Cif (!(CallFunc_IsValid_ReturnValue)) goto Label_00D7;0x00AAVehicleMesh.SetPhysMaterialOverride(PhysicsMaterial);0x00D7Label_00D7:0x00D7HasValidMesh = true;0x00E2goto Label_011A;0x00E7Label_00E7:0x00E7AVS_PrintDebugMessage("Vehicle mesh not valid!", true);0x010FHasValidMesh = false;0x011ALabel_011A:0x011Areturn;0x011C// end of script
Private0x01
void ChangeGear()
Script11 statements · 223 bytes of bytecode
0x0000CallFunc_NotEqual_IntInt_ReturnValue = NotEqual_IntInt(GearInput, -1);0x0022if (!(CallFunc_NotEqual_IntInt_ReturnValue)) goto Label_00DC;0x0030CurrentGear = GearInput;0x004BGear = Gears[CurrentGear];0x0070K2Node_VariableSet_DynamicMaxTorque_ImplicitCast = Cast<4>(Gear.MaxTorque);0x0096DynamicMaxTorque = K2Node_VariableSet_DynamicMaxTorque_ImplicitCast;0x00B1isShifting = false;0x00BCGearChanged(previousGear, CurrentGear);0x00DCLabel_00DC:0x00DCreturn;0x00DE// end of script
Private0x00
void GetLightsActive(const FName& LightGroup, const bool& Active)
Script4 statements · 82 bytes of bytecode
0x0000CallFunc_Array_Contains_ReturnValue = /Script/Engine.Default__KismetArrayLibrary.Array_Contains(ActiveLightGroups, LightGroup);0x003CActive = CallFunc_Array_Contains_ReturnValue;0x004Freturn;0x0051// end of script
Public0x09
void SetLightsActive(const FName& LightGroup, bool Active)
Script8 statements · 150 bytes of bytecode
0x0000if (!(Active)) goto Label_0057;0x000ECallFunc_Array_AddUnique_ReturnValue = /Script/Engine.Default__KismetArrayLibrary.Array_AddUnique(ActiveLightGroups, LightGroup);0x0052goto Label_0093;0x0057Label_0057:0x0057CallFunc_Array_RemoveItem_ReturnValue = /Script/Engine.Default__KismetArrayLibrary.Array_RemoveItem(ActiveLightGroups, LightGroup);0x0093Label_0093:0x0093return;0x0095// end of script
Public0x09
void UpdateLightDecorations(UVehicle_LightController_C* LightController)
Script2 statements · 3 bytes of bytecode
0x0000return;0x0002// end of script
Protected0x08
void UpdateLights()
Script45 statements · 1,222 bytes of bytecode
0x0000PushFlow(Label_04C3);0x0005Temp_int_Loop_Counter_Variable_1 = 0;0x001CTemp_int_Array_Index_Variable_1 = 0;0x0033Label_0033:0x0033CallFunc_Array_Length_ReturnValue = /Script/Engine.Default__KismetArrayLibrary.Array_Length(LightControllers);0x006ECallFunc_Less_IntInt_ReturnValue = Less_IntInt(Temp_int_Loop_Counter_Variable_1, CallFunc_Array_Length_ReturnValue);0x0094if (!(CallFunc_Less_IntInt_ReturnValue)) PopFlow();0x009ETemp_int_Array_Index_Variable_1 = Temp_int_Loop_Counter_Variable_1;0x00B9PushFlow(Label_0359);0x00BETemp_int_Loop_Counter_Variable = 0;0x00D5Temp_int_Array_Index_Variable = 0;0x00ECLabel_00EC:0x00EC/Script/Engine.Default__KismetArrayLibrary.Array_Get(LightControllers, Temp_int_Array_Index_Variable_1, CallFunc_Array_Get_Item);0x0127CallFunc_Array_Length_ReturnValue_1 = /Script/Engine.Default__KismetArrayLibrary.Array_Length(CallFunc_Array_Get_Item.Relations);0x0178CallFunc_Less_IntInt_ReturnValue_1 = Less_IntInt(Temp_int_Loop_Counter_Variable, CallFunc_Array_Length_ReturnValue_1);0x019Eif (!(CallFunc_Less_IntInt_ReturnValue_1)) goto Label_03A3;0x01ACTemp_int_Array_Index_Variable = Temp_int_Loop_Counter_Variable;0x01C7PushFlow(Label_0479);0x01CC/Script/Engine.Default__KismetArrayLibrary.Array_Get(LightControllers, Temp_int_Array_Index_Variable_1, CallFunc_Array_Get_Item);0x0207/Script/Engine.Default__KismetArrayLibrary.Array_Get(CallFunc_Array_Get_Item.Relations, Temp_int_Array_Index_Variable, CallFunc_Array_Get_Item_1);0x0258GetLightsActive(CallFunc_Array_Get_Item_1.WhenGroupActive_6_8FAB6FC54D99595E9D1A26A30E21A155, CallFunc_GetLightsActive_Active);0x0281if (!(CallFunc_GetLightsActive_Active)) PopFlow();0x028B/Script/Engine.Default__KismetArrayLibrary.Array_Get(LightControllers, Temp_int_Array_Index_Variable_1, CallFunc_Array_Get_Item);0x02C6/Script/Engine.Default__KismetArrayLibrary.Array_Get(CallFunc_Array_Get_Item.Relations, Temp_int_Array_Index_Variable, CallFunc_Array_Get_Item_1);0x0317K2Node_VariableSet_ControllerIntensity_ImplicitCast = Cast<4>(CallFunc_Array_Get_Item_1.SetIntensity_7_E0C89CB64F614A90A417339F4E35D5E2);0x033DControllerIntensity = K2Node_VariableSet_ControllerIntensity_ImplicitCast;0x0358PopFlow();0x0359Label_0359:0x0359CallFunc_Add_IntInt_ReturnValue_1 = Add_IntInt(Temp_int_Loop_Counter_Variable_1, 1);0x0383Temp_int_Loop_Counter_Variable_1 = CallFunc_Add_IntInt_ReturnValue_1;0x039Egoto Label_0033;0x03A3Label_03A3:0x03A3/Script/Engine.Default__KismetArrayLibrary.Array_Get(LightControllers, Temp_int_Array_Index_Variable_1, CallFunc_Array_Get_Item);0x03DECallFunc_Array_Get_Item.Illuminate(ControllerIntensity);0x040BControllerIntensity = 0;0x0426/Script/Engine.Default__KismetArrayLibrary.Array_Get(LightControllers, Temp_int_Array_Index_Variable_1, CallFunc_Array_Get_Item);0x0461UpdateLightDecorations(CallFunc_Array_Get_Item);0x0478PopFlow();0x0479Label_0479:0x0479CallFunc_Add_IntInt_ReturnValue = Add_IntInt(Temp_int_Loop_Counter_Variable, 1);0x04A3Temp_int_Loop_Counter_Variable = CallFunc_Add_IntInt_ReturnValue;0x04BEgoto Label_00EC;0x04C3Label_04C3:0x04C3return;0x04C5// end of script
Public0x00
void InitLights()
Script21 statements · 427 bytes of bytecode
0x0000PushFlow(Label_01A8);0x0005CallFunc_K2_GetComponentsByClass_ReturnValue = K2_GetComponentsByClass(/VehicleSystemPlugin/VehicleAssets/Components/Vehicle_LightController.Vehicle_LightController_C);0x002ALightControllers = CallFunc_K2_GetComponentsByClass_ReturnValue;0x0045Temp_int_Loop_Counter_Variable = 0;0x005CTemp_int_Array_Index_Variable = 0;0x0073Label_0073:0x0073CallFunc_Array_Length_ReturnValue = /Script/Engine.Default__KismetArrayLibrary.Array_Length(LightControllers);0x00AECallFunc_Less_IntInt_ReturnValue = Less_IntInt(Temp_int_Loop_Counter_Variable, CallFunc_Array_Length_ReturnValue);0x00D4if (!(CallFunc_Less_IntInt_ReturnValue)) PopFlow();0x00DETemp_int_Array_Index_Variable = Temp_int_Loop_Counter_Variable;0x00F9PushFlow(Label_015E);0x00FE/Script/Engine.Default__KismetArrayLibrary.Array_Get(LightControllers, Temp_int_Array_Index_Variable, CallFunc_Array_Get_Item);0x0139CallFunc_Array_Get_Item.Init();0x015DPopFlow();0x015ELabel_015E:0x015ECallFunc_Add_IntInt_ReturnValue = Add_IntInt(Temp_int_Loop_Counter_Variable, 1);0x0188Temp_int_Loop_Counter_Variable = CallFunc_Add_IntInt_ReturnValue;0x01A3goto Label_0073;0x01A8Label_01A8:0x01A8return;0x01AA// end of script
Private0x00
void SetPhysics(bool Simulate?)
Script30 statements · 547 bytes of bytecode
0x0000PushFlow(Label_0220);0x0005if (!(Simulate?)) goto Label_0139;0x0013Label_0013:0x0013Temp_int_Loop_Counter_Variable = 0;0x002ATemp_int_Array_Index_Variable = 0;0x0041Label_0041:0x0041CallFunc_Array_Length_ReturnValue = /Script/Engine.Default__KismetArrayLibrary.Array_Length(Wheels);0x007CCallFunc_Less_IntInt_ReturnValue = Less_IntInt(Temp_int_Loop_Counter_Variable, CallFunc_Array_Length_ReturnValue);0x00A2if (!(CallFunc_Less_IntInt_ReturnValue)) goto Label_017A;0x00B0Temp_int_Array_Index_Variable = Temp_int_Loop_Counter_Variable;0x00CBPushFlow(Label_01D6);0x00D0/Script/Engine.Default__KismetArrayLibrary.Array_Get(Wheels, Temp_int_Array_Index_Variable, CallFunc_Array_Get_Item);0x010BCallFunc_Array_Get_Item.SetPhysics(Simulate?);0x0138PopFlow();0x0139Label_0139:0x0139GetVehicleMesh(CallFunc_GetVehicleMesh_Mesh);0x0150CallFunc_GetVehicleMesh_Mesh.SetSimulatePhysics(false);0x0175goto Label_0013;0x017ALabel_017A:0x017AGetVehicleMesh(CallFunc_GetVehicleMesh_Mesh_1);0x0191CallFunc_GetVehicleMesh_Mesh_1.SetSimulatePhysics(Simulate?);0x01BESetupWheelContactModification(CallFunc_SetupWheelContactModification_RegisterSuccess);0x01D5PopFlow();0x01D6Label_01D6:0x01D6CallFunc_Add_IntInt_ReturnValue = Add_IntInt(Temp_int_Loop_Counter_Variable, 1);0x0200Temp_int_Loop_Counter_Variable = CallFunc_Add_IntInt_ReturnValue;0x021Bgoto Label_0041;0x0220Label_0220:0x0220return;0x0222// end of script
Public0x01
void MoveShifterPosition(bool MoveUp, const ShifterPositions& NewPos)
Script39 statements · 667 bytes of bytecode
0x0000PushFlow(Label_0298);0x0005PushFlow(Label_01F0);0x000APushFlow(Label_002B);0x000FStickPos = Shifter;0x002APopFlow();0x002BLabel_002B:0x002BCallFunc_HasAuthority_ReturnValue = HasAuthority();0x003FCallFunc_IsPlayerControlled_ReturnValue = this.IsPlayerControlled();0x0065CallFunc_Not_PreBool_ReturnValue = Not_PreBool(CallFunc_IsPlayerControlled_ReturnValue);0x0082CallFunc_IsLocallyControlled_ReturnValue = this.IsLocallyControlled();0x00A8CallFunc_BooleanAND_ReturnValue = BooleanAND(CallFunc_Not_PreBool_ReturnValue, CallFunc_HasAuthority_ReturnValue);0x00CECallFunc_BooleanOR_ReturnValue = BooleanOR(CallFunc_IsLocallyControlled_ReturnValue, CallFunc_BooleanAND_ReturnValue);0x00F4if (!(CallFunc_BooleanOR_ReturnValue)) PopFlow();0x00FEif (!(MoveUp)) goto Label_013A;0x010CCallFunc_EqualEqual_ByteByte_ReturnValue = EqualEqual_ByteByte(Shifter, 0);0x012Bif (!(CallFunc_EqualEqual_ByteByte_ReturnValue)) goto Label_0210;0x0139PopFlow();0x013ALabel_013A:0x013ACallFunc_EqualEqual_ByteByte_ReturnValue_1 = EqualEqual_ByteByte(Shifter, 3);0x0159if (!(CallFunc_EqualEqual_ByteByte_ReturnValue_1)) goto Label_0168;0x0167PopFlow();0x0168Label_0168:0x0168CallFunc_Add_ByteByte_ReturnValue = Add_ByteByte(Shifter, 1);0x018FCallFunc_GetValidValue_ReturnValue_1 = GetValidValue(/VehicleSystemPlugin/VehicleAssets/ShifterPositions.ShifterPositions, CallFunc_Add_ByteByte_ReturnValue);0x01BDStickPos = CallFunc_GetValidValue_ReturnValue_1;0x01D8SetShifterPosition(StickPos);0x01EFPopFlow();0x01F0Label_01F0:0x01F0NewPos = StickPos;0x020Bgoto Label_0298;0x0210Label_0210:0x0210CallFunc_Subtract_ByteByte_ReturnValue = Subtract_ByteByte(Shifter, 1);0x0237CallFunc_GetValidValue_ReturnValue = GetValidValue(/VehicleSystemPlugin/VehicleAssets/ShifterPositions.ShifterPositions, CallFunc_Subtract_ByteByte_ReturnValue);0x0265StickPos = CallFunc_GetValidValue_ReturnValue;0x0280SetShifterPosition(StickPos);0x0297PopFlow();0x0298Label_0298:0x0298return;0x029A// end of script
Public0x02
void UpdateWheelLocks()
Script53 statements · 1,281 bytes of bytecode
0x0000PushFlow(Label_04FE);0x0005IsCinematic(CallFunc_IsCinematic_IsCinematic);0x001CCallFunc_Not_PreBool_ReturnValue = Not_PreBool(CallFunc_IsCinematic_IsCinematic);0x0039if (!(CallFunc_Not_PreBool_ReturnValue)) goto Label_0322;0x0047CallFunc_EqualEqual_ByteByte_ReturnValue = EqualEqual_ByteByte(Shifter, 0);0x0066isInPark = CallFunc_EqualEqual_ByteByte_ReturnValue;0x0079Temp_int_Loop_Counter_Variable = 0;0x0090Temp_int_Array_Index_Variable_1 = 0;0x00A7Label_00A7:0x00A7GetAllWheels(CallFunc_GetAllWheels_Wheels);0x00BECallFunc_Array_Length_ReturnValue = /Script/Engine.Default__KismetArrayLibrary.Array_Length(CallFunc_GetAllWheels_Wheels);0x00F9CallFunc_Less_IntInt_ReturnValue = Less_IntInt(Temp_int_Loop_Counter_Variable, CallFunc_Array_Length_ReturnValue);0x011Fif (!(CallFunc_Less_IntInt_ReturnValue)) PopFlow();0x0129Temp_int_Array_Index_Variable_1 = Temp_int_Loop_Counter_Variable;0x0144PushFlow(Label_04B4);0x0149CallFunc_GetForceLockVehicleInPlace_ReturnValue = GetForceLockVehicleInPlace();0x015DGetAllWheels(CallFunc_GetAllWheels_Wheels);0x0174/Script/Engine.Default__KismetArrayLibrary.Array_Get(CallFunc_GetAllWheels_Wheels, Temp_int_Array_Index_Variable_1, CallFunc_Array_Get_Item);0x01AFCallFunc_Array_Get_Item.GetIsDrivingWheel(CallFunc_GetIsDrivingWheel_isDrivingWheel);0x01DCCallFunc_Array_Get_Item.GetIsHandbrakeWheel(CallFunc_GetIsHandbrakeWheel_isHandbrakeWheel);0x0209CallFunc_Array_Get_Item.GetIsBrakeLocked(CallFunc_GetIsBrakeLocked_isBrakeLocked);0x0236CallFunc_BooleanAND_ReturnValue = BooleanAND(CallFunc_GetIsHandbrakeWheel_isHandbrakeWheel, HandbrakeApplied);0x025CCallFunc_BooleanAND_ReturnValue_1 = BooleanAND(CallFunc_GetIsDrivingWheel_isDrivingWheel, isInPark);0x0282CallFunc_BooleanOR_ReturnValue = BooleanOR(CallFunc_BooleanAND_ReturnValue, CallFunc_BooleanAND_ReturnValue_1);0x02A8CallFunc_BooleanOR_ReturnValue_1 = BooleanOR(CallFunc_BooleanOR_ReturnValue, CallFunc_GetIsBrakeLocked_isBrakeLocked);0x02CECallFunc_BooleanOR_ReturnValue_2 = BooleanOR(CallFunc_BooleanOR_ReturnValue_1, CallFunc_GetForceLockVehicleInPlace_ReturnValue);0x02F4CallFunc_Array_Get_Item.LockWheel(CallFunc_BooleanOR_ReturnValue_2);0x0321PopFlow();0x0322Label_0322:0x0322Temp_int_Loop_Counter_Variable_1 = 0;0x0339Temp_int_Array_Index_Variable = 0;0x0350Label_0350:0x0350GetAllWheels(CallFunc_GetAllWheels_Wheels_1);0x0367CallFunc_Array_Length_ReturnValue_1 = /Script/Engine.Default__KismetArrayLibrary.Array_Length(CallFunc_GetAllWheels_Wheels_1);0x03A2CallFunc_Less_IntInt_ReturnValue_1 = Less_IntInt(Temp_int_Loop_Counter_Variable_1, CallFunc_Array_Length_ReturnValue_1);0x03C8if (!(CallFunc_Less_IntInt_ReturnValue_1)) PopFlow();0x03D2Temp_int_Array_Index_Variable = Temp_int_Loop_Counter_Variable_1;0x03EDPushFlow(Label_046A);0x03F2GetAllWheels(CallFunc_GetAllWheels_Wheels_1);0x0409/Script/Engine.Default__KismetArrayLibrary.Array_Get(CallFunc_GetAllWheels_Wheels_1, Temp_int_Array_Index_Variable, CallFunc_Array_Get_Item_1);0x0444CallFunc_Array_Get_Item_1.LockWheel(false);0x0469PopFlow();0x046ALabel_046A:0x046ACallFunc_Add_IntInt_ReturnValue_1 = Add_IntInt(Temp_int_Loop_Counter_Variable_1, 1);0x0494Temp_int_Loop_Counter_Variable_1 = CallFunc_Add_IntInt_ReturnValue_1;0x04AFgoto Label_0350;0x04B4Label_04B4:0x04B4CallFunc_Add_IntInt_ReturnValue = Add_IntInt(Temp_int_Loop_Counter_Variable, 1);0x04DETemp_int_Loop_Counter_Variable = CallFunc_Add_IntInt_ReturnValue;0x04F9goto Label_00A7;0x04FELabel_04FE:0x04FEreturn;0x0500// end of script
Protected0x00
void UpdateBrakes()
Script40 statements · 916 bytes of bytecode
0x0000PushFlow(Label_0391);0x0005NewBrakeLock = false;0x0010Temp_int_Loop_Counter_Variable = 0;0x0027Temp_int_Array_Index_Variable = 0;0x003ELabel_003E:0x003ECallFunc_Array_Length_ReturnValue = /Script/Engine.Default__KismetArrayLibrary.Array_Length(Wheels);0x0079CallFunc_Less_IntInt_ReturnValue = Less_IntInt(Temp_int_Loop_Counter_Variable, CallFunc_Array_Length_ReturnValue);0x009Fif (!(CallFunc_Less_IntInt_ReturnValue)) goto Label_032E;0x00ADTemp_int_Array_Index_Variable = Temp_int_Loop_Counter_Variable;0x00C8PushFlow(Label_0347);0x00CD/Script/Engine.Default__KismetArrayLibrary.Array_Get(Wheels, Temp_int_Array_Index_Variable, CallFunc_Array_Get_Item);0x0108CurWheel = CallFunc_Array_Get_Item;0x011BCallFunc_GetIsAttached_ReturnValue = CurWheel.GetIsAttached();0x0145if (!(CallFunc_GetIsAttached_ReturnValue)) PopFlow();0x014FCurWheel.GetIsDrivingWheel(CallFunc_GetIsDrivingWheel_isDrivingWheel);0x017CCurWheel.GetIsHandbrakeWheel(CallFunc_GetIsHandbrakeWheel_isHandbrakeWheel);0x01A9CallFunc_BooleanOR_ReturnValue = BooleanOR(CallFunc_GetIsHandbrakeWheel_isHandbrakeWheel, CallFunc_GetIsDrivingWheel_isDrivingWheel);0x01CFCallFunc_BooleanOR_ReturnValue_1 = BooleanOR(CallFunc_BooleanOR_ReturnValue, false);0x01EDCallFunc_GreaterEqual_DoubleDouble_ReturnValue = GreaterEqual_DoubleDouble(Brake, 0.949999988079071);0x0213CallFunc_LessEqual_DoubleDouble_ReturnValue = LessEqual_DoubleDouble(AirSpeed, 20);0x0239CallFunc_BooleanAND_ReturnValue = BooleanAND(CallFunc_GreaterEqual_DoubleDouble_ReturnValue, CallFunc_LessEqual_DoubleDouble_ReturnValue);0x025FCallFunc_BooleanAND_ReturnValue_1 = BooleanAND(CallFunc_BooleanAND_ReturnValue, CallFunc_BooleanOR_ReturnValue_1);0x0285NewBrakeLock = CallFunc_BooleanAND_ReturnValue_1;0x0298CurWheel.GetIsBrakeLocked(CallFunc_GetIsBrakeLocked_isBrakeLocked);0x02C5CallFunc_NotEqual_BoolBool_ReturnValue = NotEqual_BoolBool(CallFunc_GetIsBrakeLocked_isBrakeLocked, NewBrakeLock);0x02EBif (!(CallFunc_NotEqual_BoolBool_ReturnValue)) PopFlow();0x02F5CurWheel.SetIsBrakeLocked(NewBrakeLock);0x0322WheelLocksChanged = true;0x032DPopFlow();0x032ELabel_032E:0x032Eif (!(WheelLocksChanged)) PopFlow();0x0338UpdateWheelLocks();0x0346PopFlow();0x0347Label_0347:0x0347CallFunc_Add_IntInt_ReturnValue = Add_IntInt(Temp_int_Loop_Counter_Variable, 1);0x0371Temp_int_Loop_Counter_Variable = CallFunc_Add_IntInt_ReturnValue;0x038Cgoto Label_003E;0x0391Label_0391:0x0391return;0x0393// end of script
Private0x00
void UpdateForces()
Script15 statements · 493 bytes of bytecode
0x0000UpdateBrakes();0x000EGetVehicleMesh(CallFunc_GetVehicleMesh_Mesh);0x0025CallFunc_GetPhysicsLinearVelocity_ReturnValue = CallFunc_GetVehicleMesh_Mesh.GetPhysicsLinearVelocity(FName(None));0x0064GetVehicleMesh(CallFunc_GetVehicleMesh_Mesh);0x007BCallFunc_GetForwardVector_ReturnValue = CallFunc_GetVehicleMesh_Mesh.GetForwardVector();0x00ADCallFunc_MakeRotFromX_ReturnValue = MakeRotFromX(CallFunc_GetForwardVector_ReturnValue);0x00D2CallFunc_NegateRotator_ReturnValue = NegateRotator(CallFunc_MakeRotFromX_ReturnValue);0x00F7CallFunc_GreaterGreater_VectorRotator_ReturnValue = GreaterGreater_VectorRotator(CallFunc_GetPhysicsLinearVelocity_ReturnValue, CallFunc_NegateRotator_ReturnValue);0x0125BreakVector(CallFunc_GreaterGreater_VectorRotator_ReturnValue, CallFunc_BreakVector_X, CallFunc_BreakVector_Y, CallFunc_BreakVector_Z);0x0153CallFunc_Abs_ReturnValue = Abs(CallFunc_BreakVector_Y);0x0178CallFunc_MapRangeClamped_ReturnValue = MapRangeClamped(CallFunc_Abs_ReturnValue, 1000, 2500, 0, 1);0x01C1Slip = CallFunc_MapRangeClamped_ReturnValue;0x01DCUpdateLinearDamping();0x01EAreturn;0x01EC// end of script
Private0x00
void UpdateInputs()
Script34 statements · 673 bytes of bytecode
0x0000PushFlow(Label_029E);0x0005BrakesChanged = false;0x0010CopyInputsFromHost();0x001ECallFunc_Less_IntInt_ReturnValue = Less_IntInt(CurrentGear, 0);0x0040CallFunc_BooleanAND_ReturnValue = BooleanAND(CallFunc_Less_IntInt_ReturnValue, ZeroThrottleWhileShifting);0x0066Temp_bool_Variable = CallFunc_BooleanAND_ReturnValue;0x0079Temp_real_Variable = 0;0x0094CallFunc_FInterpEaseInOut_ReturnValue_1 = FInterpEaseInOut(Throttle, Switch(Temp_bool_Variable, false => ThrottleInput, true => Temp_real_Variable, default => K2Node_Select_Default), 0.05000000074505806, 0.30000001192092896);0x0100Throttle = CallFunc_FInterpEaseInOut_ReturnValue_1;0x011BCallFunc_FInterpEaseInOut_ReturnValue = FInterpEaseInOut(Brake, BrakeInput, 0.05000000074505806, 0.10000000149011612);0x015BBrake = CallFunc_FInterpEaseInOut_ReturnValue;0x0176CallFunc_NearlyEqual_FloatFloat_ReturnValue = NearlyEqual_FloatFloat(Brake, BrakeInput, 0.009999999776482582);0x01A5if (!(CallFunc_NearlyEqual_FloatFloat_ReturnValue)) goto Label_01CE;0x01B3Brake = BrakeInput;0x01CELabel_01CE:0x01CEPushFlow(Label_022E);0x01D3CallFunc_NotEqual_DoubleDouble_ReturnValue = NotEqual_DoubleDouble(Brake, 0);0x01F9CallFunc_EqualEqual_BoolBool_ReturnValue = EqualEqual_BoolBool(isBrakeApplied, CallFunc_NotEqual_DoubleDouble_ReturnValue);0x021Fif (!(CallFunc_EqualEqual_BoolBool_ReturnValue)) goto Label_0292;0x022DPopFlow();0x022ELabel_022E:0x022ECallFunc_NotEqual_DoubleDouble_ReturnValue = NotEqual_DoubleDouble(Brake, 0);0x0254isBrakeApplied = CallFunc_NotEqual_DoubleDouble_ReturnValue;0x0267if (!(BrakesChanged)) goto Label_0283;0x0275UpdateLights();0x0283Label_0283:0x0283AutomaticShifterPosition();0x0291PopFlow();0x0292Label_0292:0x0292BrakesChanged = true;0x029DPopFlow();0x029ELabel_029E:0x029Ereturn;0x02A0// end of script
Private0x00
void EngineSimluation()
Script327 statements · 8,698 bytes of bytecode
0x0000PushFlow(Label_21F7);0x0005ChosenGearNum = 1;0x001COldAirSpeed = 0;0x0037OldAirSpeed = AirSpeed;0x0052GetVehicleMesh(CallFunc_GetVehicleMesh_Mesh);0x0069CallFunc_GetPhysicsLinearVelocity_ReturnValue = CallFunc_GetVehicleMesh_Mesh.GetPhysicsLinearVelocity(FName(None));0x00A8CallFunc_VSize_ReturnValue = VSize(CallFunc_GetPhysicsLinearVelocity_ReturnValue);0x00CDCallFunc_Multiply_DoubleDouble_ReturnValue_4 = Multiply_DoubleDouble(CallFunc_VSize_ReturnValue, SpeedUnit.FromCm_15_9B54283E41D024D1F31615B18F094757);0x0104AirSpeed = CallFunc_Multiply_DoubleDouble_ReturnValue_4;0x011FCallFunc_Subtract_DoubleDouble_ReturnValue_2 = Subtract_DoubleDouble(AirSpeed, OldAirSpeed);0x014DCallFunc_Multiply_DoubleDouble_ReturnValue_3 = Multiply_DoubleDouble(CallFunc_Subtract_DoubleDouble_ReturnValue_2, 25);0x017BAcceleration = CallFunc_Multiply_DoubleDouble_ReturnValue_3;0x0196Temp_int_Loop_Counter_Variable_1 = 0;0x01ADTemp_int_Array_Index_Variable = 0;0x01C4Label_01C4:0x01C4CallFunc_Array_Length_ReturnValue_2 = /Script/Engine.Default__KismetArrayLibrary.Array_Length(Wheels);0x01FFCallFunc_Less_IntInt_ReturnValue_1 = Less_IntInt(Temp_int_Loop_Counter_Variable_1, CallFunc_Array_Length_ReturnValue_2);0x0225if (!(CallFunc_Less_IntInt_ReturnValue_1)) goto Label_0377;0x0233Temp_int_Array_Index_Variable = Temp_int_Loop_Counter_Variable_1;0x024EPushFlow(Label_04FD);0x0253/Script/Engine.Default__KismetArrayLibrary.Array_Get(Wheels, Temp_int_Array_Index_Variable, CallFunc_Array_Get_Item_2);0x028ECallFunc_Array_Get_Item_2.GetIsDrivingWheel(CallFunc_GetIsDrivingWheel_isDrivingWheel);0x02BBif (!(CallFunc_GetIsDrivingWheel_isDrivingWheel)) PopFlow();0x02C5/Script/Engine.Default__KismetArrayLibrary.Array_Get(Wheels, Temp_int_Array_Index_Variable, CallFunc_Array_Get_Item_2);0x0300CallFunc_Array_Get_Item_2.GetRotationSpeed(CallFunc_GetRotationSpeed_RotationSpeed);0x032DCallFunc_Add_DoubleDouble_ReturnValue_2 = Add_DoubleDouble(TotalWheelSpeed, CallFunc_GetRotationSpeed_RotationSpeed);0x035BTotalWheelSpeed = CallFunc_Add_DoubleDouble_ReturnValue_2;0x0376PopFlow();0x0377Label_0377:0x0377CallFunc_Greater_IntInt_ReturnValue_1 = Greater_IntInt(NumDrivingWheels, 0);0x0399if (!(CallFunc_Greater_IntInt_ReturnValue_1)) goto Label_04DD;0x03A7CallFunc_Conv_IntToDouble_ReturnValue = Conv_IntToDouble(NumDrivingWheels);0x03CCCallFunc_Divide_DoubleDouble_ReturnValue = Divide_DoubleDouble(TotalWheelSpeed, CallFunc_Conv_IntToDouble_ReturnValue);0x03FAAverageWheelSpeed = CallFunc_Divide_DoubleDouble_ReturnValue;0x0415Label_0415:0x0415if (!(EngineRunning)) goto Label_0547;0x0423PushFlow(Label_05D9);0x0428K2Node_SwitchEnum_CmpSuccess_2 = NotEqual_ByteByte(Shifter, 0);0x0447if (!(K2Node_SwitchEnum_CmpSuccess_2)) goto Label_0A54;0x0455K2Node_SwitchEnum_CmpSuccess_2 = NotEqual_ByteByte(Shifter, 1);0x0474if (!(K2Node_SwitchEnum_CmpSuccess_2)) goto Label_0A70;0x0482K2Node_SwitchEnum_CmpSuccess_2 = NotEqual_ByteByte(Shifter, 2);0x04A1if (!(K2Node_SwitchEnum_CmpSuccess_2)) goto Label_0A54;0x04AFK2Node_SwitchEnum_CmpSuccess_2 = NotEqual_ByteByte(Shifter, 3);0x04CEif (!(K2Node_SwitchEnum_CmpSuccess_2)) goto Label_0A70;0x04DCPopFlow();0x04DDLabel_04DD:0x04DDAverageWheelSpeed = 0;0x04F8goto Label_0415;0x04FDLabel_04FD:0x04FDCallFunc_Add_IntInt_ReturnValue_1 = Add_IntInt(Temp_int_Loop_Counter_Variable_1, 1);0x0527Temp_int_Loop_Counter_Variable_1 = CallFunc_Add_IntInt_ReturnValue_1;0x0542goto Label_01C4;0x0547Label_0547:0x0547TargetSpeed = 0;0x0562Torque = 0;0x057DCallFunc_FInterpEaseInOut_ReturnValue = FInterpEaseInOut(RPM, 0, 0.10000000149011612, 0.5);0x05BDRPM = CallFunc_FInterpEaseInOut_ReturnValue;0x05D8PopFlow();0x05D9Label_05D9:0x05D9if (!(AutomaticTransmission)) goto Label_09AD;0x05E7CallFunc_Not_PreBool_ReturnValue_1 = Not_PreBool(isShifting);0x0604if (!(CallFunc_Not_PreBool_ReturnValue_1)) goto Label_08BB;0x0612LastGearNum = GearInput;0x062DK2Node_SwitchEnum_CmpSuccess = NotEqual_ByteByte(Shifter, 0);0x064Cif (!(K2Node_SwitchEnum_CmpSuccess)) goto Label_095C;0x065AK2Node_SwitchEnum_CmpSuccess = NotEqual_ByteByte(Shifter, 1);0x0679if (!(K2Node_SwitchEnum_CmpSuccess)) goto Label_06E2;0x0687K2Node_SwitchEnum_CmpSuccess = NotEqual_ByteByte(Shifter, 2);0x06A6if (!(K2Node_SwitchEnum_CmpSuccess)) goto Label_095C;0x06B4K2Node_SwitchEnum_CmpSuccess = NotEqual_ByteByte(Shifter, 3);0x06D3if (!(K2Node_SwitchEnum_CmpSuccess)) goto Label_0BC6;0x06E1PopFlow();0x06E2Label_06E2:0x06E2CallFunc_EqualEqual_IntInt_ReturnValue = EqualEqual_IntInt(GearInput, 0);0x0704if (!(CallFunc_EqualEqual_IntInt_ReturnValue)) goto Label_0940;0x0712Label_0712:0x0712CallFunc_NotEqual_IntInt_ReturnValue_2 = NotEqual_IntInt(GearInput, LastGearNum);0x0738if (!(CallFunc_NotEqual_IntInt_ReturnValue_2)) goto Label_08BB;0x0746CallFunc_EqualEqual_IntInt_ReturnValue_2 = EqualEqual_IntInt(GearInput, -1);0x0768if (!(CallFunc_EqualEqual_IntInt_ReturnValue_2)) goto Label_121C;0x0776Label_0776:0x0776CurrentGear = -1;0x078DK2Node_MakeStruct_VehicleGear.EndSpeed = 100f;0x07ADK2Node_MakeStruct_VehicleGear.StartSpeed = 0.1f;0x07CDK2Node_MakeStruct_VehicleGear.UpShift = 0f;0x07EDK2Node_MakeStruct_VehicleGear.DownShift = 0f;0x080DK2Node_MakeStruct_VehicleGear.HighRPM = 10000f;0x082DK2Node_MakeStruct_VehicleGear.LowRPM = Gears[0].LowRPM;0x0860K2Node_MakeStruct_VehicleGear.MaxTorque = 0f;0x0880K2Node_MakeStruct_VehicleGear.MinTorque = 0f;0x08A0Gear = K2Node_MakeStruct_VehicleGear;0x08BBLabel_08BB:0x08BBPushFlow(Label_1713);0x08C0PushFlow(Label_166E);0x08C5PushFlow(Label_12A2);0x08CACallFunc_Less_DoubleDouble_B_ImplicitCast_3 = Cast<4>(Gear.StartSpeed);0x08F0CallFunc_Less_DoubleDouble_ReturnValue_2 = Less_DoubleDouble(AverageWheelSpeed, CallFunc_Less_DoubleDouble_B_ImplicitCast_3);0x0916if (!(CallFunc_Less_DoubleDouble_ReturnValue_2)) goto Label_2099;0x0924GearThresh = 0;0x093FPopFlow();0x0940Label_0940:0x0940GearInput = 0;0x0957goto Label_0712;0x095CLabel_095C:0x095CCallFunc_EqualEqual_IntInt_ReturnValue_1 = EqualEqual_IntInt(GearInput, -1);0x097Eif (!(CallFunc_EqualEqual_IntInt_ReturnValue_1)) goto Label_0991;0x098Cgoto Label_0712;0x0991Label_0991:0x0991GearInput = -1;0x09A8goto Label_0712;0x09ADLabel_09AD:0x09ADCallFunc_EqualEqual_IntInt_ReturnValue_3 = EqualEqual_IntInt(CurrentGear, -2);0x09CFif (!(CallFunc_EqualEqual_IntInt_ReturnValue_3)) goto Label_08BB;0x09DDCurrentGear = -1;0x09F4CallFunc_K2_SetTimer_Time_ImplicitCast = Cast<3>(GearSwitchTime);0x0A11CallFunc_K2_SetTimer_ReturnValue = K2_SetTimer(this, "ChangeGear", CallFunc_K2_SetTimer_Time_ImplicitCast, false, false, 0f, 0f);0x0A4Fgoto Label_08BB;0x0A54Label_0A54:0x0A54TargetSpeed = 0;0x0A6FPopFlow();0x0A70Label_0A70:0x0A70CallFunc_Greater_IntInt_ReturnValue_2 = Greater_IntInt(CurrentGear, -1);0x0A92if (!(CallFunc_Greater_IntInt_ReturnValue_2)) goto Label_0A54;0x0AA0CallFunc_GetFloatValue_InTime_ImplicitCast = Cast<3>(Throttle);0x0ABDCallFunc_GetFloatValue_ReturnValue = ThrottleCurve.GetFloatValue(CallFunc_GetFloatValue_InTime_ImplicitCast);0x0AF8CallFunc_GetValueBetweenValues_Begin_ImplicitCast = Cast<4>(Gear.StartSpeed);0x0B1ECallFunc_GetValueBetweenValues_End_ImplicitCast = Cast<4>(Gear.EndSpeed);0x0B44CallFunc_GetValueBetweenValues_PercentBetween_ImplicitCast = Cast<4>(CallFunc_GetFloatValue_ReturnValue);0x0B61/VehicleSystemPlugin/VehicleAssets/VehicleMath.Default__VehicleMath_C.GetValueBetweenValues(CallFunc_GetValueBetweenValues_Begin_ImplicitCast, CallFunc_GetValueBetweenValues_End_ImplicitCast, CallFunc_GetValueBetweenValues_PercentBetween_ImplicitCast, this, CallFunc_GetValueBetweenValues_Value);0x0BAATargetSpeed = CallFunc_GetValueBetweenValues_Value;0x0BC5PopFlow();0x0BC6Label_0BC6:0x0BC6CallFunc_LessEqual_IntInt_ReturnValue = LessEqual_IntInt(GearInput, 0);0x0BE8if (!(CallFunc_LessEqual_IntInt_ReturnValue)) goto Label_0C16;0x0BF6Label_0BF6:0x0BF6GearInput = ChosenGearNum;0x0C11goto Label_0712;0x0C16Label_0C16:0x0C16CallFunc_Greater_DoubleDouble_B_ImplicitCast = Cast<4>(Gear.UpShift);0x0C3CCallFunc_Greater_DoubleDouble_ReturnValue = Greater_DoubleDouble(AirSpeed, CallFunc_Greater_DoubleDouble_B_ImplicitCast);0x0C62if (!(CallFunc_Greater_DoubleDouble_ReturnValue)) goto Label_0F69;0x0C70CallFunc_Array_LastIndex_ReturnValue = /Script/Engine.Default__KismetArrayLibrary.Array_LastIndex(Gears);0x0CABCallFunc_NotEqual_IntInt_ReturnValue = NotEqual_IntInt(CallFunc_Array_LastIndex_ReturnValue, CurrentGear);0x0CD1if (!(CallFunc_NotEqual_IntInt_ReturnValue)) goto Label_0F49;0x0CDFTemp_bool_True_if_break_was_hit_Variable = false;0x0CEATemp_int_Loop_Counter_Variable = 0;0x0D01Temp_int_Array_Index_Variable_2 = 0;0x0D18Label_0D18:0x0D18CallFunc_Not_PreBool_ReturnValue = Not_PreBool(Temp_bool_True_if_break_was_hit_Variable);0x0D35CallFunc_Array_Length_ReturnValue_1 = /Script/Engine.Default__KismetArrayLibrary.Array_Length(Gears);0x0D70CallFunc_Less_IntInt_ReturnValue = Less_IntInt(Temp_int_Loop_Counter_Variable, CallFunc_Array_Length_ReturnValue_1);0x0D96CallFunc_BooleanAND_ReturnValue_1 = BooleanAND(CallFunc_Not_PreBool_ReturnValue, CallFunc_Less_IntInt_ReturnValue);0x0DBCif (!(CallFunc_BooleanAND_ReturnValue_1)) goto Label_0BF6;0x0DCATemp_int_Array_Index_Variable_2 = Temp_int_Loop_Counter_Variable;0x0DE5PushFlow(Label_0EFF);0x0DEACallFunc_NotEqual_IntInt_ReturnValue_4 = NotEqual_IntInt(Temp_int_Array_Index_Variable_2, 0);0x0E0Cif (!(CallFunc_NotEqual_IntInt_ReturnValue_4)) PopFlow();0x0E16/Script/Engine.Default__KismetArrayLibrary.Array_Get(Gears, Temp_int_Array_Index_Variable_2, CallFunc_Array_Get_Item_1);0x0E51CallFunc_InRange_FloatFloat_Min_ImplicitCast = Cast<4>(Gear.UpShift);0x0E77CallFunc_InRange_FloatFloat_Max_ImplicitCast_2 = Cast<4>(CallFunc_Array_Get_Item_1.UpShift);0x0E9DCallFunc_InRange_FloatFloat_ReturnValue_2 = InRange_FloatFloat(AirSpeed, CallFunc_InRange_FloatFloat_Min_ImplicitCast, CallFunc_InRange_FloatFloat_Max_ImplicitCast_2, true, true);0x0ECEif (!(CallFunc_InRange_FloatFloat_ReturnValue_2)) PopFlow();0x0ED8ChosenGearNum = Temp_int_Array_Index_Variable_2;0x0EF3Temp_bool_True_if_break_was_hit_Variable = true;0x0EFEPopFlow();0x0EFFLabel_0EFF:0x0EFFCallFunc_Add_IntInt_ReturnValue = Add_IntInt(Temp_int_Loop_Counter_Variable, 1);0x0F29Temp_int_Loop_Counter_Variable = CallFunc_Add_IntInt_ReturnValue;0x0F44goto Label_0D18;0x0F49Label_0F49:0x0F49ChosenGearNum = GearInput;0x0F64goto Label_0BF6;0x0F69Label_0F69:0x0F69CallFunc_NotEqual_IntInt_ReturnValue_1 = NotEqual_IntInt(GearInput, 1);0x0F8BCallFunc_Less_DoubleDouble_B_ImplicitCast = Cast<4>(Gear.DownShift);0x0FB1CallFunc_Less_DoubleDouble_ReturnValue = Less_DoubleDouble(AirSpeed, CallFunc_Less_DoubleDouble_B_ImplicitCast);0x0FD7CallFunc_BooleanAND_ReturnValue = BooleanAND(CallFunc_Less_DoubleDouble_ReturnValue, CallFunc_NotEqual_IntInt_ReturnValue_1);0x0FFDif (!(CallFunc_BooleanAND_ReturnValue)) goto Label_0712;0x100BTemp_int_Loop_Counter_Variable_2 = 0;0x1022Temp_int_Array_Index_Variable_1 = 0;0x1039Label_1039:0x1039CallFunc_Array_Length_ReturnValue = /Script/Engine.Default__KismetArrayLibrary.Array_Length(Gears);0x1074CallFunc_Less_IntInt_ReturnValue_2 = Less_IntInt(Temp_int_Loop_Counter_Variable_2, CallFunc_Array_Length_ReturnValue);0x109Aif (!(CallFunc_Less_IntInt_ReturnValue_2)) goto Label_0BF6;0x10A8Temp_int_Array_Index_Variable_1 = Temp_int_Loop_Counter_Variable_2;0x10C3PushFlow(Label_11D2);0x10C8CallFunc_NotEqual_IntInt_ReturnValue_3 = NotEqual_IntInt(Temp_int_Array_Index_Variable_1, 0);0x10EAif (!(CallFunc_NotEqual_IntInt_ReturnValue_3)) PopFlow();0x10F4/Script/Engine.Default__KismetArrayLibrary.Array_Get(Gears, Temp_int_Array_Index_Variable_1, CallFunc_Array_Get_Item);0x112FCallFunc_InRange_FloatFloat_Min_ImplicitCast_1 = Cast<4>(CallFunc_Array_Get_Item.DownShift);0x1155CallFunc_InRange_FloatFloat_Max_ImplicitCast = Cast<4>(Gear.DownShift);0x117BCallFunc_InRange_FloatFloat_ReturnValue = InRange_FloatFloat(AirSpeed, CallFunc_InRange_FloatFloat_Min_ImplicitCast_1, CallFunc_InRange_FloatFloat_Max_ImplicitCast, true, true);0x11ACif (!(CallFunc_InRange_FloatFloat_ReturnValue)) PopFlow();0x11B6ChosenGearNum = Temp_int_Array_Index_Variable_1;0x11D1PopFlow();0x11D2Label_11D2:0x11D2CallFunc_Add_IntInt_ReturnValue_2 = Add_IntInt(Temp_int_Loop_Counter_Variable_2, 1);0x11FCTemp_int_Loop_Counter_Variable_2 = CallFunc_Add_IntInt_ReturnValue_2;0x1217goto Label_1039;0x121CLabel_121C:0x121CpreviousGear = LastGearNum;0x1237isShifting = true;0x1242CallFunc_K2_SetTimer_Time_ImplicitCast_1 = Cast<3>(GearSwitchTime);0x125FCallFunc_K2_SetTimer_ReturnValue_1 = K2_SetTimer(this, "ChangeGear", CallFunc_K2_SetTimer_Time_ImplicitCast_1, false, false, 0f, 0f);0x129Dgoto Label_0776;0x12A2Label_12A2:0x12A2CallFunc_EqualEqual_IntInt_ReturnValue_4 = EqualEqual_IntInt(CurrentGear, -1);0x12C4if (!(CallFunc_EqualEqual_IntInt_ReturnValue_4)) goto Label_1412;0x12D2Temp_real_Variable = 10000;0x12EDTemp_real_Variable_1 = 20000;0x1308/VehicleSystemPlugin/VehicleAssets/VehicleMath.Default__VehicleMath_C.GetValueBetweenValues(IdleRPM, IdleMaxRPM, Throttle, this, CallFunc_GetValueBetweenValues_Value_7);0x1351CallFunc_Greater_DoubleDouble_ReturnValue_1 = Greater_DoubleDouble(CallFunc_GetValueBetweenValues_Value_7, dRPM);0x1377Temp_bool_Variable = CallFunc_Greater_DoubleDouble_ReturnValue_1;0x138ACallFunc_FInterpTo_Constant_ReturnValue = FInterpTo_Constant(dRPM, CallFunc_GetValueBetweenValues_Value_7, 0.03999999910593033, Switch(Temp_bool_Variable, false => Temp_real_Variable, true => Temp_real_Variable_1, default => K2Node_Select_Default));0x13F6dRPM = CallFunc_FInterpTo_Constant_ReturnValue;0x1411PopFlow();0x1412Label_1412:0x1412CallFunc_GetValueBetweenValues_Begin_ImplicitCast_3 = Cast<4>(Gear.LowRPM);0x1438CallFunc_GetValueBetweenValues_End_ImplicitCast_3 = Cast<4>(Gear.HighRPM);0x145E/VehicleSystemPlugin/VehicleAssets/VehicleMath.Default__VehicleMath_C.GetValueBetweenValues(CallFunc_GetValueBetweenValues_Begin_ImplicitCast_3, CallFunc_GetValueBetweenValues_End_ImplicitCast_3, GearThresh, this, CallFunc_GetValueBetweenValues_Value_5);0x14A7CallFunc_Add_DoubleDouble_ReturnValue_1 = Add_DoubleDouble(CallFunc_GetValueBetweenValues_Value_5, 1000);0x14D5CallFunc_FClamp_Min_ImplicitCast_2 = Cast<4>(Gear.LowRPM);0x14FBCallFunc_FClamp_Max_ImplicitCast_2 = Cast<4>(Gear.HighRPM);0x1521CallFunc_FClamp_ReturnValue_8 = FClamp(CallFunc_Add_DoubleDouble_ReturnValue_1, CallFunc_FClamp_Min_ImplicitCast_2, CallFunc_FClamp_Max_ImplicitCast_2);0x1558CallFunc_Subtract_DoubleDouble_ReturnValue_1 = Subtract_DoubleDouble(CallFunc_GetValueBetweenValues_Value_5, 1000);0x1586CallFunc_FClamp_Min_ImplicitCast_3 = Cast<4>(Gear.LowRPM);0x15ACCallFunc_FClamp_Max_ImplicitCast_3 = Cast<4>(Gear.HighRPM);0x15D2CallFunc_FClamp_ReturnValue_9 = FClamp(CallFunc_Subtract_DoubleDouble_ReturnValue_1, CallFunc_FClamp_Min_ImplicitCast_3, CallFunc_FClamp_Max_ImplicitCast_3);0x1609/VehicleSystemPlugin/VehicleAssets/VehicleMath.Default__VehicleMath_C.GetValueBetweenValues(CallFunc_FClamp_ReturnValue_9, CallFunc_FClamp_ReturnValue_8, Throttle, this, CallFunc_GetValueBetweenValues_Value_6);0x1652dRPM = CallFunc_GetValueBetweenValues_Value_6;0x166DPopFlow();0x166ELabel_166E:0x166E/VehicleSystemPlugin/VehicleAssets/VehicleMath.Default__VehicleMath_C.GetValueBetweenValues(1.5, 0.5, Throttle, this, CallFunc_GetValueBetweenValues_Value_4);0x16B7CallFunc_FInterpEaseInOut_ReturnValue_1 = FInterpEaseInOut(RPM, dRPM, 0.10000000149011612, CallFunc_GetValueBetweenValues_Value_4);0x16F7RPM = CallFunc_FInterpEaseInOut_ReturnValue_1;0x1712PopFlow();0x1713Label_1713:0x1713K2Node_SwitchEnum_CmpSuccess_1 = NotEqual_ByteByte(Shifter, 0);0x1732if (!(K2Node_SwitchEnum_CmpSuccess_1)) goto Label_207D;0x1740K2Node_SwitchEnum_CmpSuccess_1 = NotEqual_ByteByte(Shifter, 1);0x175Fif (!(K2Node_SwitchEnum_CmpSuccess_1)) goto Label_17C8;0x176DK2Node_SwitchEnum_CmpSuccess_1 = NotEqual_ByteByte(Shifter, 2);0x178Cif (!(K2Node_SwitchEnum_CmpSuccess_1)) goto Label_207D;0x179AK2Node_SwitchEnum_CmpSuccess_1 = NotEqual_ByteByte(Shifter, 3);0x17B9if (!(K2Node_SwitchEnum_CmpSuccess_1)) goto Label_17C8;0x17C7PopFlow();0x17C8Label_17C8:0x17C8CallFunc_Greater_IntInt_ReturnValue = Greater_IntInt(CurrentGear, -1);0x17EAif (!(CallFunc_Greater_IntInt_ReturnValue)) goto Label_207D;0x17F8if (!(AccelerationConfig)) goto Label_205D;0x1806CallFunc_Subtract_DoubleDouble_ReturnValue = Subtract_DoubleDouble(TargetAcceleration, Acceleration);0x1834CallFunc_FClamp_ReturnValue = FClamp(CallFunc_Subtract_DoubleDouble_ReturnValue, -1, 1);0x186BCallFunc_Add_DoubleDouble_ReturnValue = Add_DoubleDouble(DynamicMaxTorque, CallFunc_FClamp_ReturnValue);0x1899CallFunc_FClamp_Min_ImplicitCast = Cast<4>(Gear.MinTorque);0x18BFCallFunc_FClamp_Max_ImplicitCast = Cast<4>(Gear.MaxTorque);0x18E5CallFunc_FClamp_ReturnValue_1 = FClamp(CallFunc_Add_DoubleDouble_ReturnValue, CallFunc_FClamp_Min_ImplicitCast, CallFunc_FClamp_Max_ImplicitCast);0x191CDynamicMaxTorque = CallFunc_FClamp_ReturnValue_1;0x1937Label_1937:0x1937CallFunc_InRange_FloatFloat_Min_ImplicitCast_2 = Cast<4>(Gear.StartSpeed);0x195DCallFunc_InRange_FloatFloat_Max_ImplicitCast_1 = Cast<4>(Gear.EndSpeed);0x1983CallFunc_InRange_FloatFloat_ReturnValue_1 = InRange_FloatFloat(AirSpeed, CallFunc_InRange_FloatFloat_Min_ImplicitCast_2, CallFunc_InRange_FloatFloat_Max_ImplicitCast_1, true, true);0x19B4if (!(CallFunc_InRange_FloatFloat_ReturnValue_1)) goto Label_1C27;0x19C2CallFunc_GetPercentBetweenValues_Begin_ImplicitCast = Cast<4>(Gear.StartSpeed);0x19E8CallFunc_GetPercentBetweenValues_End_ImplicitCast = Cast<4>(Gear.EndSpeed);0x1A0E/VehicleSystemPlugin/VehicleAssets/VehicleMath.Default__VehicleMath_C.GetPercentBetweenValues(AirSpeed, CallFunc_GetPercentBetweenValues_Begin_ImplicitCast, CallFunc_GetPercentBetweenValues_End_ImplicitCast, this, CallFunc_GetPercentBetweenValues_Percent);0x1A57CallFunc_FClamp_ReturnValue_2 = FClamp(CallFunc_GetPercentBetweenValues_Percent, 0, 1);0x1A8ECallFunc_GetValueBetweenValues_Begin_ImplicitCast_1 = Cast<4>(Gear.MaxTorque);0x1AB4CallFunc_GetValueBetweenValues_End_ImplicitCast_1 = Cast<4>(Gear.MinTorque);0x1ADA/VehicleSystemPlugin/VehicleAssets/VehicleMath.Default__VehicleMath_C.GetValueBetweenValues(CallFunc_GetValueBetweenValues_Begin_ImplicitCast_1, CallFunc_GetValueBetweenValues_End_ImplicitCast_1, CallFunc_FClamp_ReturnValue_2, this, CallFunc_GetValueBetweenValues_Value_1);0x1B23CallFunc_FClamp_Min_ImplicitCast_1 = Cast<4>(Gear.MinTorque);0x1B49CallFunc_FClamp_Max_ImplicitCast_1 = Cast<4>(Gear.MaxTorque);0x1B6FCallFunc_FClamp_ReturnValue_3 = FClamp(CallFunc_GetValueBetweenValues_Value_1, CallFunc_FClamp_Min_ImplicitCast_1, CallFunc_FClamp_Max_ImplicitCast_1);0x1BA6CallFunc_Multiply_DoubleDouble_ReturnValue = Multiply_DoubleDouble(CallFunc_FClamp_ReturnValue_3, Throttle);0x1BD4CallFunc_FClamp_ReturnValue_4 = FClamp(CallFunc_Multiply_DoubleDouble_ReturnValue, 0, DynamicMaxTorque);0x1C0BTorque = CallFunc_FClamp_ReturnValue_4;0x1C26PopFlow();0x1C27Label_1C27:0x1C27CallFunc_Less_DoubleDouble_B_ImplicitCast_1 = Cast<4>(Gear.StartSpeed);0x1C4DCallFunc_Less_DoubleDouble_ReturnValue_1 = Less_DoubleDouble(AirSpeed, CallFunc_Less_DoubleDouble_B_ImplicitCast_1);0x1C73if (!(CallFunc_Less_DoubleDouble_ReturnValue_1)) goto Label_1E7B;0x1C81CallFunc_GetPercentBetweenValues_Begin_ImplicitCast_1 = Cast<4>(Gear.StartSpeed);0x1CA7CallFunc_GetPercentBetweenValues_End_ImplicitCast_1 = Cast<4>(Gear.EndSpeed);0x1CCD/VehicleSystemPlugin/VehicleAssets/VehicleMath.Default__VehicleMath_C.GetPercentBetweenValues(AirSpeed, CallFunc_GetPercentBetweenValues_Begin_ImplicitCast_1, CallFunc_GetPercentBetweenValues_End_ImplicitCast_1, this, CallFunc_GetPercentBetweenValues_Percent_1);0x1D16CallFunc_GetFloatValue_InTime_ImplicitCast_1 = Cast<3>(CallFunc_GetPercentBetweenValues_Percent_1);0x1D33CallFunc_GetFloatValue_ReturnValue_1 = GearCurve.GetFloatValue(CallFunc_GetFloatValue_InTime_ImplicitCast_1);0x1D6ECallFunc_GetValueBetweenValues_End_ImplicitCast_2 = Cast<4>(Gear.MaxTorque);0x1D94CallFunc_GetValueBetweenValues_PercentBetween_ImplicitCast_1 = Cast<4>(CallFunc_GetFloatValue_ReturnValue_1);0x1DB1/VehicleSystemPlugin/VehicleAssets/VehicleMath.Default__VehicleMath_C.GetValueBetweenValues(0.20000000298023224, CallFunc_GetValueBetweenValues_End_ImplicitCast_2, CallFunc_GetValueBetweenValues_PercentBetween_ImplicitCast_1, this, CallFunc_GetValueBetweenValues_Value_2);0x1DFACallFunc_Multiply_DoubleDouble_ReturnValue_1 = Multiply_DoubleDouble(CallFunc_GetValueBetweenValues_Value_2, Throttle);0x1E28CallFunc_FClamp_ReturnValue_5 = FClamp(CallFunc_Multiply_DoubleDouble_ReturnValue_1, 0, DynamicMaxTorque);0x1E5FTorque = CallFunc_FClamp_ReturnValue_5;0x1E7APopFlow();0x1E7BLabel_1E7B:0x1E7BCallFunc_Lerp_A_ImplicitCast = Cast<4>(Gear.StartSpeed);0x1EA1CallFunc_Lerp_B_ImplicitCast = Cast<4>(Gear.EndSpeed);0x1EC7CallFunc_Lerp_ReturnValue = Lerp(CallFunc_Lerp_A_ImplicitCast, CallFunc_Lerp_B_ImplicitCast, 1.25);0x1EFECallFunc_GetPercentBetweenValues_Begin_ImplicitCast_2 = Cast<4>(Gear.EndSpeed);0x1F24/VehicleSystemPlugin/VehicleAssets/VehicleMath.Default__VehicleMath_C.GetPercentBetweenValues(AirSpeed, CallFunc_GetPercentBetweenValues_Begin_ImplicitCast_2, CallFunc_Lerp_ReturnValue, this, CallFunc_GetPercentBetweenValues_Percent_2);0x1F6DCallFunc_GetValueBetweenValues_Begin_ImplicitCast_2 = Cast<4>(Gear.MaxTorque);0x1F93/VehicleSystemPlugin/VehicleAssets/VehicleMath.Default__VehicleMath_C.GetValueBetweenValues(CallFunc_GetValueBetweenValues_Begin_ImplicitCast_2, 0, CallFunc_GetPercentBetweenValues_Percent_2, this, CallFunc_GetValueBetweenValues_Value_3);0x1FDCCallFunc_Multiply_DoubleDouble_ReturnValue_2 = Multiply_DoubleDouble(CallFunc_GetValueBetweenValues_Value_3, Throttle);0x200ACallFunc_FClamp_ReturnValue_6 = FClamp(CallFunc_Multiply_DoubleDouble_ReturnValue_2, 0, DynamicMaxTorque);0x2041Torque = CallFunc_FClamp_ReturnValue_6;0x205CPopFlow();0x205DLabel_205D:0x205DDynamicMaxTorque = 9000;0x2078goto Label_1937;0x207DLabel_207D:0x207DTorque = 0;0x2098PopFlow();0x2099Label_2099:0x2099CallFunc_Less_DoubleDouble_B_ImplicitCast_2 = Cast<4>(Gear.EndSpeed);0x20BFCallFunc_Less_DoubleDouble_ReturnValue_3 = Less_DoubleDouble(AverageWheelSpeed, CallFunc_Less_DoubleDouble_B_ImplicitCast_2);0x20E5if (!(CallFunc_Less_DoubleDouble_ReturnValue_3)) goto Label_21DB;0x20F3CallFunc_GetPercentBetweenValues_Begin_ImplicitCast_3 = Cast<4>(Gear.StartSpeed);0x2119CallFunc_GetPercentBetweenValues_End_ImplicitCast_2 = Cast<4>(Gear.EndSpeed);0x213F/VehicleSystemPlugin/VehicleAssets/VehicleMath.Default__VehicleMath_C.GetPercentBetweenValues(AverageWheelSpeed, CallFunc_GetPercentBetweenValues_Begin_ImplicitCast_3, CallFunc_GetPercentBetweenValues_End_ImplicitCast_2, this, CallFunc_GetPercentBetweenValues_Percent_3);0x2188CallFunc_FClamp_ReturnValue_7 = FClamp(CallFunc_GetPercentBetweenValues_Percent_3, 0, 1);0x21BFGearThresh = CallFunc_FClamp_ReturnValue_7;0x21DAPopFlow();0x21DBLabel_21DB:0x21DBGearThresh = 1;0x21F6PopFlow();0x21F7Label_21F7:0x21F7return;0x21F9// end of script
Private0x00
void GetVehicleMesh(const UMeshComponent*& Mesh)
Script3 statements · 22 bytes of bytecode
0x0000Mesh = VehicleMesh;0x0013return;0x0015// end of script
Public0x08
void InitWheels()
Script33 statements · 744 bytes of bytecode
0x0000PushFlow(Label_02E5);0x0005/Script/Engine.Default__KismetArrayLibrary.Array_Clear(Wheels);0x002ENumDrivingWheels = 0;0x0045CallFunc_K2_GetComponentsByClass_ReturnValue = K2_GetComponentsByClass(/VehicleSystemPlugin/VehicleAssets/Components/Vehicle_Wheel.Vehicle_Wheel_C);0x006AWheels = CallFunc_K2_GetComponentsByClass_ReturnValue;0x0085InitWheelReprojectionExperiment();0x0093Temp_int_Loop_Counter_Variable = 0;0x00AATemp_int_Array_Index_Variable = 0;0x00C1Label_00C1:0x00C1CallFunc_Array_Length_ReturnValue = /Script/Engine.Default__KismetArrayLibrary.Array_Length(Wheels);0x00FCCallFunc_Less_IntInt_ReturnValue = Less_IntInt(Temp_int_Loop_Counter_Variable, CallFunc_Array_Length_ReturnValue);0x0122if (!(CallFunc_Less_IntInt_ReturnValue)) goto Label_0283;0x0130Temp_int_Array_Index_Variable = Temp_int_Loop_Counter_Variable;0x014BPushFlow(Label_029B);0x0150/Script/Engine.Default__KismetArrayLibrary.Array_Get(Wheels, Temp_int_Array_Index_Variable, CallFunc_Array_Get_Item);0x018BCallFunc_Array_Get_Item.InitializeWheel(this);0x01B0/Script/Engine.Default__KismetArrayLibrary.Array_Get(Wheels, Temp_int_Array_Index_Variable, CallFunc_Array_Get_Item);0x01EBCallFunc_Array_Get_Item.GetIsDrivingWheel(CallFunc_GetIsDrivingWheel_isDrivingWheel);0x0218if (!(CallFunc_GetIsDrivingWheel_isDrivingWheel)) PopFlow();0x0222CallFunc_Add_IntInt_ReturnValue_1 = Add_IntInt(NumDrivingWheels, 1);0x024CTemp_int_Variable = CallFunc_Add_IntInt_ReturnValue_1;0x0267NumDrivingWheels = Temp_int_Variable;0x0282PopFlow();0x0283Label_0283:0x0283SetupWheelContactModification(CallFunc_SetupWheelContactModification_RegisterSuccess);0x029APopFlow();0x029BLabel_029B:0x029BCallFunc_Add_IntInt_ReturnValue = Add_IntInt(Temp_int_Loop_Counter_Variable, 1);0x02C5Temp_int_Loop_Counter_Variable = CallFunc_Add_IntInt_ReturnValue;0x02E0goto Label_00C1;0x02E5Label_02E5:0x02E5return;0x02E7// end of script
Private0x00
void PostConstructInit()
Script30 statements · 487 bytes of bytecode
0x0000if (!(ConstructCalled)) goto Label_015B;0x000EInitVehicleMesh(CallFunc_InitVehicleMesh_HasValidMesh);0x0025if (!(CallFunc_InitVehicleMesh_HasValidMesh)) goto Label_019A;0x0033InitCOM();0x0041ApplyCOM();0x004FInitSpeedUnit();0x005DInitWheels();0x006BInitLights();0x0079InitExhausts();0x0087InitAudio();0x0095UpdateWheelLocks();0x00A3Gear = Gears[0];0x00C4Initialized = true;0x00CFSetPhysics(StartWithPhysics);0x00E6if (!(StartWithEngineRunning)) goto Label_01E4;0x00F4CallFunc_HasAuthority_ReturnValue = HasAuthority();0x0108if (!(CallFunc_HasAuthority_ReturnValue)) goto Label_01E4;0x0116FlushNetDormancy();0x0120ServerEngineRunning = true;0x012BMarkPropertyDirtyFromRepIndex(this, 19, FName(ServerEngineRunning));0x0148OnRep_ServerEngineRunning();0x0156goto Label_01E4;0x015BLabel_015B:0x015BAVS_PrintDebugMessage("Construction Script did not run properly!", true);0x0195goto Label_01E4;0x019ALabel_019A:0x019AAVS_PrintDebugMessage("No valid mesh found for vehicle! Stopping initialization!", true);0x01E4Label_01E4:0x01E4return;0x01E6// end of script
Private0x00
void UserConstructionScript()
Script11 statements · 207 bytes of bytecode
0x0000ConstructCalled = true;0x000BCallFunc_GetLinearDamping_ReturnValue = VehicleMesh.GetLinearDamping();0x0041K2Node_VariableSet_BaseLinearDrag_ImplicitCast = Cast<4>(CallFunc_GetLinearDamping_ReturnValue);0x005EBaseLinearDrag = K2Node_VariableSet_BaseLinearDrag_ImplicitCast;0x0079DefaultLinearDrag = BaseLinearDrag;0x0094ConstructComponents();0x00A2ConstructWheels();0x00B0SetupSkeletalMeshes();0x00BEInitCOM();0x00CCreturn;0x00CE// end of script
EventPublic0x00
void OwnerChanged()
Script3 statements · 18 bytes of bytecode
0x0000ExecuteUbergraph_AVS_Vehicle(1099);0x000Freturn;0x0011// end of script
EventProtected0x00
void TeleportWheels()
Script3 statements · 18 bytes of bytecode
0x0000ExecuteUbergraph_AVS_Vehicle(1154);0x000Freturn;0x0011// end of script
EventProtected0x00
void WakeWheelsForMovement()
Script3 statements · 18 bytes of bytecode
0x0000ExecuteUbergraph_AVS_Vehicle(1689);0x000Freturn;0x0011// end of script
EventProtected0x00
void RPC_Server_EngineRunning(bool EngineRunning)
Script4 statements · 36 bytes of bytecode
0x0000PersistentFrame.K2Node_CustomEvent_EngineRunning = EngineRunning;0x0012ExecuteUbergraph_AVS_Vehicle(2148);0x0021return;0x0023// end of script
0x01
void RPC_Server_Steering(double Axis)
Script4 statements · 36 bytes of bytecode
0x0000PersistentFrame.K2Node_CustomEvent_Axis = Axis;0x0012ExecuteUbergraph_AVS_Vehicle(2153);0x0021return;0x0023// end of script
0x08
void RPC_Server_Throttle(double Throttle)
Script4 statements · 36 bytes of bytecode
0x0000PersistentFrame.K2Node_CustomEvent_Throttle = Throttle;0x0012ExecuteUbergraph_AVS_Vehicle(2158);0x0021return;0x0023// end of script
0x08
void RPC_Server_Brake(double Brake)
Script4 statements · 36 bytes of bytecode
0x0000PersistentFrame.K2Node_CustomEvent_Brake = Brake;0x0012ExecuteUbergraph_AVS_Vehicle(2163);0x0021return;0x0023// end of script
0x08
void RPC_Server_Handbrake(bool Handbrake)
Script4 statements · 36 bytes of bytecode
0x0000PersistentFrame.K2Node_CustomEvent_Handbrake = Handbrake;0x0012ExecuteUbergraph_AVS_Vehicle(2168);0x0021return;0x0023// end of script
0x01
void RPC_Server_Shifter(const ShifterPositions& ShifterPosition)
Script4 statements · 36 bytes of bytecode
0x0000PersistentFrame.K2Node_CustomEvent_ShifterPosition = ShifterPosition;0x0012ExecuteUbergraph_AVS_Vehicle(2173);0x0021return;0x0023// end of script
0x01
void SetTrailerSyncMode(UVehicle_Hitch_C* TowHitch, UVehicle_Hitch_C* TrailerHitch)
Script5 statements · 54 bytes of bytecode
0x0000PersistentFrame.K2Node_CustomEvent_TowHitch = TowHitch;0x0012PersistentFrame.K2Node_CustomEvent_TrailerHitch = TrailerHitch;0x0024ExecuteUbergraph_AVS_Vehicle(2178);0x0033return;0x0035// end of script
0x10
void SendTrailerRotationRPC()
Script3 statements · 18 bytes of bytecode
0x0000ExecuteUbergraph_AVS_Vehicle(3151);0x000Freturn;0x0011// end of script
0x00
void RPC_Server_TrailerRotation(const FRotator& ServerTrailerRotation)
Script4 statements · 36 bytes of bytecode
0x0000PersistentFrame.K2Node_CustomEvent_ServerTrailerRotation = ServerTrailerRotation;0x0012ExecuteUbergraph_AVS_Vehicle(3457);0x0021return;0x0023// end of script
0x18
void ReceiveBeginPlay()
Script3 statements · 18 bytes of bytecode
0x0000ExecuteUbergraph_AVS_Vehicle(3462);0x000Freturn;0x0011// end of script
EventProtected0x00
void 25 TPS()
Script3 statements · 18 bytes of bytecode
0x0000ExecuteUbergraph_AVS_Vehicle(3676);0x000Freturn;0x0011// end of script
0x00
void ReceiveDestroyed()
Script3 statements · 18 bytes of bytecode
0x0000ExecuteUbergraph_AVS_Vehicle(3695);0x000Freturn;0x0011// end of script
EventPublic0x00
void AVS_Tick(float DeltaTime)
Script4 statements · 36 bytes of bytecode
0x0000PersistentFrame.K2Node_Event_DeltaTime_1 = DeltaTime;0x0012ExecuteUbergraph_AVS_Vehicle(4237);0x0021return;0x0023// end of script
EventProtected0x04
void Reinit TPS()
Script3 statements · 18 bytes of bytecode
0x0000ExecuteUbergraph_AVS_Vehicle(4312);0x000Freturn;0x0011// end of script
0x00
void RunContactMod()
Script3 statements · 18 bytes of bytecode
0x0000ExecuteUbergraph_AVS_Vehicle(4317);0x000Freturn;0x0011// end of script
0x00
void PassiveTickBP(float DeltaTime)
Script4 statements · 36 bytes of bytecode
0x0000PersistentFrame.K2Node_Event_DeltaTime = DeltaTime;0x0012ExecuteUbergraph_AVS_Vehicle(4322);0x0021return;0x0023// end of script
EventProtected0x04
void ReceiveControllerChanged(AController* OldController, AController* NewController)
Script5 statements · 54 bytes of bytecode
0x0000PersistentFrame.K2Node_Event_OldController = OldController;0x0012PersistentFrame.K2Node_Event_NewController = NewController;0x0024ExecuteUbergraph_AVS_Vehicle(4327);0x0033return;0x0035// end of script
EventPublic0x10
void ExecuteUbergraph_AVS_Vehicle(int32 EntryPoint)
Script252 statements · 4,413 bytes of bytecode
0x0000PushFlow(Label_113A);0x0005goto [EntryPoint];0x000FCallFunc_IsValid_ReturnValue = IsValid(NetworkTowHitch);0x002CCallFunc_IsValid_ReturnValue_1 = IsValid(NetworkTrailerHitch);0x0049CallFunc_BooleanAND_ReturnValue = BooleanAND(CallFunc_IsValid_ReturnValue, CallFunc_IsValid_ReturnValue_1);0x006Fif (!(CallFunc_BooleanAND_ReturnValue)) PopFlow();0x0079NetworkTrailerHitch.GetOwningVehicle(CallFunc_GetOwningVehicle_Vehicle);0x00A6CallFunc_GetOwningVehicle_Vehicle.SetTrailerSyncMode(NetworkTowHitch, NetworkTrailerHitch);0x00DCPopFlow();0x00DDLabel_00DD:0x00DDK2Node_CreateDelegate_OutputDelegate.Bind(this, SendTrailerRotationRPC);0x00F4CallFunc_K2_SetTimerDelegate_ReturnValue = K2_SetTimerDelegate(K2Node_CreateDelegate_OutputDelegate, 0.5f, true, false, 0f, 0f);0x012ATrailerSyncTimer = CallFunc_K2_SetTimerDelegate_ReturnValue;0x0145PopFlow();0x0146Label_0146:0x0146MarkPropertyDirtyFromRepIndex(this, 20, FName(SteeringInput));0x0163OnRep_SteeringInput();0x0171PopFlow();0x0172Label_0172:0x0172FlushNetDormancy();0x017CSteeringInput = K2Node_CustomEvent_Axis;0x0197goto Label_0146;0x019CLabel_019C:0x019COnRep_ThrottleInput();0x01AAPopFlow();0x01ABLabel_01AB:0x01ABMarkPropertyDirtyFromRepIndex(this, 16, FName(ThrottleInput));0x01C8goto Label_019C;0x01CDLabel_01CD:0x01CDFlushNetDormancy();0x01D7ThrottleInput = K2Node_CustomEvent_Throttle;0x01F2goto Label_01AB;0x01F7Label_01F7:0x01F7OnRep_HandbrakeApplied();0x0205PopFlow();0x0206Label_0206:0x0206MarkPropertyDirtyFromRepIndex(this, 18, FName(HandbrakeApplied));0x0223goto Label_01F7;0x0228Label_0228:0x0228FlushNetDormancy();0x0232HandbrakeApplied = K2Node_CustomEvent_Handbrake;0x0245goto Label_0206;0x024ALabel_024A:0x024AOnRep_BrakeInput();0x0258PopFlow();0x0259Label_0259:0x0259MarkPropertyDirtyFromRepIndex(this, 17, FName(BrakeInput));0x0276goto Label_024A;0x027BLabel_027B:0x027BFlushNetDormancy();0x0285BrakeInput = K2Node_CustomEvent_Brake;0x02A0goto Label_0259;0x02A5Label_02A5:0x02A5OnRep_Shifter();0x02B3PopFlow();0x02B4Label_02B4:0x02B4MarkPropertyDirtyFromRepIndex(this, 15, FName(Shifter));0x02D1goto Label_02A5;0x02D6Label_02D6:0x02D6FlushNetDormancy();0x02E0Shifter = K2Node_CustomEvent_ShifterPosition;0x02FBgoto Label_02B4;0x0300Label_0300:0x0300OnRep_ServerEngineRunning();0x030EPopFlow();0x030FLabel_030F:0x030FMarkPropertyDirtyFromRepIndex(this, 19, FName(ServerEngineRunning));0x032Cgoto Label_0300;0x0331Label_0331:0x0331FlushNetDormancy();0x033BServerEngineRunning = K2Node_CustomEvent_EngineRunning;0x034Egoto Label_030F;0x0353Label_0353:0x0353FlushNetDormancy();0x035DHostTrailerRotation = K2Node_CustomEvent_ServerTrailerRotation;0x0378MarkPropertyDirtyFromRepIndex(this, 21, FName(HostTrailerRotation));0x0395PopFlow();0x0396Label_0396:0x0396ContactModificationDirty = false;0x03A1SetupWheelContactModification(CallFunc_SetupWheelContactModification_RegisterSuccess);0x03B8if (!(CallFunc_SetupWheelContactModification_RegisterSuccess)) goto Label_03C7;0x03C6PopFlow();0x03C7Label_03C7:0x03C7Delay(this, 0.1f, LatentActionInfo{0x396, -172518878, FName(ExecuteUbergraph_AVS_Vehicle), this});0x03FDPopFlow();0x03FECallFunc_HasAuthority_ReturnValue = HasAuthority();0x0412if (!(CallFunc_HasAuthority_ReturnValue)) PopFlow();0x041CRPC_Server_Throttle(0);0x0433RPC_Server_Brake(0);0x044APopFlow();0x044BDelay(this, 1f, LatentActionInfo{0xF, -1881192714, FName(ExecuteUbergraph_AVS_Vehicle), this});0x0481PopFlow();0x0482Temp_int_Loop_Counter_Variable_1 = 0;0x0499Temp_int_Array_Index_Variable_1 = 0;0x04B0Label_04B0:0x04B0GetAllWheels(CallFunc_GetAllWheels_Wheels);0x04C7CallFunc_Array_Length_ReturnValue = /Script/Engine.Default__KismetArrayLibrary.Array_Length(CallFunc_GetAllWheels_Wheels);0x0502CallFunc_Less_IntInt_ReturnValue_1 = Less_IntInt(Temp_int_Loop_Counter_Variable_1, CallFunc_Array_Length_ReturnValue);0x0528if (!(CallFunc_Less_IntInt_ReturnValue_1)) PopFlow();0x0532Temp_int_Array_Index_Variable_1 = Temp_int_Loop_Counter_Variable_1;0x054DPushFlow(Label_064F);0x0552GetAllWheels(CallFunc_GetAllWheels_Wheels);0x0569/Script/Engine.Default__KismetArrayLibrary.Array_Get(CallFunc_GetAllWheels_Wheels, Temp_int_Array_Index_Variable_1, CallFunc_Array_Get_Item_1);0x05A4CallFunc_GetIsAttached_ReturnValue = CallFunc_Array_Get_Item_1.GetIsAttached();0x05CEif (!(CallFunc_GetIsAttached_ReturnValue)) PopFlow();0x05D8GetAllWheels(CallFunc_GetAllWheels_Wheels);0x05EF/Script/Engine.Default__KismetArrayLibrary.Array_Get(CallFunc_GetAllWheels_Wheels, Temp_int_Array_Index_Variable_1, CallFunc_Array_Get_Item_1);0x062ACallFunc_Array_Get_Item_1.ResetPosition();0x064EPopFlow();0x064FLabel_064F:0x064FCallFunc_Add_IntInt_ReturnValue_1 = Add_IntInt(Temp_int_Loop_Counter_Variable_1, 1);0x0679Temp_int_Loop_Counter_Variable_1 = CallFunc_Add_IntInt_ReturnValue_1;0x0694goto Label_04B0;0x0699Temp_int_Loop_Counter_Variable = 0;0x06B0Temp_int_Array_Index_Variable = 0;0x06C7Label_06C7:0x06C7GetAllWheels(CallFunc_GetAllWheels_Wheels_1);0x06DECallFunc_Array_Length_ReturnValue_1 = /Script/Engine.Default__KismetArrayLibrary.Array_Length(CallFunc_GetAllWheels_Wheels_1);0x0719CallFunc_Less_IntInt_ReturnValue = Less_IntInt(Temp_int_Loop_Counter_Variable, CallFunc_Array_Length_ReturnValue_1);0x073Fif (!(CallFunc_Less_IntInt_ReturnValue)) PopFlow();0x0749Temp_int_Array_Index_Variable = Temp_int_Loop_Counter_Variable;0x0764PushFlow(Label_081A);0x0769GetAllWheels(CallFunc_GetAllWheels_Wheels_1);0x0780/Script/Engine.Default__KismetArrayLibrary.Array_Get(CallFunc_GetAllWheels_Wheels_1, Temp_int_Array_Index_Variable, CallFunc_Array_Get_Item);0x07BBCallFunc_Array_Get_Item.GetWheelMesh(CallFunc_GetWheelMesh_WheelMesh);0x07E8CallFunc_GetWheelMesh_WheelMesh.WakeRigidBody(FName(None));0x0819PopFlow();0x081ALabel_081A:0x081ACallFunc_Add_IntInt_ReturnValue = Add_IntInt(Temp_int_Loop_Counter_Variable, 1);0x0844Temp_int_Loop_Counter_Variable = CallFunc_Add_IntInt_ReturnValue;0x085Fgoto Label_06C7;0x0864goto Label_0331;0x0869goto Label_0172;0x086Egoto Label_01CD;0x0873goto Label_027B;0x0878goto Label_0228;0x087Dgoto Label_02D6;0x0882CallFunc_IsValid_ReturnValue_2 = IsValid(K2Node_CustomEvent_TrailerHitch);0x089FCallFunc_IsValid_ReturnValue_3 = IsValid(K2Node_CustomEvent_TowHitch);0x08BCCallFunc_BooleanAND_ReturnValue_1 = BooleanAND(CallFunc_IsValid_ReturnValue_3, CallFunc_IsValid_ReturnValue_2);0x08E2if (!(CallFunc_BooleanAND_ReturnValue_1)) goto Label_0A34;0x08F0NetworkTowHitch = K2Node_CustomEvent_TowHitch;0x0903NetworkTrailerHitch = K2Node_CustomEvent_TrailerHitch;0x0916K2_ClearAndInvalidateTimerHandle(this, TrailerSyncTimer);0x092ANetworkTrailerHitch.GetOwningVehicle(CallFunc_GetOwningVehicle_Vehicle_1);0x0957CallFunc_EqualEqual_ObjectObject_ReturnValue = EqualEqual_ObjectObject(CallFunc_GetOwningVehicle_Vehicle_1, this);0x0975if (!(CallFunc_EqualEqual_ObjectObject_ReturnValue)) goto Label_0B60;0x0983SyncAsTrailer = true;0x098ESetShouldSyncWithServer(false);0x0999CallFunc_K2_GetActorRotation_ReturnValue = K2_GetActorRotation();0x09B5LocalTrailerRotation = CallFunc_K2_GetActorRotation_ReturnValue;0x09D0NetworkTowHitch.GetOwningVehicle(CallFunc_GetOwningVehicle_Vehicle_5);0x09FDCallFunc_GetOwningVehicle_Vehicle_5.SetTrailerSyncMode(NetworkTowHitch, NetworkTrailerHitch);0x0A33PopFlow();0x0A34Label_0A34:0x0A34PushFlow(Label_0C38);0x0A39PushFlow(Label_0A69);0x0A3EK2_ClearAndInvalidateTimerHandle(this, TrailerSyncTimer);0x0A52SyncAsTrailer = false;0x0A5DSetShouldSyncWithServer(true);0x0A68PopFlow();0x0A69Label_0A69:0x0A69CallFunc_IsValid_ReturnValue_5 = IsValid(NetworkTrailerHitch);0x0A86if (!(CallFunc_IsValid_ReturnValue_5)) PopFlow();0x0A90NetworkTrailerHitch.GetOwningVehicle(CallFunc_GetOwningVehicle_Vehicle_3);0x0ABDCallFunc_EqualEqual_ObjectObject_ReturnValue_1 = EqualEqual_ObjectObject(CallFunc_GetOwningVehicle_Vehicle_3, this);0x0ADBif (!(CallFunc_EqualEqual_ObjectObject_ReturnValue_1)) PopFlow();0x0AE5CallFunc_IsValid_ReturnValue_6 = IsValid(NetworkTowHitch);0x0B02if (!(CallFunc_IsValid_ReturnValue_6)) PopFlow();0x0B0CNetworkTowHitch.GetOwningVehicle(CallFunc_GetOwningVehicle_Vehicle_4);0x0B39CallFunc_GetOwningVehicle_Vehicle_4.SetTrailerSyncMode(nullptr, nullptr);0x0B5FPopFlow();0x0B60Label_0B60:0x0B60CallFunc_HasAuthority_ReturnValue_1 = HasAuthority();0x0B74CallFunc_IsPlayerControlled_ReturnValue = this.IsPlayerControlled();0x0B9ACallFunc_Not_PreBool_ReturnValue = Not_PreBool(CallFunc_IsPlayerControlled_ReturnValue);0x0BB7CallFunc_IsLocallyControlled_ReturnValue = this.IsLocallyControlled();0x0BDDCallFunc_BooleanAND_ReturnValue_2 = BooleanAND(CallFunc_Not_PreBool_ReturnValue, CallFunc_HasAuthority_ReturnValue_1);0x0C03CallFunc_BooleanOR_ReturnValue = BooleanOR(CallFunc_IsLocallyControlled_ReturnValue, CallFunc_BooleanAND_ReturnValue_2);0x0C29if (!(CallFunc_BooleanOR_ReturnValue)) PopFlow();0x0C33goto Label_00DD;0x0C38Label_0C38:0x0C38NetworkTowHitch = nullptr;0x0C43NetworkTrailerHitch = nullptr;0x0C4EPopFlow();0x0C4FCallFunc_IsValid_ReturnValue_4 = IsValid(NetworkTrailerHitch);0x0C6Cif (!(CallFunc_IsValid_ReturnValue_4)) PopFlow();0x0C76NetworkTrailerHitch.GetOwningVehicle(CallFunc_GetOwningVehicle_Vehicle_2);0x0CA3CallFunc_K2_GetActorRotation_ReturnValue_1 = CallFunc_GetOwningVehicle_Vehicle_2.K2_GetActorRotation();0x0CD5CallFunc_NotEqual_RotatorRotator_ReturnValue = NotEqual_RotatorRotator(HostTrailerRotation, CallFunc_K2_GetActorRotation_ReturnValue_1, 1f);0x0D00if (!(CallFunc_NotEqual_RotatorRotator_ReturnValue)) PopFlow();0x0D0ANetworkTrailerHitch.GetOwningVehicle(CallFunc_GetOwningVehicle_Vehicle_2);0x0D37CallFunc_K2_GetActorRotation_ReturnValue_1 = CallFunc_GetOwningVehicle_Vehicle_2.K2_GetActorRotation();0x0D69RPC_Server_TrailerRotation(CallFunc_K2_GetActorRotation_ReturnValue_1);0x0D80PopFlow();0x0D81goto Label_0353;0x0D86PostConstructInit();0x0D94if (!(Initialized)) PopFlow();0x0D9ELabel_0D9E:0x0D9EK2Node_CreateDelegate_OutputDelegate_1.Bind(this, 25 TPS);0x0DB5CallFunc_K2_SetTimerDelegate_ReturnValue_1 = K2_SetTimerDelegate(K2Node_CreateDelegate_OutputDelegate_1, 0.04f, true, false, 0f, 0f);0x0DEBTPS_Timer = CallFunc_K2_SetTimerDelegate_ReturnValue_1;0x0E06Label_0E06:0x0E06if (!(ContactModificationDirty)) PopFlow();0x0E10RunContactMod();0x0E1EPopFlow();0x0E1FLabel_0E1F:0x0E1FEngineSimluation();0x0E2DUpdateForces();0x0E3BTickWheels();0x0E49TickCosmetics();0x0E57goto Label_0E06;0x0E5CUpdateInputs();0x0E6Agoto Label_0E1F;0x0E6FCleanup();0x0E7DPopFlow();0x0E7ELabel_0E7E:0x0E7EReprojectWheels();0x0E8CDoStabilityControl();0x0E9ASyncTrailer();0x0EA8GetCurrentGear(CallFunc_GetCurrentGear_Gear, CallFunc_GetCurrentGear_CurrentGear);0x0EC8GetTorque(CallFunc_GetTorque_Torque);0x0EDFCallFunc_EqualEqual_IntInt_ReturnValue = EqualEqual_IntInt(CallFunc_GetCurrentGear_Gear, 0);0x0F01GetHandbrakeApplied(CallFunc_GetHandbrakeApplied_isHandbrakeApplied);0x0F18GetCurrentSteering(CallFunc_GetCurrentSteering_CurrentSteering);0x0F2FK2Node_MakeStruct_Steering_ImplicitCast = Cast<3>(CallFunc_GetCurrentSteering_CurrentSteering);0x0F4CK2Node_MakeStruct_AVS_Inputs.Steering = K2Node_MakeStruct_Steering_ImplicitCast;0x0F70K2Node_MakeStruct_Throttle_ImplicitCast = Cast<3>(Throttle);0x0F8DK2Node_MakeStruct_AVS_Inputs.Throttle = K2Node_MakeStruct_Throttle_ImplicitCast;0x0FB1K2Node_MakeStruct_Brake_ImplicitCast = Cast<3>(Brake);0x0FCEK2Node_MakeStruct_AVS_Inputs.Brake = K2Node_MakeStruct_Brake_ImplicitCast;0x0FF2K2Node_MakeStruct_AVS_Inputs.Handbrake = CallFunc_GetHandbrakeApplied_isHandbrakeApplied;0x100EK2Node_MakeStruct_Torque_ImplicitCast = Cast<3>(CallFunc_GetTorque_Torque);0x102BK2Node_MakeStruct_AVS_Inputs.Torque = K2Node_MakeStruct_Torque_ImplicitCast;0x104FK2Node_MakeStruct_AVS_Inputs.ReverseTorque = CallFunc_EqualEqual_IntInt_ReturnValue;0x106BPhysicsThreadInputs(K2Node_MakeStruct_AVS_Inputs);0x107ELabel_107E:0x107EDebugDraw();0x108CPopFlow();0x108DK2Node_VariableSet_TickDelta_ImplicitCast = Cast<4>(K2Node_Event_DeltaTime_1);0x10AATickDelta = K2Node_VariableSet_TickDelta_ImplicitCast;0x10C5TickInputs();0x10D3goto Label_0E7E;0x10D8goto Label_0D9E;0x10DDgoto Label_0396;0x10E2goto Label_107E;0x10E7ReceiveControllerChanged(K2Node_Event_OldController, K2Node_Event_NewController);0x1103Delay(this, 0.1f, LatentActionInfo{0x3FE, -6288734, FName(ExecuteUbergraph_AVS_Vehicle), this});0x1139PopFlow();0x113ALabel_113A:0x113Areturn;0x113C// end of script
Final0x04
void OnEngineRunningUpdatedEvent__DelegateSignature(bool IsEngineRunning)
Script2 statements · 3 bytes of bytecode
0x0000return;0x0002// end of script
Public0x01

Subclasses 1

Used by 4

types with a member, parameter or interface of this type