I'm a doctor, not a mechanic

User:Crusha/DynamicWeather/DWLightning

From Unreal Wiki, The Unreal Engine Documentation Site
< User:Crusha‎ | DynamicWeather
Revision as of 16:01, 6 September 2010 by Crusha (Talk | contribs) (Added autogenerated descriptions)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Lightning Emitter. A lightning emitter. There is also a version that can damage things that get hit by the zap.


DWLightning

UT2004 Object >> Actor >> Emitter >> DWEmitter >> DWLightning (custom)

Contents

Package: 
DWeather

DWLightning: Lightning Emitter A lightning emitter By Mark 'MarZer' Gillard

Properties

Property group 'DWLightning'

DrawTarget

Type: bool


RandomDelay

Type: bool


RandomDelayRange

Type: float


Default value: 10.0

RandomReflectionAngle

Type: bool


Default value: True

Roaming

Type: bool


RoamingSpeed

Type: float


Default value: 500.0

StrikeDelay

Type: float


Default value: 20.0

TargetIsAttached

Type: bool


TargetTag

Type: name


Internal variables

ActualStrikeInterval

Type: float


InnerRing

Type: DynamicProjector


LockOnToMeh

Type: DWLightningTarget


newRot

Type: Object.Rotator


OuterRing

Type: DynamicProjector


RandomDPSR

Type: float


RotVec

Type: Object.Vector


StrikePS

Type: float


Default values

Property Value
AutoDestroy True
bAlwaysRelevant True
bCollideActors True
bCollideWorld True
bDirectional True
bUpdateSimulatedPosition True
bUseCylinderCollision True
CollisionHeight 3.0
CollisionRadius 3.0
Emitters[0] BeamEmitter'BeamEmitter3'
Emitters[1] BeamEmitter'BeamEmitter4'
Emitters[2] BeamEmitter'BeamEmitter5'
Emitters[3] SpriteEmitter'SpriteEmitter1'
Physics PHYS_Projectile
RemoteRole ROLE_SimulatedProxy
Texture Texture'DWeather-tex.Icons.lightningicon'

Subobjects

BeamEmitter3

Class: EngineBeamEmitter

Property Value
BeamEndPoints[0] (ActorTag="DWLightningTarget")
BranchEmitter 2
BranchProbability
Member Value
Max 1.0
BranchSpawnAmountRange
Member Value
Max 2.0
Min 1.0
ColorScale[1] (RelativeTime=1.000000,Color=(B=255,G=255,R=255))
ColorScaleRepeats 3.0
DetermineEndPointBy PTEP_Actor
DrawStyle PTDS_Brighten
HighFrequencyNoiseRange
Member Value
X
Member Value
Max 250.0
Min -250.0
Y
Member Value
Max 250.0
Min -250.0
HighFrequencyPoints 15
InitialParticlesPerSecond 0.5
LifetimeRange
Member Value
Max 0.5
Min 0.0
LinkupLifetime True
LowFrequencyNoiseRange
Member Value
X
Member Value
Max 400.0
Min -400.0
Y
Member Value
Max 400.0
Min -400.0
LowFrequencyPoints 5
MaxParticles 2
ParticlesPerSecond 0.5
RespawnDeadParticles False
Sounds[0] (Sound=Sound'OutdoorAmbience.lightning1',Radius=(Min=3000.000000,Max=3000.000000),Pitch=(Min=1.000000,Max=1.000000),Volume=(Min=1.000000,Max=2.000000),Probability=(Min=1.000000,Max=1.000000))
Sounds[1] (Sound=Sound'OutdoorAmbience.BThunder.lightning2',Radius=(Min=3000.000000,Max=3000.000000),Pitch=(Min=1.000000,Max=1.000000),Volume=(Min=1.000000,Max=2.000000),Probability=(Min=1.000000,Max=1.000000))
Sounds[2] (Sound=Sound'OutdoorAmbience.BThunder.lightning3',Radius=(Min=3000.000000,Max=3000.000000),Pitch=(Min=1.000000,Max=1.000000),Volume=(Min=1.000000,Max=2.000000),Probability=(Min=1.000000,Max=1.000000))
Sounds[3] (Sound=Sound'OutdoorAmbience.BThunder.lightning4',Radius=(Min=3000.000000,Max=3000.000000),Pitch=(Min=1.000000,Max=1.000000),Volume=(Min=1.000000,Max=2.000000),Probability=(Min=1.000000,Max=1.000000))
Sounds[4] (Sound=Sound'OutdoorAmbience.BThunder.lightning5',Radius=(Min=3000.000000,Max=3000.000000),Pitch=(Min=1.000000,Max=1.000000),Volume=(Min=1.000000,Max=2.000000),Probability=(Min=1.000000,Max=1.000000))
SpawningSound PTSC_Random
SpawningSoundIndex
Member Value
Max 4.0
SpawningSoundProbability
Member Value
Max 1.0
Min 1.0
StartVelocityRange
Member Value
Z
Member Value
Max -1.0
Min -1.0
Texture Texture'DWeather-tex.Lightning.Lightning-straight-thin'
TriggerEndpoint True
UseBranching True
UseColorScale True

BeamEmitter4

Class: EngineBeamEmitter

Property Value
BeamEndPoints[0] (ActorTag="DWLightningTarget")
BranchEmitter 2
BranchProbability
Member Value
Max 1.0
Min 0.1
BranchSpawnAmountRange
Member Value
Max 1.0
Min 1.0
ColorScale[1] (RelativeTime=1.000000,Color=(B=255,G=255,R=255))
ColorScaleRepeats 3.0
DetermineEndPointBy PTEP_Actor
DrawStyle PTDS_Brighten
HighFrequencyNoiseRange
Member Value
X
Member Value
Max 100.0
Min -100.0
Y
Member Value
Max 100.0
Min -100.0
HighFrequencyPoints 20
InitialParticlesPerSecond 0.5
LifetimeRange
Member Value
Max 0.5
Min 0.0
LinkupLifetime True
LowFrequencyNoiseRange
Member Value
X
Member Value
Max 200.0
Min -200.0
Y
Member Value
Max 200.0
Min -200.0
LowFrequencyPoints 10
MaxParticles 2
ParticlesPerSecond 0.5
RespawnDeadParticles False
Sounds[0] (Sound=Sound'OutdoorAmbience.lightning1',Radius=(Min=3000.000000,Max=3000.000000),Pitch=(Min=1.000000,Max=1.000000),Volume=(Min=1.000000,Max=2.000000),Probability=(Min=1.000000,Max=1.000000))
Sounds[1] (Sound=Sound'OutdoorAmbience.BThunder.lightning2',Radius=(Min=3000.000000,Max=3000.000000),Pitch=(Min=1.000000,Max=1.000000),Volume=(Min=1.000000,Max=2.000000),Probability=(Min=1.000000,Max=1.000000))
Sounds[2] (Sound=Sound'OutdoorAmbience.BThunder.lightning3',Radius=(Min=3000.000000,Max=3000.000000),Pitch=(Min=1.000000,Max=1.000000),Volume=(Min=1.000000,Max=2.000000),Probability=(Min=1.000000,Max=1.000000))
Sounds[3] (Sound=Sound'OutdoorAmbience.BThunder.lightning4',Radius=(Min=3000.000000,Max=3000.000000),Pitch=(Min=1.000000,Max=1.000000),Volume=(Min=1.000000,Max=2.000000),Probability=(Min=1.000000,Max=1.000000))
Sounds[4] (Sound=Sound'OutdoorAmbience.BThunder.lightning5',Radius=(Min=3000.000000,Max=3000.000000),Pitch=(Min=1.000000,Max=1.000000),Volume=(Min=1.000000,Max=2.000000),Probability=(Min=1.000000,Max=1.000000))
SpawningSound PTSC_Random
SpawningSoundIndex
Member Value
Max 4.0
SpawningSoundProbability
Member Value
Max 1.0
Min 1.0
StartVelocityRange
Member Value
Z
Member Value
Max -1.0
Min -1.0
Texture Texture'DWeather-tex.Lightning.Lightning-straight'
UseBranching True
UseColorScale True

BeamEmitter5

Class: EngineBeamEmitter

Property Value
BeamDistanceRange
Member Value
Max 1500.0
Min 1000.0
BranchProbability
Member Value
Max 1.0
BranchSpawnAmountRange
Member Value
Max 2.0
Min 1.0
ColorScale[1] (RelativeTime=1.000000,Color=(B=255,G=255,R=255))
DetermineEndPointBy PTEP_Distance
DrawStyle PTDS_Brighten
HighFrequencyNoiseRange
Member Value
X
Member Value
Max 20.0
Min -20.0
Y
Member Value
Max 20.0
Min -20.0
HighFrequencyPoints 20
LinkupLifetime True
LowFrequencyNoiseRange
Member Value
X
Member Value
Max 100.0
Min -100.0
Y
Member Value
Max 100.0
Min -100.0
LowFrequencyPoints 10
MaxParticles 50
Opacity 3.0
ResetOnTrigger True
RespawnDeadParticles False
StartVelocityRange
Member Value
X
Member Value
Max 0.5
Min -0.5
Y
Member Value
Max 0.5
Min -0.5
Z
Member Value
Min -1.0
Texture Texture'DWeather-tex.Lightning.Lightning-straight-thinner'
UseBranching True
UseColorScale True

SpriteEmitter1

Class: EngineSpriteEmitter

Property Value
ColorScale[1] (RelativeTime=1.000000,Color=(B=255,G=255,R=255))
ColorScaleRepeats 6.0
DrawStyle PTDS_Brighten
InitialParticlesPerSecond 0.5
LifetimeRange
Member Value
Max 1.0
Min 1.0
MaxParticles 1
ParticlesPerSecond 0.5
RespawnDeadParticles False
Sounds[0] (Sound=Sound'OutdoorAmbience.BThunder.lightning2',Radius=(Min=3000.000000,Max=3000.000000),Pitch=(Min=1.000000,Max=1.000000),Volume=(Min=1.000000,Max=2.000000),Probability=(Min=1.000000,Max=1.000000))
Sounds[1] (Sound=Sound'OutdoorAmbience.BThunder.lightning5',Radius=(Min=3000.000000,Max=3000.000000),Pitch=(Min=1.000000,Max=1.000000),Volume=(Min=1.000000,Max=2.000000),Probability=(Min=1.000000,Max=1.000000))
SpawningSound PTSC_Random
SpawningSoundIndex
Member Value
Max 2.0
SpawningSoundProbability
Member Value
Max 1.0
Min 1.0
StartSizeRange
Member Value
X
Member Value
Max 1500.0
Min 1500.0
Y
Member Value
Max 1500.0
Min 1500.0
Texture Texture'DWeather-tex.Lightning.Lightning-subivisions'
TextureUSubdivisions 3
TextureVSubdivisions 3
UniformSize True
UseColorScale True
UseDirectionAs PTDU_Normal
UseRandomSubdivision True

Functions

Events

HitWall

simulated event HitWall (Object.Vector HitNormal, Actor Wall)

Overrides: Actor.HitWall


PostBeginPlay

simulated event PostBeginPlay ()

Overrides: Actor.PostBeginPlay


Tick

simulated event Tick (float DeltaTime)

Overrides: Actor.Tick


Trigger

simulated event Trigger (Actor Other, Pawn EventInstigator)

Overrides: Emitter.Trigger


Other instance functions

ChangeRotation

simulated function ChangeRotation (bool Random)


RandomTimerAndAttach

simulated function RandomTimerAndAttach ()


TraceMe

simulated function TraceMe ()


TracePawn

simulated function TracePawn ()



DWLightningEmitter

UT2004 Object >> Actor >> Emitter >> DWLightningEmitter (custom)
Package: 
DWeather

null

Default values

Property Value
AutoDestroy True
bNoDelete False
Emitters[0] BeamEmitter'DWeather.DWLightning.BeamEmitter3'
Emitters[1] BeamEmitter'DWeather.DWLightning.BeamEmitter4'
Emitters[2] BeamEmitter'DWeather.DWLightning.BeamEmitter5'
Emitters[3] SpriteEmitter'DWeather.DWLightning.SpriteEmitter1'
LifeSpan 2.0



DWLightningTargetEmitter

UT2004 Object >> Actor >> Emitter >> DWEmitter >> DWLightningTargetEmitter (custom)
Package: 
DWeather

null

Default values

Property Value
bNoDelete False
Emitters[0] SpriteEmitter'SpriteEmitter0'
Emitters[1] SpriteEmitter'SpriteEmitter1'
Emitters[2] SpriteEmitter'SpriteEmitter2'
Emitters[3] SpriteEmitter'SpriteEmitter3'
Emitters[4] SpriteEmitter'SpriteEmitter4'
Emitters[5] SpriteEmitter'SpriteEmitter5'

Subobjects

SpriteEmitter0

Class: EngineSpriteEmitter

Property Value
AddVelocityFromOwner True
AutomaticInitialSpawning False
ColorScale[1] (RelativeTime=0.500000,Color=(B=255,G=255,R=255))
ColorScale[2] (RelativeTime=1.000000)
DrawStyle PTDS_Brighten
InitialParticlesPerSecond 9999.0
LifetimeRange
Member Value
Max 3.0
Min 3.0
MaxParticles 1
Opacity 0.75
SizeScale[0] (RelativeSize=0.800000)
SizeScale[1] (RelativeTime=1.000000,RelativeSize=2.800000)
SpinCCWorCW
Member Value
X 1.0
Y 0.0
Z 0.0
SpinParticles True
SpinsPerSecondRange
Member Value
X
Member Value
Max 0.25
Min 0.25
StartSpinRange
Member Value
X
Member Value
Max 1.0
StartVelocityRange
Member Value
Z
Member Value
Max 0.1
Min 0.1
Texture Texture'EpicParticles.Flares.SoftFlare'
UniformSize True
UseColorScale True
UseDirectionAs PTDU_Forward
UseRegularSizeScale False
UseSizeScale True

SpriteEmitter1

Class: EngineSpriteEmitter

Property Value
AddVelocityFromOwner True
AutomaticInitialSpawning False
ColorScale[1] (RelativeTime=0.500000,Color=(B=255,G=255,R=255))
ColorScale[2] (RelativeTime=1.000000)
DrawStyle PTDS_Brighten
InitialParticlesPerSecond 9999.0
LifetimeRange
Member Value
Max 2.0
Min 2.0
MaxParticles 1
SizeScale[0] (RelativeSize=4.000000)
SizeScale[1] (RelativeTime=1.000000,RelativeSize=6.000000)
StartLocationRange
Member Value
Y
Member Value
Max 200.0
Min 200.0
StartSizeRange
Member Value
X
Member Value
Max 10.0
Min 10.0
Y
Member Value
Max 20.0
Min 20.0
StartVelocityRange
Member Value
Y
Member Value
Max -80.0
Min -80.0
Texture Texture'AS_FX_TX.Emitter.HoldArrow'
UseColorScale True
UseDirectionAs PTDU_Normal
UseRegularSizeScale False
UseSizeScale True

SpriteEmitter2

Class: EngineSpriteEmitter

Property Value
AddVelocityFromOwner True
AutomaticInitialSpawning False
ColorScale[1] (RelativeTime=0.500000,Color=(B=255,G=255,R=255))
ColorScale[2] (RelativeTime=1.000000)
DrawStyle PTDS_Brighten
InitialParticlesPerSecond 9999.0
LifetimeRange
Member Value
Max 2.0
Min 2.0
MaxParticles 1
SizeScale[0] (RelativeSize=4.000000)
SizeScale[1] (RelativeTime=1.000000,RelativeSize=6.000000)
SpinParticles True
StartLocationRange
Member Value
X
Member Value
Max 200.0
Min 200.0
StartSizeRange
Member Value
X
Member Value
Max 10.0
Min 10.0
Y
Member Value
Max 20.0
Min 20.0
StartSpinRange
Member Value
X
Member Value
Max 16384.0
Min 16384.0
StartVelocityRange
Member Value
X
Member Value
Max -80.0
Min -80.0
Texture Texture'AS_FX_TX.Emitter.HoldArrow'
UseColorScale True
UseDirectionAs PTDU_Normal
UseRegularSizeScale False
UseSizeScale True

SpriteEmitter3

Class: EngineSpriteEmitter

Property Value
AddVelocityFromOwner True
AutomaticInitialSpawning False
ColorScale[1] (RelativeTime=0.500000,Color=(B=255,G=255,R=255))
ColorScale[2] (RelativeTime=1.000000)
DrawStyle PTDS_Brighten
InitialParticlesPerSecond 9999.0
LifetimeRange
Member Value
Max 2.0
Min 2.0
MaxParticles 1
SizeScale[0] (RelativeSize=4.000000)
SizeScale[1] (RelativeTime=1.000000,RelativeSize=6.000000)
SpinParticles True
StartLocationRange
Member Value
Y
Member Value
Max -200.0
Min -200.0
StartSizeRange
Member Value
X
Member Value
Max 10.0
Min 10.0
Y
Member Value
Max 20.0
Min 20.0
StartSpinRange
Member Value
X
Member Value
Max 32768.0
Min 32768.0
StartVelocityRange
Member Value
Y
Member Value
Max 80.0
Min 80.0
Texture Texture'AS_FX_TX.Emitter.HoldArrow'
UseColorScale True
UseDirectionAs PTDU_Normal
UseRegularSizeScale False
UseSizeScale True

SpriteEmitter4

Class: EngineSpriteEmitter

Property Value
AddVelocityFromOwner True
AutomaticInitialSpawning False
ColorScale[1] (RelativeTime=0.500000,Color=(B=255,G=255,R=255))
ColorScale[2] (RelativeTime=1.000000)
InitialParticlesPerSecond 2000.0
LifetimeRange
Member Value
Max 3.0
Min 3.0
MaxParticles 2
Opacity 0.25
SizeScale[0] (RelativeSize=4.000000)
SizeScale[1] (RelativeTime=1.000000,RelativeSize=6.000000)
SpinParticles True
SpinsPerSecondRange
Member Value
X
Member Value
Max 0.01
Min 0.0010
StartSizeRange
Member Value
X
Member Value
Max 80.0
Min 80.0
StartSpinRange
Member Value
X
Member Value
Max 1.0
Texture Texture'AW-2004Particles.Energy.EclipseCircle'
UniformSize True
UseColorScale True
UseDirectionAs PTDU_Normal
UseRegularSizeScale False
UseSizeScale True

SpriteEmitter5

Class: EngineSpriteEmitter

Property Value
AddVelocityFromOwner True
AutomaticInitialSpawning False
ColorScale[1] (RelativeTime=0.500000,Color=(B=255,G=255,R=255))
ColorScale[2] (RelativeTime=1.000000)
DrawStyle PTDS_Brighten
InitialParticlesPerSecond 9999.0
LifetimeRange
Member Value
Max 2.0
Min 2.0
MaxParticles 1
SizeScale[0] (RelativeSize=4.000000)
SizeScale[1] (RelativeTime=1.000000,RelativeSize=6.000000)
SpinParticles True
StartLocationRange
Member Value
X
Member Value
Max -200.0
Min -200.0
StartSizeRange
Member Value
X
Member Value
Max 10.0
Min 10.0
Y
Member Value
Max 20.0
Min 20.0
StartSpinRange
Member Value
X
Member Value
Max -16384.0
Min -16384.0
StartVelocityRange
Member Value
X
Member Value
Max 80.0
Min 80.0
Texture Texture'AS_FX_TX.Emitter.HoldArrow'
UseColorScale True
UseDirectionAs PTDU_Normal
UseRegularSizeScale False
UseSizeScale True



DWLightningTarget

UT2004 Object >> Actor >> DWParent >> DWLightningTarget (custom)
Package: 
DWeather

DWLightningTarget: Target for DWLightning Lightning has to strike somewhere, right? By Mark 'MarZer' Gillard

Properties

CalculationInterval

Type: float


Default value: 0.05

Current

Type: float


Initial

Type: Object.Rotator


PhearMeh

Type: DWLightningFearSpot


Default values

Property Value
bBlockNonZeroExtentTraces False
bBlockZeroExtentTraces False
bDynamicLight True
bNoDelete True
bUpdateSimulatedPosition True
LightRadius 175.0
LightSaturation 255
LightType LT_Steady
Texture Texture'DWeather-tex.Icons.lightningtargeticon'

Functions

Events

PostBeginPlay

simulated event PostBeginPlay ()

Overrides: Actor.PostBeginPlay


Timer

simulated event Timer ()

Overrides: Actor.Timer


Trigger

simulated event Trigger (Actor Other, Pawn EventInstigator)

Overrides: Actor.Trigger


Other instance functions

StartFlash

simulated function StartFlash ()


StopFlash

simulated function StopFlash ()



DWLightningFearSpot

UT2004 Object >> Actor >> Triggers >> AvoidMarker >> DWLightningFearSpot (custom)
Package: 
DWeather

DWLightningFearSpot. Creatures will tend to back away when near this spot

Default values

Property Value
CollisionRadius 400.0



DWLightningBANG

UT2004 Object >> Actor >> Projectile >> ONSRocketProjectile >> DWLightingBANG (custom)
Package: 
DWeather


Default values

Property Value
Damage 600.0
DamageRadius 550.0
DrawScale 0.5
MomentumTransfer 10000.0
MyDamageType Class'DWeather.DamTypeLightning'

Functions

Events

PostBeginPlay

simulated event PostBeginPlay ()

Overrides: ONSRocketProjectile.PostBeginPlay


Timer

simulated event Timer ()

Overrides: Actor.Timer


Other instance functions

KillMeNow

simulated function KillMeNow ()



DWeatherLightningTargetProjectorInnerRing

UT2004 Object >> Actor >> Projector >> DynamicProjector >> DWeatherLightningTargetProjectorInnerRing (custom)
Package: 
DWeather

null

Default values

Property Value
bClipBSP True
bClipStaticMesh True
bHardAttach True
bLightChanged True
bNoProjectOnOwner True
bProjectActor False
bProjectOnAlpha True
bProjectOnParallelBSP True
bProjectOnUnlit True
CullDistance 10000.0
DrawScale 1.3
FOV 30
FrameBufferBlendingOp PB_Add
MaxTraceDistance 2048
ProjTexture Texture'DWeather-tex.Lightning.Ring2'



DWeatherLightningTargetProjectorOuterRing

UT2004 Object >> Actor >> Projector >> DynamicProjector >> DWeatherLightningTargetProjectorOuterRing (custom)
Package: 
DWeather

null

Default values

Property Value
bClipBSP True
bClipStaticMesh True
bHardAttach True
bLightChanged True
bNoProjectOnOwner True
bProjectActor False
bProjectOnAlpha True
bProjectOnParallelBSP True
bProjectOnUnlit True
CullDistance 10000.0
DrawScale 1.3
FOV 30
FrameBufferBlendingOp PB_Add
MaxTraceDistance 2048
ProjTexture Texture'DWeather-tex.Lightning.Ring1'