Always snap to grid

UE2:LevelInfo (UE2Runtime)

From Unreal Wiki, The Unreal Engine Documentation Site
Revision as of 10:10, 17 May 2008 by Wormbo (Talk | contribs) (Auto-generated page)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
UE2Runtime Object >> Actor >> Info >> ZoneInfo >> LevelInfo
Package: 
Engine
This class in other games:
RTNP, U1, UT, 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'

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 '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: "Engine.GameInfo"

Screenshot

Type: Texture


TimeDilation

Type: float


Default value: 1.0

Property group 'LevelSummary'

Author

Type: string


HideFromMenus

Type: bool


RecommendedNumPlayers

Type: int


Title

Type: string

Modifiers: localized


Default value: "Untitled"

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 ()