I love the smell of UnrealEd crashing in the morning. – tarquin

UE2:U2XMPGame (U2XMP)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
U2XMP Object >> Actor >> Info >> GameInfo >> DialogGameInfo >> U2GameInfo >> U2DeathMatch >> U2TeamGame >> U2XMPGame
Package: 
U2XMP

$Workfile: U2XMPGame.uc $ Created By: Mark Poesch Created On: 6/22/2001 $Author: Mfox $ $Date: 6/28/02 5:37p $ $Revision: 6 $

Constants[edit]

MaxArtifacts[edit]

Value: 8


Properties[edit]

Property group 'U2XMPGame'[edit]

ArtifactCount[edit]

Type: int

Modifiers: config

number of artifacts to spawn per team (0, 1-8)

Default value: 6

ArtifactGoal[edit]

Type: int

Modifiers: config


Default value: 3

ArtifactList[edit]

Type: string

Array size: 8 (MaxArtifacts)

Modifiers: config

artifacts to spawn

Default value, index 0: "U2XMP.ArtifactArmor"

Default value, index 1: "U2XMP.ArtifactHealth"

Default value, index 2: "U2XMP.ArtifactInvisibility"

Default value, index 3: "U2XMP.ArtifactLocator"

Default value, index 4: "U2XMP.ArtifactSpeed"

Default value, index 5: "U2XMP.ArtifactWeaponDamage"

Default value, index 6: "U2XMP.ArtifactArmor"

Default value, index 7: "U2XMP.ArtifactHealth"

EnergyLevel[edit]

Type: int

Modifiers: config

propogated to Replicators at game start (0, 100-10000)

Default value: 10000

ItemLimit[edit]

Type: int

Modifiers: config

propogated to Replicators at game start (0, 1-10)

Default value: 4

Score_ArtifactCapture[edit]

Type: float


Default value: 100.0

Score_ArtifactGoalAchieved[edit]

Type: float


Default value: 1000.0

Score_DefendEnergyRelay[edit]

Type: float

TBI

Default value: 5.0

Score_DefendReplicator[edit]

Type: float

TBI

Default value: 10.0

Score_DestroyEnergyRelay[edit]

Type: float

TBI

Default value: 10.0

Score_KillEnemyWithArtifact[edit]

Type: float

TBI

Default value: 50.0

Score_ShutdownEnemyReplicator[edit]

Type: float


Default value: 20.0

Score_TapEnergySource[edit]

Type: float

TBI

Default value: 5.0

Default values[edit]

Property Value
GameAIControllerClasses[0] "U2XMP.GameAIControllerXMP"
GameAIControllerClasses[1] "U2XMP.GameAIControllerXMP"
GoalScore 1000
MinPlayers 2

Functions[edit]

Events[edit]

PreBeginPlay[edit]

event PreBeginPlay ()

Overrides: U2TeamGame.PreBeginPlay


Other instance functions[edit]

AdjustPawnClass[edit]

function AdjustPawnClass (out string InClass)

Overrides: U2DeathMatch.AdjustPawnClass


IsGameOver[edit]

function bool IsGameOver ()

Overrides: U2DeathMatch.IsGameOver


PickupQuery[edit]

function bool PickupQuery (Pawn Other, Pickup Item)

Overrides: GameInfo.PickupQuery


Register[edit]

function Register (Artifact A, int InTeamNumber)


RestartPlayer[edit]

function RestartPlayer (Controller aPlayer)

Overrides: U2DeathMatch.RestartPlayer


ScoreArtifactCapture[edit]

function ScoreArtifactCapture (Artifact CapturedArtifact, int InTeamNumber)


ScoreKill[edit]

function ScoreKill (Controller Killer, Controller Other)

Overrides: U2TeamGame.ScoreKill


ScoreReplicatorShutdown[edit]

function ScoreReplicatorShutdown (Pawn P)

Overrides: U2GameInfo.ScoreReplicatorShutdown


ShouldRespawn[edit]

function bool ShouldRespawn (Pickup Other)

Overrides: U2DeathMatch.ShouldRespawn


SpawnArtifacts[edit]

function SpawnArtifacts ()


StartMatch[edit]

function StartMatch ()

Overrides: GameInfo.StartMatch