I search for solutions in this order: Past Code, Unreal Source, Wiki, BUF, groups.yahoo, google, screaming at monitor. – RegularX

UE2:UnrealMPGameInfo (UT2004)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
UT2004 Object >> Actor >> Info >> GameInfo >> UnrealMPGameInfo
Package: 
UnrealGame
Direct subclass:
DeathMatch
This class in other games:
UT2003

UnrealMPGameInfo.

Constants

MPPROPNUM

Value: 4


Properties

Property group 'UnrealMPGameInfo'

VoiceReplicationInfoType

Type: string


Internal variables

bAllowPrivateChat

Type: bool

Modifiers: config

Allow private chat channels on this server

Default value: True

BeaconList

Type: TranslocatorBeacon

The linked list of all active Translocator target modules. Defined here, so the SquadAI class can look for target modules a bot can try to disrupt.

bMSUplinkSet

Type: bool


BotMode

Type: byte

Modifiers: globalconfig


Default value: 5

BotModeText

Type: string

Modifiers: localized


Default value: "0;Specify Number;1;Use Map Defaults;2;Use Bot Roster"

BotOptions

Type: string

Array size: 4

Modifiers: localized


Default value, index 0: "Specify Number"

Default value, index 1: "Use Map Defaults"

Default value, index 2: "Use Bot Roster"

Default value, index 3: "Players vs Bots"

BotRatio

Type: float

Modifiers: globalconfig

only used when bPlayersVsBots is true

Default value: 1.0

bPlayersVsBots

Type: bool


bPreloadAllSkins

Type: bool

OBSOLETE

bSoaking

Type: bool


bTeamScoreRounds

Type: bool


DefaultVoiceChannel

Type: string

default active channel for incoming players

EndTime

Type: float


EndTimeDelay

Type: float

Modifiers: globalconfig


Default value: 4.0

LocalStatsScreenClass

Type: class<ScoreBoard>


Default value: Class'UnrealGame.DMStatsScreen'

MinPlayers

Type: int

Modifiers: globalconfig

bots fill in to guarantee this level in net game

MPBotDesc

Type: string

Modifiers: localized


Default value: "Bots fill server if necessary to make sure at least this many participants in the match."

MPBotText

Type: string

Modifiers: localized


Default value: "Min Players"

MPGIPropDescText

Type: string

Array size: 4 (MPPROPNUM)

Modifiers: localized


Default value, index 0: "Bots fill server if necessary to make sure at least this many participant in the match."

Default value, index 1: "How long to wait after the match ends before switching to the next map."

Default value, index 2: "Specify how the number of bots in the match is determined."

Default value, index 3: "Controls whether clients are allowed to create and join individual private chat rooms on this server"

MPGIPropsDisplayText

Type: string

Array size: 4 (MPPROPNUM)

Modifiers: localized


Default value, index 0: "Min Players"

Default value, index 1: "Delay at End of Game"

Default value, index 2: "Bot Mode"

Default value, index 3: "Allow Private Chat"

MSUplink

Type: MasterServerUplink


SPBotDesc

Type: string

Modifiers: localized


Default value: "Specify the number of bots that should join your match."

SPBotText

Type: string

Modifiers: localized


Default value: "Number Of Bots"

SpecialVehicleObjectives

Type: SpecialVehicleObjective


Default values

Property Value
PlayerControllerClassName "UnrealGame.UnrealPlayer"
VoiceReplicationInfoClass Class'UnrealGame.UnrealVoiceReplicationInfo'

Functions

Static events

GetDescriptionText

static event string GetDescriptionText (string PropName)

Overrides: GameInfo.GetDescriptionText


Other static functions

AdjustBotInterface

static function AdjustBotInterface (bool bSinglePlayer)

Overrides: GameInfo.AdjustBotInterface


FillPlayInfo

static function FillPlayInfo (PlayInfo PlayInfo)

Overrides: GameInfo.FillPlayInfo


GenerateBotOptions

static function string GenerateBotOptions (bool bSinglePlayer)


GetRandomTeamSymbol

static function Texture GetRandomTeamSymbol (int base)

Overrides: GameInfo.GetRandomTeamSymbol


Events

Login

event PlayerController Login (string Portal, string Options, out string Error)

Overrides: GameInfo.Login


PreLogin

event PreLogin (string Options, string Address, string PlayerID, out string Error, out string FailCode)

Overrides: GameInfo.PreLogin


Other instance functions

AdjustDestroyObjectiveDamage

function int AdjustDestroyObjectiveDamage (int Damage, Controller InstigatedBy, GameObjective GO)


CanDisableObjective

function bool CanDisableObjective (GameObjective GO)


CanShowPathTo

function bool CanShowPathTo (PlayerController P, int TeamNum)


ChangeLoadOut

function ChangeLoadOut (PlayerController P, string LoadoutName)


ChangeVoiceChannel

function ChangeVoiceChannel (PlayerReplicationInfo PRI, int NewChannelIndex, int OldChannelIndex)

Overrides: GameInfo.ChangeVoiceChannel


FindNewObjectives

function FindNewObjectives (GameObjective DisabledObjective)


ForceAddBot

function ForceAddBot ()


GameEvent

function GameEvent (string GEvent, string Desc, PlayerReplicationInfo Who)


GetGameObject

function GameObject GetGameObject (name GameObjectName)


GetNumPlayers

function int GetNumPlayers ()

Overrides: GameInfo.GetNumPlayers


GetServerDetails

function GetServerDetails (out GameInfo.ServerResponseLine ServerState)

Overrides: GameInfo.GetServerDetails


InitMaplistHandler

function InitMaplistHandler ()

Overrides: GameInfo.InitMaplistHandler


InitPlacedBot

function InitPlacedBot (Controller C, RosterEntry R)


InitVoiceReplicationInfo

function InitVoiceReplicationInfo ()

Overrides: GameInfo.InitVoiceReplicationInfo


KillEvent

function KillEvent (string Killtype, PlayerReplicationInfo Killer, PlayerReplicationInfo Victim, class<DamageTypeDamage)

Overrides: GameInfo.KillEvent


MultiMinPlayers

function int MultiMinPlayers ()

Overrides: GameInfo.MultiMinPlayers


ObjectiveDisabled

function ObjectiveDisabled (GameObjective DisabledObjective)


PickupQuery

function bool PickupQuery (Pawn Other, Pickup item)

Overrides: GameInfo.PickupQuery


RestartGame

function RestartGame ()

Overrides: GameInfo.RestartGame


ScoreEvent

function ScoreEvent (PlayerReplicationInfo Who, float Points, string Desc)

Overrides: GameInfo.ScoreEvent


ScoreGameObject

function ScoreGameObject (Controller C, GameObject GO)


ShouldRespawn

function bool ShouldRespawn (Pickup Other)

Overrides: GameInfo.ShouldRespawn


ShowPathTo

function ShowPathTo (PlayerController P, int TeamNum)


SpawnWait

function float SpawnWait (AIController B)


SpecialEvent

function SpecialEvent (PlayerReplicationInfo Who, string Desc)


TeamScoreEvent

function TeamScoreEvent (int Team, float Points, string Desc)

Overrides: GameInfo.TeamScoreEvent


TooManyBots

function bool TooManyBots (Controller botToRemove)

Overrides: GameInfo.TooManyBots