There is no spoon

UE2:LevelInfo (UT2003)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
UT2003 Object >> Actor >> Info >> ZoneInfo >> LevelInfo

Contents

Package: 
Engine
This class in other games:
RTNP, U1, UT, UE2Runtime, 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'

MusicVolumeOverride

Type: float


Default value: -1.0

PlayerDoppler

Type: float

Player doppler shift, 0=none, 1=full.

Song

Type: string

Filename of the streaming song.

Property group 'Camouflage'

IndoorCamouflageMesh

Type: StaticMesh


IndoorMeshDrawscale

Type: float


Default value: 1.0

OutdoorCamouflageMesh

Type: StaticMesh


OutdoorMeshDrawscale

Type: float


Default value: 1.0

Property group 'Karma'

bKStaticFriction

Type: bool

Better rag-doll/ground friction model, but more CPU.

Default value: True

KarmaGravScale

Type: float

Allows you to make ragdolls use lower friction than normal.

Default value: 1.0

KarmaTimeScale

Type: float

Karma physics timestep scaling.

Default value: 0.9

MaxRagdolls

Type: int

Maximum number of simultaneous rag-dolls.

Default value: 4

RagdollTimeScale

Type: float

Ragdoll physics timestep scaling. This is applied on top of KarmaTimeScale.

Default value: 1.0

Property group 'LevelInfo'

bKNoInit

Type: bool


bLonePlayer

Type: bool

No multiplayer coordination, i.e. for entranceways.

Brightness

Type: float


Default value: 1.0

CameraLocationDynamic

Type: Object.Vector


CameraLocationFront

Type: Object.Vector


CameraLocationSide

Type: Object.Vector


CameraLocationTop

Type: Object.Vector


CameraRotationDynamic

Type: Object.Rotator


DefaultGameType

Type: string


LevelEnterText

Type: string

Modifiers: localized

Message to tell players when they enter.

LocalizedPkg

Type: string

Package to look in for localizations.

PhysicsDetailLevel

Type: EPhysicsDetailLevel

Modifiers: config


Default value: PDL_Medium

PreCacheGame

Type: string


Default value: "xGame.xDeathMatch"

TimeDilation

Type: float


Default value: 1.1

Property group 'LevelSummary'

Author

Type: string


Default value: "Anonymous"

DecoTextName

Type: string


Description

Type: string


HideFromMenus

Type: bool


IdealPlayerCountMax

Type: int


Default value: 10

IdealPlayerCountMin

Type: int


Default value: 6

Screenshot

Type: Material


Title

Type: string

Modifiers: localized


Default value: "Untitled"

Property group 'SinglePlayer'

SinglePlayerTeamSize

Type: int


Internal variables

See LevelInfo internal variables.

Default values

Property Value
bAlwaysRelevant True
bHiddenEd True
bWorldGeometry True
RemoteRole ROLE_DumbProxy

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.

EPhysicsDetailLevel

PDL_Low 
PDL_Medium 
PDL_High 

Functions

Native functions

DetailChange

native simulated function DetailChange (Actor.EDetailMode NewDetailMode)


GetAddressURL

native simulated function string GetAddressURL ()


GetLocalURL

native simulated function string GetLocalURL ()


IsDemoBuild

native simulated final function bool IsDemoBuild ()


IsEntry

native simulated function bool IsEntry ()


Events

FillPrecacheMaterialsArray

simulated event FillPrecacheMaterialsArray ()


FillPrecacheStaticMeshesArray

simulated event FillPrecacheStaticMeshesArray ()


PostBeginPlay

simulated event PostBeginPlay ()

Overrides: Actor.PostBeginPlay


PreBeginPlay

simulated event PreBeginPlay ()

Overrides: ZoneInfo.PreBeginPlay


ServerTravel

event ServerTravel (string URL, bool bItems)


Other instance functions

AddPrecacheMaterial

simulated function AddPrecacheMaterial (Material mat)


AddPrecacheStaticMesh

simulated function AddPrecacheStaticMesh (StaticMesh stat)


GetGameClass

simulated function class<GameInfoGetGameClass ()


GetLocalPlayerController

simulated function PlayerController GetLocalPlayerController ()


Reset

function Reset ()

Overrides: Actor.Reset


ThisIsNeverExecuted

function ThisIsNeverExecuted ()