Worst-case scenario: the UEd Goblin wipes the map and burns down your house.

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

Property group 'ASTurret'

CamAbsLocation

Type: Object.Vector


Default value:

Member Value
Z 100.0

CamDistance

Type: Object.Vector


Default value:

Member Value
X -800.0
Z 100.0

CamRelLocation

Type: Object.Vector


Default value:

Member Value
X 200.0
Z 100.0

CamRotationInertia

Type: float


Default value: 1.0E-5

DesiredPlayerFOV

Type: float


MinPlayerFOV

Type: float


Default value: 20.0

ObjectiveTag

Type: name

Array size: 6


OldFOV

Type: float


RotationInertia

Type: float

Modifiers: const


Default value: 0.2

RotationSpeed

Type: float

Modifiers: const


Default value: 16.0

RotPitchConstraint

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

Type: float


Default value: 1.5

ZoomWeaponOffsetAdjust

Type: float


Default value: 80.0

Internal variables

bZooming

Type: bool


EntryTriggers

Type: array<SVehicleTrigger>


LastCamRot

Type: Object.Rotator


LastTimeSeconds

Type: float


OriginalRotation

Type: Object.Rotator


PitchAccel

Type: float


TurretBase

Type: ASTurret_Base


TurretBaseClass

Type: class<ASTurret_Base>


TurretSwivel

Type: ASTurret_Base


TurretSwivelClass

Type: class<ASTurret_Base>


WeaponInfoTexture

Type: Texture


YawAccel

Type: float


ZoomTick

Type: Material


Default value: Material'Turrets.LinkZoomTickRot'

ZoomTickTex

Type: Material


Default value: Material'turrets.LinkZoomTickBar'

Default values

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

Static functions

StaticPrecache

static function StaticPrecache (LevelInfo L)

Overrides: ASVehicle.StaticPrecache


Events

Destroyed

simulated event Destroyed ()

Overrides: ASVehicle.Destroyed


PostBeginPlay

simulated event PostBeginPlay ()

Overrides: ASVehicle.PostBeginPlay


PostNetBeginPlay

simulated event PostNetBeginPlay ()

Overrides: Pawn.PostNetBeginPlay


Other instance functions

BotDesireability

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

Overrides: Vehicle.BotDesireability


ClientKDriverEnter

simulated function ClientKDriverEnter (PlayerController PC)

Overrides: ASVehicle.ClientKDriverEnter


DrawCrosshair

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

Overrides: ASVehicle.DrawCrosshair


DrawHealthInfo

simulated function DrawHealthInfo (Canvas C, PlayerController PC)

Overrides: ASVehicle.DrawHealthInfo


Explode

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

Overrides: ASVehicle.Explode


GetViewRotation

simulated function Object.Rotator GetViewRotation ()

Overrides: Pawn.GetViewRotation


HasAmmo

simulated function bool HasAmmo ()


NextWeapon

simulated function NextWeapon ()

Overrides: Vehicle.NextWeapon


PerformTrace

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

Overrides: ASVehicle.PerformTrace


PlayFiring

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

Overrides: Pawn.PlayFiring


PossessedBy

function PossessedBy (Controller C)

Overrides: ASVehicle.PossessedBy


PostZoomAdjust

simulated function PostZoomAdjust (float ZoomPct)


PrevWeapon

simulated function PrevWeapon ()

Overrides: Vehicle.PrevWeapon


RawInput

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

function bool RecommendLongRangedAttack ()

Overrides: Pawn.RecommendLongRangedAttack


ServerSwitchTurret

function ServerSwitchTurret (bool bNextTurret)


SpecialCalcFirstPersonView

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

Overrides: Vehicle.SpecialCalcFirstPersonView


SpecialCalcView

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

Overrides: Vehicle.SpecialCalcView


StronglyRecommended

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

Overrides: Vehicle.StronglyRecommended


UpdatePrecacheMaterials

simulated function UpdatePrecacheMaterials ()

Overrides: ASVehicle.UpdatePrecacheMaterials


UpdateRocketAcceleration

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

Overrides: Pawn.UpdateRocketAcceleration