Gah - a solution with more questions. – EntropicLqd

UE1:LevelInfo (UT)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
UT Object >> Actor >> Info >> ZoneInfo >> LevelInfo
Package: 
Engine
This class in other games:
RTNP, U1, 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

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

The creator of the map. If your using a nickname then it is recommend to write your first name then 'NICKNAMEHERE' and ending with your last name e.g. Sjoerd 'Hourences' De Jong.

See LevelInfo (UT) for more information.

bCheckWalkSurfaces

Type: bool


bHumansOnly

Type: bool

Only allow "human" player pawns in this level

bLonePlayer

Type: bool

No multiplayer coordination, i.e. for entranceways.

bNeverPrecache

Type: bool


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


bAggressiveLOD

Type: bool

frame rate is well below DesiredFrameRate, so make LOD more aggressive

bAllowFOV

Type: bool


bBegunPlay

Type: bool

Whether gameplay has begun.

bDropDetail

Type: bool

frame rate is below DesiredFrameRate, so drop high detail actors

bHighDetailMode

Type: bool

Client high-detail mode.

Default value: True

bLowRes

Type: bool

Modifiers: config


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

The current engine version this client/server is running on.

Game

Type: GameInfo

A reference to the current used GameInfo instance. Note: This is only set on the serverside!.

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.

SpawnNotify

Type: SpawnNotify


Summary

Type: LevelSummary


TimeSeconds

Type: float

Time in seconds since level began play.

VisibleGroups

Type: string

Set which actors with this groupname will be displayed in UnrealEd. If set to "", no actors will be visible within UnrealEd.

Default value: "None"

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 simulated function string GetAddressURL ()


GetLocalURL

native simulated function string GetLocalURL ()


Events

ServerTravel

event ServerTravel (string URL, bool bItems)