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

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, UE2Runtime, UT2003, U2, UT2004, U2XMP

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

Property group 'Audio'

CdTrack

Type: byte

Modifiers: const

Default CD track for level.

Default value: 255

PlayerDoppler

Type: float


Song

Type: Music

Modifiers: const

Default song for level.

SongSection

Type: byte

Modifiers: const

Default song order for level.

Property group 'LevelInfo'

Author

Type: string

Who built it.

bCheckWalkSurfaces

Type: bool


bHumansOnly

Type: bool

Only allow "human" player pawns in this level

bLonePlayer

Type: bool

No multiplayer coordination, i.e. for entranceways.

Brightness

Type: float


Default value: 1.0

DefaultGameType

Type: class<GameInfo>


IdealPlayerCount

Type: string

Modifiers: localized

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

LevelEnterText

Type: string

Modifiers: localized

Message to tell players when they enter.

LocalizedPkg

Type: string

Package to look in for localizations.

RecommendedEnemies

Type: int

number of enemy bots recommended (used by rated games)

RecommendedTeammates

Type: int

number of friendly bots recommended (used by rated games)

Screenshot

Type: Texture


TimeDilation

Type: float


Default value: 1.0

Title

Type: string

Modifiers: localized


Default value: "Untitled"

Internal variables

AIProfile

Type: int

Array size: 8

TEMP statistics

AvgAITime

Type: float


bAllowFOV

Type: bool


bBegunPlay

Type: bool

Whether gameplay has begun.

bHighDetailMode

Type: bool

Client high-detail mode.

Default value: True

bNextItems

Type: bool


bNoCheating

Type: bool


bPlayersOnly

Type: bool

Only update players.

bStartup

Type: bool

Starting gameplay.

ComputerName

Type: string

Machine's name according to the OS.

Day

Type: int

Modifiers: transient

Day of month.

DayOfWeek

Type: int

Modifiers: transient

Day of week.

DefaultTexture

Type: Texture


Default value: Texture'Engine.DefaultTexture'

EngineVersion

Type: string

Engine version.

Game

Type: GameInfo


Hour

Type: int

Modifiers: transient

Hour.

HubStackLevel

Type: int


LevelAction

Type: ELevelAction

Modifiers: transient


Millisecond

Type: int

Modifiers: transient


MinNetVersion

Type: string


Minute

Type: int

Modifiers: transient

Minute.

Month

Type: int

Modifiers: transient

Month.

NavigationPointList

Type: NavigationPoint

Modifiers: const


NetMode

Type: ENetMode


NextSwitchCountdown

Type: float


NextURL

Type: string


Pauser

Type: string

If paused, name of person pausing the game.

PawnList

Type: Pawn

Modifiers: const


Second

Type: int

Modifiers: transient

Second.

Summary

Type: LevelSummary


TimeSeconds

Type: float

Time in seconds since level began play.

Year

Type: int

Modifiers: transient

Year.

Default values

Property Value
bHiddenEd True

Enums

ELevelAction

LEVACT_None 
LEVACT_Loading 
LEVACT_Saving 
LEVACT_Connecting 
LEVACT_Precaching 

ENetMode

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

Functions

Native functions

GetAddressURL

native function string GetAddressURL ()


GetLocalURL

native function string GetLocalURL ()


Events

ServerTravel

event ServerTravel (string URL, bool bItems)