Worst-case scenario: the UEd Goblin wipes the map and burns down your house.

UE2:GlassMover (U2XMP)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
U2XMP Object >> Actor >> Mover >> GlassMover
Package: 
ParticleSystems

$Author: Mfox $ $Date: 8/16/02 6:33p $ $Revision: 6 $ Name: GlassMover.uc Author: Aaron R Leiby Date: 24 June 2000 Description: How to use this class:

Set keyframe 1 to out of level.

Properties[edit]

Property group 'GlassMover'[edit]

BlastThreshold[edit]

Type: float

Modifiers: public

Amount of blast damange required to completely blow the window out. (Like rockets)

Default value: 50.0

bNoShatter[edit]

Type: bool


DamageThreshold[edit]

Type: float

Modifiers: public

Amount of accumulated damage before going to pieces. (Like normal bullet holes)

Default value: 30.0

DamageToTimeConversion[edit]

Type: float

Modifiers: public

Amount of ShatterTime removed for each point of damage over the threshold.

Default value: 0.05

ImpactGlassSounds[edit]

Type: Sound

Array size: 5


Default value, index 0: Sound'ParticleSystems.Glass.bltglass2'

Default value, index 1: Sound'ParticleSystems.Glass.bltglass3'

Default value, index 2: Sound'ParticleSystems.Glass.bltglass4'

Default value, index 3: Sound'ParticleSystems.Glass.bltglass6'

Default value, index 4: Sound'ParticleSystems.Glass.bltglass7'

PreShatterTime[edit]

Type: float

Modifiers: public

Number of second from reaching DamageThreshold til we start falling apart..

Default value: 0.8

ShatterSound[edit]

Type: Sound


Default value: Sound'ParticleSystems.Glass.glass_break_02'

Property group 'GlassOverrides'[edit]

MaxDepth[edit]

Type: int

don't ever make this larger than 7!!

Default value: 7

MaxStasisTime[edit]

Type: float


Default value: 1.3

MinBreakSizeSq[edit]

Type: float


Default value: 144.0

NearDistSquared[edit]

Type: float

Array size: 7


Default value, index 0: 256.0

Default value, index 1: 1024.0

Default value, index 2: 4096.0

Default value, index 3: 16384.0

Default value, index 4: 65536.0

Default value, index 5: 262144.0

Default value, index 6: 1048576.0

Radius[edit]

Type: float


Default value: 10.0

StasisTimeFactor[edit]

Type: float


Default value: 0.0090

TriangulateProb[edit]

Type: float


Default value: 0.5

Internal variables[edit]

GlassIndex[edit]

Type: int


HitLocations[edit]

Type: Object.Vector

Array size: 64

Modifiers: private

Fix ARL: Use dynamic arrays?

NumHits[edit]

Type: int

Modifiers: private


ShatterTimer[edit]

Type: float

Modifiers: public


Default values[edit]

Property Value
InitialState 'None'

Functions[edit]

Events[edit]

Bump[edit]

event Bump (Actor Other)

Overrides: Mover.Bump


Tick[edit]

event Tick (float DeltaTime)

Overrides: Actor.Tick


Other instance functions[edit]

AddDecal[edit]

function AddDecal (Object.Vector HitLocation, float Damage, class<DamageTypeDamageType)


Explode[edit]

function Explode ()


PlayImpactSound[edit]

function PlayImpactSound (Actor A)


RemoveAllDecals[edit]

function RemoveAllDecals ()


TakeDamage[edit]

function TakeDamage (int Damage, Pawn InstigatedBy, Object.Vector HitLocation, Object.Vector Momentum, class<DamageTypeDamageType)

Overrides: Mover.TakeDamage