Always snap to grid

UE2:LevelInfo (UE2Runtime)

From Unreal Wiki, The Unreal Engine Documentation Site
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[edit]

Property group 'Audio'[edit]

MusicVolumeOverride[edit]

Type: float


Default value: -1.0

PlayerDoppler[edit]

Type: float

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

Song[edit]

Type: string

Filename of the streaming song.

Property group 'Karma'[edit]

bKStaticFriction[edit]

Type: bool

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

Default value: True

KarmaGravScale[edit]

Type: float

Allows you to make ragdolls use lower friction than normal.

Default value: 1.0

KarmaTimeScale[edit]

Type: float

Karma physics timestep scaling.

Default value: 0.9

MaxRagdolls[edit]

Type: int

Maximum number of simultaneous rag-dolls.

Default value: 4

RagdollTimeScale[edit]

Type: float

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

Default value: 1.0

Property group 'LevelInfo'[edit]

bKNoInit[edit]

Type: bool


bLonePlayer[edit]

Type: bool

No multiplayer coordination, i.e. for entranceways.

Brightness[edit]

Type: float


Default value: 1.0

CameraLocationDynamic[edit]

Type: Object.Vector


CameraLocationFront[edit]

Type: Object.Vector


CameraLocationSide[edit]

Type: Object.Vector


CameraLocationTop[edit]

Type: Object.Vector


CameraRotationDynamic[edit]

Type: Object.Rotator


DefaultGameType[edit]

Type: string


LevelEnterText[edit]

Type: string

Modifiers: localized

Message to tell players when they enter.

LocalizedPkg[edit]

Type: string

Package to look in for localizations.

PhysicsDetailLevel[edit]

Type: EPhysicsDetailLevel

Modifiers: config


Default value: PDL_Medium

PreCacheGame[edit]

Type: string


Default value: "Engine.GameInfo"

Screenshot[edit]

Type: Texture


TimeDilation[edit]

Type: float


Default value: 1.0

Property group 'LevelSummary'[edit]

Author[edit]

Type: string


HideFromMenus[edit]

Type: bool


RecommendedNumPlayers[edit]

Type: int


Title[edit]

Type: string

Modifiers: localized


Default value: "Untitled"

Internal variables[edit]

See LevelInfo internal variables.

Default values[edit]

Property Value
bAlwaysRelevant True
bHiddenEd True
bWorldGeometry True
RemoteRole ROLE_DumbProxy

Enums[edit]

ELevelAction[edit]

LEVACT_None 
LEVACT_Loading 
LEVACT_Saving 
LEVACT_Connecting 
LEVACT_Precaching 

ENetMode[edit]

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

EPhysicsDetailLevel[edit]

PDL_Low 
PDL_Medium 
PDL_High 

Functions[edit]

Native functions[edit]

DetailChange[edit]

native simulated function DetailChange (Actor.EDetailMode NewDetailMode)


GetAddressURL[edit]

native simulated function string GetAddressURL ()


GetLocalURL[edit]

native simulated function string GetLocalURL ()


IsDemoBuild[edit]

native simulated final function bool IsDemoBuild ()


IsEntry[edit]

native simulated function bool IsEntry ()


Events[edit]

FillPrecacheMaterialsArray[edit]

simulated event FillPrecacheMaterialsArray ()


FillPrecacheStaticMeshesArray[edit]

simulated event FillPrecacheStaticMeshesArray ()


PostBeginPlay[edit]

simulated event PostBeginPlay ()

Overrides: Actor.PostBeginPlay


PreBeginPlay[edit]

simulated event PreBeginPlay ()

Overrides: ZoneInfo.PreBeginPlay


ServerTravel[edit]

event ServerTravel (string URL, bool bItems)


Other instance functions[edit]

AddPrecacheMaterial[edit]

simulated function AddPrecacheMaterial (Material mat)


AddPrecacheStaticMesh[edit]

simulated function AddPrecacheStaticMesh (StaticMesh stat)


GetGameClass[edit]

simulated function class<GameInfoGetGameClass ()


GetLocalPlayerController[edit]

simulated function PlayerController GetLocalPlayerController ()


Reset[edit]

function Reset ()

Overrides: Actor.Reset


ThisIsNeverExecuted[edit]

function ThisIsNeverExecuted ()