UE2:XMPGame (U2)

From Unreal Wiki, The Unreal Engine Documentation Site
(Redirected from UE2:FeatureThresholdT (U2))
U2 Object >> Actor >> Info >> GameInfo >> XMPGame
Package:
U2
Direct subclass:
AsteroidGame

XMPGame.uc

Constants

MaxEnergySources

Value: 16


Properties

Property group 'XMPGame'

AllArtifactsCheckDelay

Type: float


Default value: 5.0

EnergyCriticalLevel

Type: float


Default value: 0.15

EnergyCriticalTimeout

Type: float


Default value: 5.0

Internal variables

ArtInfo

Type: array<ArtifactInfo>

bookkeeping of where the artifacts are

bJumpJetRechargesOnLanding

Type: bool

Modifiers: config

ignored if < 0.0 !!ARL (mdf) tbr

bTeamAutobalance

Type: bool

Modifiers: config


ConsumerList

Type: array<ConsumerInfoT>

list of actors which use energy

CountdownAlertTimes

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

Type: int


DeploymentPointList

Type: DeploymentPoint


ElapsedTime

Type: int


EndTime

Type: float


EnergySources

Type: EnergySource

Array size: 16 (MaxEnergySources)


EnergyThresholds

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

Type: int


JumpJetRechargeTime

Type: float

Modifiers: config

ignored if < 0.0 !!ARL (mdf) tbr

LastCriticalLevelTime

Type: float


LimboLocationString

Type: string

Modifiers: localized


Default value: "Redeploying"

MaxArtifactCarryTime

Type: int

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

Default value: 240

NextLevelLoadingUIEvent

Type: int


NumEnergySources

Type: int


RemainingTime

Type: int


RespawnDelaySeconds

Type: int

Modifiers: config

time to wait between respawning dead players

Default value: 25

RespawnTimer

Type: int


RestartWait

Type: int

Modifiers: config


Default value: 45

ScoreKeeper

Type: ScoreKeeper


TeamEnergyInfo

Type: array<TeamEnergyInfoT>


TeamEnergyInitial

Type: float

energy give to each team at the start of match

Default value: 0.499

TeamEnergyMax

Type: float

maximum energy a team can accumulate

Default value: 1.2

TeamFeatureWarningThreshold

Type: float


Default value: 0.02

TurretAddPctPer

Type: float


Default value: 0.0125

UniqueArtifactID

Type: int

artifact ID generator;

Default values

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

EArtifactState

AS_Stored
AS_Dropped
AS_Carried

EFeatureState

FS_Offline
FS_AlmostOffline
FS_Online

Structs

ArtifactInfo

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

Actor Consumer
float EnergyCostPerSec
float AdditionalPctCost

FeatureThresholdT

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

TeamEnergyInfoT

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

Functions

Static functions

ParseMessageString

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

Overrides: GameInfo.ParseMessageString


Events

Destroyed

event Destroyed ()

Overrides: Actor.Destroyed


PostLogin

event PostLogin (PlayerController NewPlayer)

Overrides: GameInfo.PostLogin


PreBeginPlay

event PreBeginPlay ()

Overrides: GameInfo.PreBeginPlay


SetInitialState

event SetInitialState ()

Overrides: Actor.SetInitialState


Other instance functions

See XMPGame instance functions.

States

MatchInProgress

MatchInProgress.BeginState

event BeginState ()

Overrides: Object.BeginState (global)


MatchInProgress.Timer

event Timer ()

Overrides: GameInfo.Timer (global)


MatchOver

MatchOver.BeginState

event BeginState ()

Overrides: Object.BeginState (global)


MatchOver.Timer

event Timer ()

Overrides: GameInfo.Timer (global)


MatchOver.ChangeTeam

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

Overrides: ChangeTeam (global)


MatchOver.DrainTeamEnergy

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

Overrides: DrainTeamEnergy (global)


MatchOver.ReduceDamage

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

Overrides: GameInfo.ReduceDamage (global)


MatchOver.RestartGame

function RestartGame ()

Overrides: GameInfo.RestartGame (global)


MatchOver.RestartPlayer

function RestartPlayer (Controller aPlayer)

Overrides: GameInfo.RestartPlayer (global)


MatchOver.ScoreKill

function ScoreKill (Controller Killer, Controller Other)

Overrides: ScoreKill (global)


PendingMatch

Modifiers: auto

PendingMatch.Timer

event Timer ()

Overrides: GameInfo.Timer (global)


PendingMatch.StopPreMatchCountdown

function StopPreMatchCountdown ()