I don't need to test my programs. I have an error-correcting modem.
Difference between revisions of "UE3:UTVehicle SPMA (UT3)"
m (updaterd for v1.3beta4) |
(added missing members) |
||
Line 11: | Line 11: | ||
| abstract = yes | | abstract = yes | ||
}} | }} | ||
− | + | {{autogenerated}} | |
+ | Copyright 1998-2008 Epic Games, Inc. All Rights Reserved. | ||
==Properties== | ==Properties== | ||
Line 208: | Line 209: | ||
| {{tl|bStickDeflectionThrottle||UTVehicle internal variables}} | | {{tl|bStickDeflectionThrottle||UTVehicle internal variables}} | ||
| True | | True | ||
+ | |- | ||
+ | | {{tl|ChargeBarPosY||UTVehicle internal variables}} | ||
+ | | 7.0 | ||
|- | |- | ||
| {{tl|COMOffset||SVehicle properties}} | | {{tl|COMOffset||SVehicle properties}} | ||
Line 279: | Line 283: | ||
| {{tl|StayUprightConstraintSetup||SVehicle properties}} | | {{tl|StayUprightConstraintSetup||SVehicle properties}} | ||
| {{cl|RB_StayUprightSetup}}'UTGame.Default__UTVehicle_SPMA:MyStayUprightSetup_9' | | {{cl|RB_StayUprightSetup}}'UTGame.Default__UTVehicle_SPMA:MyStayUprightSetup_9' | ||
+ | |- | ||
+ | | {{tl|VehicleIndex||UTVehicle internal variables}} | ||
+ | | 11 | ||
|- | |- | ||
| {{tl|VehicleNameString||UTVehicle internal variables}} | | {{tl|VehicleNameString||UTVehicle internal variables}} | ||
Line 704: | Line 711: | ||
'''Returns:''' | '''Returns:''' | ||
:Figure out who we are targetting. | :Figure out who we are targetting. | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
===Events=== | ===Events=== | ||
Line 781: | Line 772: | ||
'''Overrides:''' {{tl|CanAttack|UTVehicle|instance functions}} | '''Overrides:''' {{tl|CanAttack|UTVehicle|instance functions}} | ||
+ | |||
+ | <!-- enter function description --> | ||
+ | |||
+ | ====CanDeployedAttack==== | ||
+ | {{code|function [[bool]] '''CanDeployedAttack''' ({{cl|Actor}} '''Other''')}} | ||
+ | |||
+ | '''Overrides:''' {{tl|CanDeployedAttack|UTVehicle_Deployable}} | ||
<!-- enter function description --> | <!-- enter function description --> |
Latest revision as of 07:07, 16 August 2009
Object >> Actor >> Pawn >> Vehicle >> SVehicle >> UTVehicleBase >> UTVehicle >> UTVehicle_Deployable >> UTVehicle_SPMA |
Contents
- 1 Properties
- 1.1 Property group 'DC'
- 1.2 Property group 'UTVehicle_SPMA'
- 1.3 Internal variables
- 1.3.1 bTransitionCameraScale
- 1.3.2 GunnerConstraint
- 1.3.3 GunnerFiringMode
- 1.3.4 GunnerFlashCount
- 1.3.5 GunnerFlashLocation
- 1.3.6 GunnerWeaponRotation
- 1.3.7 LeftBigWheel
- 1.3.8 LeftFootControl
- 1.3.9 LeftLegAdjustControl
- 1.3.10 LeftSmallWheels
- 1.3.11 RightBigWheel
- 1.3.12 RightFootControl
- 1.3.13 RightLegAdjustControl
- 1.3.14 RightSmallWheels
- 1.3.15 SmallWheelSpinFactor
- 1.3.16 TreadMaterialInstance
- 1.3.17 TreadPan
- 1.3.18 TreadSpeedParameterName
- 1.4 Default values
- 1.5 Subobjects
- 2 Functions
- 2.1 Native functions
- 2.2 Events
- 2.3 Other instance functions
- 2.3.1 AdjacentSeat
- 2.3.2 AnySeatAvailable
- 2.3.3 BotFire
- 2.3.4 CanAttack
- 2.3.5 CanDeployedAttack
- 2.3.6 CanEnterVehicle
- 2.3.7 DeployedStateChanged
- 2.3.8 DriverEnter
- 2.3.9 DriverLeft
- 2.3.10 ImportantVehicle
- 2.3.11 IsArtillery
- 2.3.12 IsDriverSeat
- 2.3.13 OpenPositionFor
- 2.3.14 PassengerLeave
- 2.3.15 RecommendLongRangedAttack
- 2.3.16 SetVehicleDeployed
- 2.3.17 SetVehicleUndeploying
- 2.3.18 ShouldClamp
- 2.3.19 SwitchWeapon
- 2.3.20 VehicleCalcCamera
- 3 States
- Package:
- UTGame
- Direct subclass:
- UTVehicle_SPMA_Content
This is an auto-generated page and may need human attention. Please remove the {{autogenerated}} tag if the page seems reasonably complete or replace it with the {{expand}} tag if the page is not yet complete. |
Copyright 1998-2008 Epic Games, Inc. All Rights Reserved.
Properties[edit]
Property group 'DC'[edit]
DeployedCameraOffset[edit]
Type: Object.Vector
Default value:
Member | Value |
---|---|
X | 0.0 |
Y | 0.0 |
Z | 100.0 |
DeployedCameraScale[edit]
Type: float
Default value: 2.5
Property group 'UTVehicle_SPMA'[edit]
IdealLegDist[edit]
Type: float
Default value: 88.0
LegAdjustScaling[edit]
Type: float
Default value: 100.0
Internal variables[edit]
bTransitionCameraScale[edit]
Type: bool
GunnerConstraint[edit]
Type: UTSkelControl_TurretConstrained
Helpers for quick access to the constraint system
GunnerFiringMode[edit]
Type: byte
Modifiers: repnotify
GunnerFlashCount[edit]
Type: byte
Modifiers: repnotify
GunnerFlashLocation[edit]
Type: Object.Vector
Modifiers: repnotify
GunnerWeaponRotation[edit]
Type: Object.Rotator
Modifiers: repnotify
These values are used in positioning the weapons
LeftBigWheel[edit]
Type: name
Default value: 'LfFrontTire'
LeftFootControl[edit]
Type: SkelControlSingleBone
LeftLegAdjustControl[edit]
Type: SkelControlSingleBone
Controls
LeftSmallWheels[edit]
Type: name
Array size: 3
Default value, index 0: 'Lt_Tread_Wheels_1_4'
Default value, index 1: 'Lt_Tread_Wheel2'
Default value, index 2: 'Lt_Tread_Wheel3'
RightBigWheel[edit]
Type: name
Default value: 'RtFrontTire'
RightFootControl[edit]
Type: SkelControlSingleBone
RightLegAdjustControl[edit]
Type: SkelControlSingleBone
Controls
RightSmallWheels[edit]
Type: name
Array size: 3
Default value, index 0: 'Rt_Tread_Wheels_1_4'
Default value, index 1: 'Rt_Tread_Wheel2'
Default value, index 2: 'Rt_Tread_Wheel3'
SmallWheelSpinFactor[edit]
Type: float
Used to calculate small wheel rotation speed based on track speed.
Default value: 800.0
TreadMaterialInstance[edit]
Type: MaterialInstanceConstant
Modifiers: protected, private, transient
Treads
TreadPan[edit]
Type: float
Used to pan the texture on the treads
TreadSpeedParameterName[edit]
Type: name
material parameter controlling tread panner speed
Default values[edit]
Subobjects[edit]
CollisionCylinder[edit]
Class: Engine.CylinderComponent
Inherits from: UTVehicle_Deployable.CollisionCylinder
No new values.
LFWheel[edit]
Class: UTGame.UTVehicleWheel
Property | Value | ||||||||
---|---|---|---|---|---|---|---|---|---|
BoneName | 'LtFrontTire' | ||||||||
BoneOffset |
|
||||||||
bPoweredWheel | True | ||||||||
Side | SIDE_Left | ||||||||
SkelControlName | 'Lt_Ft_Tire' | ||||||||
SteerFactor | 1.0 | ||||||||
SuspensionTravel | 60.0 | ||||||||
WheelRadius | 60.0 |
LRWheel[edit]
Class: UTGame.UTVehicleWheel
Property | Value | ||||||||
---|---|---|---|---|---|---|---|---|---|
BoneName | 'LtTread_Wheel3' | ||||||||
BoneOffset |
|
||||||||
bPoweredWheel | True | ||||||||
Side | SIDE_Left | ||||||||
SuspensionTravel | 45.0 | ||||||||
WheelRadius | 60.0 |
MyLightEnvironment[edit]
Class: Engine.DynamicLightEnvironmentComponent
Inherits from: UTVehicle_Deployable.MyLightEnvironment
No new values.
MyStayUprightConstraintInstance_9[edit]
Class: Engine.RB_ConstraintInstance
No new values.
MyStayUprightSetup_9[edit]
Class: Engine.RB_StayUprightSetup
No new values.
RFWheel[edit]
Class: UTGame.UTVehicleWheel
Property | Value | ||||||||
---|---|---|---|---|---|---|---|---|---|
BoneName | 'RtFrontTire' | ||||||||
BoneOffset |
|
||||||||
bPoweredWheel | True | ||||||||
Side | SIDE_Right | ||||||||
SkelControlName | 'Rt_Ft_Tire' | ||||||||
SteerFactor | 1.0 | ||||||||
SuspensionTravel | 60.0 | ||||||||
WheelRadius | 60.0 |
RRWheel[edit]
Class: UTGame.UTVehicleWheel
Property | Value | ||||||||
---|---|---|---|---|---|---|---|---|---|
BoneName | 'RtTread_Wheel3' | ||||||||
BoneOffset |
|
||||||||
bPoweredWheel | True | ||||||||
Side | SIDE_Right | ||||||||
SuspensionTravel | 45.0 | ||||||||
WheelRadius | 60.0 |
SimObject[edit]
Class: UTGame.UTVehicleSimCar
Property | Value | ||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ChassisTorqueScale | 0.1 | ||||||||||||||||||||||||||||||||||||||||||||
EngineBrakeFactor | 0.1 | ||||||||||||||||||||||||||||||||||||||||||||
EngineRPMCurve |
|
||||||||||||||||||||||||||||||||||||||||||||
HardTurnMotorTorque | 1.0 | ||||||||||||||||||||||||||||||||||||||||||||
MaxBrakeTorque | 15.0 | ||||||||||||||||||||||||||||||||||||||||||||
MaxSteerAngleCurve |
|
||||||||||||||||||||||||||||||||||||||||||||
SteerSpeed | 40.0 | ||||||||||||||||||||||||||||||||||||||||||||
StopThreshold | 500.0 | ||||||||||||||||||||||||||||||||||||||||||||
TorqueVSpeedCurve |
|
||||||||||||||||||||||||||||||||||||||||||||
WheelInertia | 0.9 | ||||||||||||||||||||||||||||||||||||||||||||
WheelSuspensionDamping | 7.0 | ||||||||||||||||||||||||||||||||||||||||||||
WheelSuspensionStiffness | 300.0 |
SVehicleMesh[edit]
Class: Engine.SkeletalMeshComponent
Inherits from: UTVehicle_Deployable.SVehicleMesh
No new values.
Functions[edit]
Native functions[edit]
GetAlternateLockTarget[edit]
Overrides: UTVehicle.GetAlternateLockTarget
(Description copied from UTVehicle.GetAlternateLockTarget)
Returns:
- Actor that can be locked on to by weapons as if it were this vehicle
GetTargetLocation[edit]
Overrides: Vehicle.GetTargetLocation
(Description copied from Vehicle.GetTargetLocation)
Returns:
- Figure out who we are targetting.
Events[edit]
PostBeginPlay[edit]
Overrides: UTVehicle_Deployable.PostBeginPlay
Setup the helpers
PostInitAnimTree[edit]
Overrides: SVehicle.PostInitAnimTree
Store pointer to each wheel's SkelControlWheel.
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
Other instance functions[edit]
AdjacentSeat[edit]
Overrides: UTVehicleBase.AdjacentSeat
request change to adjacent vehicle seat
AnySeatAvailable[edit]
Overrides: UTVehicle.AnySeatAvailable
(Description copied from UTVehicle.AnySeatAvailable)
Returns:
- true if there is a seat
BotFire[edit]
Overrides: UTVehicleBase.BotFire
(Description copied from UTVehicleBase.BotFire)
AI - An AI controller wants to fire
Parameters:
- bFinished - unused
CanAttack[edit]
Overrides: UTVehicle.CanAttack
CanDeployedAttack[edit]
Overrides: UTVehicle_Deployable.CanDeployedAttack
CanEnterVehicle[edit]
Overrides: UTVehicle.CanEnterVehicle
CanEnterVehicle() SPMAs only let one player in even though they have two seats
Returns:
- true if Pawn P is allowed to enter this vehicle
DeployedStateChanged[edit]
Overrides: UTVehicle_Deployable.DeployedStateChanged
DriverEnter[edit]
Overrides: UTVehicle.DriverEnter
If deployed, enter into main gun seat
DriverLeft[edit]
Overrides: UTVehicle.DriverLeft
DriverLeft() called by DriverLeave() after the drive has been taken out of the vehicle
ImportantVehicle[edit]
Overrides: UTVehicle.ImportantVehicle
IsArtillery[edit]
Overrides: UTVehicle.IsArtillery
AI Hint
IsDriverSeat[edit]
Overrides: UTVehicle.IsDriverSeat
(Description copied from UTVehicle.IsDriverSeat)
Returns:
- whether the given vehicle pawn is in this vehicle's driver seat (usually seat 0, but some vehicles may give driver control of a different seat when deployed)
OpenPositionFor[edit]
Overrides: UTVehicle.OpenPositionFor
(Description copied from UTVehicle.OpenPositionFor)
OpenPositionFor() returns true if there is a seat available for P
Parameters:
- P - The Pawn to test for
Returns:
- true if open
PassengerLeave[edit]
Overrides: UTVehicle.PassengerLeave
(Description copied from UTVehicle.PassengerLeave)
Called when a passenger leaves the vehicle
Parameters:
- SeatIndex - Leaving from which seat
RecommendLongRangedAttack[edit]
Overrides: Pawn.RecommendLongRangedAttack
SetVehicleDeployed[edit]
Overrides: UTVehicle_Deployable.SetVehicleDeployed
SetVehicleUndeploying[edit]
Overrides: UTVehicle_Deployable.SetVehicleUndeploying
ShouldClamp[edit]
Overrides: UTVehicle_Deployable.ShouldClamp
SwitchWeapon[edit]
Overrides: UTVehicleBase.SwitchWeapon
VehicleCalcCamera[edit]
Overrides: UTVehicle.VehicleCalcCamera
States[edit]
UnDeploying[edit]
Inherits from: UTVehicle_Deployable.UnDeploying
Modifiers: simulated
UnDeploying.BeginState[edit]
Overrides: UTVehicle_Deployable.UnDeploying.BeginState
Called immediately when entering a state, while within the GotoState() call that caused the state change (before any state code is executed).