Once I get that upgrade to 36-hour days, I will tackle that. – Mychaeel

Difference between revisions of "UE2:ONSPowerNode (UT2004)"

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
(Auto-generated page)
 
m (added descriptions)
 
Line 11: Line 11:
 
| abstract = yes
 
| abstract = yes
 
}}
 
}}
{{autogenerated}}
+
This class implements behavioral differences of power nodes from power cores. The class to place in Onslaught maps is {{cl|ONSPowerNodeNeutral}}.
<!-- enter class description -->
+
  
 
==Properties==
 
==Properties==
Line 20: Line 19:
 
'''[[Variables#Modifiers|Modifiers]]:''' localized
 
'''[[Variables#Modifiers|Modifiers]]:''' localized
  
<!-- enter variable description -->
+
This value is used to build the display name of power nodes that are currently under construction.
  
 
'''Default value:''' " Constructing PowerNode"
 
'''Default value:''' " Constructing PowerNode"
Line 27: Line 26:
 
'''Type:''' {{cl|ONSPowerNodeEnergySphere}}
 
'''Type:''' {{cl|ONSPowerNodeEnergySphere}}
  
<!-- enter variable description -->
+
The rotating part above constructing and active power nodes. It forwards any damage or healing attempts to the power node itself.
  
 
====NeutralString====
 
====NeutralString====
Line 34: Line 33:
 
'''[[Variables#Modifiers|Modifiers]]:''' localized
 
'''[[Variables#Modifiers|Modifiers]]:''' localized
  
<!-- enter variable description -->
+
This value is used to build the display name of power nodes that are currently not owned by any team.
  
 
'''Default value:''' "Neutral PowerNode"
 
'''Default value:''' "Neutral PowerNode"
Line 179: Line 178:
 
'''Overrides:''' {{tl|GetHumanReadableName|ONSPowerCore|instance functions}}
 
'''Overrides:''' {{tl|GetHumanReadableName|ONSPowerCore|instance functions}}
  
<!-- enter function description -->
+
Builds the name of the power node based on its current state and team ownership.
  
 
====PowerCoreActive====
 
====PowerCoreActive====
Line 186: Line 185:
 
'''Overrides:''' {{tl|PowerCoreActive|ONSPowerCore|instance functions}}
 
'''Overrides:''' {{tl|PowerCoreActive|ONSPowerCore|instance functions}}
  
<!-- enter function description -->
+
Makes the energy sphere above the node's base visible and sets its team skin.
  
 
====PowerCoreConstructing====
 
====PowerCoreConstructing====
Line 193: Line 192:
 
'''Overrides:''' {{tl|PowerCoreConstructing|ONSPowerCore|instance functions}}
 
'''Overrides:''' {{tl|PowerCoreConstructing|ONSPowerCore|instance functions}}
  
<!-- enter function description -->
+
Makes the energy sphere above the node's base visible and sets its team skin. This also broadcasts the "under construction" message.
  
 
====PowerCoreDestroyed====
 
====PowerCoreDestroyed====
Line 200: Line 199:
 
'''Overrides:''' {{tl|PowerCoreDestroyed|ONSPowerCore|instance functions}}
 
'''Overrides:''' {{tl|PowerCoreDestroyed|ONSPowerCore|instance functions}}
  
<!-- enter function description -->
+
Hides the energy sphere above the node's base, disables associated turrets, vehicle factories and player starts and creates an explosion effect.
  
 
====PowerCoreDisabled====
 
====PowerCoreDisabled====
Line 207: Line 206:
 
'''Overrides:''' {{tl|PowerCoreDisabled|ONSPowerCore|instance functions}}
 
'''Overrides:''' {{tl|PowerCoreDisabled|ONSPowerCore|instance functions}}
  
<!-- enter function description -->
+
Hides the entire power node.
  
 
====PowerCoreNeutral====
 
====PowerCoreNeutral====
Line 214: Line 213:
 
'''Overrides:''' {{tl|PowerCoreNeutral|ONSPowerCore|instance functions}}
 
'''Overrides:''' {{tl|PowerCoreNeutral|ONSPowerCore|instance functions}}
  
<!-- enter function description -->
+
Hides the energy sphere above the node's base and resets the base's skins.
  
 
====SpawnNodeTeleportTrigger====
 
====SpawnNodeTeleportTrigger====
Line 221: Line 220:
 
'''Overrides:''' {{tl|SpawnNodeTeleportTrigger|ONSPowerCore|instance functions}}
 
'''Overrides:''' {{tl|SpawnNodeTeleportTrigger|ONSPowerCore|instance functions}}
  
<!-- enter function description -->
+
Overrides the ONSPowerCore implementation to do nothing because players can stand on a power node base to telport to other nodes.
  
 
====TellBotHowToHeal====
 
====TellBotHowToHeal====
Line 228: Line 227:
 
'''Overrides:''' {{tl|TellBotHowToHeal|DestroyableObjective}}
 
'''Overrides:''' {{tl|TellBotHowToHeal|DestroyableObjective}}
  
<!-- enter function description -->
+
Implements AI considerations for healing power nodes.

Latest revision as of 08:02, 26 June 2010

Package: 
Onslaught
Direct subclass:
ONSPowerNodeNeutral

This class implements behavioral differences of power nodes from power cores. The class to place in Onslaught maps is ONSPowerNodeNeutral.

Properties[edit]

ConstructingString[edit]

Type: string

Modifiers: localized

This value is used to build the display name of power nodes that are currently under construction.

Default value: " Constructing PowerNode"

EnergySphere[edit]

Type: ONSPowerNodeEnergySphere

The rotating part above constructing and active power nodes. It forwards any damage or healing attempts to the power node itself.

NeutralString[edit]

Type: string

Modifiers: localized

This value is used to build the display name of power nodes that are currently not owned by any team.

Default value: "Neutral PowerNode"

Default values[edit]

Property Value
ActiveSound Sound'ONSVehicleSounds-S.PwrNodeActive02'
AIShootOffset
Member Value
Z 370.0
bDestinationOnly False
bFinalCore False
BlueActiveSkins[0] Texture'ONSstructureTextures.CoreGroup.PowerNodeTEX'
BlueActiveSkins[1] FinalBlend'ONSstructureTextures.CoreGroup.powerNodeUpperFLAREblueFinal'
BlueConstructingSkins[0] Texture'ONSstructureTextures.CoreGroup.PowerNodeTEX'
BlueConstructingSkins[1] FinalBlend'ONSstructureTextures.CoreGroup.powerNodeUpperFLAREblueFinal'
bPathColliding False
CollisionHeight 30.0
CollisionRadius 160.0
ConstructedEvent[0] "red_powernode_constructed"
ConstructedEvent[1] "blue_powernode_constructed"
CoreStage 4
DamageCapacity 2000
DefensePriority 1
DestroyedEvent[0] "red_powernode_destroyed"
DestroyedEvent[1] "blue_powernode_destroyed"
DestroyedEvent[2] "red_constructing_powernode_destroyed"
DestroyedEvent[3] "blue_constructing_powernode_destroyed"
DestructionMessageIndex 16
DrawScale 2.0
LinkHealMult 1.0
ObjectiveStringSuffix " PowerNode"
PrePivot
Member Value
Z 25.0
RedActiveSkins[0] Texture'ONSstructureTextures.CoreGroup.PowerNodeTEX'
RedActiveSkins[1] FinalBlend'ONSstructureTextures.CoreGroup.powerNodeUpperFLAREredFinal'
RedConstructingSkins[0] Texture'ONSstructureTextures.CoreGroup.PowerNodeTEX'
RedConstructingSkins[1] FinalBlend'ONSstructureTextures.CoreGroup.powerNodeUpperFLAREredFinal'
Score 5
ShieldClass Class'Onslaught.ONSPowerNodeShield'
ShieldOffset
Member Value
Z 220.0
StaticMesh StaticMesh'VMStructures.CoreGroup.PowerNodeBaseSM'

Functions[edit]

Events[edit]

PostBeginPlay[edit]

simulated event PostBeginPlay ()

Overrides: ONSPowerCore.PostBeginPlay


Other instance functions[edit]

GetHumanReadableName[edit]

simulated function string GetHumanReadableName ()

Overrides: ONSPowerCore.GetHumanReadableName

Builds the name of the power node based on its current state and team ownership.

PowerCoreActive[edit]

simulated function PowerCoreActive ()

Overrides: ONSPowerCore.PowerCoreActive

Makes the energy sphere above the node's base visible and sets its team skin.

PowerCoreConstructing[edit]

simulated function PowerCoreConstructing ()

Overrides: ONSPowerCore.PowerCoreConstructing

Makes the energy sphere above the node's base visible and sets its team skin. This also broadcasts the "under construction" message.

PowerCoreDestroyed[edit]

simulated function PowerCoreDestroyed ()

Overrides: ONSPowerCore.PowerCoreDestroyed

Hides the energy sphere above the node's base, disables associated turrets, vehicle factories and player starts and creates an explosion effect.

PowerCoreDisabled[edit]

simulated function PowerCoreDisabled ()

Overrides: ONSPowerCore.PowerCoreDisabled

Hides the entire power node.

PowerCoreNeutral[edit]

simulated function PowerCoreNeutral ()

Overrides: ONSPowerCore.PowerCoreNeutral

Hides the energy sphere above the node's base and resets the base's skins.

SpawnNodeTeleportTrigger[edit]

function SpawnNodeTeleportTrigger ()

Overrides: ONSPowerCore.SpawnNodeTeleportTrigger

Overrides the ONSPowerCore implementation to do nothing because players can stand on a power node base to telport to other nodes.

TellBotHowToHeal[edit]

function bool TellBotHowToHeal (Bot B)

Overrides: DestroyableObjective.TellBotHowToHeal

Implements AI considerations for healing power nodes.