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

Property group 'GlassMover'

BlastThreshold

Type: float

Modifiers: public

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

Default value: 50.0

bNoShatter

Type: bool


DamageThreshold

Type: float

Modifiers: public

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

Default value: 30.0

DamageToTimeConversion

Type: float

Modifiers: public

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

Default value: 0.05

ImpactGlassSounds

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

Type: float

Modifiers: public

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

Default value: 0.8

ShatterSound

Type: Sound


Default value: Sound'ParticleSystems.Glass.glass_break_02'

Property group 'GlassOverrides'

MaxDepth

Type: int

don't ever make this larger than 7!!

Default value: 7

MaxStasisTime

Type: float


Default value: 1.3

MinBreakSizeSq

Type: float


Default value: 144.0

NearDistSquared

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

Type: float


Default value: 10.0

StasisTimeFactor

Type: float


Default value: 0.0090

TriangulateProb

Type: float


Default value: 0.5

Internal variables

GlassIndex

Type: int


HitLocations

Type: Object.Vector

Array size: 64

Modifiers: private

Fix ARL: Use dynamic arrays?

NumHits

Type: int

Modifiers: private


ShatterTimer

Type: float

Modifiers: public


Default values

Property Value
InitialState 'None'

Functions

Events

Bump

event Bump (Actor Other)

Overrides: Mover.Bump


Tick

event Tick (float DeltaTime)

Overrides: Actor.Tick


Other instance functions

AddDecal

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


Explode

function Explode ()


PlayImpactSound

function PlayImpactSound (Actor A)


RemoveAllDecals

function RemoveAllDecals ()


TakeDamage

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

Overrides: Mover.TakeDamage