Once I get that upgrade to 36-hour days, I will tackle that. – Mychaeel
UE2:ElectricGenerator (U2XMP)
Contents
- 1 Properties
- 1.1 Property group 'BeamOverrides'
- 1.1.1 BeamColor
- 1.1.2 BeamSegLength
- 1.1.3 BeamTexture
- 1.1.4 BeamTextureWidth
- 1.1.5 BeamWidth
- 1.1.6 DamageAmount
- 1.1.7 DamageEffect
- 1.1.8 DamageMomentum
- 1.1.9 DamageTime
- 1.1.10 DamageType
- 1.1.11 MetaBeamRefreshTime
- 1.1.12 MetaBeamSegLength
- 1.1.13 MetaBeamWidth
- 1.1.14 NumBeams
- 1.1.15 SpriteJointColor
- 1.1.16 SpriteJointSize
- 1.1.17 SpriteJointTexture
- 1.2 Property group 'ElectricGenerator'
- 1.3 Property group 'TriggerSupport'
- 1.4 Internal variables
- 1.5 Default values
- 1.1 Property group 'BeamOverrides'
- 2 Structs
- 3 Functions
- 4 States
- Package:
- ParticleSystems
- Direct subclass:
- GL_EMPEffectB
- This class in other games:
- U2
This is an auto-generated page and may need human attention. Please remove the {{autogenerated}} tag if the page seems reasonably complete or replace it with the {{expand}} tag if the page is not yet complete. |
$Author: Mfox $ $Date: 10/11/02 5:43p $ $Revision: 15 $ Name: ElectricGenerator.uc Author: Aaron R Leiby Date: 21 August 2000 Description: How to use this class: Todo:
Fix Triangle location calculation code.
Properties
Property group 'BeamOverrides'
BeamColor
Type: Object.Color
BeamSegLength
Type: Object.Range
BeamTexture
Type: Material
BeamTextureWidth
Type: Object.Range
BeamWidth
Type: Object.Range
DamageAmount
Type: int
DamageEffect
Type: string
DamageMomentum
Type: Object.Vector
DamageTime
Type: float
DamageType
Type: class<DamageType>
MetaBeamRefreshTime
Type: Object.Range
MetaBeamSegLength
Type: Object.Range
MetaBeamWidth
Type: Object.Range
NumBeams
Type: Object.Range
SpriteJointColor
Type: Object.Color
SpriteJointSize
Type: Object.Range
SpriteJointTexture
Type: Material
Property group 'ElectricGenerator'
AffectedRadius
Type: float
How close an Actor (or geometry) must be in order to be latched on to.
Default value: 1200.0
AffectedTypes
Type: name
Array size: 3
Types of Actors which can be latched on to.
Default value, index 0: Pawn
Default value, index 1: Decoration
Default value, index 2: Projectile
ArcLifeSpan
Type: Object.Range
How long an electrical arc lasts.
Default value:
Member | Value |
---|---|
A | 0.1 |
B | 3.0 |
BeamType
Type: class<BendiBeamGenerator>
Default value: Class'ParticleSystems.BendiBeamGenerator'
bLatchAtOrigin
Type: bool
CDH: Latch at origin of actors instead of collision cylinder
bLatchGeometry
Type: bool
Do we attach to geometry?
Default value: True
bOn
Type: bool
Modifiers: public
Default value: True
bResetArcOnReuse
Type: bool
Try setting this to true if your electric arcs are coming out straight sometimes.
bStartAtOrigin
Type: bool
Set to true if you want all the electrical arcs to come from the origin (rather than from individual polys).
DamageRate
Type: Object.Range
Amount of damage to apply to attached Actors (per second).
Default value:
Member | Value |
---|---|
A | 50.0 |
B | 100.0 |
DamageStart
Type: Object.Range
CDH: Amount of damage to apply at initial latching
LatchRate
Type: Object.Range
Number of seconds between latching. (A latching is when a new electrical arc is created).
Default value:
Member | Value |
---|---|
A | 0.1 |
B | 0.3 |
MinArcLength
Type: float
Arcs shorter than this get ignored.
Source
Type: Actor
Use this Actor's mesh (defaults to Self).
SparkType
Type: string
Name of the Package.ParticleGeneratorName to use.
Default value: "Sparks02.ParticleSalamander0"
SpreadDegrees
Type: float
CDH: Nonzero limits latch beams to a cone of this angle around the generator's rotation. Zero uses full 360 degrees.
Property group 'TriggerSupport'
bInitiallyOn
Type: bool
Modifiers: public
Default value: True
TimerDuration
Type: float
Modifiers: public
Internal variables
ElectricArcs
Type: ElectricArc
Array size: 32
InternalTimer
Type: float
Modifiers: private
NextArcTime
Type: float
TickDelay
Type: int
Default value: 1
Default values
Property | Value |
---|---|
RemoteRole | ROLE_None |
Structs
ElectricArc
- Actor Actor
- Use the Actor's location if this is set.
- Object.Vector Offset
- Relative offset from above Actor.
- Object.Vector Point
- Use this location if Actor is not set.
- float LifeSpan
- How long this electric arc last for.
- int iTri
- Triangle index to use.
- BendiBeamGenerator Arc
Functions
Native functions
GetFacingTriIndex
GetTriLocation
Events
ActorBreach
Destroyed
Overrides: Actor.Destroyed
Tick
Overrides: Actor.Tick
Other instance functions
AddArc
CheckForActorBreaches
GetFacingTriIndexEx
GetSource
GetTriLocationEx
GetUnusedArcIndex
InitArcActor
InitArcHit
InitBeam
IsAffected
IsValidArcIndex
PostRecvBInitiallyOn
ResetArcs
SpawnSparks
States
TriggerControl
Modifiers: simulated
TriggerControl.Trigger
Overrides: Actor.Trigger (global)
TriggerControl.UnTrigger
Overrides: Actor.UnTrigger (global)
TriggerTimed
Modifiers: simulated
TriggerTimed.Trigger
Overrides: Actor.Trigger (global)
TriggerToggle
Modifiers: simulated
TriggerToggle.Trigger
Overrides: Actor.Trigger (global)