Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames

XGame.UT2K4GameProfile

Extends
UT2003GameProfile

Core.Object
|   
+-- Engine.GameProfile
   |   
   +-- XGame.UT2003GameProfile
      |   
      +-- XGame.UT2K4GameProfile

Constants Summary
Inherited Contants from Engine.GameProfile
LINEUP_SIZE, NUM_LADDERS, NUM_POSITIONS, TEAM_SIZE

Variables Summary
CacheManager.MapRecordActiveMap
intAltPath
array<TeamRosterRecord>AltTeamRoster
intBalance
boolbCheater
boolbCompleted
boolbDebug
boolbGotChallenged
boolbIsChallenge
boolbLocked
array<BotStatsRecord>BotStats
boolbShowDetails
floatChallengeChance
class<ChallengeGame>ChallengeGameClass
UT2K4MatchInfoChallengeInfo
stringChallengeVariable
array<CustomLadderRecord>CustomLadders
floatFeeIncrease
array<FightHistoryRecord>FightHistory
stringFinalEnemyTeam
floatForFeitFee
floatInjuryChance
floatInjuryTreatment
array<int>LadderProgress
class<CustomLadderInfo>LastCustomCladder
intLastInjured
array<LevelPathRecord>LevelRoute
intlmdBalanceChange
boollmdbChallengeGame
stringlmdEnemyTeam
boollmdFreshInfo
floatlmdGameTime
stringlmdGameType
intlmdInjury
bytelmdInjuryHealth
intlmdInjuryTreatment
stringlmdMap
intlmdMultiKills[7]
intlmdMyTeam
intlmdPrizeMoney
intlmdSpree[6]
boollmdTeamGame
intlmdTotalBonusMoney
boollmdWonMatch
stringLoginMenuClass
nameLogPrefix
floatLoserFee
floatMapChallengeCost
floatMatchBonus
intMaxTeamSize
intMinBalance
stringmsgAdditionalLadder
stringmsgChallengeGame
stringmsgChampionship
stringmsgCheater
stringmsgCredit
stringmsgCredits
stringmsgLadderGame
stringmsgMatch
stringmsgSpecialAward[6]
intMultiKillBonus[7]
intMultiKills[7]
array<PayCheckRecord>PayCheck
array<PhantomMatchRecord>PhantomMatches
array<string>PhantomTeams
stringPlayerIDHash
array<PlayerMatchDetailsRecord>PlayerMatchDetails
intrevision
intsae_combowhore
intsae_flackmonkey
intsae_hattrick
intsae_headhunter
intsae_roadrampage
intsae_untouchable
intSpecialAwards[6]
intSpreeBonus[6]
intSpree[6]
array<TeamMateRankingRecord>TeamMateRanking
floatTeamPercentage
array<TeamStatsRecord>TeamStats
floatTotalTime
class<UT2K4LadderInfo>UT2K4GameLadder
Inherited Variables from Engine.GameProfile
BaseDifficulty, bInLadderGame, bWonMatch, ChampBorderObject, CurrentLadder, CurrentMenuRung, Deaths, Difficulty, EnemyTeam, GameLadder, GameLadderName, Goals, Kills, LadderRung[6], ManifestIndex, Matches, NextMatchObject, PackageName, PlayerCharacter, PlayerLineup[4], PlayerName, PlayerPositions[7], PlayerTeam, PositionName[5], SalaryCap, SpecialEvent, TeamName, TeamSymbolName, Wins

Enumerations Summary
Inherited Enumerations from Engine.GameProfile
EPlayerPos

Structures Summary
BotStatsRecord
Name, Price, Health, FreeAgent, TeamId
CustomLadderRecord
LadderClass, progress
FightHistoryRecord
Date[3], Time[2], MatchData, MatchExtra, Level, GameType, EnemyTeam, PriceMoney, BalanceChange, BonusMoney, GameTime, WonGame, TeamScore[2], TeamGame, TeamLayout[2], MyScore, MyKills, MyDeaths, MyAwards, MyRating
LevelPathRecord
ladder, rung, selection
PayCheckRecord
BotId, Payment
PhantomMatchRecord
Team1, Team2, ScoreTeam1, ScoreTeam2, LadderId, MatchId, GameTime
PlayerMatchDetailsRecord
ID, Name, Kills, Score, Deaths, Team, SpecialAwards
TeamMateRankingRecord
BotID, Rank
TeamRosterRecord
name, roster
TeamStatsRecord
Name, Level, Matches, Won, Rating

Functions Summary
function AddHistoryRecord (GameInfo Game, PlayerReplicationInfo PRI, UT2K4MatchInfo MI))
functionbool AddTeammate (string botname))
functionbool CanChangeTeam (Controller Other, int NewTeam))
function CheatSkipMatch (GameInfo CurrentGame))
functionbool completedLadder (int LadderId))
function ContinueSinglePlayerGame (LevelInfo level, optional bool bReplace))
function CreateProfile (PlayerController PlayerOwner))
function enableLadder (int ladderId))
functionbyte GetAltLevel (int ladder, int rung))
functionbool GetAltTeamRoster (string TeamRosterName, out array<string> result))
functionint GetBotPosition (string botname, optional bool bAdd))
functionint GetBotPrice (optional string botname, optional int botid, optional float increase, optional bool bAdd))
functionclass<ChallengeGameGetChallengeGame (optional string ClassName))
functionint GetCustomLadder (string LadderName))
functionint GetCustomLadderProgress (string LadderName))
functionstring GetEnemyTeamName (string MagicString))
functionstring GetLadderDescription (int LadderId, optional int MatchId))
functionstring GetMatchDescription ()))
functionMatchInfo GetMatchInfo (int ladder, int rung))
functionint GetMaxTeamSize ()))
functionint getMinimalEntryFeeFor (UT2K4MatchInfo MI, optional bool bIgnoreHealth))
functionfloat getMinimalTeamFee (int members, optional bool bIgnoreHealth))
functionint GetNumTeammatesForMatch ()))
functionint GetNumTeammatesForMatchInfo (MatchInfo M))
functionint GetSelectedLevel (int ladder, int rung))
functionUT2K4MatchInfo GetSelectedMatchInfo (int ladder, int rung, int selection, optional bool bOrig))
functionint GetTeamPosition (string teamname, optional bool bAdd))
functionbool HasAltLevel (int ladder, int rung))
functionbool HasFullTeam ()))
function Initialize (GameInfo currentGame, string pn))
function InjureTeamMate (optional int Number))
functionbool IsCheater ()))
functionbool IsLocked ()))
functionbool IsTeamGametype (string gametype))
functionbool IsTeammate (string botname))
functionint LengthOfLadder (int LadderId))
function LoadProfile (PlayerController PlayerOwner))
functionstring MoneyToString (int money))
functionbool openChampionshipLadder ()))
functionfloat PayTeamMates (int Money, float FeeModifier, optional int IncreaseFeeOf, optional float updateFee))
function procLastMatchDetails (GameInfo currentGame, PlayerReplicationInfo PRI, UT2K4MatchInfo MI))
function procPhantomMatches (int games))
function RandomIncreaseBotFee (int TeamId, float updateFee))
function RankTeamMates (GameInfo Game, PlayerReplicationInfo Me))
function RegisterCustomLadder (string LadderName))
function RegisterGame (GameInfo currentGame, PlayerReplicationInfo PRI))
functionbool ReleaseTeammate (string botname))
function ReportCheat (PlayerController Cheater, string cheat))
function ResetSelectedLevel (int ladder, int rung))
function SetAltTeamRoster (string TeamRosterName, array<string> NewRoster))
function SetCustomLadderProgress (string LadderName, int increase))
function SetSelectedLevel (int ladder, int rung, byte id))
function StartNewMatch (int PickedLadder, LevelInfo CurrentLevel))
functionstring StoredPlayerID ()))
function UpgradeGP ()))
Inherited Functions from XGame.UT2003GameProfile
ContinueSinglePlayerGame
Inherited Functions from Engine.GameProfile
AddTeammate, CanChangeTeam, CheatJumpMatch, CheatSkipMatch, ClearTeammates, ContinueSinglePlayerGame, EnumPositionDescription, FindFirstUnfinishedLadder, GetMatchDescription, GetMatchInfo, GetNumPositions, GetNumTeammatesForMatch, GetPositionDescription, Initialize, RegisterGame, ReleaseTeammate, ReportCheat, SetLineup, SetPosition, StartNewMatch, TextPositionDescription


Variables Detail

ActiveMap Source code

var CacheManager.MapRecord ActiveMap;
The map that will be played, set by the "play" button

AltPath Source code

var int AltPath;
seed to select the random level

AltTeamRoster Source code

var array<TeamRosterRecord> AltTeamRoster;
team roster override records

Balance Source code

var int Balance;
The current Player Balance

bCheater Source code

var protected bool bCheater;
Player used a cheat

bCompleted Source code

var bool bCompleted;
Set to 'true' when the SP has been completed

bDebug Source code

var bool bDebug;

bGotChallenged Source code

var bool bGotChallenged;
true we we got challenged, false if we took the initiative

bIsChallenge Source code

var bool bIsChallenge;
when true use ChallengeInfo for information

bLocked Source code

var protected bool bLocked;
if set to true users can't unlock characters with this profile

BotStats Source code

var array<BotStatsRecord> BotStats;

bShowDetails Source code

var bool bShowDetails;
if true match details will be shown after a match

ChallengeChance Source code

var float ChallengeChance;
Chance the losing enemy team will challenge you for a rematch

ChallengeGameClass Source code

var class<ChallengeGame> ChallengeGameClass;
will be set to the challenge game class used if bIsChallenge = true

ChallengeInfo Source code

var UT2K4MatchInfo ChallengeInfo;
the challenge match info, obsolete?

ChallengeVariable Source code

var string ChallengeVariable;
contains data about the challenge variables, used for fighthistory

CustomLadders Source code

var array<CustomLadderRecord> CustomLadders;
custom ladders

FeeIncrease Source code

var float FeeIncrease;
Every time a bot played a match and won his fee increases with this

FightHistory Source code

var array<FightHistoryRecord> FightHistory;
the history of all fights

FinalEnemyTeam Source code

var string FinalEnemyTeam;
the best team played against, used for championship

ForFeitFee Source code

var protected float ForFeitFee;
The fee you have to pay when you forfeit the game

InjuryChance Source code

var float InjuryChance;
The chance a team player get's injured

InjuryTreatment Source code

var float InjuryTreatment;
injury treatment modifier

LadderProgress Source code

var array<int> LadderProgress;
Progression in the ladders

LastCustomCladder Source code

var class<CustomLadderInfo> LastCustomCladder;
will be set when a custom ladder has been played, and unset when not

LastInjured Source code

var int LastInjured;
the offset in the BotStats array of the last injured player

LevelRoute Source code

var array<LevelPathRecord> LevelRoute;
the selected path

lmdBalanceChange Source code

var int lmdBalanceChange;
total change in the balance, includes payment and bonuses

lmdbChallengeGame Source code

var bool lmdbChallengeGame;
true if the last match was a challenge match

lmdEnemyTeam Source code

var string lmdEnemyTeam;
enemy team class

lmdFreshInfo Source code

var bool lmdFreshInfo;
if set to true the details are new and the detail window should be displayed

lmdGameTime Source code

var float lmdGameTime;
total match time

lmdGameType Source code

var string lmdGameType;
game type string

lmdInjury Source code

var int lmdInjury;
player ID of injured player

lmdInjuryHealth Source code

var byte lmdInjuryHealth;
health, stored here because player could have been healed

lmdInjuryTreatment Source code

var int lmdInjuryTreatment;
injury treatment gost

lmdMap Source code

var string lmdMap;
map title

lmdMultiKills[7] Source code

var int lmdMultiKills[7];
last multikill count

lmdMyTeam Source code

var int lmdMyTeam;
teamID of the player's team (usualy 1)

lmdPrizeMoney Source code

var int lmdPrizeMoney;
total prizemoney

lmdSpree[6] Source code

var int lmdSpree[6];
last spree count

lmdTeamGame Source code

var bool lmdTeamGame;
true if it was a team game

lmdTotalBonusMoney Source code

var int lmdTotalBonusMoney;
total bonus money

lmdWonMatch Source code

var bool lmdWonMatch;
true if the player won the match

LoginMenuClass Source code

var string LoginMenuClass;
When set override the default LoginMenuClass with this one

LogPrefix Source code

var name LogPrefix;
@ignore

LoserFee Source code

var float LoserFee;
The percentage of the team players fee to pay out when the team loses

MapChallengeCost Source code

var float MapChallengeCost;
percentage of the match prize a map challenge costs

MatchBonus Source code

var float MatchBonus;
Percentage of the Match price that counts as bonus (per player)

MaxTeamSize Source code

var protected int MaxTeamSize;
The actual team size Warning, absolute max size is 7 (set by GameProfile) Don't use this variable, call GetMaxTeamSize() instead

MinBalance Source code

var int MinBalance;
the minimal balance

msgAdditionalLadder Source code

var localized string msgAdditionalLadder;
localized strings used for the fighthistory

msgChallengeGame Source code

var localized string msgChallengeGame;
localized strings used for the fighthistory

msgChampionship Source code

var localized string msgChampionship;
localized strings used for the fighthistory

msgCheater Source code

var localized string msgCheater;

msgCredit Source code

var localized string msgCredit;

msgCredits Source code

var localized string msgCredits;

msgLadderGame Source code

var localized string msgLadderGame;
localized strings used for the fighthistory

msgMatch Source code

var localized string msgMatch;
localized strings used for the fighthistory

msgSpecialAward[6] Source code

var localized string msgSpecialAward[6];
Special Awards labels

MultiKillBonus[7] Source code

var int MultiKillBonus[7];
bonus received for each multikill

MultiKills[7] Source code

var int MultiKills[7];

PayCheck Source code

var array<PayCheckRecord> PayCheck;
payment overview of you team mates

PhantomMatches Source code

var array<PhantomMatchRecord> PhantomMatches;
phantom match overview

PhantomTeams Source code

var array<string> PhantomTeams;
Phantom Teams to choose from

PlayerIDHash Source code

var protected string PlayerIDHash;
prevent some cheating

PlayerMatchDetails Source code

var array<PlayerMatchDetailsRecord> PlayerMatchDetails;
per player details

revision Source code

var protected int revision;
used to keep track of future changes

sae_combowhore Source code

var int sae_combowhore;
special award levels

sae_flackmonkey Source code

var int sae_flackmonkey;
special award levels

sae_hattrick Source code

var int sae_hattrick;
special award levels

sae_headhunter Source code

var int sae_headhunter;
special award levels

sae_roadrampage Source code

var int sae_roadrampage;
special award levels

sae_untouchable Source code

var int sae_untouchable;
special award levels

SpecialAwards[6] Source code

var int SpecialAwards[6];

SpreeBonus[6] Source code

var int SpreeBonus[6];
bonus received for each killing spree

Spree[6] Source code

var int Spree[6];

TeamMateRanking Source code

var array<TeamMateRankingRecord> TeamMateRanking;
Used for payment and injuries, only valid during RegisterGame()

TeamPercentage Source code

var float TeamPercentage;
Team percentage modifier This value is multiplied with the fee for each player, lower value = lower take of the earnings

TeamStats Source code

var array<TeamStatsRecord> TeamStats;

TotalTime Source code

var float TotalTime;
total ingame time

UT2K4GameLadder Source code

var class<UT2K4LadderInfo> UT2K4GameLadder;


Structures Detail

BotStatsRecord Source code

struct BotStatsRecord
{
var bool FreeAgent;
var byte Health;
var string Name;
var int Price;
var int TeamId;
};
Statistics for each bot in this profile. Saved per profile because they change during the tournament
FreeAgent:
is this a free agent, e.g. can you hire him/her
Health:
injury stats, 0 = dead (you don't want that ;))
Price:
updated price to 'buy' the player, this is also used to calculate the fee and injury treatment
TeamId:
location of his team in the TeamStats list

CustomLadderRecord Source code

struct CustomLadderRecord
{
var string LadderClass;
var int progress;
};
information about a custom ladder
LadderClass:
the fully qualified name to the ladder class
progress:
current progress

FightHistoryRecord Source code

struct FightHistoryRecord
{
var float BalanceChange;
var float BonusMoney;
var int Date[3];
var string EnemyTeam;
var float GameTime;
var string GameType;
var string Level;
var string MatchData;
var string MatchExtra;
var string MyAwards;
var int MyDeaths;
var int MyKills;
var byte MyRating;
var float MyScore;
var float PriceMoney;
var bool TeamGame;
var string TeamLayout[2];
var float TeamScore[2];
var int Time[2];
var bool WonGame;
};

BalanceChange:
balance change
BonusMoney:
bonus money won
Date[3]:
yyyy-mm-dd
EnemyTeam:
enemy team class, fully qualified
GameTime:
game time
GameType:
gametype class, fully qualified
Level:
map name
MatchData:
magic string, fields seperated by ';'
field 1: match type (Ladder game, challenge game, custom ladder game)
field 2: match description
MatchExtra:
additional data, depends on the MatchData type
MyAwards:
my awards
MyDeaths:
number of deaths
MyKills:
number of kills
MyRating:
final position in the scoring table
MyScore:
player's score in this game
PriceMoney:
price money
TeamGame:
gee, what would this be then
TeamLayout[2]:
team layout
TeamScore[2]:
team scores, 1 = our team, 0 = enemy team
Time[2]:
hh:mm

LevelPathRecord Source code

struct LevelPathRecord
{
var byte ladder;
var byte rung;
var byte selection;
};
map selection record, this will override the default behavior of map selection for a match
ladder:
the selected ladder
rung:
match in the selected ladder
selection:
the offset in the AltLevel array

PayCheckRecord Source code

struct PayCheckRecord
{
var int BotId;
var int Payment;
};


PhantomMatchRecord Source code

struct PhantomMatchRecord
{
var float GameTime;
var int LadderId;
var int MatchId;
var float ScoreTeam1;
var float ScoreTeam2;
var int Team1;
var int Team2;
};


PlayerMatchDetailsRecord Source code

struct PlayerMatchDetailsRecord
{
var float Deaths;
var int ID;
var float Kills;
var string Name;
var float Score;
var array<string> SpecialAwards;
var int Team;
};
player details from the last match
SpecialAwards:
special awards won by this player, like Flag Monkey

TeamMateRankingRecord Source code

struct TeamMateRankingRecord
{
var int BotID;
var float Rank;
};


TeamRosterRecord Source code

struct TeamRosterRecord
{
var string name;
var array<string> roster;
};
team roster override record
name:
fully qualified name of the team roster class
roster:
the alternative roster

TeamStatsRecord Source code

struct TeamStatsRecord
{
var int Level;
var int Matches;
var string Name;
var float Rating;
var int Won;
};
Stats for each team
Level:
the difficulty level of this team
Matches:
number of games played against this team
Name:
the fully qualified name of the team class
Rating:
the rating of this team compared to you
Won:
number of games this team won from you


Functions Detail

AddHistoryRecord Source code

function AddHistoryRecord ( GameInfo Game, PlayerReplicationInfo PRI, UT2K4MatchInfo MI) )
Adds the current match info to the history table

AddTeammate Source code

function bool AddTeammate ( string botname) )
add teammate to the next available position on the team return false if not added because already on team or no room assumes it's a legal player record

CanChangeTeam Source code

function bool CanChangeTeam ( Controller Other, int NewTeam) )
never allow team change unless we're god

CheatSkipMatch Source code

function CheatSkipMatch ( GameInfo CurrentGame) )

completedLadder Source code

function bool completedLadder ( int LadderId) )
return true when the ladder has been completed

ContinueSinglePlayerGame Source code

function ContinueSinglePlayerGame ( LevelInfo level, optional bool bReplace) )
Called on gamerestart

CreateProfile Source code

function CreateProfile ( PlayerController PlayerOwner) )
call this when you create a new profile, this will set the protection data

enableLadder Source code

function enableLadder ( int ladderId) )
Enable a ladder, this makes sure a ladder is not reset Special case, ladderid=-1 this will set all ladders except the championship

GetAltLevel Source code

function byte GetAltLevel ( int ladder, int rung) )
get the alternative match ID

GetAltTeamRoster Source code

function bool GetAltTeamRoster ( string TeamRosterName, out array<string> result) )
get the alternative team roster

GetBotPosition Source code

function int GetBotPosition ( string botname, optional bool bAdd) )
return the position of the bot in the botstats array

GetBotPrice Source code

function int GetBotPrice ( optional string botname, optional int botid, optional float increase, optional bool bAdd) )
Find the price of this player If increase > 1 increase the fee with that amouth if 1 > increase > 0 multiply the fee with that amouth if increase == 0 do nothing

GetChallengeGame Source code

function class<ChallengeGame> GetChallengeGame ( optional string ClassName) )
return a random or selected challenge game

GetCustomLadder Source code

function int GetCustomLadder ( string LadderName) )
return the id of a custom ladder

GetCustomLadderProgress Source code

function int GetCustomLadderProgress ( string LadderName) )
get the progres of a custom ladder

GetEnemyTeamName Source code

function string GetEnemyTeamName ( string MagicString) )
Return the team name based on a magic string A magic string starts with a ';', if not asume it's a real team name

GetLadderDescription Source code

function string GetLadderDescription ( int LadderId, optional int MatchId) )
returns the friendly name of the gametype selected

GetMatchDescription Source code

function string GetMatchDescription ( ) )
Get the friendly game type name

GetMatchInfo Source code

function MatchInfo GetMatchInfo ( int ladder, int rung) )
Overwritten to get alt matches

GetMaxTeamSize Source code

function int GetMaxTeamSize ( ) )
return the maximum size of a team that you manage

getMinimalEntryFeeFor Source code

function int getMinimalEntryFeeFor ( UT2K4MatchInfo MI, optional bool bIgnoreHealth) )
get the minimal fee for this match, based on the entry fee for the match and the minimal fee to pay out to your team mates if you lose.

getMinimalTeamFee Source code

function float getMinimalTeamFee ( int members, optional bool bIgnoreHealth) )
return the minimal fee for x team members, only uses team mates that are healthy

GetNumTeammatesForMatch Source code

function int GetNumTeammatesForMatch ( ) )
return number of teammates needed for currently selected match assumes player team always gets an odd player

GetNumTeammatesForMatchInfo Source code

function int GetNumTeammatesForMatchInfo ( MatchInfo M) )
return number of teammates needed for the provided assumes player team always gets an odd player

GetSelectedLevel Source code

function int GetSelectedLevel ( int ladder, int rung) )
return the level ID selected, or -1 if no selection

GetSelectedMatchInfo Source code

function UT2K4MatchInfo GetSelectedMatchInfo ( int ladder, int rung, int selection, optional bool bOrig) )
return a selected UT2K4MatchInfo record

GetTeamPosition Source code

function int GetTeamPosition ( string teamname, optional bool bAdd) )
Find the position of this team in the list

HasAltLevel Source code

function bool HasAltLevel ( int ladder, int rung) )
check if there is an alternative level

HasFullTeam Source code

function bool HasFullTeam ( ) )
Returns true when the player has a full team

Initialize Source code

function Initialize ( GameInfo currentGame, string pn) )
initialize the profile, called at the beginning of each game

InjureTeamMate Source code

function InjureTeamMate ( optional int Number) )
Find the worst team mate(s) and injure it Only one injury is supported

IsCheater Source code

function bool IsCheater ( ) )
return true of the Cheat flag has been set

IsLocked Source code

function bool IsLocked ( ) )
return if a profile has been locked out for character unlocking

IsTeamGametype Source code

function bool IsTeamGametype ( string gametype) )
return true if it's a team game type

IsTeammate Source code

function bool IsTeammate ( string botname) )
Return true if the bot is a teammate

LengthOfLadder Source code

function int LengthOfLadder ( int LadderId) )
return the length of a selected ladder

LoadProfile Source code

function LoadProfile ( PlayerController PlayerOwner) )
call this when you load the profile, it will lock the profile when the PlayerIDHash has changed

MoneyToString Source code

static function string MoneyToString ( int money) )
converts money to a formatted string

openChampionshipLadder Source code

function bool openChampionshipLadder ( ) )
return true when the ChampionshipLadder is within reach

PayTeamMates Source code

function float PayTeamMates ( int Money, float FeeModifier, optional int IncreaseFeeOf, optional float updateFee) )
Pay out the participating team mates and increase their fee A percentage of the match earnings is added/removed from their fee IncreaseFeeOf = number of team mates to pay updateFee = percentage to increase the fee Return the total payment

procLastMatchDetails Source code

function procLastMatchDetails ( GameInfo currentGame, PlayerReplicationInfo PRI, UT2K4MatchInfo MI) )
Generate stats for the last match, all except the balance change

procPhantomMatches Source code

function procPhantomMatches ( int games) )
Create information about other matches played by other teams

RandomIncreaseBotFee Source code

function RandomIncreaseBotFee ( int TeamId, float updateFee) )
Increase fee of a few bots that belong to TeamId

RankTeamMates Source code

function RankTeamMates ( GameInfo Game, PlayerReplicationInfo Me) )
Rank team mates based on how they did in the last match

RegisterCustomLadder Source code

function RegisterCustomLadder ( string LadderName) )
add a new custom ladder

RegisterGame Source code

function RegisterGame ( GameInfo currentGame, PlayerReplicationInfo PRI) )
After a game is completed, this function should be called to record the player's statistics and update the ladder. Currently called from Deathmatch 'MatchOver' state

ReleaseTeammate Source code

function bool ReleaseTeammate ( string botname) )
remove teammate from the team return false if not removed because not on team

ReportCheat Source code

function ReportCheat ( PlayerController Cheater, string cheat) )
Will be called in case of a cheat

ResetSelectedLevel Source code

function ResetSelectedLevel ( int ladder, int rung) )
remove a previous set selection

SetAltTeamRoster Source code

function SetAltTeamRoster ( string TeamRosterName, array<string> NewRoster) )
set the alternative team roster

SetCustomLadderProgress Source code

function SetCustomLadderProgress ( string LadderName, int increase) )
set the progress of a custom ladder

SetSelectedLevel Source code

function SetSelectedLevel ( int ladder, int rung, byte id) )
set a level selection

StartNewMatch Source code

function StartNewMatch ( int PickedLadder, LevelInfo CurrentLevel) )
Send the player to the next match in the given ladder

StoredPlayerID Source code

function string StoredPlayerID ( ) )
return the stored player id, use this to check a profile before loading it

UpgradeGP Source code

function UpgradeGP ( ) )


Defaultproperties

defaultproperties
{
	GameLadderName="xGame.UT2K4LadderInfo"


	LadderProgress(0)=1		
	LadderProgress(1)=-1	
	LadderProgress(2)=-1	
	LadderProgress(3)=-1	
	LadderProgress(4)=-1	
	LadderProgress(5)=-1	
	LadderProgress(6)=-1	

	
	Playerteam(0)=""
	Playerteam(1)=""
	Playerteam(2)=""
	Playerteam(3)=""
	Playerteam(4)=""


	MaxTeamSize=5
	Balance=250			
	MinBalance=75
	TeamPercentage=0.25
	MatchBonus=0.05
	LoserFee=0.1
	FeeIncrease=0.02
	InjuryChance=0.30
	LastInjured=-1
	bCompleted=false
	ChallengeChance=0.30
	MapChallengeCost=0.1
	InjuryTreatment=0.75
	bCheater=false
	LoginMenuClass="GUI2K4.UT2K4SinglePlayerLoginMenu"
	LogPrefix="SinglePlayer"
	bShowDetails=true


	SpreeBonus[0]=20
	SpreeBonus[1]=60
	SpreeBonus[2]=120
	SpreeBonus[3]=200
	SpreeBonus[4]=300
	SpreeBonus[5]=420
	MultiKillBonus[0]=10
	MultiKillBonus[1]=30
	MultiKillBonus[2]=60
	MultiKillBonus[3]=100
	MultiKillBonus[4]=150
	MultiKillBonus[5]=210
	MultiKillBonus[6]=280


	msgSpecialAward[0]="Flak Monkey"
	msgSpecialAward[1]="Combo Whore"
	msgSpecialAward[2]="Head Hunter"
	msgSpecialAward[3]="Road Rampage"
	msgSpecialAward[4]="Hat Trick"
	msgSpecialAward[5]="Untouchable"
	sae_flackmonkey=15
	sae_combowhore=15
	sae_headhunter=15
	sae_roadrampage=10
	sae_hattrick=3
	sae_untouchable=0


	msgCheater="CHEATER!!!"
	msgChallengeGame="Challenge game"
	msgAdditionalLadder="Additional ladder game"
	msgMatch="match"
	msgLadderGame="Ladder game"
	msgChampionship="Championship"
	msgCredits="credits"
	msgCredit="credit"


	revision=5
	bDebug=false


	Begin Object Class=UT2K4MatchInfo Name=GPCHALINFO
	End Object
	ChallengeInfo=GPCHALINFO
}

Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames
Creation time: Do 14.8.2014 09:58:26.720 - Created with UnCodeX