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

UE2:GameInfo properties (U2XMP)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
U2XMP Object >> Actor >> Info >> GameInfo (properties)
GameInfo properties in other games:
RTNP, U1, UT, U2, UE2Runtime, UT2003, UT2004, UT3, UDK
Other member categories for this class:
instance functions

Properties

Property group 'GameInfo'

bDisplayHud

Type: bool

NEW (mwp) UI components hide themselves when GameInfo.bDisplayHud is false

Default value: True

bNoisyWeaponChanges

Type: bool

if true, weapon switches call MakeNoise (so NPCs can hear these)

GameReplicationInfoClass

Type: class<GameReplicationInfo>


Default value: Class'Engine.GameReplicationInfo'

Internal variables

AccessControl

Type: AccessControl

AccessControl controls whether players can enter and/or become admins

AccessControlClass

Type: string


Default value: "Engine.AccessControl"

AutoAim

Type: float

Modifiers: globalconfig


Default value: 0.93

bAllowGore

Type: bool

Modifiers: globalconfig

NEW (mwp)

Default value: True

bAlreadyChanged

Type: bool


bAlternateMode

Type: bool

Modifiers: localized


BaseMutator

Type: Mutator

linked list of Mutators (for modifying actors as they enter the game)

bCanChangeSkin

Type: bool

Allow player to change skins in game.

Default value: True

bCanViewOthers

Type: bool


Default value: True

bChangeLevels

Type: bool

Modifiers: globalconfig


Default value: True

bCoopWeaponMode

Type: bool

Modifiers: config

Whether or not weapons stay when picked up.

bCutsceneInputHandling

Type: bool

Modifiers: config

NEW (mwp) <Esc>/<Space> = "NextLevel", ignore all other keys/events

bDelayedStart

Type: bool


BeaconName

Type: string

Identifying string used for finding LAN servers.

bGameEnded

Type: bool

set when game ends

bInfiniteAmmo

Type: bool

if true, weapons will always have enough ammo to fire

bLocalLog

Type: bool

Modifiers: globalconfig


Default value: True

bLoggingGame

Type: bool

Does this gametype log?

BotMenuType

Type: string

Type of bot menu to display.

bOverTime

Type: bool


bPauseable

Type: bool

Whether the game is pauseable.

Default value: True

bReloadsEnabled

Type: bool


Default value: True

bRestartLevel

Type: bool

Level should be restarted when player dies

Default value: True

BroadcastHandler

Type: BroadcastHandler

handles message (text and localized) broadcasts

BroadcastHandlerClass

Type: string


Default value: "Engine.BroadcastHandler"

bSaveDisabled

Type: bool

NEW (mib)

bTeamGame

Type: bool

This is a team game.

bWaitingToStartMatch

Type: bool


Default value: True

bWorldLog

Type: bool

Modifiers: globalconfig


Default value: True

CurrentID

Type: int


DeathMessageClass

Type: class<LocalMessage>


Default value: Class'Engine.LocalMessage'

DefaultPlayerClassName

Type: string


DefaultPlayerName

Type: string

Modifiers: localized


Default value: "Player"

Difficulty

Type: byte

Modifiers: protected, globalconfig

NEW (mdf) 0=easiest, MaxDifficulty=Hardest.

GameFlags

Type: int

Modifiers: globalconfig

NEW (mdf)

GameMessageClass

Type: class<GameMessage>


Default value: Class'Engine.GameMessage'

GameName

Type: string

Modifiers: localized


Default value: "Game"

GameOptionsMenuType

Type: string

Type of options dropdown to display.

GameReplicationInfo

Type: GameReplicationInfo


GameRulesModifiers

Type: GameRules

linked list of modifier classes which affect game rules

GameSpeed

Type: float

Modifiers: globalconfig

Scale applied to game rate.

Default value: 1.0

GameUMenuType

Type: string

Type of Game dropdown to display.

HUDType

Type: string

HUD class this game uses.

Default value: "Engine.HUD"

LocalGameEvents

Type: array<name>

game events local to this level

MapListType

Type: string

Maplist this game uses.

MapPrefix

Type: string

Prefix characters for names of maps for this game type.

MaxDifficulty

Type: byte

Modifiers: protected, config


Default value: 2

MaxPlayers

Type: int

Modifiers: globalconfig


Default value: 16

MaxSpectators

Type: int

Modifiers: globalconfig

Maximum number of spectators.

Default value: 2

MultiplayerUMenuType

Type: string

Type of Multiplayer dropdown to display.

MutatorClass

Type: string


Default value: "Engine.Mutator"

NumBots

Type: int

number of non-human players (AI controlled but participating as a player)

NumPlayers

Type: int

number of human players

NumSpectators

Type: int

Current number of spectators.

PauseKey

Type: int


PlayerControllerClass

Type: class<PlayerController>


PlayerControllerClassName

Type: string

Modifiers: config


Default value: "U2.U2PlayerNetTestController"

RulesMenuType

Type: string

Type of rules menu to display.

ScoreBoardType

Type: string


SettingsMenuType

Type: string

Type of settings menu to display.

StartTime

Type: float


StatLog

Type: StatLog


StatLogClass

Type: class<StatLog>


Default value: Class'Engine.StatLogFile'

TravelGameEvents

Type: array<name>

game events which travel from level to level. FIXME - make them travel!!!