Mostly Harmless

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[edit]

AvailableLinks[edit]

Type: int

number of available links (=FGLinks.Length)

bDidShutDownDestroy[edit]

Type: bool


CosMinAngle[edit]

Type: float


Default value: 0.707

FGLinks[edit]

Type: array<TFGLink>

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

LinkRadius[edit]

Type: float


Default value: 1000.0

LinkSound[edit]

Type: Sound


Default value: Sound'U2XMPA.FieldGenerator.FieldGeneratorLink'

NumAltLinks[edit]

Type: int


Default value: 1

NumLinks[edit]

Type: int

number of active links

NumPriLinks[edit]

Type: int


Default value: 2

TraceTolerance[edit]

Type: float


Default value: 16.0

UnlinkSound[edit]

Type: Sound


Default value: Sound'U2XMPA.FieldGenerator.FieldGeneratorUnlink'

Default values[edit]

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[edit]

TFGLink[edit]

FieldGenerator LinkFG 
ForceWall LinkFW 

Functions[edit]

Events[edit]

Destroyed[edit]

event Destroyed ()

Overrides: DeployedUnit.Destroyed


IgnoreEncroachingMovement[edit]

simulated event bool IgnoreEncroachingMovement (Actor Other)

Overrides: Actor.IgnoreEncroachingMovement


TakeDamage[edit]

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

Overrides: DeployedUnit.TakeDamage


Other instance functions[edit]

AddLink[edit]

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


AddLinks[edit]

function AddLinks (FieldGenerator F, int LinkSlot)


AnglesOK[edit]

function bool AnglesOK (FieldGenerator SourceFG, FieldGenerator TargetFG)


CanLinkTo[edit]

function bool CanLinkTo (FieldGenerator FG)


CheckForEncroachingPawns[edit]

function CheckForEncroachingPawns ()

Overrides: DeployedUnit.CheckForEncroachingPawns


CheckForLinks[edit]

function CheckForLinks ()


CreateForceWall[edit]

function ForceWall CreateForceWall (FieldGenerator StartFG, FieldGenerator EndFG)


DisableUnit[edit]

function DisableUnit ()

Overrides: DeployedUnit.DisableUnit


DumpFGs[edit]

function DumpFGs ()


ForceWallIndex[edit]

function int ForceWallIndex (FieldGenerator F)


ForceWallTakeDamage[edit]

function ForceWallTakeDamage (int Damage, Pawn InstigatedBy)


GetDescription[edit]

function interface string GetDescription (Controller User)

Overrides: DeployedUnit.GetDescription


GetFirstFreeSlot[edit]

function int GetFirstFreeSlot ()


GetLinkIndex[edit]

function int GetLinkIndex (FieldGenerator F)


Initialize[edit]

function Initialize (bool AltActivate)

Overrides: DeployedUnit.Initialize


NotifyDeployed[edit]

function NotifyDeployed ()

Overrides: DeployedUnit.NotifyDeployed


ShutDownDeployedUnit[edit]

function ShutDownDeployedUnit (bool bDestroyed, optional Pawn P)

Overrides: DeployedUnit.ShutDownDeployedUnit


TraceCheck[edit]

function bool TraceCheck (FieldGenerator TraceToFG)


Unlink[edit]

function Unlink (int UnlinkSlot, bool bDestroyWall)