Once I get that upgrade to 36-hour days, I will tackle that. – Mychaeel

UE2:TextureHelperGeneric (U2XMP)

From Unreal Wiki, The Unreal Engine Documentation Site
(Redirected from UE2:EffectInfoT (U2XMP))
Jump to: navigation, search
U2XMP Object >> LegendObjectComponent >> TextureHelperGeneric
Package: 
U2
Direct subclasses:
BodyLandTextureHelperGeneric, LandTextureHelperGeneric, MoveTextureHelperGeneric, ProneTextureHelperGeneric

TextureHelperGeneric.uc $Author: Mfox $ $Date: 12/15/02 6:43p $ $Revision: 31 $

Constants[edit]

TraceTextureFudgeFactor[edit]

Value: 128.0


Properties[edit]

Property group 'U2Textures'[edit]

BasePitch[edit]

Type: float

Modifiers: config

pitch multiplier

Default value: 1.0

BaseVolume[edit]

Type: float

Modifiers: config

volume multiplier (for NPCs -- player scaled down)

Default value: 1.0

DefaultTextureType[edit]

Type: Material.ETextureType

Modifiers: config

default texture type (if none hit)

Default value: TT_Stone

PitchVariancePercent[edit]

Type: float

Modifiers: config

percentage to vary final pitch by +/-

Default value: 10.0

PlaySoundRadius[edit]

Type: float

Modifiers: config

radius to use with PlaySound

Default value: 75.0

TextureEffects[edit]

Type: EffectInfoT

Array size: 128 (128 )

Modifiers: config

texture-specific sounds -- assumes that texturetypes are compacted (no gaps) and sorted

VolumeVariancePercent[edit]

Type: float

Modifiers: config

percentage to vary final volume by +/-

Default value: 10.0

Internal variables[edit]

MakeNoiseVolumeMultiplier[edit]

Type: float

amount to scale volume by for use with MakeNoise

Default value: 0.35

RunningSoundSpeed[edit]

Type: float

below this speed walking sounds used (lower volume)

Default value: 200.0

WalkVolumeMultiplier[edit]

Type: float


Default value: 0.25

Structs[edit]

EffectInfoT[edit]

Material.ETextureType TextureType 
texture on which sound plays
string SoundStr 
name of actual sound to play
float Volume 
Volume to use
float Pitch 
string EffectName 
if set, name of class to spawn along with sound

Static functions[edit]

CheckForWater[edit]

static function bool CheckForWater (U2Pawn U2P)


DetermineTextureEffect[edit]

static function DetermineTextureEffect (U2Pawn U2P, Material.ETextureType TextureType, float VolumeMultiplier)


DoTextureEffect[edit]

static function DoTextureEffect (U2Pawn U2P, Sound SelectedSound, float SelectedVolume, float SelectedPitch, class<ActorEffectC)


GetTextureParameters[edit]

static function bool GetTextureParameters (U2Pawn U2P, Material.ETextureType TextureType, out Sound SoundOut, out float VolumeOut, out float PitchOut, out class<ActorEffectOut)


GetTextureString[edit]

static function string GetTextureString (Material.ETextureType TextureType)


GetTextureType[edit]

static function Material.ETextureType GetTextureType (U2Pawn U2P)


HandleLandingOnTexture[edit]

static function HandleLandingOnTexture (U2Pawn U2P, float ImpactSpeed)


HandleMovingOnTexture[edit]

static function HandleMovingOnTexture (U2Pawn U2P)


MaybeMakeNoise[edit]

static function MaybeMakeNoise (U2Pawn U2P, float SelectedVolume)


SelectEffect[edit]

static function int SelectEffect (U2Pawn U2P, Material.ETextureType TextureType)


TextureError[edit]

static function TextureError (U2Pawn U2P, coerce string strMsg, Material.ETextureType TextureType)