Once I get that upgrade to 36-hour days, I will tackle that. – Mychaeel

UE2:LevelInfo (U2XMP)

From Unreal Wiki, The Unreal Engine Documentation Site
(Redirected from UE2:ENetMode (U2XMP))
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[edit]

MINCOMMONRADIUS[edit]

Value: 20.0

min typical radius for non-human intelligent creatures

HUMANRADIUS[edit]

Value: 28.0

normal player pawn radius

COMMONRADIUS[edit]

Value: 34.0

max typical radius of intelligent creatures

MAXCOMMONRADIUS[edit]

Value: 100.0

max radius to consider in building paths

MINCOMMONHEIGHT[edit]

Value: 20.0

min typical height for non-human intelligent creatures

HUMANHEIGHT[edit]

Value: 54.0

normal playerpawn height

COMMONHEIGHT[edit]

Value: 70.0

max typical radius of intelligent creatures

MAXCOMMONHEIGHT[edit]

Value: 100.0

max height to consider in building paths

CROUCHEDHUMANHEIGHT[edit]

Value: 32.0

crouched playerpawn height

TESTJUMPZ[edit]

Value: 470.0

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

TESTMAXFALLSPEED[edit]

Value: 2500.0

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

TESTSTANDARDFALLSPEED[edit]

Value: 1200.0


PATHPRUNING[edit]

Value: 1.2

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

MAXJUMPHEIGHT[edit]

Value: 94.0

max height of ledge pawn can jump up onto

MINMOVETHRESHOLD[edit]

Value: 4.1

minimum distance to consider an AI predicted move valid

HUMANCROUCHHEIGHT[edit]

Value: 32.0


PathsMaxDist[edit]

Value: 1200.0


PathsMaxDistSquared[edit]

Value: 1440000.0


Properties[edit]

Property group 'Audio'[edit]

AudioMaxRadiusMultiplier[edit]

Type: float


Default value: 100.0

PlayerDoppler[edit]

Type: float

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

Song[edit]

Type: string

Filename of the streaming song.

Property group 'DirectMusic'[edit]

DMScript[edit]

Type: string


DMSong[edit]

Type: string


Property group 'LevelInfo'[edit]

ActorLists[edit]

Type: array<Actor.ActorList>


Author[edit]

Type: string

Who built it.

bCoronaPawnTrace[edit]

Type: bool

NEW (mwp)

bDisableObjectPoolPrecache[edit]

Type: bool


bLonePlayer[edit]

Type: bool

No multiplayer coordination, i.e. for entranceways.

bNeverPrecache[edit]

Type: bool


Brightness[edit]

Type: float


Default value: 1.0

bVerboseWarnings[edit]

Type: bool

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

CameraLocationDynamic[edit]

Type: Object.Vector


Default value:

Member Value
X -500.0
Y -300.0
Z 300.0

CameraLocationFront[edit]

Type: Object.Vector


Default value:

Member Value
X -500.0
Y 300.0
Z 40000.0

CameraLocationSide[edit]

Type: Object.Vector


Default value:

Member Value
X -300.0
Y 300.0
Z 40000.0

CameraLocationTop[edit]

Type: Object.Vector


Default value:

Member Value
X -500.0
Y -300.0
Z 40000.0

CameraRotationDynamic[edit]

Type: Object.Rotator


DefaultGameType[edit]

Type: string


DefaultInventory[edit]

Type: array<class<Inventory> >


EmptyObjectivesText[edit]

Type: string

Modifiers: localized


Default value: "No current objectives."

FarClippingPlane[edit]

Type: float


Default value: 65536.0

IdealPlayerCount[edit]

Type: int

Ideal number of players for this level.

LevelEnterText[edit]

Type: string

Modifiers: localized

Message to tell players when they enter.

LevelObjectives[edit]

Type: array<TLevelObjective>

Modifiers: localized


LocalizedPkg[edit]

Type: string

Package to look in for localizations.

MapName[edit]

Type: string

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

MP3Filename[edit]

Type: string


NearClippingPlane[edit]

Type: float

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

Default value: 10.0

ObjectPoolPrecacheList[edit]

Type: array<ObjectPoolPrecacheItem>

Modifiers: globalconfig


Default value:

Member Value
NumObjects 3
ObjectClass Class'Engine.ShadowBitmapMaterial'

PrecacheList[edit]

Type: array<class<Actor> >

NEW (mdf)

Screenshot[edit]

Type: Texture


TimeDilation[edit]

Type: float


Default value: 1.0

Title[edit]

Type: string

Modifiers: localized


Default value: "Untitled"

UIComponents[edit]

Type: array<UIComponentInfo>


Property group 'Paths'[edit]

bPathsFilterFly[edit]

Type: bool

NEW (mdf)

bPathsFilterSwim[edit]

Type: bool

NEW (mdf)

bPlayerOnlyPickups[edit]

Type: bool


Default value: True

PathsGroundSpeed[edit]

Type: float

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

Default value: 263.0

PathSizes[edit]

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[edit]

Type: float

NEW (mdf)

Default value: 3.4028235E38

PathsMaxJumpDownDistance[edit]

Type: float

NEW (mdf)

Default value: 3.4028235E38

PathsMaxJumpUpDistance[edit]

Type: float

NEW (mdf)

Default value: 3.4028235E38

PathsRebuiltStamp[edit]

Type: int

Modifiers: const, editconst

set to RequiredPathsRebuiltStamp when paths rebuilt

Default value: 1

RequiredPathsRebuiltStamp[edit]

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[edit]

See LevelInfo internal variables.

Default values[edit]

Property Value
bAlwaysRelevant True
bHiddenEd True
bWorldGeometry True
NetUpdateFrequency 0.25

Enums[edit]

ELevelAction[edit]

LEVACT_None 
LEVACT_Loading 
LEVACT_Saving 
LEVACT_Connecting 
LEVACT_Precaching 
LEVACT_GameOver 
LEVACT_MissionFailed 
LEVACT_Initializing 

ELevelObjectiveStatus[edit]

OBJECTIVE_Disabled 
OBJECTIVE_Incomplete 
OBJECTIVE_Completed 
OBJECTIVE_Failed 

ENetMode[edit]

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

Structs[edit]

ObjectPoolPrecacheItem[edit]

Modifiers: native

Class ObjectClass 
int NumObjects 

TLevelObjective[edit]

Modifiers: native

name Tag 
string Text 
ELevelObjectiveStatus Status 

UIComponentInfo[edit]

Modifiers: native

string Component 
string Parent 

Functions[edit]

Native functions[edit]

AddList[edit]

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


AddURLOption[edit]

native simulated function AddURLOption (string Option, string Value)


GetAddressURL[edit]

native simulated function string GetAddressURL ()


GetLevelDesc[edit]

native simulated function LevelDesc GetLevelDesc ()


GetList[edit]

native simulated function array<ActorGetList (name ListName)


GetListNum[edit]

native simulated function int GetListNum (name ListName)


GetLocalURL[edit]

native simulated function string GetLocalURL ()


GetURLOption[edit]

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


HasURLOption[edit]

native simulated function bool HasURLOption (string Option)


RegisterAffectedTemplate[edit]

native(1082) final function RegisterAffectedTemplate (Object ParticleTemplate)


RegisterExternalForce[edit]

native(1080) final function RegisterExternalForce (Object Force)


RemoveList[edit]

native simulated final function RemoveList (name ListName)


RemoveURLOption[edit]

native simulated function RemoveURLOption (string Option)


UnRegisterAffectedTemplate[edit]

native(1083) final function UnRegisterAffectedTemplate (Object ParticleTemplate)


UnRegisterExternalForce[edit]

native(1081) final function UnRegisterExternalForce (Object Force)


Events[edit]

PreBeginPlay[edit]

simulated event PreBeginPlay ()

Overrides: ZoneInfo.PreBeginPlay


Replication[edit]

event Replication ()

Overrides: Actor.Replication


ServerTravel[edit]

event ServerTravel (string URL, bool bItems)


Other instance functions[edit]

AddMeshListEntry[edit]

function AddMeshListEntry (Actor A)


AddToCoverActorList[edit]

function AddToCoverActorList (Actor A)


AddToSpecialColliderList[edit]

function AddToSpecialColliderList (Actor A)


GetObjectives[edit]

function array<stringGetObjectives ()


HasSpecialColliders[edit]

function bool HasSpecialColliders ()


PrecacheObjects[edit]

simulated function PrecacheObjects ()


RemoveFromCoverActorList[edit]

function RemoveFromCoverActorList (Actor A)


RemoveFromSpecialColliderList[edit]

function RemoveFromSpecialColliderList (Actor A)


Reset[edit]

function Reset ()

Overrides: Actor.Reset


ThisIsNeverExecuted[edit]

function ThisIsNeverExecuted ()


UpdateObjective[edit]

function array<stringUpdateObjective (name Tag, ELevelObjectiveStatus Status)