I don't need to test my programs. I have an error-correcting modem.

UE2:XMPGame (U2)

From Unreal Wiki, The Unreal Engine Documentation Site
(Redirected from UE2:EArtifactState (U2))
Jump to: navigation, search
U2 Object >> Actor >> Info >> GameInfo >> XMPGame

Contents

Package: 
U2
Direct subclass:
AsteroidGame

XMPGame.uc

Constants[edit]

MaxEnergySources[edit]

Value: 16


Properties[edit]

Property group 'XMPGame'[edit]

AllArtifactsCheckDelay[edit]

Type: float


Default value: 5.0

EnergyCriticalLevel[edit]

Type: float


Default value: 0.15

EnergyCriticalTimeout[edit]

Type: float


Default value: 5.0

Internal variables[edit]

ArtInfo[edit]

Type: array<ArtifactInfo>

bookkeeping of where the artifacts are

bJumpJetRechargesOnLanding[edit]

Type: bool

Modifiers: config

ignored if < 0.0 !!ARL (mdf) tbr

bTeamAutobalance[edit]

Type: bool

Modifiers: config


ConsumerList[edit]

Type: array<ConsumerInfoT>

list of actors which use energy

CountdownAlertTimes[edit]

Type: array<int>


Default value, index 0: 300

Default value, index 1: 240

Default value, index 2: 180

Default value, index 3: 120

Default value, index 4: 60

Default value, index 5: 30

Default value, index 6: 10

CountdownIndex[edit]

Type: int


DeploymentPointList[edit]

Type: DeploymentPoint


ElapsedTime[edit]

Type: int


EndTime[edit]

Type: float


EnergySources[edit]

Type: EnergySource

Array size: 16 (MaxEnergySources)


EnergyThresholds[edit]

Type: array<FeatureThresholdT>


Default value, index 0:

Member Value
Feature 'IconNode'
Threshold 0.8

Default value, index 1:

Member Value
Feature 'PackBase'
Threshold 0.75

Default value, index 2:

Member Value
Feature 'XMPStationaryTurret'
Threshold 0.7

Default value, index 3:

Member Value
Feature 'RocketTurret'
Threshold 0.65

Default value, index 4:

Member Value
Feature 'LandMines'
Threshold 0.6

Default value, index 5:

Member Value
Feature 'FieldGenerator'
Threshold 0.55

Default value, index 6:

Member Value
Feature 'LaserTripMines'
Threshold 0.5

Default value, index 7:

Member Value
Feature 'AutoTurret'
Threshold 0.35

Default value, index 8:

Member Value
Feature 'Vehicle'
Threshold 0.3

Default value, index 9:

Member Value
Feature 'PowerStation'
Threshold 0.2

GameEndUIEvent[edit]

Type: int


JumpJetRechargeTime[edit]

Type: float

Modifiers: config

ignored if < 0.0 !!ARL (mdf) tbr

LastCriticalLevelTime[edit]

Type: float


LimboLocationString[edit]

Type: string

Modifiers: localized


Default value: "Redeploying"

MaxArtifactCarryTime[edit]

Type: int

max time, in seconds, a player can hold on to an artifact

Default value: 240

NextLevelLoadingUIEvent[edit]

Type: int


NumEnergySources[edit]

Type: int


RemainingTime[edit]

Type: int


RespawnDelaySeconds[edit]

Type: int

Modifiers: config

time to wait between respawning dead players

Default value: 25

RespawnTimer[edit]

Type: int


RestartWait[edit]

Type: int

Modifiers: config


Default value: 45

ScoreKeeper[edit]

Type: ScoreKeeper


TeamEnergyInfo[edit]

Type: array<TeamEnergyInfoT>


TeamEnergyInitial[edit]

Type: float

energy give to each team at the start of match

Default value: 0.499

TeamEnergyMax[edit]

Type: float

maximum energy a team can accumulate

Default value: 1.2

TeamFeatureWarningThreshold[edit]

Type: float


Default value: 0.02

TurretAddPctPer[edit]

Type: float


Default value: 0.0125

UniqueArtifactID[edit]

Type: int

artifact ID generator;

Default values[edit]

Property Value
bClearBannedBetweenMaps True
bPauseable False
bRestartLevel False
bTeamGame True
DeathMessageClass Class'U2.XMPDeathMessage'
DefaultPlayerClassName "Pawns.Gunner"
GameName "XMP"
MapListType "U2.MapListXMP"
MapPrefix "XMP"
MinTeamChangeDelay 10.0
PlayerControllerClassName "U2.U2PlayerController"
PreMatchWait 40
TeamDamage 0.5
TimeLimit 45

Enums[edit]

EArtifactState[edit]

AS_Stored 
AS_Dropped 
AS_Carried 

EFeatureState[edit]

FS_Offline 
FS_AlmostOffline 
FS_Online 

Structs[edit]

ArtifactInfo[edit]

int ID 
Artifact ID
class<Artifact> Type 
Artifact type
int Team 
which team this artifact is registered to
Pawn Carrier 
pawn carrying the artifact (using / stealing)
EArtifactState State 
where the artifact is
float PickedUpTime 

ConsumerInfoT[edit]

Actor Consumer 
float EnergyCostPerSec 
float AdditionalPctCost 

FeatureThresholdT[edit]

name Feature 
game play feature (stations, packs, vehicles, turrets)
float Threshold 
amount of team energy needed to support feature

TeamEnergyInfoT[edit]

float LastTeamEnergy 
team energy level when last checked
bool bWarned 
has team received a warning that a feature is going offline

Functions[edit]

Static functions[edit]

ParseMessageString[edit]

static function string ParseMessageString (Mutator BaseMutator, Controller Who, string Message)

Overrides: GameInfo.ParseMessageString


Events[edit]

Destroyed[edit]

event Destroyed ()

Overrides: Actor.Destroyed


PostLogin[edit]

event PostLogin (PlayerController NewPlayer)

Overrides: GameInfo.PostLogin


PreBeginPlay[edit]

event PreBeginPlay ()

Overrides: GameInfo.PreBeginPlay


SetInitialState[edit]

event SetInitialState ()

Overrides: Actor.SetInitialState


Other instance functions[edit]

See XMPGame instance functions.

States[edit]

MatchInProgress[edit]

MatchInProgress.BeginState[edit]

event BeginState ()

Overrides: Object.BeginState (global)


MatchInProgress.Timer[edit]

event Timer ()

Overrides: GameInfo.Timer (global)


MatchOver[edit]

MatchOver.BeginState[edit]

event BeginState ()

Overrides: Object.BeginState (global)


MatchOver.Timer[edit]

event Timer ()

Overrides: GameInfo.Timer (global)


MatchOver.ChangeTeam[edit]

function bool ChangeTeam (Controller Other, int num, bool bNewTeam)

Overrides: ChangeTeam (global)


MatchOver.DrainTeamEnergy[edit]

function float DrainTeamEnergy (int TeamNumber, float EnergyAmount, name Reason)

Overrides: DrainTeamEnergy (global)


MatchOver.ReduceDamage[edit]

function int ReduceDamage (int Damage, Pawn injured, Pawn instigatedBy, Object.Vector HitLocation, Object.Vector Momentum, class<DamageTypeDamageType)

Overrides: GameInfo.ReduceDamage (global)


MatchOver.RestartGame[edit]

function RestartGame ()

Overrides: GameInfo.RestartGame (global)


MatchOver.RestartPlayer[edit]

function RestartPlayer (Controller aPlayer)

Overrides: GameInfo.RestartPlayer (global)


MatchOver.ScoreKill[edit]

function ScoreKill (Controller Killer, Controller Other)

Overrides: ScoreKill (global)


PendingMatch[edit]

Modifiers: auto

PendingMatch.Timer[edit]

event Timer ()

Overrides: GameInfo.Timer (global)


PendingMatch.StopPreMatchCountdown[edit]

function StopPreMatchCountdown ()