I search for solutions in this order: Past Code, Unreal Source, Wiki, BUF, groups.yahoo, google, screaming at monitor. – RegularX

UE2:ScoreKeeper (U2)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
U2 Object >> Actor >> ScoreKeeper
Package: 
U2

ScoreKeeper.uc

Properties[edit]

AttackingEnergySourceDistance[edit]

Type: float


Default value: 2000.0

AttackingIconNodeDistance[edit]

Type: float


Default value: 3000.0

BonusDefs[edit]

Type: array<BonusDefT>

bonus multipiers

Default value, index 0:

Member Value
Multiplier 1.5

Default value, index 1:

Member Value
Multiplier 2.0
Type BT_ArtifactRegisterDenial

Default value, index 10:

Member Value
Multiplier 1.5
Type BT_FragHeadshot

Default value, index 11:

Member Value
Multiplier -0.5
Type BT_FragSelf

Default value, index 12:

Member Value
Multiplier -1.5
Type BT_FragTeammate

Default value, index 13:

Member Value
Multiplier 2.0
Type BT_HealArtifactCarrier

Default value, index 14:

Member Value
Multiplier 0.25
Type BT_MonsterKill

Default value, index 15:

Member Value
Multiplier 2.0
Type BT_RepairArtifactCarrier

Default value, index 16:

Member Value
Multiplier 2.0
Type BT_ResupplyArtifactCarrier

Default value, index 17:

Member Value
Multiplier -0.5
Type BT_SupplyingEnemy

Default value, index 18:

Member Value
Multiplier 4.0
Type BT_VehicularManslaughter

Default value, index 19:

Member Value
Multiplier 1.25
Type BT_DefendArtifactCarrier

Default value, index 20:

Member Value
Multiplier 1.5
Type BT_DefendDroppedArtifact

Default value, index 21:

Member Value
Multiplier 1.25
Type BT_DefendEnergySource

Default value, index 22:

Member Value
Multiplier 1.25
Type BT_DefendHacker

Default value, index 23:

Member Value
Multiplier 1.5
Type BT_DefendIconNode

Default value, index 24:

Member Value
Multiplier 2.5
Type BT_FragArtifactCarrier

Default value, index 25:

Member Value
Multiplier 1.5
Type BT_FragEnemyDefender

Default value, index 26:

Member Value
Multiplier 1.25
Type BT_FragEnemyHacker

BonusLabels[edit]

Type: array<string>

Modifiers: localized

strings to display on hud for multipliers

Default value, index 0: "Carrying artifact"

Default value, index 1: "Denied artifact capture"

Default value, index 10: "Headshot"

Default value, index 11: "Fragged Self"

Default value, index 12: "Fragged Teammate"

Default value, index 13: "Healed artifact carrier"

Default value, index 14: "Monster kill"

Default value, index 15: "Repaired artifact carrier"

Default value, index 16: "Resupplied artifact carrier"

Default value, index 17: "Supplying the enemy"

Default value, index 18: "Vehicular manslaughter"

Default value, index 19: "Defended artifact carrier"

Default value, index 20: "Defended dropped artifact"

Default value, index 21: "Defended energy source"

Default value, index 22: "Defended hacker"

Default value, index 23: "Defended icon node"

Default value, index 24: "Fragged artifact carrier"

Default value, index 25: "Fragged base defender"

Default value, index 26: "Fragged hacker"

CurrentBonuses[edit]

Type: array<EBonusType>

multipliers to be applied to the current score

CurrentScore[edit]

Type: EScoreType

scoring category

DefendArtifactCarrierDistance[edit]

Type: float


Default value: 1000.0

DefendHackerDistance[edit]

Type: float


Default value: 1000.0

DefendingEnergySourceDistance[edit]

Type: float


Default value: 2000.0

DefendingIconNodeDistance[edit]

Type: float


Default value: 3000.0

DroppedArtifactDistance[edit]

Type: float


Default value: 1000.0

HealPointsPerSecond[edit]

Type: float


Default value: 20.0

HealPointsPerSecondMsg[edit]

Type: string

Modifiers: localized


Default value: "Healed teammate (per sec)"

MaxMonsterKillDuration[edit]

Type: float


Default value: 4.0

MVPBonusIDs[edit]

Type: array<int>


MVPBonusNames[edit]

Type: array<string>


MVPBonusStats[edit]

Type: array<float>


MVPScoreIDs[edit]

Type: array<int>

unique player ids for scoring

MVPScoreNames[edit]

Type: array<string>

readable names for displaying the scores

MVPScoreStats[edit]

Type: array<float>

mvp scores and bonuses for the various categories

RecentlyOccupiedTurretTime[edit]

Type: float


Default value: 0.1

RecentlyOccupiedVehicleTime[edit]

Type: float


Default value: 0.1

RepairPointsPerSecond[edit]

Type: float


Default value: 10.0

RepairPointsPerSecondMsg[edit]

Type: string

Modifiers: localized


Default value: "Repaired teammate (per sec)"

ResupplyPointsPerSecond[edit]

Type: float


Default value: 10.0

ResupplyPointsPerSecondMsg[edit]

Type: string

Modifiers: localized


Default value: "Resupplied teammate (per sec)"

ScoreDefs[edit]

Type: array<ScoreDefT>

point catagories

Default value, index 0:

Member Value
Score 400

Default value, index 1:

Member Value
Score 200
Type ST_ArtifactCaptureTeam

Default value, index 10:

Member Value
Score 250
Type ST_FragTurretSmall

Default value, index 11:

Member Value
Score 600
Type ST_FragVehicleHarbinger

Default value, index 12:

Member Value
Score 800
Type ST_FragVehicleJuggernaut

Default value, index 13:

Member Value
Score 400
Type ST_FragVehicleRaptor

Default value, index 14:

Member Value
Score 75
Type ST_HackAssist

Default value, index 15:

Member Value
Score 125
Type ST_HackDeployPoint

Default value, index 16:

Member Value
Score 125
Type ST_HackEnergySource

Default value, index 17:

Member Value
Score 75
Type ST_HackOther

Default value, index 18:

Member Value
Type ST_HealTeammatePerSec

Default value, index 19:

Member Value
Score 30
Type ST_HealTeammateWithPack

Default value, index 20:

Member Value
Score 100
Type ST_ArtifactPickedUp

Default value, index 21:

Member Value
Type ST_RepairTeammatePerSec

Default value, index 22:

Member Value
Score 15
Type ST_RepairTeammateWithPack

Default value, index 23:

Member Value
Type ST_ResupplyTeammatePerSec

Default value, index 24:

Member Value
Score 15
Type ST_ResupplyTeammateWithPack

Default value, index 25:

Member Value
Score 100
Type ST_Revive

Default value, index 26:

Member Value
Score 50
Type ST_ArtifactRecover

Default value, index 27:

Member Value
Score 75
Type ST_ArtifactSteal

Default value, index 28:

Member Value
Score 75
Type ST_FragDeployable

Default value, index 29:

Member Value
Score 100
Type ST_FragPlayer

Default value, index 30:

Member Value
Score 100
Type ST_FragPlayerByDeployable

Default value, index 31:

Member Value
Score 600
Type ST_FragTurretGiant

Default value, index 32:

Member Value
Score 400
Type ST_FragTurretMedium

ScoreLabels[edit]

Type: array<string>

Modifiers: localized

strings to display on hud for raw points

Default value, index 0: "Captured artifact"

Default value, index 1: "Teammate captured artifact"

Default value, index 10: "Fragged small turret"

Default value, index 11: "Fragged Harbinger"

Default value, index 12: "Fragged Juggernaut"

Default value, index 13: "Fragged Raptor"

Default value, index 14: "Hack assist"

Default value, index 15: "Hacked deploy point"

Default value, index 16: "Hacked energy source"

Default value, index 17: "Hacked other"

Default value, index 18: "Heal time:"

Default value, index 19: "Healed with pack"

Default value, index 20: "Picked up dropped artifact"

Default value, index 21: "Repair time"

Default value, index 22: "Repaired with pack"

Default value, index 23: "Resupply time"

Default value, index 24: "Resupplied with pack"

Default value, index 25: "Revived"

Default value, index 26: "Recovered artifact"

Default value, index 27: "Stole artifact"

Default value, index 28: "Fragged deployable"

Default value, index 29: "Fragged player"

Default value, index 30: "Deployable fragged player"

Default value, index 31: "Fragged giant turret"

Default value, index 32: "Fragged medium turret"

ScoreProfiles[edit]

Type: array<ScoreProfileT>


SpecialBonuses[edit]

Type: array<SpecialBonusT>

special bonus multipliers (for time duration scores)

SpecialScore[edit]

Type: float


TotalScoreMsg[edit]

Type: string

Modifiers: localized


Default value: "Total score:"

Default values[edit]

Property Value
DrawType DT_None

Enums[edit]

EBonusType[edit]

BT_ArtifactCarry 
BT_ArtifactRegisterDenial 
BT_DefendArtifactCarrier 
BT_DefendDroppedArtifact 
BT_DefendEnergySource 
BT_DefendHacker 
BT_DefendIconNode 
BT_FragArtifactCarrier 
BT_FragEnemyDefender 
BT_FragEnemyHacker 
BT_FragHeadshot 
BT_FragSelf 
BT_FragTeammate 
BT_HealArtifactCarrier 
BT_MonsterKill 
BT_RepairArtifactCarrier 
BT_ResupplyArtifactCarrier 
BT_SupplyingEnemy 
BT_VehicularManslaughter 

EScoreType[edit]

ST_ArtifactCaptureCarrier 
ST_ArtifactCaptureTeam 
ST_ArtifactPickedUp 
ST_ArtifactRecover 
ST_ArtifactSteal 
ST_FragDeployable 
ST_FragPlayer 
ST_FragPlayerByDeployable 
ST_FragTurretGiant 
ST_FragTurretMedium 
ST_FragTurretSmall 
ST_FragVehicleHarbinger 
ST_FragVehicleJuggernaut 
ST_FragVehicleRaptor 
ST_HackAssist 
ST_HackDeployPoint 
ST_HackEnergySource 
ST_HackOther 
ST_HealTeammatePerSec 
ST_HealTeammateWithPack 
ST_RepairTeammatePerSec 
ST_RepairTeammateWithPack 
ST_ResupplyTeammatePerSec 
ST_ResupplyTeammateWithPack 
ST_Revive 

Structs[edit]

BonusDefT[edit]

EBonusType Type 
float Multiplier 

ScoreDefT[edit]

EScoreType Type 
int Score 

ScoreProfileT[edit]

int PlayerID 
array<float> ScoreFreq 
array<float> BonusFreq 

SpecialBonusT[edit]

float Multiplier 
string Msg 

Functions[edit]

Events[edit]

PreBeginPlay[edit]

event PreBeginPlay ()

Overrides: Actor.PreBeginPlay


Other instance functions[edit]

See ScoreKeeper instance functions.