Cogito, ergo sum

UE2:U2GameInfo (U2XMP)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
U2XMP Object >> Actor >> Info >> GameInfo >> DialogGameInfo >> U2GameInfo
Package: 
U2
Known classes within U2GameInfo:
GameAIControllerCTF, GameAIControllerImpl, GameAIControllerXMP
Direct subclasses:
AtlantisGameInfo, CutsceneGameInfo, IntroGameInfo, MissionGameInfo, VaultGameInfo, U2DeathMatch, U2TutorialGameInfo

$Workfile: U2GameInfo.uc $ Created By: Mark Poesch Created On: 9/1/2000 $Author: Mfox $ $Date: 3/03/03 5:39p $ $Revision: 98 $

Constants[edit]

MaxTeams[edit]

Value: 4

max # teams for any game type

GF_NOIMPACTS[edit]

Value: 0x01

disable impacts

Properties[edit]

Property group 'U2GameInfo'[edit]

bBroadcastObjectives[edit]

Type: bool

Modifiers: globalconfig


Default value: True

bGiveDefaultWeapon[edit]

Type: bool


Default value: True

bKeepTossedPickups[edit]

Type: bool

set to false to allow tossed pickups to destroy themselves after a while

bSinglePlayerMission[edit]

Type: bool


Default value: True

bUseCombatSounds[edit]

Type: bool


Default value: True

DamageByPlayerScalars[edit]

Type: float

Array size: 3

Modifiers: config

scale damage to player based on game difficulty (singleplayer only, hard-coded to 3 difficulty levels)

Default value, index 0: 2.0

Default value, index 1: 1.25

Default value, index 2: 1.0

DamageToPlayerScalars[edit]

Type: float

Array size: 3

Modifiers: config

scale damage to player based on game difficulty (singleplayer only, hard-coded to 3 difficulty levels)

Default value, index 0: 0.15

Default value, index 1: 0.4

Default value, index 2: 0.75

FriendlyDamageScale[edit]

Type: float

Modifiers: config

scale friendly fire damage by this value

MaxRagdollDeaths[edit]

Type: int

Modifiers: globalconfig


Default value: 1

PlayerDamageScaleMax[edit]

Type: float

Modifiers: config

scale player damage by this value at max difficulty

PlayerDamageScaleMin[edit]

Type: float

Modifiers: config

scale player damage by this value at min difficulty

RagdollDetailLevel[edit]

Type: int

Modifiers: globalconfig

NOTE (mdf): controls ragdoll hits

Default value: 3

RespawnAppearanceDelay[edit]

Type: float


Default value: 0.3

Internal variables[edit]

ActiveRagdollDeaths[edit]

Type: int


AirControl[edit]

Type: float

Modifiers: config

air control varies from one gametype to another

Default value: 0.25

bForcedWeaponSwitch[edit]

Type: bool

Modifiers: config

if true, game forces switch to new weapons regardless of priority

Default value: True

bMultiWeaponStay[edit]

Type: bool

Modifiers: config

weapons stay parameter for DM and sub game types

BSMColor[edit]

Type: Object.Color


Default value:

Member Value
A 255
R 255

BSMTime[edit]

Type: float


Default value: 4.0

DefaultFOV[edit]

Type: float

if non-zero this will be used for the player's initial fov

GameAIControllerClasses[edit]

Type: array<string>

Modifiers: config


GameAIControllers[edit]

Type: array<GameAIControllerInterf>


MinPlayers[edit]

Type: int

Modifiers: config

bots fill in to guarantee this level in net game

NumBots[edit]

Type: int

number of Bots active in the game

PlayerSpeedRatio[edit]

Type: float

Modifiers: config

player speed boosted in DM/CTF/XMP, reduced on the Atlantis

Default value: 1.0

SoundSlotTimerList[edit]

Type: SoundSlotTimerListImpl


SpeedRatio[edit]

Type: float

Modifiers: config

non-player speed boosted in DM/CTF/XMP, reduced on the Atlantis

Default value: 1.0

UIComponents[edit]

Type: array<Object.ComponentHandle>


Default values[edit]

Property Value
DefaultPlayerClassName "U2Pawns.U2PlayerSP"
GameName "U2"
MutatorClass "U2.U2Mutator"

Structs[edit]

TPrecacheInfo[edit]

class<Actor> ActorClass 
Object.Vector SpawnLocation 

Functions[edit]

Static functions[edit]

BSM[edit]

static function BSM (Actor ContextActor, coerce string Message)


GetActorFactoryItems[edit]

static function GetActorFactoryItems (Actor ContextActor, out array<TPrecacheInfoPrecacheList)


GetLevelInfoItems[edit]

static function GetLevelInfoItems (Actor ContextActor, out array<TPrecacheInfoPrecacheList)


PrecacheItems[edit]

static function PrecacheItems (Actor ContextActor)


ScaleMovementSpeeds[edit]

static function ScaleMovementSpeeds (Pawn P)


SpawnTemporaryPrecacheInstance[edit]

static function SpawnTemporaryPrecacheInstance (Actor ContextActor, class<ActorActorClass, Object.Vector TargetLocation)


Events[edit]

Destroyed[edit]

event Destroyed ()

Overrides: DialogGameInfo.Destroyed


NotifyAudioSystemReset[edit]

event NotifyAudioSystemReset ()

Overrides: GameInfo.NotifyAudioSystemReset


NotifyHack[edit]

event NotifyHack ()

Overrides: GameInfo.NotifyHack


NotifyLevelChange[edit]

event NotifyLevelChange ()

Overrides: DialogGameInfo.NotifyLevelChange


NotifyLevelChangeEnd[edit]

event NotifyLevelChangeEnd ()

Overrides: DialogGameInfo.NotifyLevelChangeEnd


PostBeginPlay[edit]

event PostBeginPlay ()

Overrides: GameInfo.PostBeginPlay


PostLogin[edit]

event PostLogin (PlayerController NewPlayer, bool bUseDefaultInventory)

Overrides: DialogGameInfo.PostLogin


PreBeginPlay[edit]

event PreBeginPlay ()

Overrides: GameInfo.PreBeginPlay


Other instance functions[edit]

See U2GameInfo instance functions.