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

UE2:FieldGenerator (U2XMP)

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

$Workfile: FieldGenerator.uc $ Created By: Mark Poesch Created On: 7/2/2001 $Author: Sbrown $ $Date: 12/15/02 0:22 $ $Revision: 46 $

Properties[edit]

Property group 'FieldGenerator'[edit]

BeamClass[edit]

Type: class<PulseLineGenerator>


Default value: Class'U2XMP.ForceWallBeam'

BeamCount[edit]

Type: int

The number of beams

Default value: 6

BottomOffset[edit]

Type: float


Default value: 10.0

FieldHeight[edit]

Type: float


Default value: 60.0

ForceWallWidth[edit]

Type: float

The defined width of the wall

Default value: 10.0

LinkRadius[edit]

Type: float


Default value: 1000.0

LinkSound[edit]

Type: Sound


Default value: Sound'U2XMPA.FieldGenerator.FieldGeneratorLink'

NumPrimaryLinks[edit]

Type: int


Default value: 2

NumSecondaryLinks[edit]

Type: int


Default value: 1

TraceTolerance[edit]

Type: float


Default value: 16.0

UnlinkSound[edit]

Type: Sound


Default value: Sound'U2XMPA.FieldGenerator.FieldGeneratorUnlink'

Internal variables[edit]

bDidShutDownDestroy[edit]

Type: bool


CosMinAngle[edit]

Type: float


Default value: 0.707

CurrentFGChoice[edit]

Type: FieldGenerator


FGLinks[edit]

Type: array<FGStruct>


Default values[edit]

Property Value
bEnabled True
bNoStaticMeshCollide True
bSpecialEnemy True
CollisionHeight 55.0
CollisionRadius 5.0
ControllerClass Class'U2XMP.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
ExplodeSound Sound'U2XMPA.FieldGenerator.FieldGeneratorDestroyed'
ExplosionEffect ParticleSalamander'RocketEffects.ParticleSalamander2'
Health 300
PickupClass Class'U2XMP.FieldGeneratorPickup'
PrePivot
Member Value
X -10.0
Y -5.0
Z -20.0
ReEnabledSound Sound'U2XMPA.FieldGenerator.FieldGeneratorEnabled'
ShutdownSound Sound'U2XMPA.FieldGenerator.FieldGeneratorShutdown'
StaticMesh StaticMesh'343M.Assets.FieldGenerator'

Structs[edit]

FGStruct[edit]

FieldGenerator FG 
ForceWall FGEffect 

Functions[edit]

Events[edit]

Destroyed[edit]

event Destroyed ()

Overrides: DeployedUnit.Destroyed


Other instance functions[edit]

AnglesOK[edit]

function bool AnglesOK (FieldGenerator SourceFG, FieldGenerator TargetFG)


CanConnect[edit]

function bool CanConnect (FieldGenerator TraceToFG)


ConsiderAttacking[edit]

function bool ConsiderAttacking (Actor TargetActor, U2NPCController AttackingController)

Overrides: StationaryPawn.ConsiderAttacking


CreateField[edit]

function CreateField (int ActiveLink)


DisableUnit[edit]

function DisableUnit ()

Overrides: DeployedUnit.DisableUnit


FilterFG[edit]

function bool FilterFG (FieldGenerator FG)


FirstFreeSlot[edit]

function int FirstFreeSlot ()


ForceWallIndex[edit]

function int ForceWallIndex (FieldGenerator F)


GetBottomLink[edit]

function Object.Vector GetBottomLink (FieldGenerator F)


GetTopLink[edit]

function Object.Vector GetTopLink (FieldGenerator F)


Initialize[edit]

function Initialize (bool AltActivate)

Overrides: DeployedUnit.Initialize


IsLinked[edit]

function int IsLinked (FieldGenerator F)


Linkup[edit]

function Linkup (int ActiveLink)


MakeLinks[edit]

function MakeLinks (FieldGenerator F, int LinkSlot)


ModifyPaths[edit]

function ModifyPaths (bool bEnabled)

Overrides: DeployedUnit.ModifyPaths


NotifyDeployed[edit]

function NotifyDeployed ()

Overrides: DeployedUnit.NotifyDeployed


NumFreeSlots[edit]

function int NumFreeSlots ()


NumLinks[edit]

function int NumLinks ()


OutputLinks[edit]

function OutputLinks ()


ScanArea[edit]

function ScanArea ()


SetUpLink[edit]

function SetUpLink ()


ShutDownDeployedUnit[edit]

function ShutDownDeployedUnit (bool bDestroyed, optional Pawn P)

Overrides: DeployedUnit.ShutDownDeployedUnit


SpecialBumpHandling[edit]

function SpecialBumpHandling (Actor Other)

Overrides: DeployedUnit.SpecialBumpHandling


Trigger[edit]

function Trigger (Actor Other, Pawn EventInstigator, optional name EventName)

Overrides: DeployedUnit.Trigger


Unlink[edit]

function Unlink (int UnlinkSlot, bool bDestroyWall)