Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames

UTGame.UTVehicleSimCar


00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033
00034
00035
00036
00037
00038
00039
00040
00041
00042
00043
00044
00045
00046
00047
00048
00049
00050
00051
00052
00053
00054
00055
00056
00057
00058
00059
00060
00061
00062
00063
00064
00065
00066
00067
00068
00069
00070
00071
00072
00073
00074
00075
00076
00077
00078
00079
00080
00081
00082
00083
00084
00085
00086
00087
00088
00089
00090
00091
00092
00093
00094
00095
00096
00097
00098
00099
00100
00101
00102
00103
00104
00105
00106
00107
00108
00109
00110
00111
00112
/**
 * Copyright 1998-2008 Epic Games, Inc. All Rights Reserved.
 */

class UTVehicleSimCar extends SVehicleSimCar
	native(Vehicle);

/** Torque vs Speed curve: This curve approximates a transmission as opposed to actually simulating one as in SVehicleSimTransmission
    In general you want to have a higher torque at low speed and a lower torque at high speed */
var()	InterpCurveFloat      TorqueVSpeedCurve;

/** Translates forward velocity into an EngineRPM that can be used for effects and sounds */
var()	InterpCurveFloat      EngineRPMCurve;

/** Limited slip differential: 0.60 would mean 60% of the power is routed through the LSD and 40% is divided evenly */
var()   float                 LSDFactor;

/** ThrottleSpeed is the speed at which the vehicle will increase its ActualThrottle to get to the desired Throttle */
var()   float                 ThrottleSpeed;

// Internal
var     float               MinRPM;
var     float               MaxRPM;
var     float               ActualThrottle;

/** flag when throttle was forced up to prevent back slipping */
var		bool				bForceThrottle;

/** flag set when bForceThrottle has been used, and throttle has not been zeroed again */
var		bool				bHasForcedThrottle;

/** flag to prevent braking to a stop with no driver */
var		bool				bDriverlessBraking;

/** steering reduction factor when have wheels in air (to make vehicles easier to control) */
var()	float				SteeringReductionFactor;

/** steering reduction ramp up rate (1/this = time to full steering reduction).  ramps down at half this rate */
var() float					SteeringReductionRampUpRate;

/** current steering reduction value (scales up and down over time */
var float					CurrentSteeringReduction;

/** how many wheels must be on ground in order to avoid steering reduction */
var()	int					NumWheelsForFullSteering;

/** speed at which steering reduction is in full effect */
var()	float				SteeringReductionSpeed;

/** speed at which steering reduction starts */
var()	float				SteeringReductionMinSpeed;

/** minimum speed before torque reduction sets in when turning hard */
var()	float				MinHardTurnSpeed;

/** motor torque applied during hard turns (don't want to accelerate through hard turns */
var()	float				HardTurnMotorTorque;

/** whether should auto-handbrake when wheels on one side are off the ground */
var()	bool				bAutoHandbrake;

/** How quickly the handbrake is turned off (it is turned on immediately) */
var()	float				HandbrakeSpeed;

/** Internal - current amount of handbrake applied. */
var		float				ActualHandbrake;

/** When driving into something, reduce friction on the wheels. */
var()	float				FrontalCollisionGripFactor;

/** When turning hard on console, reduce lateral grip to enhance sliding around. */
var()	float				ConsoleHardTurnGripFactor;

/** Damping on yaw based on vehicle speed. */
var()	float				SpeedBasedTurnDamping;

/** Torque to apply when vehicle is in ato allow some air control. */
var()	float				AirControlTurnTorque;

/** Torque applied when in the air to try and keep vehicle horizontal. */
var()	float				InAirUprightTorqueFactor;

/** Max torque that can be applied to try and */
var()	float				InAirUprightMaxTorque;

// (cpptext)
// (cpptext)
// (cpptext)
// (cpptext)
// (cpptext)
// (cpptext)
// (cpptext)
// (cpptext)

defaultproperties
{
   ThrottleSpeed=0.200000
   bDriverlessBraking=True
   SteeringReductionFactor=1.000000
   SteeringReductionRampUpRate=5.000000
   CurrentSteeringReduction=1.000000
   SteeringReductionSpeed=2500.000000
   SteeringReductionMinSpeed=2500.000000
   MinHardTurnSpeed=250.000000
   HardTurnMotorTorque=0.400000
   HandbrakeSpeed=2.000000
   FrontalCollisionGripFactor=1.000000
   ConsoleHardTurnGripFactor=1.000000
   Name="Default__UTVehicleSimCar"
   ObjectArchetype=SVehicleSimCar'Engine.Default__SVehicleSimCar'
}

Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames
Class file time: tr 31-1-2018 17:18:28.000 - Creation time: sk 18-3-2018 10:01:28.474 - Created with UnCodeX