The three virtues of a programmer: Laziness, Impatience, and Hubris. – Larry Wall

UE2:FieldGenerator (U2)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
U2 Object >> Actor >> Pawn >> StationaryPawn >> DeployedUnit >> FieldGenerator
Package: 
Deployables
This class in other games:
U2XMP

null

Properties

AvailableLinks

Type: int

number of available links (=FGLinks.Length)

bDidShutDownDestroy

Type: bool


CosMinAngle

Type: float


Default value: 0.707

FGLinks

Type: array<TFGLink>

list of force wall "links" associated with this field generator

LinkRadius

Type: float


Default value: 1000.0

LinkSound

Type: Sound


Default value: Sound'U2XMPA.FieldGenerator.FieldGeneratorLink'

NumAltLinks

Type: int


Default value: 1

NumLinks

Type: int

number of active links

NumPriLinks

Type: int


Default value: 2

TraceTolerance

Type: float


Default value: 16.0

UnlinkSound

Type: Sound


Default value: Sound'U2XMPA.FieldGenerator.FieldGeneratorUnlink'

Default values

Property Value
AlternateSkins[0] Shader'XMPT.Items.Metl_FieldGen_SD_001_Red'
AlternateSkins[1] Shader'XMPT.Items.Metl_FieldGen_SD_001_Blue'
bEnabled True
CollisionHeight 70.0
CollisionRadius 16.0
ControllerClass Class'Deployables.StationaryPawnControllerDefensive'
DeploySound Sound'U2XMPA.FieldGenerator.FieldGeneratorActivate'
Description "Field Generator"
DestroyedAlertSound Sound'U2XMPA.FieldGenerator.FieldGeneratorDestroyedAlert'
DisabledSound Sound'U2XMPA.FieldGenerator.FieldGeneratorDisabled'
DrawScale 0.11
DrawType DT_StaticMesh
EnabledSound Sound'U2XMPA.FieldGenerator.FieldGeneratorEnabled'
ExplosionClass Class'Deployables.FieldGeneratorExplosion'
Health 300
InventoryType Class'Deployables.FieldGeneratorDeployable'
PickupMessage "You picked up a Field Generator."
PrePivot
Member Value
X -10.0
Y -5.0
Z -20.0
ShutdownSound Sound'U2XMPA.FieldGenerator.FieldGeneratorShutdown'
StaticMesh StaticMesh'XMPM.Items.FieldGenerator'

Structs

TFGLink

FieldGenerator LinkFG 
ForceWall LinkFW 

Functions

Events

Destroyed

event Destroyed ()

Overrides: DeployedUnit.Destroyed


IgnoreEncroachingMovement

simulated event bool IgnoreEncroachingMovement (Actor Other)

Overrides: Actor.IgnoreEncroachingMovement


TakeDamage

event TakeDamage (int Damage, Pawn InstigatedBy, Object.Vector HitLocation, Object.Vector Momentum, class<DamageTypeDamageType)

Overrides: DeployedUnit.TakeDamage


Other instance functions

AddLink

function AddLink (FieldGenerator OtherFG, ForceWall FW, int LinkSlot)


AddLinks

function AddLinks (FieldGenerator F, int LinkSlot)


AnglesOK

function bool AnglesOK (FieldGenerator SourceFG, FieldGenerator TargetFG)


CanLinkTo

function bool CanLinkTo (FieldGenerator FG)


CheckForEncroachingPawns

function CheckForEncroachingPawns ()

Overrides: DeployedUnit.CheckForEncroachingPawns


CheckForLinks

function CheckForLinks ()


CreateForceWall

function ForceWall CreateForceWall (FieldGenerator StartFG, FieldGenerator EndFG)


DisableUnit

function DisableUnit ()

Overrides: DeployedUnit.DisableUnit


DumpFGs

function DumpFGs ()


ForceWallIndex

function int ForceWallIndex (FieldGenerator F)


ForceWallTakeDamage

function ForceWallTakeDamage (int Damage, Pawn InstigatedBy)


GetDescription

function interface string GetDescription (Controller User)

Overrides: DeployedUnit.GetDescription


GetFirstFreeSlot

function int GetFirstFreeSlot ()


GetLinkIndex

function int GetLinkIndex (FieldGenerator F)


Initialize

function Initialize (bool AltActivate)

Overrides: DeployedUnit.Initialize


NotifyDeployed

function NotifyDeployed ()

Overrides: DeployedUnit.NotifyDeployed


ShutDownDeployedUnit

function ShutDownDeployedUnit (bool bDestroyed, optional Pawn P)

Overrides: DeployedUnit.ShutDownDeployedUnit


TraceCheck

function bool TraceCheck (FieldGenerator TraceToFG)


Unlink

function Unlink (int UnlinkSlot, bool bDestroyWall)