The three virtues of a programmer: Laziness, Impatience, and Hubris. – Larry Wall

UE3:UTGame internal variables (UDK)

From Unreal Wiki, The Unreal Engine Documentation Site
Revision as of 01:00, 18 September 2010 by Wormbo (Talk | contribs) (Reverted edits by 180.190.170.182 (Talk) to last revision by Wormbo)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
UDK Object >> Actor >> Info >> GameInfo >> UTGame (internal variables)

Contents

UTGame internal variables in other games:
UT3
Other member categories for this class:
instance functions

Internal variables[edit]

Acronym[edit]

Type: string

An acronym for the game type, for example DM for DeathMatch or TDM for Team DeathMatch. (Not to be confused with the map prefix.)

Default value: "???"

ActiveBots[edit]

Type: array<ActiveBotInfo>

Modifiers: globalconfig


AdjustedDifficulty[edit]

Type: float


bAllowHoverboard[edit]

Type: bool


bAllowKeyboardAndMouse[edit]

Type: bool

This being false implies that only gamepads are valid for input type. This is not 100% precise as you could have a keyboard + gamepad which could be valid if we wanted to allow typing but no movement.

bAutoNumBots[edit]

Type: bool

Match bots to map's recommended bot count

bBadSinglePlayerBotNames[edit]

Type: bool

Debug: used to draw HUD message so it's easy to tell when bots are set up incorrectly in SP missions

bConsoleServer[edit]

Type: bool

Prefix characters for names of maps for this game type

bCustomBots[edit]

Type: bool


bDemoMode[edit]

Type: bool

turn off HUD, etc.

bExportMenuData[edit]

Type: bool

if set, when this class is compiled, a menu entry for it will be automatically added/updated in its package.ini file (abstract classes are skipped even if this flag is set)

Default value: True

bExtraHealth[edit]

Type: bool

Used during the campaign to give player team a health bonuse

bFinalStartup[edit]

Type: bool


bFirstBlood[edit]

Type: bool


bForceMidGameMenuAtStart[edit]

Type: bool

Modifiers: config


bForceRespawn[edit]

Type: bool

Modifiers: globalconfig


bGivePhysicsGun[edit]

Type: bool

Whether to give physics gun to human players in this game type (meant for testing only)

Default value: True

bHeavyArmor[edit]

Type: bool

Used during the campaign to give player team an armor bonus

bIgnoreTeamForVoiceChat[edit]

Type: bool

When enabled, allows players on different teams to voice chat with each other. (Used for Duel games) Note that spectators still won't be able to talk to players and vice-versa, though.

bIsClassicUT[edit]

Type: bool

"Classic UT" mode is enabled

bLogGameplayEvents[edit]

Type: bool

Modifiers: config


bMidGameHasMap[edit]

Type: bool


bMustHaveMultiplePlayers[edit]

Type: bool


bMustJoinBeforeStart[edit]

Type: bool

players can only spectate if they join after the game starts

bNecrisLocked[edit]

Type: bool

Used during the campaign to keep player team from using necris vehicles (until they get the magic key)

BotClass[edit]

Type: class<UTBot>

class used for AI bots

Default value: Class'UTGame.UTBot'

BotRatio[edit]

Type: float

Modifiers: globalconfig

only used when bPlayersVsBots is true

Default value: 1.0

bOverTimeBroadcast[edit]

Type: bool


bPlayedFiveKills[edit]

Type: bool


bPlayedOneKill[edit]

Type: bool


bPlayedTenKills[edit]

Type: bool

Flag whether "X kills remain" has been played yet

bPlayerBecameActive[edit]

Type: bool


bPlayersMustBeReady[edit]

Type: bool

Modifiers: globalconfig

players must confirm ready for game to start

bPlayersVsBots[edit]

Type: bool


bQuickStart[edit]

Type: bool


bScoreDeaths[edit]

Type: bool

Whether scoring is based on enemy deaths

bShouldWaitForNetPlayers[edit]

Type: bool

True if bWaitForNetPlayers and net game.

bSkipPlaySound[edit]

Type: bool

override "play!" sound

bSoaking[edit]

Type: bool


bStartedCountDown[edit]

Type: bool


bStartWithLockerWeaps[edit]

Type: bool

If true, look for nearby weaponlocker weapons

bTeamScoreRounds[edit]

Type: bool


bTempForceRespawn[edit]

Type: bool

Force dead players to respawn immediately if true (configurable)

bUndrivenVehicleDamage[edit]

Type: bool

whether not yet driven vehicles can take damage

bWaitForNetPlayers[edit]

Type: bool

Modifiers: globalconfig

Temporary (used in game) version of bForceRespawn

Default value: True

bWarmupRound[edit]

Type: bool

Modifiers: config

If true, this match will have a warmup round

bWeaponStay[edit]

Type: bool

Whether or not weapons stay when picked up.

Default value: True

ClientProcessingTimeout[edit]

Type: int

Modifiers: config

how long we wait for clients to perform initial processing at the start of the game (UTPlayerController::bInitialProcessingComplete)

Default value: 30

ConsolePlayerControllerClass[edit]

Type: class<PlayerController>

PlayerController class to use on consoles

Default value: Class'UTGame.UTConsolePlayerController'

CountDown[edit]

Type: int


Default value: 4

CustomMapPrefixes[edit]

Type: array<GameTypePrefix>

Modifiers: globalconfig

Used for loading appropriate game type if non-specified in URL

DefaultInventory[edit]

Type: array<class<Inventory> >

Default inventory added via AddDefaultInventory()

Default value: Class'UTGame.UTWeap_LinkGun'

DefaultMapPrefixes[edit]

Type: array<GameTypePrefix>


Default value, index 0:

Member Value
GameType "UTGame.UTDeathmatch"
Prefix "DM"

Default value, index 1:

Member Value
GameType "UTGameContent.UTCTFGame_Content"
Prefix "CTF"

Default value, index 3:

Member Value
GameType "UTGameContent.UTVehicleCTFGame_Content"
Prefix "VCTF"

DefaultMaxLives[edit]

Type: int


DemoPrefix[edit]

Type: string

prefix of filename to record a demo to - a number is added on to get a unique filename (empty string means don't record)

Description[edit]

Type: string

Modifiers: localized


DesiredPlayerCount[edit]

Type: int

bots will fill in to reach this value as needed

EndGameFocus[edit]

Type: Actor


EndMessageCounter[edit]

Type: int

Modifiers: transient

end message counter

EndMessageWait[edit]

Type: int

wait before playing which team won the match

Default value: 1

EndOfMatchRulesTemplateStr_Scoring[edit]

Type: string

Modifiers: localized


EndOfMatchRulesTemplateStr_ScoringSingle[edit]

Type: string

Modifiers: localized


EndOfMatchRulesTemplateStr_Time[edit]

Type: string

Modifiers: localized


EndTime[edit]

Type: float


EndTimeDelay[edit]

Type: float

Modifiers: globalconfig


Default value: 4.0

EnemyRoster[edit]

Type: UTTeamInfo


EnemyRosterName[edit]

Type: string


GameplayEventsWriter[edit]

Type: GameplayEventsWriter

Modifiers: transient


GameplayEventsWriterClassName[edit]

Type: string

Modifiers: config

Gameplay statistics logging

GameSpecificMapCycles[edit]

Type: array<GameMapCycle>

Modifiers: globalconfig


Default value:

Member Value
GameClassName 'UTVehicleCTFGame_Content'
Maps
  1. "VCTF-Corruption"
  2. "VCTF-Necropolis"
  3. "VCTF-SandStorm"

GameUMenuType[edit]

Type: string

Type of Game dropdown to display.

LastEncouragementTime[edit]

Type: float

Last time bot yelled encouragement to player

Default value: -20.0

LastManDownTime[edit]

Type: float

Last time bot yelled mandown to player

LastPlayerStartSpot[edit]

Type: NavigationPoint

last place current player looking for start spot started from

LastStartSpot[edit]

Type: NavigationPoint

last place any player started from

LateEntryLives[edit]

Type: int

Modifiers: config

defines how many lives in a player can still join

Default value: 1

MapCycleIndex[edit]

Type: int

Modifiers: globalconfig

index of current map in the cycle

MapPrefixes[edit]

Type: array<string>

Used for loading appropriate game type if non-specified in URL

MidGameMenuTemplate[edit]

Type: UTUIScene


Default value: UTUIScene_MidGameMenu'UI_InGameHud.Menus.MidGameMenu'

MidgameScorePanelTag[edit]

Type: name


Default value: 'DMPanel'

MinNetPlayers[edit]

Type: int

Modifiers: globalconfig

how many players must join before net game will start

Default value: 1

NetWait[edit]

Type: int

Modifiers: config

time to wait for players in netgames w/ bWaitForNetPlayers (typically team games)

Default value: 15

NumDivertedOpponents[edit]

Type: int

for single player when "Tactical Diversion" card is used - skip adding this many Kismet spawned bots

PendingMatchElapsedTime[edit]

Type: int


PlayerDeaths[edit]

Type: int


PlayerKills[edit]

Type: int


RestartWait[edit]

Type: int

Modifiers: globalconfig


Default value: 30

RulesMenuType[edit]

Type: string

Type of rules menu to display.

ScriptedStartSpot[edit]

Type: NavigationPoint

forces the spawn location for the next player spawned

ServerSkillLevel[edit]

Type: int

Modifiers: globalconfig

The Server Skill Level ( 0 - 2, Beginner/Experienced/Expert )

SinglePlayerMissionID[edit]

Type: int

Used by the single player game

Sniper[edit]

Type: Pawn

Current sniper

SpawnProtectionTime[edit]

Type: float


Default value: 2.0

SpeechRecognitionData[edit]

Type: SpeechRecognition

object containing speech recognition data to use for this gametype

Default value: SpeechRecognition'SpeechRecognition.Alphabet'

StartupStage[edit]

Type: byte

what startup message to display

VehicleList[edit]

Type: UTVehicle


VictoryMessageClass[edit]

Type: class<UTVictoryMessage>


Default value: Class'UTGame.UTVictoryMessage'

WarmupRemaining[edit]

Type: int

How much time left in the Warmup Round

WarmupTime[edit]

Type: int

Modifiers: config

How long is the warmup round (In Seconds)

WeaponTauntUsed[edit]

Type: byte

Array size: 20

weapon specific Taunt management (keep them from being used multiple times per round)