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

Gameplay.HavokCar

Extends
Car
Modifiers
placeable dependson ( PlayerCharacterController ) native

Core.Object
|   
+-- Engine.Actor
   |   
   +-- Engine.Pawn
      |   
      +-- Gameplay.Rook
         |   
         +-- Gameplay.Vehicle
            |   
            +-- Gameplay.Car
               |   
               +-- Gameplay.HavokCar

Direct Known Subclasses:

Buggy

Constants Summary
HC_ANGULAR_VELOCITY_ACCURACY_FACTOR=1000
HC_ANGULAR_VELOCITY_INVERSE_ACCURACY_FACTOR=0.001
HC_LINEAR_VELOCITY_ACCURACY_FACTOR=100
HC_LINEAR_VELOCITY_INVERSE_ACCURACY_FACTOR=0.01
Inherited Contants from Gameplay.Vehicle
CANNOT_STEAL_VEHICLE_PROMPT_INDEX, DRIVER_PROMPT_INDEX, ENEMY_INVENTORY_STATION_PROMPT_INDEX, ENEMY_OCCUPIED_VEHICLE_PROMPT_INDEX, FLIP_PROMPT_INDEX, FULL_VEHICLE_PROMPT_INDEX, GUNNER_PROMPT_INDEX, HEAVY_ATTEMPT_TO_PILOT, INVENTORY_STATION_PROMPT_INDEX, LEFT_GUNNER_PROMPT_INDEX, MAXIMUM_NUMBER_POSITIONS, NUMBER_MINOR_ENTRY_SIGNALS, RIGHT_GUNNER_PROMPT_INDEX, VEHICLE_PROHIBITED_OBJECT_PROMPT_INDEX

Variables Summary
array<class<HavokCarWheel>>havokCarWheelClasses
inthkVehicleDataPtr
intleftFrontSkiddingEffectIndex
intleftRearSkiddingEffectIndex
HavokCarReplicationStateOldReplicationCarState
HavokCarReplicationStateReplicationCarState
intrightFrontSkiddingEffectIndex
intrightRearSkiddingEffectIndex
boolsystemHandbrake
array<Engine.HavokVehicleWheel>Wheels
array<WheelOutput>wheelsOutput
HavokVehicle
floatapplyHandbrakeSpeed
boolcommonSuspensionDampingCompression
boolcommonSuspensionDampingRelaxation
boolcommonSuspensionStrength
boolcommonSuspensionTravel
boolcommonWheelFriction
boolcommonWheelMass
boolcommonWheelViscosityFriction
array<float>GearRatios
intleftFrontWheelIndex
intleftRearWheelIndex
floatoccupiedApplyHandbrakeSpeed
intrightFrontWheelIndex
intrightRearWheelIndex
floatskidEffectEnergyThreshold
array<class<Engine.HavokVehicleWheel>>wheelClasses
HavokVehicleAerodynamics
floatAerodynamicsAirDensity
floatAerodynamicsDragCoeff
floatAerodynamicsFrontalArea
floatAerodynamicsLiftCoeff
floatCollisionSpinDamping
floatCollisionThreshold
vectorExtraGravity
floatSpinDamping
HavokVehicleEngine
floatEngineMaxRPM
floatEngineMinRPM
floatEngineOptRPM
floatEngineResistanceFactorAtMaxRPM
floatEngineResistanceFactorAtMinRPM
floatEngineResistanceFactorAtOptRPM
floatEngineTorque
floatEngineTorqueFactorAtMaxRPM
floatEngineTorqueFactorAtMinRPM
floatGearClutchDelayTime
floatGearDownshiftRPM
floatGearReverseRatio
floatGearUpshiftRPM
HavokVehicleGeneral
floatChassisMass
floatChassisUnitInertiaPitch
floatChassisUnitInertiaRoll
floatChassisUnitInertiaYaw
floatFrictionEqualizer
floatMaxSpeedFullSteeringAngle
floatTorqueExtraFactor
floatTorquePitchFactor
floatTorqueRollFactor
floatTorqueYawFactor
Inherited Variables from Gameplay.Car
carSteer, driveThrottleCoefficient, effectAccelerating, effectDeccelerating, Gear, maximumYawChange, minimumNavigationThrottle, outputCarDirection, SteeringMaxAngle, stopSteeringSize, StopThreshold, stopVelocitySize, strafeSteerAngleOffset, upsideDownDamagePerSecond
Inherited Variables from Gameplay.Vehicle
abandonmentDestruction, abandonmentDestructionPeriod, animationFinishThenLoop, bCanBeStolen, bCollisionDamageEnabled, bDisablePositionSwitching, bDrawDriverInTP, bFlipping, bGodMode, bHasBeenOccupied, bInvincible, bSettledUpsideDown, bShowPhysicsDebug, bVehicleCameraTrace, cachedCameraLocation, cameraDistance, cannotStealPrompt, clientInterpolationHard, clientInterpolationPeriod, clientInterpolationSnapDistance, clientPositions[MAXIMUM_NUMBER_POSITIONS], collisionDamageMagnitudeScale, cornerSlowDownDistance, cornerSlowDownMinimumCosAngle, cornerSlowDownSpeedCoefficient, CrushingDamageTypeClass, currentAbandonmentDuration, currentDesiredHavokState, currentSwitchClass, customInertiaTensor, customInertiaTensorDiagonal, dampingPlusEnabled, dampingPlusNegativeZ, dampingPlusPositiveZ, dampingPlusXY, destroyedExplosionClass, destructionObjectClass, distanceToMaximumDurationScale, DiveInput, doNotEjectOnFlip, drivePitchCoefficient, driverIndex, driverMaximumPitch, driverMinimumPitch, driverPrompt, driverWeapon, driverWeaponClass, driveYawCoefficient, effects, enemyInventoryStationPrompt, enemyOccupiedPrompt, engineIdlingEffectIndex, entries, exits, flipMaximumRotationDuration, flipPrompt, flipPushUpDuration, flipPushUpImpulse, flipRotateTime, flipRotationDamping, flipRotationStrength, flipRotationTimeOut, flipTriggers, fullVehiclePrompt, gunnerPrompt, healthModifier, heavyAttemptedToPilot, heavyAttemptedToPilotSwitchPromptDuration, initialInvincibilityDuration, inventoryStationPrompt, inverseCosUprightAngle, invicibilityMaterial, lastOccupantTeam, lastStateReceiveTime, leftGunnerPrompt, localClientPositions[MAXIMUM_NUMBER_POSITIONS], localizedName, localMoveDestination, localTeam, loseInitialInvincibilityTime, ManifestLayoutMaterial, maximumNetUpdateInterval, maximumNextNetUpdateTime, minimumCollisionDamageMagnitude, minimumObstacleLookAhead, minorPositionEntrySignals[NUMBER_MINOR_ENTRY_SIGNALS], motor, motorClass, obstacleLookAheadVeloocityScale, padding[8], positions, retriggerEffectEvents, rightGunnerPrompt, rootBone, RotationInput, settledUpsideDownCosAngle, settledUpsideDownSpeed, spawning, stayUprightDamping, stayUprightEnabled, stayUprightStrength, stopForEnemies, StrafeInput, strafeLeftEffectIndex, strafeLeftOrThrustEffectIndex, strafeRightEffectIndex, strafeRightOrThrustEffectIndex, throttleBackEffectIndex, throttleForwardEffectIndex, throttleForwardOrThrustEffectIndex, ThrottleInput, thrustingEffectIndex, ThrustInput, TopSpeed, TPCameraDistance, TPCameraLookAt, vehicleCameraTraceExtents, vehicleEntries, vehicleFlipTriggers, vehicleProhibitedObjectPrompt, velocityInheritOnExitScale, waterDamagePerSecond

Enumerations Summary
Inherited Enumerations from Gameplay.Vehicle
VehiclePositionType

Structures Summary
HavokCarReplicationState
Position, rotation, LinVel, AngVel, digitalThrottleInput, digitalStrafeInput, serverSteering[2], ServerBoost, ServerHandbrake
WheelOutput
skidEnergyDensity, suspensionLength, groundContact
Inherited Structures from Gameplay.Vehicle
ClientOccupantEnterData, ClientPositionData, DesiredHavokState, ExitData, VehicleEffect, VehicleEntryData, VehicleFlipTriggerData, VehiclePosition

Functions Summary
event EncroachedBy (actor Other ))
function FaceRotation (rotator NewRotation, float DeltaTime ))
function havokCarSwitchClass (class<HavokCar> havokCarClass)
event HavokVehicleHasChanged ()))
function initialiseEffects ()))
functionbool isEffectCauserActive (int effectCauserIndex))
functionbool isSettledUpsideDown ()))
functionbool needToPushStateToClient ()))
function PostNetBeginPlay ()))
function PreBeginPlay ()))
function pushStateToClient ()))
function RemakeVehicle ()
function switchClass (class<Vehicle> switchClass))
function switchWheelClasses (out array > newWheelClasses)
function tick (float deltaSeconds))
function updateDynamicEffectStates ()))
function updateSkidEffect (int wheelIndex, int effectIndex))
event UpdateVehicle (float DeltaTime)
event vehicleStateReceived ()))
Inherited Functions from Gameplay.Car
applyOutput, Destroyed, PostNetBeginPlay, ProcessInput, tick, updateGear
Inherited Functions from Gameplay.Vehicle
aboutToDie, aboutToSettleUpsideDown, addEffect, aimAdjustViewRotation, altFire, applyOutput, attachToVehicle, BaseChange, BeginState, cameraTrace, canArmorOccupy, canArmourBeDriver, canArmourBePassenger, canBeRepairedBy, canCharacterRespawnAt, canOccupy, canSwitchPosition, canTargetPoint, cleanupAI, clientDriverLeave, clientOccupantEnter, collisionDamage, copyVehicleAIValuesToTurret, customFiredEffectProcessing, Destroyed, DisplayDebug, displayWorldSpaceDebug, doCustomFiredEffectProcessing, drawActorCollision, driverLeave, enableAbandonmentDestruction, EncroachedBy, EncroachingOn, EyePosition, FaceRotation, finishedSpawnFromVehicleSpawnPoint, fire, firingMotor, flip, forceNetDirty, generateAIDeathSpeechEvents, getAimLocation, getAlternateAimAdjustStart, getAngle, getAvailablePositionIndex, getCameraLookAt, getControllingCharacter, getCorrespondingInventoryStation, getDriver, getEffectsBaseActor, getEnergy, getFirstPersonEquippableLocation, getFirstPersonEquippableRotation, getHighByte, GetHumanReadableName, getLowByte, getMinorPositionEntryIndex, getOccupantPositionIndex, getOccupantTeam, getOut, GetOverlayMaterial, getPhysicalAttachment, getPositionIndex, getPositionPromptIndex, getProjectileSpawnLocation, getPrompt, getTargetPositionIndex, getTeamDamagePercentage, getTeamSkin, getThirdPersonEquippableAttachment, getUnusedInventoryStation, getVehicleUseablePoint, getViewRotationFromMotor, getWeapon, GraphData, InGodMode, initDriverAI, initGunnerAI, initialiseEffects, initVehicleAI, interpolateRotation, isEffectCauserActive, isHavokCompletelyInitialised, isInventoryPosition, isMajorPosition, isOccupant, isOccupied, isSettledUpsideDown, isUpright, needToPushStateToClient, occupantEnter, occupantEnterAnimationProcessing, occupantLeaveAnimationProcessing, occupantSwitchPosition, onShotFiredNotification, otherClientOccupantEnter, otherClientOccupantLeave, packPitchAndYaw, performFlip, PlayDying, playerMoveProcessing, PostBeginPlay, PostLoadGame, PostNetBeginPlay, postNetReceive, PostTakeDamage, PrecacheVehicleMeshes, processInput, pushStateToClient, releaseAltFire, releaseFire, rematchGoals, setFirePressed, setSkin, setTeam, settledUpsideDownChanged, shouldFire, ShouldProjectileHit, showPhysicsDebug, spawnCharacter, specialCalcView, specialCalcViewProcessing, startedSpawnFromVehicleSpawnPoint, switchClass, switchPosition, tick, Timer, toggleShowPhysicsDebug, tryToDrive, tryToOccupy, unpackPitchAndYaw, UnPossessed, updateDynamicEffectStates, updateEffectsStates, UpdatePrecacheRenderData, updateTeamSkin, useEnergy, vehicleCeaseFire, vehicleFire, VehicleStateReceived, vehicleTrace, vehicleTransitionTrace, VehicleUpdateParams


Constants Detail

HC_ANGULAR_VELOCITY_ACCURACY_FACTOR Source code

const HC_ANGULAR_VELOCITY_ACCURACY_FACTOR = 1000;

HC_ANGULAR_VELOCITY_INVERSE_ACCURACY_FACTOR Source code

const HC_ANGULAR_VELOCITY_INVERSE_ACCURACY_FACTOR = 0.001;

HC_LINEAR_VELOCITY_ACCURACY_FACTOR Source code

const HC_LINEAR_VELOCITY_ACCURACY_FACTOR = 100;

HC_LINEAR_VELOCITY_INVERSE_ACCURACY_FACTOR Source code

const HC_LINEAR_VELOCITY_INVERSE_ACCURACY_FACTOR = 0.01;


Variables Detail

havokCarWheelClasses Source code

var array<class<HavokCarWheel>> havokCarWheelClasses;

hkVehicleDataPtr Source code

var const transient int hkVehicleDataPtr;

leftFrontSkiddingEffectIndex Source code

var int leftFrontSkiddingEffectIndex;

leftRearSkiddingEffectIndex Source code

var int leftRearSkiddingEffectIndex;

OldReplicationCarState Source code

var HavokCarReplicationState OldReplicationCarState;

ReplicationCarState Source code

var HavokCarReplicationState ReplicationCarState;

rightFrontSkiddingEffectIndex Source code

var int rightFrontSkiddingEffectIndex;

rightRearSkiddingEffectIndex Source code

var int rightRearSkiddingEffectIndex;

systemHandbrake Source code

var bool systemHandbrake;

Wheels Source code

var editinline array<Engine.HavokVehicleWheel> Wheels;

wheelsOutput Source code

var array<WheelOutput> wheelsOutput;

HavokVehicle

applyHandbrakeSpeed Source code

var(HavokVehicle) float applyHandbrakeSpeed;

commonSuspensionDampingCompression Source code

var(HavokVehicle) bool commonSuspensionDampingCompression;

commonSuspensionDampingRelaxation Source code

var(HavokVehicle) bool commonSuspensionDampingRelaxation;

commonSuspensionStrength Source code

var(HavokVehicle) bool commonSuspensionStrength;

commonSuspensionTravel Source code

var(HavokVehicle) bool commonSuspensionTravel;

commonWheelFriction Source code

var(HavokVehicle) bool commonWheelFriction;

commonWheelMass Source code

var(HavokVehicle) bool commonWheelMass;

commonWheelViscosityFriction Source code

var(HavokVehicle) bool commonWheelViscosityFriction;

GearRatios Source code

var(HavokVehicle) editinline array<float> GearRatios;

leftFrontWheelIndex Source code

var(HavokVehicle) int leftFrontWheelIndex;

leftRearWheelIndex Source code

var(HavokVehicle) int leftRearWheelIndex;

occupiedApplyHandbrakeSpeed Source code

var(HavokVehicle) float occupiedApplyHandbrakeSpeed;

rightFrontWheelIndex Source code

var(HavokVehicle) int rightFrontWheelIndex;

rightRearWheelIndex Source code

var(HavokVehicle) int rightRearWheelIndex;

skidEffectEnergyThreshold Source code

var(HavokVehicle) float skidEffectEnergyThreshold;

wheelClasses Source code

var(HavokVehicle) array<class<Engine.HavokVehicleWheel>> wheelClasses;

HavokVehicleAerodynamics

AerodynamicsAirDensity Source code

var(HavokVehicleAerodynamics) float AerodynamicsAirDensity;

AerodynamicsDragCoeff Source code

var(HavokVehicleAerodynamics) float AerodynamicsDragCoeff;

AerodynamicsFrontalArea Source code

var(HavokVehicleAerodynamics) float AerodynamicsFrontalArea;

AerodynamicsLiftCoeff Source code

var(HavokVehicleAerodynamics) float AerodynamicsLiftCoeff;

CollisionSpinDamping Source code

var(HavokVehicleAerodynamics) float CollisionSpinDamping;

CollisionThreshold Source code

var(HavokVehicleAerodynamics) float CollisionThreshold;

ExtraGravity Source code

var(HavokVehicleAerodynamics) vector ExtraGravity;

SpinDamping Source code

var(HavokVehicleAerodynamics) float SpinDamping;

HavokVehicleEngine

EngineMaxRPM Source code

var(HavokVehicleEngine) float EngineMaxRPM;

EngineMinRPM Source code

var(HavokVehicleEngine) float EngineMinRPM;

EngineOptRPM Source code

var(HavokVehicleEngine) float EngineOptRPM;

EngineResistanceFactorAtMaxRPM Source code

var(HavokVehicleEngine) float EngineResistanceFactorAtMaxRPM;

EngineResistanceFactorAtMinRPM Source code

var(HavokVehicleEngine) float EngineResistanceFactorAtMinRPM;

EngineResistanceFactorAtOptRPM Source code

var(HavokVehicleEngine) float EngineResistanceFactorAtOptRPM;

EngineTorque Source code

var(HavokVehicleEngine) float EngineTorque;

EngineTorqueFactorAtMaxRPM Source code

var(HavokVehicleEngine) float EngineTorqueFactorAtMaxRPM;

EngineTorqueFactorAtMinRPM Source code

var(HavokVehicleEngine) float EngineTorqueFactorAtMinRPM;

GearClutchDelayTime Source code

var(HavokVehicleEngine) float GearClutchDelayTime;

GearDownshiftRPM Source code

var(HavokVehicleEngine) float GearDownshiftRPM;

GearReverseRatio Source code

var(HavokVehicleEngine) float GearReverseRatio;

GearUpshiftRPM Source code

var(HavokVehicleEngine) float GearUpshiftRPM;

HavokVehicleGeneral

ChassisMass Source code

var(HavokVehicleGeneral) float ChassisMass;

ChassisUnitInertiaPitch Source code

var(HavokVehicleGeneral) float ChassisUnitInertiaPitch;

ChassisUnitInertiaRoll Source code

var(HavokVehicleGeneral) float ChassisUnitInertiaRoll;

ChassisUnitInertiaYaw Source code

var(HavokVehicleGeneral) float ChassisUnitInertiaYaw;

FrictionEqualizer Source code

var(HavokVehicleGeneral) float FrictionEqualizer;

MaxSpeedFullSteeringAngle Source code

var(HavokVehicleGeneral) float MaxSpeedFullSteeringAngle;

TorqueExtraFactor Source code

var(HavokVehicleGeneral) float TorqueExtraFactor;

TorquePitchFactor Source code

var(HavokVehicleGeneral) float TorquePitchFactor;

TorqueRollFactor Source code

var(HavokVehicleGeneral) float TorqueRollFactor;

TorqueYawFactor Source code

var(HavokVehicleGeneral) float TorqueYawFactor;


Structures Detail

HavokCarReplicationState Source code

struct HavokCarReplicationState
{
var vector AngVel;
var PlayerCharacterController.EDigitalAxisInput digitalStrafeInput;
var PlayerCharacterController.EDigitalAxisInput digitalThrottleInput;
var vector LinVel;
var vector Position;
var quat rotation;
var bool ServerBoost;
var bool ServerHandbrake;
var byte serverSteering[2];
};


WheelOutput Source code

struct WheelOutput
{
var bool groundContact;
var float skidEnergyDensity;
var float suspensionLength;
};



Functions Detail

EncroachedBy Source code

event EncroachedBy ( actor Other ) )

FaceRotation Source code

simulated function FaceRotation ( rotator NewRotation, float DeltaTime ) )

havokCarSwitchClass Source code

native simulated function havokCarSwitchClass ( class<HavokCar> havokCarClass )

HavokVehicleHasChanged Source code

simulated event HavokVehicleHasChanged ( ) )

initialiseEffects Source code

simulated function initialiseEffects ( ) )

isEffectCauserActive Source code

simulated function bool isEffectCauserActive ( int effectCauserIndex) )

isSettledUpsideDown Source code

simulated function bool isSettledUpsideDown ( ) )

needToPushStateToClient Source code

function bool needToPushStateToClient ( ) )

PostNetBeginPlay Source code

simulated function PostNetBeginPlay ( ) )

PreBeginPlay Source code

simulated function PreBeginPlay ( ) )

pushStateToClient Source code

function pushStateToClient ( ) )

RemakeVehicle Source code

native function RemakeVehicle ( )

switchClass Source code

simulated function switchClass ( class<Vehicle> switchClass) )

switchWheelClasses Source code

native simulated function switchWheelClasses ( out array<class<HavokCarWheel> > newWheelClasses )

tick Source code

simulated function tick ( float deltaSeconds) )

updateDynamicEffectStates Source code

simulated function updateDynamicEffectStates ( ) )

updateSkidEffect Source code

simulated function updateSkidEffect ( int wheelIndex, int effectIndex) )

UpdateVehicle Source code

simulated event UpdateVehicle ( float DeltaTime )

vehicleStateReceived Source code

simulated event vehicleStateReceived ( ) )


Defaultproperties

defaultproperties
{
	DrawType=DT_Mesh
	Mesh=SkeletalMesh'Vehicles.Buggy'
    
 	bDrawDriverInTP=false


    Physics=PHYS_Havok
	bEdShouldSnap=True
	bStatic=False
	bShadowCast=False
	bCollideActors=True
	bCollideWorld=False
    bProjTarget=True
	bBlockActors=True
	bBlockNonZeroExtentTraces=True
	bBlockZeroExtentTraces=True
	bBlockPlayers=True
	bWorldGeometry=False
	bBlockKarma=False
	bBlockHavok=True
    CollisionHeight=+000001.000000
	CollisionRadius=+000001.000000
	bAcceptsProjectors=False
	bCanBeBaseForPawns=True
	RemoteRole=ROLE_SimulatedProxy
	bNetInitialRotation=True
	bSpecialCalcView=True
	
	
	
	ChassisMass=750 
	SteeringMaxAngle=4000 
	MaxSpeedFullSteeringAngle=70 
	FrictionEqualizer=0.5
	TorqueRollFactor=0.25
	TorquePitchFactor=0.5
	TorqueYawFactor=0.35 
	TorqueExtraFactor=-0.5
	ChassisUnitInertiaYaw=1.0
	ChassisUnitInertiaRoll=0.4
	ChassisUnitInertiaPitch=1.0


	
	EngineTorque=500
	EngineMinRPM=1000
	EngineOptRPM=5500
	EngineMaxRPM=7500
	EngineTorqueFactorAtMinRPM=0.8
	EngineTorqueFactorAtMaxRPM=0.8
	EngineResistanceFactorAtMinRPM=0.05
	EngineResistanceFactorAtOptRPM=0.1
	EngineResistanceFactorAtMaxRPM=0.3
	GearDownshiftRPM=3500
	GearUpshiftRPM=6500
	GearClutchDelayTime=0
	GearReverseRatio=1
	TopSpeed=6500
	
	
	AerodynamicsAirDensity=1.3
	AerodynamicsFrontalArea=1
	AerodynamicsDragCoeff=0.7
	AerodynamicsLiftCoeff=-0.3
	ExtraGravity=(X=0,Y=0,Z=-5)
	SpinDamping=1
	CollisionSpinDamping=0
	CollisionThreshold=4
	
	
	GearRatios(0)=1
	
	Texture=Texture'Engine_res.Havok.S_HkVehicle'
	
	HavokDataClass=class'BuggyHavokData'


	ReplicationCarState=(digitalThrottleInput=DAI_Zero)


	applyHandbrakeSpeed = 200
	occupiedApplyHandbrakeSpeed = 500


	commonWheelMass = true
	commonWheelFriction = true
	commonWheelViscosityFriction = true
	commonSuspensionStrength = true
	commonSuspensionDampingCompression = true
	commonSuspensionDampingRelaxation = true
	commonSuspensionTravel = true


	leftFrontWheelIndex = 0
	leftRearWheelIndex = 2
	rightFrontWheelIndex = 1 
	rightRearWheelIndex = 3


	skidEffectEnergyThreshold = 25


	clientInterpolationHard = true
}

Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames
Creation time: st 23.5.2018 00:10:30.624 - Created with UnCodeX