UE3:BasicStatsVisualizer (UDK)

From Unreal Wiki, The Unreal Engine Documentation Site
Revision as of 05:24, 17 January 2010 by Unknown user (talk)
UDK Object >> GameStatsVisitorImpl >> GameStatsVisualizer >> BasicStatsVisualizer
Package:
UnrealEd
Implemented interfaces:
GameStatsDatabaseVisitor

Basic stat visualizer for game statistics

Properties

BasicEntries

Type: array<BasicStatEntry>

All data to be drawn by this visualizer

DrawingProperties

Type: array<StatDrawingProperties>

Modifiers: const, config

Metadata to help draw the statistics

Default value:

Member Value
Size 8.0
SpriteName "EditorResources.BSPVertex"

PlayerEntries

Type: array<PlayerEntry>


PlayerPlayerEntries

Type: array<PlayerPlayerEntry>


PlayerTargetEntries

Type: array<PlayerTargetEntry>


Default values

Property Value
FriendlyName "Basic Stats Visualizer"

Structs

BasicStatEntry

Modifiers: native

Generic stat container

int EventID
string EventName
Object.Vector Location
Object.Rotator Rotation

PlayerEntry

Modifiers: native

Stat container with enough data to draw player information

int EventID
string EventName
int PlayerIndex
string PlayerName
Object.Vector Location
Object.Rotator Rotation
string WeaponName

PlayerPlayerEntry

Modifiers: native

Stat container for a player player interaction

int EventID
string EventName
int Player1Index
string Player1Name
Object.Vector Player1Location
Object.Rotator Rotation1
int Player2Index
string Player2Name
Object.Vector Player2Location
Object.Rotator Rotation2

PlayerTargetEntry

Modifiers: native

Stat container for a player targeting action (kill/melee/death/etc)

int EventID
string EventName
string KillType
string DamageType
int PlayerIndex
string PlayerName
Object.Vector Location
Object.Rotator Rotation
int TargetIndex
string TargetName
Object.Vector TargetLocation
Object.Rotator TargetRotation

StatDrawingProperties

Modifiers: native

Array of drawing properties per stat type setup in .ini

int EventID
EventID associated with these properties
Object.Color StatColor
Color to draw the sprite
float Size
Size of the sprite
string SpriteName
Name of the sprite resource
Texture2D StatSprite
Actual sprite texture