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

UE2:IconNode (U2)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
U2 Object >> Actor >> Decoration >> BreakableItem >> IconNode
Package: 
U2

IconNode.uc

Constants[edit]

MaxHolders[edit]

Value: 4


Properties[edit]

Property group 'IconNode'[edit]

HolderClasses[edit]

Type: class<ArtifactHolder>

Array size: 4 (MaxHolders)

for properly initializing artifact holders

TeamIndex[edit]

Type: int

Team who base this belongs to

Default value: 255

Internal variables[edit]

ArtifactDeniedSound[edit]

Type: Sound


Default value: Sound'U2A.Artifacts.ArtifactStoreFailed'

ArtifactIDs[edit]

Type: int

Array size: 4 (MaxHolders)

ID's of the stored artifacts

ArtifactStolenSound[edit]

Type: Sound


Default value: Sound'U2A.Artifacts.ArtifactStolen'

ClientHolderChanges[edit]

Type: int


ExtraMeshLocations[edit]

Type: array<Object.Vector>

relative locations of these meshes

ExtraStaticMeshes[edit]

Type: array<StaticMesh>

list of meshes attached to this actor

Default value, index 0: StaticMesh'XMPWorldItemsM.Base.ArtifactMachineTop'

Default value, index 1: StaticMesh'XMPWorldItemsM.Base.ArtifactMachineUpper'

HolderLocOffsets[edit]

Type: Object.Vector

Array size: 4 (MaxHolders)

3d offsets used to place the holders

Default value, index 0:

Member Value
X 243.0
Y 171.0
Z 85.0

Default value, index 1:

Member Value
X -243.0
Y 171.0
Z 85.0

Default value, index 2:

Member Value
X -243.0
Y -171.0
Z 85.0

Default value, index 3:

Member Value
X 243.0
Y -171.0
Z 85.0

HolderRotOffsets[edit]

Type: Object.Rotator

Array size: 4 (MaxHolders)

orientations to use for placing holders

Default value, index 0:

Member Value
Yaw -11000

Default value, index 1:

Member Value
Yaw 11000

Default value, index 2:

Member Value
Yaw 21768

Default value, index 3:

Member Value
Yaw 43768

Holders[edit]

Type: ArtifactHolder

Array size: 4 (MaxHolders)

references to the artifact holders

IconNodeActivateSound[edit]

Type: Sound


Default value: Sound'U2A.Artifacts.IconNodeActivate'

IconNodeShutdownSound[edit]

Type: Sound


Default value: Sound'U2A.Artifacts.IconNodeShutdown'

ServerHolderChanges[edit]

Type: int


TouchingHeight[edit]

Type: float

Half height of registration pad

Default value: 40.0

TouchingRadius[edit]

Type: float

Half width of registration pad

Default value: 75.0

TouchProxy[edit]

Type: IconNodeTouchProxy

for running through and registering artifacts

Default values[edit]

Property Value
AlternateSkins[0] Shader'XMPWorldItemsT.Base.POLY_pulse_Red'
AlternateSkins[1] Shader'XMPWorldItemsT.Base.POLY_pulse_Blue'
AmbientSound Sound'U2A.Artifacts.IconNodeAmbient'
bNetNotify True
Description "Icon Node"
DrawType DT_StaticMesh
RepSkinIndex 1
SoundOcclusion OCCLUSION_None
SoundRadius 128.0
StaticMesh StaticMesh'XMPWorldItemsM.Base.ArtifactMachineBase'
TransientSoundRadius 500.0

Functions[edit]

Events[edit]

Destroyed[edit]

simulated event Destroyed ()

Overrides: Decoration.Destroyed


PostBeginPlay[edit]

simulated event PostBeginPlay ()

Overrides: Actor.PostBeginPlay


PostNetBeginPlay[edit]

simulated event PostNetBeginPlay ()

Overrides: Actor.PostNetBeginPlay


PostNetReceive[edit]

simulated event PostNetReceive ()

Overrides: Actor.PostNetReceive


TakeDamage[edit]

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

Overrides: BreakableItem.TakeDamage


Touch[edit]

event Touch (Actor Other)

Overrides: Actor.Touch


Other instance functions[edit]

AddArtifactClass[edit]

simulated function int AddArtifactClass (class<ArtifactHolderHolderClass)


AddArtifactHolder[edit]

simulated function int AddArtifactHolder (int HolderIndex, class<ArtifactHolderHolderClass)


AssignArtifactIDs[edit]

function AssignArtifactIDs ()


CarryingArtifact[edit]

function bool CarryingArtifact (Pawn P)


CleanupHolders[edit]

simulated function CleanupHolders ()


CleanupTouchProxy[edit]

function CleanupTouchProxy (IconNodeTouchProxy TP)


ClientSetTeam[edit]

function ClientSetTeam (int NewTeam)


CreateTouchProxy[edit]

function IconNodeTouchProxy CreateTouchProxy (float Radius, float Height, Object.Vector Location)


DumpArtifacts[edit]

function DumpArtifacts ()


GetArtifactHolderClass[edit]

function class<ArtifactHolderGetArtifactHolderClass (class<InventoryInvClass)


GetAvailableHolderIndex[edit]

simulated function int GetAvailableHolderIndex ()


GetDescription[edit]

interface function string GetDescription (Controller User)

Overrides: BreakableItem.GetDescription


GetRadarIconIndex[edit]

interface function int GetRadarIconIndex ()

Overrides: Actor.GetRadarIconIndex


GetStoredHolderIndex[edit]

function int GetStoredHolderIndex (int NewID)


GetTeam[edit]

simulated function int GetTeam ()

Overrides: Actor.GetTeam


GetUseIconIndex[edit]

interface function int GetUseIconIndex (Controller User)

Overrides: BreakableItem.GetUseIconIndex


GetUsePercent[edit]

interface function float GetUsePercent (Controller User)

Overrides: BreakableItem.GetUsePercent


HasUseBar[edit]

interface function bool HasUseBar (Controller User)

Overrides: BreakableItem.HasUseBar


HolderHasArtifact[edit]

function bool HolderHasArtifact (int HolderIndex)


RemoveArtifactHolder[edit]

simulated function RemoveArtifactHolder (int HolderIndex)


SentHome[edit]

function bool SentHome (int ArtifactId, class<InventoryArtifactClass)


ServerSetTeam[edit]

function ServerSetTeam (int NewTeam)


SetTeam[edit]

function SetTeam (int NewTeam)

Overrides: Actor.SetTeam


SetupHolders[edit]

simulated function SetupHolders ()


StoreArtifact[edit]

function bool StoreArtifact (Pawn Other, int ArtifactID, class<ArtifactArtifactClass)


TryToStealArtifact[edit]

function TryToStealArtifact (Pawn Stealer)


TryToStoreArtifactFrom[edit]

function TryToStoreArtifactFrom (Pawn Other)