Always snap to grid

UE2:GameProfile (UT2003)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
UT2003 Object >> GameProfile
Package: 
Engine
Direct subclass:
UT2003GameProfile
This class in other games:
UT2004

null

Constants[edit]

NUM_POSITIONS[edit]

Value: 5


TEAM_SIZE[edit]

Value: 7


LINEUP_SIZE[edit]

Value: 4


NUM_LADDERS[edit]

Value: 6


Properties[edit]

Property group 'GameProfile'[edit]

BaseDifficulty[edit]

Type: float

configured at start of single player

Default value: 1.0

Deaths[edit]

Type: int


Difficulty[edit]

Type: float


Goals[edit]

Type: int


Kills[edit]

Type: int


ManifestIndex[edit]

Type: int


Matches[edit]

Type: int


PackageName[edit]

Type: string


Default value: "Default"

PlayerTeam[edit]

Type: array<string>

Player team members

Default value: "TeamName"

Wins[edit]

Type: int


Internal variables[edit]

bInLadderGame[edit]

Type: bool


bWonMatch[edit]

Type: bool


ChampBorderObject[edit]

Type: Object

Modifiers: transient


CurrentLadder[edit]

Type: int


CurrentMenuRung[edit]

Type: int

Modifiers: transient

set by menu system, used for starting a match, in LadderInfo. if -1, use next match in order

EnemyTeam[edit]

Type: string

Opponent team name for pending/current match

GameLadder[edit]

Type: class<LadderInfo>


GameLadderName[edit]

Type: string


Default value: "Engine.LadderInfo"

LadderRung[edit]

Type: int

Array size: 6


Default value, index 1: -1

Default value, index 2: -1

Default value, index 3: -1

Default value, index 4: -1

Default value, index 5: -1

NextMatchObject[edit]

Type: Object

Modifiers: transient

Used by GUI SP Pages for holding the Button for Next Match

PlayerCharacter[edit]

Type: string


Default value: "Gorge"

PlayerLineup[edit]

Type: int

Array size: 4

Lineup for current match. Stores index into PlayerTeam array.

Default value, index 1: 1

Default value, index 2: 2

Default value, index 3: 3

PlayerName[edit]

Type: string


Default value: "Name"

PlayerPositions[edit]

Type: EPlayerPos

Array size: 7

only need positions for AI team, so 7 max

PositionName[edit]

Type: string

Array size: 5

Modifiers: localized

text names of these positions

Default value, index 0: "AUTO-ASSIGN"

Default value, index 1: "DEFENSE"

Default value, index 2: "OFFENSE"

Default value, index 3: "ROAM"

Default value, index 4: "SUPPORT"

SalaryCap[edit]

Type: int


SpecialEvent[edit]

Type: string


TeamName[edit]

Type: string

Player team name

TeamSymbolName[edit]

Type: string

name of team symbol

Enums[edit]

EPlayerPos[edit]

POS_Auto 
POS_Defense 
POS_Offense 
POS_Roam 
POS_Supporting 

Functions[edit]

Static functions[edit]

EnumPositionDescription[edit]

function static EPlayerPos EnumPositionDescription (string posnval)


GetNumPositions[edit]

function static int GetNumPositions ()


TextPositionDescription[edit]

function static string TextPositionDescription (int posnval)


Instance functions[edit]

AddTeammate[edit]

function bool AddTeammate (string botname)


CheatJumpMatch[edit]

function CheatJumpMatch (GameInfo currentGame, int param)


CheatSkipMatch[edit]

function CheatSkipMatch (GameInfo CurrentGame)


ClearTeammates[edit]

function ClearTeammates ()


ContinueSinglePlayerGame[edit]

function ContinueSinglePlayerGame (LevelInfo level, optional bool bReplace)


FindFirstUnfinishedLadder[edit]

function int FindFirstUnfinishedLadder ()


GetMatchDescription[edit]

function string GetMatchDescription ()


GetMatchInfo[edit]

function MatchInfo GetMatchInfo (int ladder, int rung)


GetNumTeammatesForMatch[edit]

function int GetNumTeammatesForMatch ()


GetPositionDescription[edit]

function string GetPositionDescription (int playernum)


Initialize[edit]

function Initialize (GameInfo currentGame, string pn)


RegisterGame[edit]

function RegisterGame (GameInfo currentGame, PlayerReplicationInfo PRI)


ReleaseTeammate[edit]

function bool ReleaseTeammate (string botname)


SetLineup[edit]

function SetLineup (int lineuppos, int teampos)


SetPosition[edit]

function SetPosition (int lineupnum, string posn)


StartNewMatch[edit]

function StartNewMatch (int PickedLadder, LevelInfo CurrentLevel)