I'm a doctor, not a mechanic

UE2:LevelInfo (U2)

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

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
U2 Object >> Actor >> Info >> ZoneInfo >> LevelInfo

Contents

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


StartSpot

Type: Engine.SpectatorCam


TimeDilation

Type: float


Default value: 1.0

UIComponents

Type: array<UIComponentInfo>


Property group 'LevelSummary'

Author

Type: string


HideFromMenus

Type: bool


RecommendedNumPlayers

Type: int


Title

Type: string

Modifiers: localized


Default value: "Untitled"

Property group 'Radar'

RadarImage

Type: Material


RadarWorldLeft

Type: float


RadarWorldSize

Type: float


RadarWorldTop

Type: float


TeamIndicatorAngle

Type: float


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 

Structs

SquibInfo

Modifiers: native

Actor Template 
Actor Effect 

UIComponentInfo

Modifiers: native

string Component 
string Parent 

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


RegisterAffectedTemplate

native(1082) final function RegisterAffectedTemplate (Object ParticleTemplate)


RegisterExternalForce

native(1080) final function RegisterExternalForce (Object Force)


UnRegisterAffectedTemplate

native(1083) final function UnRegisterAffectedTemplate (Object ParticleTemplate)


UnRegisterExternalForce

native(1081) final function UnRegisterExternalForce (Object Force)


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