Gah - a solution with more questions. – EntropicLqd

UE2:LevelInfo (U2XMP)

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

Contents

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

Constants

MINCOMMONRADIUS

Value: 20.0

min typical radius for non-human intelligent creatures

HUMANRADIUS

Value: 28.0

normal player pawn radius

COMMONRADIUS

Value: 34.0

max typical radius of intelligent creatures

MAXCOMMONRADIUS

Value: 100.0

max radius to consider in building paths

MINCOMMONHEIGHT

Value: 20.0

min typical height for non-human intelligent creatures

HUMANHEIGHT

Value: 54.0

normal playerpawn height

COMMONHEIGHT

Value: 70.0

max typical radius of intelligent creatures

MAXCOMMONHEIGHT

Value: 100.0

max height to consider in building paths

CROUCHEDHUMANHEIGHT

Value: 32.0

crouched playerpawn height

TESTJUMPZ

Value: 470.0

jumpz for defining paths (based on player jumpz for your game)

TESTMAXFALLSPEED

Value: 2500.0

maximum landing speed without taking damage, for the pawntype that can survive the highest landing speed

TESTSTANDARDFALLSPEED

Value: 1200.0


PATHPRUNING

Value: 1.2

maximum relative length of indirect path to allow pruning of direct reachspec between two pathnodes

MAXJUMPHEIGHT

Value: 94.0

max height of ledge pawn can jump up onto

MINMOVETHRESHOLD

Value: 4.1

minimum distance to consider an AI predicted move valid

HUMANCROUCHHEIGHT

Value: 32.0


PathsMaxDist

Value: 1200.0


PathsMaxDistSquared

Value: 1440000.0


Properties

Property group 'Audio'

AudioMaxRadiusMultiplier

Type: float


Default value: 100.0

PlayerDoppler

Type: float

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

Song

Type: string

Filename of the streaming song.

Property group 'DirectMusic'

DMScript

Type: string


DMSong

Type: string


Property group 'LevelInfo'

ActorLists

Type: array<Actor.ActorList>


Author

Type: string

Who built it.

bCoronaPawnTrace

Type: bool

NEW (mwp)

bDisableObjectPoolPrecache

Type: bool


bLonePlayer

Type: bool

No multiplayer coordination, i.e. for entranceways.

bNeverPrecache

Type: bool


Brightness

Type: float


Default value: 1.0

bVerboseWarnings

Type: bool

NEW (mdf) controls which errors/warnings are shown when building level

CameraLocationDynamic

Type: Object.Vector


Default value:

Member Value
X -500.0
Y -300.0
Z 300.0

CameraLocationFront

Type: Object.Vector


Default value:

Member Value
X -500.0
Y 300.0
Z 40000.0

CameraLocationSide

Type: Object.Vector


Default value:

Member Value
X -300.0
Y 300.0
Z 40000.0

CameraLocationTop

Type: Object.Vector


Default value:

Member Value
X -500.0
Y -300.0
Z 40000.0

CameraRotationDynamic

Type: Object.Rotator


DefaultGameType

Type: string


DefaultInventory

Type: array<class<Inventory> >


EmptyObjectivesText

Type: string

Modifiers: localized


Default value: "No current objectives."

FarClippingPlane

Type: float


Default value: 65536.0

IdealPlayerCount

Type: int

Ideal number of players for this level.

LevelEnterText

Type: string

Modifiers: localized

Message to tell players when they enter.

LevelObjectives

Type: array<TLevelObjective>

Modifiers: localized


LocalizedPkg

Type: string

Package to look in for localizations.

MapName

Type: string

NEW (mdf) mapname (e.g. to get around autoplay issue) -- should be a valid filename

MP3Filename

Type: string


NearClippingPlane

Type: float

NEW (mwp) set NEAR_CLIPPING_PLANE with this value when the level is loaded

Default value: 10.0

ObjectPoolPrecacheList

Type: array<ObjectPoolPrecacheItem>

Modifiers: globalconfig


Default value:

Member Value
NumObjects 3
ObjectClass Class'Engine.ShadowBitmapMaterial'

PrecacheList

Type: array<class<Actor> >

NEW (mdf)

Screenshot

Type: Texture


TimeDilation

Type: float


Default value: 1.0

Title

Type: string

Modifiers: localized


Default value: "Untitled"

UIComponents

Type: array<UIComponentInfo>


Property group 'Paths'

bPathsFilterFly

Type: bool

NEW (mdf)

bPathsFilterSwim

Type: bool

NEW (mdf)

bPlayerOnlyPickups

Type: bool


Default value: True

PathsGroundSpeed

Type: float

NEW (mdf) groundspeed for defining paths (based on player groundspeed for your game)

Default value: 263.0

PathSizes

Type: array<Actor.TCollision>

NEW (mdf) DO NOT MODIFY THIS UNLESS YOU KNOW WHAT YOU ARE DOING - list of path sizes to use when building paths (smallest to largest)

Default value, index 0:

Member Value
Height 20.0
Radius 20.0

Default value, index 1:

Member Value
Height 32.0
Radius 28.0

Default value, index 2:

Member Value
Height 54.0
Radius 28.0

Default value, index 3:

Member Value
Height 70.0
Radius 34.0

Default value, index 4:

Member Value
Height 70.0
Radius 40.0

Default value, index 5:

Member Value
Height 70.0
Radius 60.0

Default value, index 6:

Member Value
Height 96.0
Radius 60.0

Default value, index 7:

Member Value
Height 100.0
Radius 80.0

Default value, index 8:

Member Value
Height 100.0
Radius 100.0

Default value, index 9:

Member Value
Height 100.0
Radius 120.0

PathsMaxJumpDistance

Type: float

NEW (mdf)

Default value: 3.4028235E38

PathsMaxJumpDownDistance

Type: float

NEW (mdf)

Default value: 3.4028235E38

PathsMaxJumpUpDistance

Type: float

NEW (mdf)

Default value: 3.4028235E38

PathsRebuiltStamp

Type: int

Modifiers: const, editconst

set to RequiredPathsRebuiltStamp when paths rebuilt

Default value: 1

RequiredPathsRebuiltStamp

Type: int

Modifiers: const, editconst

minimum stamp needed for paths to be considered valid (incremented when build changed in a way that requires paths to be rebuilt

Default value: 4

Internal variables

See LevelInfo internal variables.

Default values

Property Value
bAlwaysRelevant True
bHiddenEd True
bWorldGeometry True
NetUpdateFrequency 0.25

Enums

ELevelAction

LEVACT_None 
LEVACT_Loading 
LEVACT_Saving 
LEVACT_Connecting 
LEVACT_Precaching 
LEVACT_GameOver 
LEVACT_MissionFailed 
LEVACT_Initializing 

ELevelObjectiveStatus

OBJECTIVE_Disabled 
OBJECTIVE_Incomplete 
OBJECTIVE_Completed 
OBJECTIVE_Failed 

ENetMode

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

Structs

ObjectPoolPrecacheItem

Modifiers: native

Class ObjectClass 
int NumObjects 

TLevelObjective

Modifiers: native

name Tag 
string Text 
ELevelObjectiveStatus Status 

UIComponentInfo

Modifiers: native

string Component 
string Parent 

Functions

Native functions

AddList

native simulated final function AddList (name ListName, array<Actor.ActorTypeActorTypes)


AddURLOption

native simulated function AddURLOption (string Option, string Value)


GetAddressURL

native simulated function string GetAddressURL ()


GetLevelDesc

native simulated function LevelDesc GetLevelDesc ()


GetList

native simulated function array<ActorGetList (name ListName)


GetListNum

native simulated function int GetListNum (name ListName)


GetLocalURL

native simulated function string GetLocalURL ()


GetURLOption

native simulated function bool GetURLOption (string Option, out string Value)


HasURLOption

native simulated function bool HasURLOption (string Option)


RegisterAffectedTemplate

native(1082) final function RegisterAffectedTemplate (Object ParticleTemplate)


RegisterExternalForce

native(1080) final function RegisterExternalForce (Object Force)


RemoveList

native simulated final function RemoveList (name ListName)


RemoveURLOption

native simulated function RemoveURLOption (string Option)


UnRegisterAffectedTemplate

native(1083) final function UnRegisterAffectedTemplate (Object ParticleTemplate)


UnRegisterExternalForce

native(1081) final function UnRegisterExternalForce (Object Force)


Events

PreBeginPlay

simulated event PreBeginPlay ()

Overrides: ZoneInfo.PreBeginPlay


Replication

event Replication ()

Overrides: Actor.Replication


ServerTravel

event ServerTravel (string URL, bool bItems)


Other instance functions

AddMeshListEntry

function AddMeshListEntry (Actor A)


AddToCoverActorList

function AddToCoverActorList (Actor A)


AddToSpecialColliderList

function AddToSpecialColliderList (Actor A)


GetObjectives

function array<stringGetObjectives ()


HasSpecialColliders

function bool HasSpecialColliders ()


PrecacheObjects

simulated function PrecacheObjects ()


RemoveFromCoverActorList

function RemoveFromCoverActorList (Actor A)


RemoveFromSpecialColliderList

function RemoveFromSpecialColliderList (Actor A)


Reset

function Reset ()

Overrides: Actor.Reset


ThisIsNeverExecuted

function ThisIsNeverExecuted ()


UpdateObjective

function array<stringUpdateObjective (name Tag, ELevelObjectiveStatus Status)