Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames

UTGame.UTMusicManager

Extends
Info
Modifiers
config ( Game )

@todo: add ability to use the TempoOverride Copyright 1998-2008 Epic Games, Inc. All Rights Reserved.

Core.Object
|   
+-- Engine.Actor
   |   
   +-- Engine.Info
      |   
      +-- UTGame.UTMusicManager

Direct Known Subclasses:

UTOnslaughtMusicManager

Constants Summary
Inherited Contants from Engine.Actor
ACTORMAXSTEPHEIGHT, MINFLOORZ, RBSTATE_ANGVELSCALE, RBSTATE_LINVELSCALE, RB_NeedsUpdate, RB_None, RB_Sleeping, REP_RBLOCATION_ERROR_TOLERANCE_SQ, TRACEFLAG_Blocking, TRACEFLAG_Bullet, TRACEFLAG_PhysicsVolumes, TRACEFLAG_SkipMovers

Variables Summary
boolbPendingAction
EMusicStateCurrentState
AudioComponentCurrentTrack
floatCurrFadeFactor
floatCurrTempo
floatLastActionEventTime
intLastBeat
floatMusicStartTime
AudioComponentMusicTracks[6]
floatMusicVolume
intPendingEvent
floatPendingEventDelay
floatPendingEventPlayTime
UTPlayerControllerPlayerOwner
floatStingerVolumeMultiplier
Inherited Variables from Engine.Actor
Acceleration, AllComponents, Attached, bAlwaysEncroachCheck, bAlwaysRelevant, bAlwaysTick, Base, BaseBoneName, BaseSkelComponent, bBlockActors, bBlocksNavigation, bBlocksTeleport, bBounce, bCanBeAdheredTo, bCanBeDamaged, bCanBeFrictionedTo, bCanTeleport, bClientDemoRecording, bCollideActors, bCollideComplex, bCollideWhenPlacing, bCollideWorld, bComponentOutsideWorld, bConsiderAllStaticMeshComponentsForStreaming, bDebug, bDeleteMe, bDemoOwner, bDemoRecording, bDestroyedByInterpActor, bDestroyInPainVolume, bEdShouldSnap, bExchangedRoles, bForceNetUpdate, bGameRelevant, bHardAttach, bHasAlternateTargetLocation, bHidden, bHiddenEd, bHiddenEdCustom, bHiddenEdGroup, bHurtEntry, bIgnoreBaseRotation, bIgnoreEncroachers, bIgnoreRigidBodyPawns, bIsMoving, bJustTeleported, bKillDuringLevelTransition, bLockLocation, BlockRigidBody, bMovable, bNetDirty, bNetInitial, bNetInitialRotation, bNetOwner, bNetTemporary, bNeverReplicateRotation, bNoDelete, bNoEncroachCheck, bOnlyDirtyReplication, bOnlyOwnerSee, bOnlyRelevantToOwner, bOrientOnSlope, bPathColliding, bPathTemp, bPendingDelete, bPendingNetUpdate, bPhysRigidBodyOutOfWorldCheck, bPostRenderIfNotVisible, bProjTarget, bPushedByEncroachers, bRepClientDemo, bReplicateInstigator, bReplicateMovement, bReplicateRigidBodyLocation, bRouteBeginPlayEvenIfStatic, bScriptInitialized, bShadowParented, bShouldBaseAtStartup, bSkipActorPropertyReplication, bStasis, bStatic, bTearOff, bTempEditor, bTicked, bUpdateSimulatedPosition, bWorldGeometry, Children, CollisionComponent, CollisionType, Components, CreationTime, CustomTimeDilation, DesiredRotation, DetachFence, DrawScale, DrawScale3D, GeneratedEvents, Group, InitialState, Instigator, LastNetUpdateTime, LastRenderTime, LatentActions, LatentFloat, LatentSeqNode, LifeSpan, Location, MessageClass, MinDistForNetRBCorrection, NetPriority, NetTag, NetUpdateFrequency, NetUpdateTime, OverlapTag, Owner, PendingTouch, Physics, PhysicsVolume, PrePivot, RelativeLocation, RelativeRotation, RemoteRole, Role, Rotation, RotationRate, SupportedEvents, Tag, TickGroup, Timers, Touching, Velocity, WorldInfo

Enumerations Summary
EMusicState
MST_Ambient, MST_Tension, MST_Suspense, MST_Action, MST_Victory,
Inherited Enumerations from Engine.Actor
ECollisionType, EDoubleClickDir, EMoveDir, ENetRole, EPhysics, ETravelType

Structures Summary
Inherited Structures from Engine.Info
KeyValuePair, PlayerResponseLine, ServerResponseLine
Inherited Structures from Engine.Actor
AnimSlotDesc, AnimSlotInfo, AsyncLineCheckResult, CollisionImpactData, ImpactInfo, NavReference, ReplicatedHitImpulse, RigidBodyContactInfo, RigidBodyState, TimerData, TraceHitInfo

Functions Summary
functionbool AlreadyInActionMusic ()))
function ChangeTrack (EMusicState NewState))
functionAudioComponent CreateNewTrack (SoundCue MusicCue))
function IntroFinished (AudioComponent AC))
function MusicEvent (int NewEventIndex))
event PostBeginPlay ()))
function ProcessMusicEvent ()))
function StartMusic ()))
function Tick (float DeltaTime))
Inherited Functions from Engine.Actor
ActivateEventClass, AllActors, AllOwnedComponents, Attach, AttachComponent, AutonomousPhysics, BaseChange, BasedActors, BecomeViewTarget, BeginAnimControl, BroadcastLocalizedMessage, BroadcastLocalizedTeamMessage, Bump, CalcCamera, CanSplash, ChartData, CheckForErrors, CheckHitInfo, CheckMaxEffectDistance, ChildActors, ClampRotation, ClearLatentAction, ClearTimer, Clock, CollidingActors, CollisionChanged, ComponentList, ConsoleCommand, ConstraintBrokenNotify, ContainsPoint, CreateAudioComponent, DebugFreezeGame, Destroy, Destroyed, Detach, DetachComponent, DisplayDebug, DoKismetAttachment, DrawDebugBox, DrawDebugCone, DrawDebugCoordinateSystem, DrawDebugCylinder, DrawDebugLine, DrawDebugSphere, DynamicActors, EffectIsRelevant, EncroachedBy, EncroachingOn, EndViewTarget, Falling, FastTrace, FellOutOfWorld, FindActorsOfClass, FindBase, FindEventsOfClass, FindGoodEndView, FindSpot, FinishAnim, FinishAnimControl, FlushPersistentDebugLines, ForceNetRelevant, ForceUpdateComponents, GainedChild, GetActorEyesViewPoint, GetActorFaceFXAsset, GetBaseMost, GetBoundingCylinder, GetComponentsBoundingBox, GetDebugName, GetDestination, GetFaceFXAudioComponent, GetGravityZ, GetHumanReadableName, GetItemName, GetLocalString, GetLocationStringFor, GetPackageGuid, GetPhysicsName, GetTargetLocation, GetTeamNum, GetTerminalVelocity, GetTimerCount, GetTimerRate, GetURLMap, GetUTFlag, HealDamage, HitWall, HurtRadius, InterpolationChanged, InterpolationFinished, InterpolationStarted, IsActorPlayingFaceFXAnim, IsBasedOn, IsInPain, IsInVolume, IsOverlapping, IsOwnedBy, IsPlayerOwned, IsStationary, IsTimerActive, KilledBy, Landed, LocalPlayerControllers, LostChild, MakeNoise, MatchStarting, ModifyHearSoundComponent, Move, MoveSmooth, MovingWhichWay, NativePostRenderFor, NotifyLocalPlayerTeamReceived, NotifySkelControlBeyondLimit, OnAnimEnd, OnAnimPlay, OnAttachToActor, OnCauseDamage, OnChangeCollision, OnDestroy, OnHealDamage, OnMakeNoise, OnRanOver, OnSetBlockRigidBody, OnSetPhysics, OnTeleport, OnToggleHidden, OutsideWorldBounds, OverlappingActors, OverRotated, PawnBaseDied, PhysicsVolumeChange, PickedUpBy, PlayActorFaceFXAnim, PlayerCanSeeMe, PlaySound, PlayTeleportEffect, PointCheckComponent, PostBeginPlay, PostInitAnimTree, PostRenderFor, PostTeleport, PostTouch, PreBeginPlay, PreTeleport, RanInto, ReplaceText, ReplicatedEvent, Reset, RigidBodyCollision, RootMotionExtracted, RootMotionModeChanged, ScriptGetTeamNum, SetAnimPosition, SetAnimWeights, SetBase, SetCollision, SetCollisionSize, SetDrawScale, SetDrawScale3D, SetForcedInitialReplicatedProperty, SetGRI, SetHardAttach, SetHidden, SetHUDLocation, SetInitialState, SetLocation, SetMorphWeight, SetNetUpdateTime, SetOnlyOwnerSee, SetOwner, SetPhysics, SetRelativeLocation, SetRelativeRotation, SetRotation, SetSkelControlScale, SetTickGroup, SetTimer, SetZone, ShutDown, Sleep, Spawn, SpawnedByKismet, SpecialHandling, StopActorFaceFXAnim, StopsProjectile, SuggestTossVelocity, TakeDamage, TakeRadiusDamage, Tick, Timer, TimeSince, TornOff, Touch, TouchingActors, Trace, TraceActors, TraceComponent, TriggerEventClass, UnClock, UnTouch, UsedBy, VisibleActors, VisibleCollidingActors


Variables Detail

bPendingAction Source code

var bool bPendingAction;
Time at which last "action event" occurred - used to determine when to fade out action track.

CurrentState Source code

var EMusicState CurrentState;

CurrentTrack Source code

var AudioComponent CurrentTrack;

CurrFadeFactor Source code

var private float CurrFadeFactor;

CurrTempo Source code

var private float CurrTempo;
This is the temp (in Beats Per Minutes) of the track that is currently playing

LastActionEventTime Source code

var float LastActionEventTime;
Maximum volume for music audiocomponents (max value for VolumeMultiplier).

LastBeat Source code

var int LastBeat;
Time at which current track started playing

MusicStartTime Source code

var float MusicStartTime;

MusicTracks[6] Source code

var AudioComponent MusicTracks[6];
Track being ramped up, rather than faded out

MusicVolume Source code

var globalconfig float MusicVolume;
Owner of this MusicManager

PendingEvent Source code

var int PendingEvent;
Current Music state (reflects which track is active).

PendingEventDelay Source code

var float PendingEventDelay;

PendingEventPlayTime Source code

var float PendingEventPlayTime;
Pending music event - will be processed on next beat.

PlayerOwner Source code

var UTPlayerController PlayerOwner;
Pre-computed MusicVolume/CrossFadeTime deltatime multiplier for cross-fading

StingerVolumeMultiplier Source code

var config float StingerVolumeMultiplier;
If true, switch to action on next beat


Enumerations Detail

EMusicState Source code

enum EMusicState
{
MST_Ambient, MST_Tension, MST_Suspense, MST_Action, MST_Victory,
};


Functions Detail

AlreadyInActionMusic Source code

function bool AlreadyInActionMusic ( ) )

ChangeTrack Source code

function ChangeTrack ( EMusicState NewState) )
ChangeTrack()
@param NewState New music state (track to ramp up).

CreateNewTrack Source code

function AudioComponent CreateNewTrack ( SoundCue MusicCue) )

IntroFinished Source code

function IntroFinished ( AudioComponent AC) )
delegate set to intro music's AudioComponent to detect when the music has completed

MusicEvent Source code

function MusicEvent ( int NewEventIndex) )

PostBeginPlay Source code

event PostBeginPlay ( ) )
Music Tracks - see ChangeTrack() for definition of slots.

ProcessMusicEvent Source code

function ProcessMusicEvent ( ) )
ProcessMusicEvent() process PendingEvent. Called from Tick() on a beat.

StartMusic Source code

function StartMusic ( ) )
StartMusic() Initialize MusicManager and start intro track.

Tick Source code

function Tick ( float DeltaTime) )


Defaultproperties

defaultproperties
{
   MusicVolume=0.360000
   LastActionEventTime=-1000.000000
   StingerVolumeMultiplier=1.100000
   PendingEventDelay=0.125000
   Begin Object Class=SpriteComponent Name=Sprite ObjName=Sprite Archetype=SpriteComponent'Engine.Default__Info:Sprite'
      ObjectArchetype=SpriteComponent'Engine.Default__Info:Sprite'
   End Object
   Components(0)=Sprite
   CollisionType=COLLIDE_CustomDefault
   Name="Default__UTMusicManager"
   ObjectArchetype=Info'Engine.Default__Info'
}

Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames
Creation time: sk 18-3-2018 10:00:53.720 - Created with UnCodeX