Cogito, ergo sum
UE3:UTVehicle_Leviathan (UT3)
Object >> Actor >> Pawn >> Vehicle >> SVehicle >> UTVehicleBase >> UTVehicle >> UTVehicle_Deployable >> UTVehicle_Leviathan |
- Package:
- UTGame
- Direct subclass:
- UTVehicle_Leviathan_Content
Implementation for the Leviathan.
Properties[edit]
Property group 'Collision'[edit]
TurretCollision[edit]
Type: CylinderComponent
Array size: 4
Property group 'test'[edit]
StingerTurretTurnRate[edit]
Type: int
Default value: 8192
Property group 'UTVehicle_Leviathan'[edit]
MaxHitCheckDist[edit]
Type: float
Default value: 140.0
Internal variables[edit]
See UTVehicle_Leviathan internal variables.
Default values[edit]
Subobjects[edit]
CollisionCylinder[edit]
Class: Engine.CylinderComponent
Inherits from: UTVehicle_Deployable.CollisionCylinder
No new values.
MyLightEnvironment[edit]
Class: Engine.DynamicLightEnvironmentComponent
Inherits from: UTVehicle_Deployable.MyLightEnvironment
Property | Value |
---|---|
NumVolumeVisibilitySamples | 4 |
MyStayUprightConstraintInstance_8[edit]
Class: Engine.RB_ConstraintInstance
No new values.
MyStayUprightSetup_8[edit]
Class: Engine.RB_StayUprightSetup
No new values.
SimObject[edit]
Class: UTGame.UTVehicleSimCar
Property | Value | ||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ChassisTorqueScale | 0.2 | ||||||||||||||||||||||||||||||||||||||||||||
EngineBrakeFactor | 0.02 | ||||||||||||||||||||||||||||||||||||||||||||
EngineRPMCurve |
|
||||||||||||||||||||||||||||||||||||||||||||
FrontalCollisionGripFactor | 0.18 | ||||||||||||||||||||||||||||||||||||||||||||
HardTurnMotorTorque | 1.0 | ||||||||||||||||||||||||||||||||||||||||||||
LSDFactor | 1.0 | ||||||||||||||||||||||||||||||||||||||||||||
MaxBrakeTorque | 8.0 | ||||||||||||||||||||||||||||||||||||||||||||
MaxSteerAngleCurve |
|
||||||||||||||||||||||||||||||||||||||||||||
SteerSpeed | 50.0 | ||||||||||||||||||||||||||||||||||||||||||||
StopThreshold | 500.0 | ||||||||||||||||||||||||||||||||||||||||||||
TorqueVSpeedCurve |
|
||||||||||||||||||||||||||||||||||||||||||||
WheelSuspensionBias | 0.7 | ||||||||||||||||||||||||||||||||||||||||||||
WheelSuspensionDamping | 75.0 | ||||||||||||||||||||||||||||||||||||||||||||
WheelSuspensionStiffness | 50.0 |
SVehicleMesh[edit]
Class: Engine.SkeletalMeshComponent
Inherits from: UTVehicle_Deployable.SVehicleMesh
Property | Value | ||||||||
---|---|---|---|---|---|---|---|---|---|
LightEnvironment | DynamicLightEnvironmentComponent'UTGame.Default__UTVehicle_Leviathan:MyLightEnvironment' | ||||||||
RBCollideWithChannels |
|
Functions[edit]
Native functions[edit]
CheckActiveTurret[edit]
GetTargetLocation[edit]
Overrides: Vehicle.GetTargetLocation
(Description copied from Vehicle.GetTargetLocation)
Returns:
- Figure out who we are targetting.
Native implementation:
FVector AUTVehicle_Leviathan::GetTargetLocation(AActor* RequestedBy, UBOOL bRequestAlternateLoc) const { if ( !RequestedBy ) return Super::GetTargetLocation(); const INT NearestTurret = CheckActiveTurret(RequestedBy->Location, 0.f); if ( NearestTurret >= 0 ) { return TurretCollision[NearestTurret]->LocalToWorld.GetOrigin() + FVector(0.f, 0.f, 45.f); } else { return Super::GetTargetLocation(); } }
TurretAlive[edit]
Events[edit]
CanDeploy[edit]
Overrides: UTVehicle_Deployable.CanDeploy
(Description copied from UTVehicle_Deployable.CanDeploy)
Returns:
- true if this vehicle can deploy
ContinueOnFoot[edit]
Overrides: UTVehicle.ContinueOnFoot
(Description copied from UTVehicle.ContinueOnFoot)
ContinueOnFoot() - used by AI Called from route finding if route can only be continued on foot.
Returns:
- true if driver left vehicle
PostBeginPlay[edit]
Overrides: UTVehicle_Deployable.PostBeginPlay
Initialization
ReplicatedEvent[edit]
Overrides: UTVehicle_Deployable.ReplicatedEvent
(Description copied from UTVehicle.ReplicatedEvent)
This event is triggered when a repnotify variable is received
Parameters:
- VarName - The name of the variable replicated
RigidBodyCollision[edit]
Overrides: UTVehicle.RigidBodyCollision
(Description copied from Actor.RigidBodyCollision)
Called when a PrimitiveComponent this Actor owns has:
-bNotifyRigidBodyCollision set to true -ScriptRigidBodyCollisionThreshold > 0 -it is involved in a physics collision where the relative velocity exceeds ScriptRigidBodyCollisionThreshold
Parameters:
- HitComponent - the component of this Actor that collided
- OtherComponent - the other component that collided
- RigidCollisionData - information on the collision itslef, including contact points
- ContactIndex - the element in each ContactInfos' ContactVelocity and PhysMaterial arrays that corresponds to this Actor/HitComponent
TakeDamage[edit]
Overrides: UTVehicle.TakeDamage
(Description copied from UTVehicle.TakeDamage)
See: Actor.TakeDamage()
Other instance functions[edit]
See UTVehicle_Leviathan instance functions.
States[edit]
Deployed[edit]
Deployed.CheckStability[edit]
Overrides: UTVehicle_Deployable.Deployed.CheckStability
traces down to the ground from the wheels and undeploys the vehicle if wheels are too far off the ground