The three virtues of a programmer: Laziness, Impatience, and Hubris. – Larry Wall

UE2:LevelInfo (U2)

From Unreal Wiki, The Unreal Engine Documentation Site
(Redirected from UE2:ENetMode (U2))
Jump to: navigation, search
U2 Object >> Actor >> Info >> ZoneInfo >> LevelInfo

Contents

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

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


StartSpot[edit]

Type: Engine.SpectatorCam


TimeDilation[edit]

Type: float


Default value: 1.0

UIComponents[edit]

Type: array<UIComponentInfo>


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"

Property group 'Radar'[edit]

RadarImage[edit]

Type: Material


RadarWorldLeft[edit]

Type: float


RadarWorldSize[edit]

Type: float


RadarWorldTop[edit]

Type: float


TeamIndicatorAngle[edit]

Type: float


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 

Structs[edit]

SquibInfo[edit]

Modifiers: native

Actor Template 
Actor Effect 

UIComponentInfo[edit]

Modifiers: native

string Component 
string Parent 

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


RegisterAffectedTemplate[edit]

native(1082) final function RegisterAffectedTemplate (Object ParticleTemplate)


RegisterExternalForce[edit]

native(1080) final function RegisterExternalForce (Object Force)


UnRegisterAffectedTemplate[edit]

native(1083) final function UnRegisterAffectedTemplate (Object ParticleTemplate)


UnRegisterExternalForce[edit]

native(1081) final function UnRegisterExternalForce (Object Force)


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