My program doesn't have bugs. It just develops random features.

User:Crusha/DynamicWeather/DWEarthquake

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search

Simulates Earthquakes by rumbling the player's view and throwing any vehicles or pawns that are on the ground into some directions are a little.


DWEarthquake

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

DWEarthquake

Simulates Earthquakes by rumbling the player's view and throwing any vehicles or pawns that are on the ground into the are a little. By Mark 'MarZer' Gillard

Properties

Property group 'DWEarthquake'

EarthquakeInterval

Type: Object.Range


Default value:

Member Value
Max 30.0
Min 15.0

EarthquakeLengthOfTime

Type: float


Default value: 6.0

EarthquakeRadius

Type: float


Default value: 5000.0

Enabled

Type: bool


Internal variables

bIsRumbling

Type: bool


Current

Type: float


RealEarthquakeInterval

Type: float


RealViewShakeTime

Type: float


RumbleTime

Type: float


ShakeOffsetMag

Type: Object.Vector

max view offset vertically

Default value:

Member Value
Z 20.0

ShakeOffsetRate

Type: Object.Vector

how fast to offset view vertically

Default value:

Member Value
Z 400.0

ShakeOffsetTime

Type: float

how much time to offset view

ShakeRotMag

Type: Object.Vector

how far to rot view

Default value:

Member Value
Z 500.0

ShakeRotRate

Type: Object.Vector

how fast to rot view

Default value:

Member Value
Z 5000.0

Default values

Property Value
bCollideActors True
bMovable False
bNoDelete True
Texture Texture'DWeather-tex.Icons.earthquakeicon'

Functions

Events

PostBeginPlay

simulated event PostBeginPlay ()

Overrides: Actor.PostBeginPlay


Rumble

simulated event Rumble ()


Timer

simulated event Timer ()

Overrides: Actor.Timer


Trigger

simulated event Trigger (Actor Other, Pawn EventInstigator)

Overrides: Actor.Trigger


Other instance functions

KickMe

simulated function KickMe ()