I search for solutions in this order: Past Code, Unreal Source, Wiki, BUF, groups.yahoo, google, screaming at monitor. – RegularX

UE2:ASTurret (UT2004)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
UT2004 Object >> Actor >> Pawn >> Vehicle >> ASVehicle >> ASTurret
Package: 
UT2k4Assault
Direct subclasses:
ASTurret_BallTurret, ASTurret_IonCannon, ASTurret_LinkTurret, ASTurret_Minigun, ASVehicle_Sentinel

ASTurret Created by Laurent Delayen © 2003, Epic Games, Inc. All Rights Reserved

Properties[edit]

Property group 'ASTurret'[edit]

CamAbsLocation[edit]

Type: Object.Vector


Default value:

Member Value
Z 100.0

CamDistance[edit]

Type: Object.Vector


Default value:

Member Value
X -800.0
Z 100.0

CamRelLocation[edit]

Type: Object.Vector


Default value:

Member Value
X 200.0
Z 100.0

CamRotationInertia[edit]

Type: float


Default value: 1.0E-5

DesiredPlayerFOV[edit]

Type: float


MinPlayerFOV[edit]

Type: float


Default value: 20.0

ObjectiveTag[edit]

Type: name

Array size: 6


OldFOV[edit]

Type: float


RotationInertia[edit]

Type: float

Modifiers: const


Default value: 0.2

RotationSpeed[edit]

Type: float

Modifiers: const


Default value: 16.0

RotPitchConstraint[edit]

Type: Object.Range

Modifiers: const

Min=0d,-90d Max=0d,+90d 16384=0d 0=90d

Default value:

Member Value
Max 4096.0
Min 12288.0

ZoomSpeed[edit]

Type: float


Default value: 1.5

ZoomWeaponOffsetAdjust[edit]

Type: float


Default value: 80.0

Internal variables[edit]

bZooming[edit]

Type: bool


EntryTriggers[edit]

Type: array<SVehicleTrigger>


LastCamRot[edit]

Type: Object.Rotator


LastTimeSeconds[edit]

Type: float


OriginalRotation[edit]

Type: Object.Rotator


PitchAccel[edit]

Type: float


TurretBase[edit]

Type: ASTurret_Base


TurretBaseClass[edit]

Type: class<ASTurret_Base>


TurretSwivel[edit]

Type: ASTurret_Base


TurretSwivelClass[edit]

Type: class<ASTurret_Base>


WeaponInfoTexture[edit]

Type: Texture


YawAccel[edit]

Type: float


ZoomTick[edit]

Type: Material


Default value: Material'Turrets.LinkZoomTickRot'

ZoomTickTex[edit]

Type: Material


Default value: Material'turrets.LinkZoomTickBar'

Default values[edit]

Property Value
AccelRate 0.0
AirSpeed 0.0
AmbientGlow 64
AutoTurretControllerClass Class'UnrealGame.TurretController'
bAutoTurret True
bCHZeroYOffset True
bCollideWorld False
bDefensive True
bIgnoreEncroachers True
bIgnoreForces True
bPathColliding True
bRemoteControlled True
bShouldBaseAtStartup False
bSimulateGravity False
bSpecialCalcView True
bSpecialHUD True
bStationary True
CollisionHeight 80.0
CollisionRadius 80.0
CrosshairScale 0.5
DefaultCrosshair Material'Crosshairs.HUD.Crosshair_Circle1'
DrawScale 5.0
FPCamPos
Member Value
X 0.0
Y 0.0
Z 40.0
Health 650
HealthMax 650.0
JumpZ 0.0
LandMovementState 'PlayerTurreting'
MaxFallSpeed 0.0
Physics PHYS_Rotating
SightRadius 25000.0
VehicleNameString "Energy Turret"
VehiclePositionString "manning a turret"
VehicleProjSpawnOffset
Member Value
X 138.0
Y -65.0
Z 16.0
WaterSpeed 0.0

Functions[edit]

Static functions[edit]

StaticPrecache[edit]

static function StaticPrecache (LevelInfo L)

Overrides: ASVehicle.StaticPrecache


Events[edit]

Destroyed[edit]

simulated event Destroyed ()

Overrides: ASVehicle.Destroyed


PostBeginPlay[edit]

simulated event PostBeginPlay ()

Overrides: ASVehicle.PostBeginPlay


PostNetBeginPlay[edit]

simulated event PostNetBeginPlay ()

Overrides: Pawn.PostNetBeginPlay


Other instance functions[edit]

BotDesireability[edit]

function float BotDesireability (Actor S, int TeamIndex, Actor Objective)

Overrides: Vehicle.BotDesireability


ClientKDriverEnter[edit]

simulated function ClientKDriverEnter (PlayerController PC)

Overrides: ASVehicle.ClientKDriverEnter


DrawCrosshair[edit]

simulated function bool DrawCrosshair (Canvas C, out Object.Vector ScreenPos)

Overrides: ASVehicle.DrawCrosshair


DrawHealthInfo[edit]

simulated function DrawHealthInfo (Canvas C, PlayerController PC)

Overrides: ASVehicle.DrawHealthInfo


Explode[edit]

simulated function Explode (Object.Vector HitLocation, Object.Vector HitNormal)

Overrides: ASVehicle.Explode


GetViewRotation[edit]

simulated function Object.Rotator GetViewRotation ()

Overrides: Pawn.GetViewRotation


HasAmmo[edit]

simulated function bool HasAmmo ()


NextWeapon[edit]

simulated function NextWeapon ()

Overrides: Vehicle.NextWeapon


PerformTrace[edit]

simulated function Actor PerformTrace (out Object.Vector HitLocation, out Object.Vector HitNormal, Object.Vector End, Object.Vector Start)

Overrides: ASVehicle.PerformTrace


PlayFiring[edit]

simulated function PlayFiring (optional float Rate, optional name FiringMode)

Overrides: Pawn.PlayFiring


PossessedBy[edit]

function PossessedBy (Controller C)

Overrides: ASVehicle.PossessedBy


PostZoomAdjust[edit]

simulated function PostZoomAdjust (float ZoomPct)


PrevWeapon[edit]

simulated function PrevWeapon ()

Overrides: Vehicle.PrevWeapon


RawInput[edit]

simulated function RawInput (float DeltaTime, float aBaseX, float aBaseY, float aBaseZ, float aMouseX, float aMouseY, float aForward, float aTurn, float aStrafe, float aUp, float aLookUp)

Overrides: Pawn.RawInput


RecommendLongRangedAttack[edit]

function bool RecommendLongRangedAttack ()

Overrides: Pawn.RecommendLongRangedAttack


ServerSwitchTurret[edit]

function ServerSwitchTurret (bool bNextTurret)


SpecialCalcFirstPersonView[edit]

simulated function SpecialCalcFirstPersonView (PlayerController PC, out Actor ViewActor, out Object.Vector CameraLocation, out Object.Rotator CameraRotation)

Overrides: Vehicle.SpecialCalcFirstPersonView


SpecialCalcView[edit]

simulated function bool SpecialCalcView (out Actor ViewActor, out Object.Vector CameraLocation, out Object.Rotator CameraRotation)

Overrides: Vehicle.SpecialCalcView


StronglyRecommended[edit]

function bool StronglyRecommended (Actor S, int TeamIndex, Actor Objective)

Overrides: Vehicle.StronglyRecommended


UpdatePrecacheMaterials[edit]

simulated function UpdatePrecacheMaterials ()

Overrides: ASVehicle.UpdatePrecacheMaterials


UpdateRocketAcceleration[edit]

simulated function UpdateRocketAcceleration (float DeltaTime, float YawChange, float PitchChange)

Overrides: Pawn.UpdateRocketAcceleration