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

Contents

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.

[edit] Properties

[edit] Property group 'GlassMover'

[edit] BlastThreshold

Type: float

Modifiers: public

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

Default value: 50.0

[edit] bNoShatter

Type: bool


[edit] DamageThreshold

Type: float

Modifiers: public

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

Default value: 30.0

[edit] DamageToTimeConversion

Type: float

Modifiers: public

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

Default value: 0.05

[edit] 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'

[edit] PreShatterTime

Type: float

Modifiers: public

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

Default value: 0.8

[edit] ShatterSound

Type: Sound


Default value: Sound'ParticleSystems.Glass.glass_break_02'

[edit] Property group 'GlassOverrides'

[edit] MaxDepth

Type: int

don't ever make this larger than 7!!

Default value: 7

[edit] MaxStasisTime

Type: float


Default value: 1.3

[edit] MinBreakSizeSq

Type: float


Default value: 144.0

[edit] 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

[edit] Radius

Type: float


Default value: 10.0

[edit] StasisTimeFactor

Type: float


Default value: 0.0090

[edit] TriangulateProb

Type: float


Default value: 0.5

[edit] Internal variables

[edit] GlassIndex

Type: int


[edit] HitLocations

Type: Object.Vector

Array size: 64

Modifiers: private

Fix ARL: Use dynamic arrays?

[edit] NumHits

Type: int

Modifiers: private


[edit] ShatterTimer

Type: float

Modifiers: public


[edit] Default values

Property Value
InitialState 'None'

[edit] Functions

[edit] Events

[edit] Bump

event Bump (Actor Other)

Overrides: Mover.Bump


[edit] Tick

event Tick (float DeltaTime)

Overrides: Actor.Tick


[edit] Other instance functions

[edit] AddDecal

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


[edit] Explode

function Explode ()


[edit] PlayImpactSound

function PlayImpactSound (Actor A)


[edit] RemoveAllDecals

function RemoveAllDecals ()


[edit] TakeDamage

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

Overrides: Mover.TakeDamage