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

UE1:LevelInfo (U1)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
U1 Object >> Actor >> Info >> ZoneInfo >> LevelInfo
Package: 
Engine
This class in other games:
RTNP, UT, U2, U2XMP, UE2Runtime, UT2003, UT2004

LevelInfo contains information about the current level. There should be one per level and it should be actor 0. UnrealEd creates each level's LevelInfo automatically so you should never have to place one manually.

The ZoneInfo properties in the LevelInfo are used to define the properties of all zones which don't themselves have ZoneInfo.

Properties[edit]

Property group 'Audio'[edit]

CdTrack[edit]

Type: byte

Modifiers: const

Default CD track for level.

Default value: 255

PlayerDoppler[edit]

Type: float


Song[edit]

Type: Music

Modifiers: const

Default song for level.

SongSection[edit]

Type: byte

Modifiers: const

Default song order for level.

Property group 'LevelInfo'[edit]

Author[edit]

Type: string

Who built it.

bCheckWalkSurfaces[edit]

Type: bool


bHumansOnly[edit]

Type: bool

Only allow "human" player pawns in this level

bLonePlayer[edit]

Type: bool

No multiplayer coordination, i.e. for entranceways.

Brightness[edit]

Type: float


Default value: 1.0

DefaultGameType[edit]

Type: class<GameInfo>


IdealPlayerCount[edit]

Type: string

Modifiers: localized

Ideal number of players for this level. I.E.: 6-8

LevelEnterText[edit]

Type: string

Modifiers: localized

Message to tell players when they enter.

LocalizedPkg[edit]

Type: string

Package to look in for localizations.

RecommendedEnemies[edit]

Type: int

number of enemy bots recommended (used by rated games)

RecommendedTeammates[edit]

Type: int

number of friendly bots recommended (used by rated games)

Screenshot[edit]

Type: Texture


TimeDilation[edit]

Type: float


Default value: 1.0

Title[edit]

Type: string

Modifiers: localized


Default value: "Untitled"

Internal variables[edit]

AIProfile[edit]

Type: int

Array size: 8

TEMP statistics

AvgAITime[edit]

Type: float


bAllowFOV[edit]

Type: bool


bBegunPlay[edit]

Type: bool

Whether gameplay has begun.

bHighDetailMode[edit]

Type: bool

Client high-detail mode.

Default value: True

bNextItems[edit]

Type: bool


bNoCheating[edit]

Type: bool


bPlayersOnly[edit]

Type: bool

Only update players.

bStartup[edit]

Type: bool

Starting gameplay.

ComputerName[edit]

Type: string

Machine's name according to the OS.

Day[edit]

Type: int

Modifiers: transient

Day of month.

DayOfWeek[edit]

Type: int

Modifiers: transient

Day of week.

DefaultTexture[edit]

Type: Texture


Default value: Texture'Engine.DefaultTexture'

EngineVersion[edit]

Type: string

Engine version.

Game[edit]

Type: GameInfo


Hour[edit]

Type: int

Modifiers: transient

Hour.

HubStackLevel[edit]

Type: int


LevelAction[edit]

Type: ELevelAction

Modifiers: transient


Millisecond[edit]

Type: int

Modifiers: transient


MinNetVersion[edit]

Type: string


Minute[edit]

Type: int

Modifiers: transient

Minute.

Month[edit]

Type: int

Modifiers: transient

Month.

NavigationPointList[edit]

Type: NavigationPoint

Modifiers: const


NetMode[edit]

Type: ENetMode


NextSwitchCountdown[edit]

Type: float


NextURL[edit]

Type: string


Pauser[edit]

Type: string

If paused, name of person pausing the game.

PawnList[edit]

Type: Pawn

Modifiers: const


Second[edit]

Type: int

Modifiers: transient

Second.

Summary[edit]

Type: LevelSummary


TimeSeconds[edit]

Type: float

Time in seconds since level began play.

Year[edit]

Type: int

Modifiers: transient

Year.

Default values[edit]

Property Value
bHiddenEd True

Enums[edit]

ELevelAction[edit]

LEVACT_None 
LEVACT_Loading 
LEVACT_Saving 
LEVACT_Connecting 
LEVACT_Precaching 

ENetMode[edit]

NM_Standalone 
Standalone game.
NM_DedicatedServer 
Dedicated server, no local client.
NM_ListenServer 
Listen server.
NM_Client 
Client only, no local server.

Functions[edit]

Native functions[edit]

GetAddressURL[edit]

native function string GetAddressURL ()


GetLocalURL[edit]

native function string GetLocalURL ()


Events[edit]

ServerTravel[edit]

event ServerTravel (string URL, bool bItems)