UE2:LevelInfo (UT2004)

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

Contents

Package: 
Engine

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 'Camouflage'

IndoorCamouflageMesh

Type: StaticMesh


IndoorMeshDrawscale

Type: float


Default value: 1.0

OutdoorCamouflageMesh

Type: StaticMesh


OutdoorMeshDrawscale

Type: float


Default value: 1.0

Property group 'DustColor'

DustColor

Type: Object.Color


WaterDustColor

Type: Object.Color


Default value:

Member Value
B 255
G 255
R 255

Property group 'Headlights'

bUseHeadlights

Type: bool


Default value: True

HeadlightScaling

Type: float


Default value: 1.0

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.

LevelTextureLODBias

Type: int


LocalizedPkg

Type: string

Package to look in for localizations.

MeshLODDetailLevel

Type: EMeshLODDetailLevel

Modifiers: config


Default value: MDL_Medium

PhysicsDetailLevel

Type: EPhysicsDetailLevel

Modifiers: config


Default value: PDL_Medium

PreCacheGame

Type: string


Default value: "xGame.xDeathMatch"

StallZ

Type: float


Default value: 10000.0

Property group 'LevelSummary'

Author

Type: string

The creator of the map. If your using a nickname then it is recommend to write your first name then 'NICKNAMEHERE' and ending with your last name e.g. Sjoerd 'Hourences' De Jong.

See LevelInfo (UT2004) for more information.

Default value: "Anonymous"

DecoTextName

Type: string


Description

Type: string


ExtraInfo

Type: string


HideFromMenus

Type: bool


IdealPlayerCountMax

Type: int


Default value: 10

IdealPlayerCountMin

Type: int


Default value: 6

Screenshot

Type: Material


Title

Type: string

Modifiers: localized


Default value: "Untitled"

Property group 'RadarMap'

bShowRadarMap

Type: bool


Default value: True

bUseTerrainForRadarRange

Type: bool


Default value: True

CustomRadarRange

Type: float


Default value: 10000.0

RadarMapImage

Type: Material


Property group 'SaveGames'

bSupportSaveGames

Type: bool


Property group 'SinglePlayer'

SinglePlayerTeamSize

Type: int


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 

EMeshLODDetailLevel

MDL_Low 
MDL_Medium 
MDL_High 
MDL_Ultra 

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 

Functions

Static native functions

IsDemoBuild

native simulated static final function bool IsDemoBuild ()


IsSoftwareRendering

native simulated static final function bool IsSoftwareRendering ()


Native functions

DetailChange

native simulated function DetailChange (Object.EDetailMode NewDetailMode)


ForceLoadTexture

native simulated function ForceLoadTexture (Texture Texture)


GetAddressURL

native simulated function string GetAddressURL ()


GetLocalURL

native simulated function string GetLocalURL ()


GetPhysicsVolume

native simulated function PhysicsVolume GetPhysicsVolume (Object.Vector Loc)


IsEntry

native simulated function bool IsEntry ()


IsPendingConnection

native simulated function bool IsPendingConnection ()


UpdateDistanceFogLOD

native simulated function UpdateDistanceFogLOD (float LOD)


Events

FillPrecacheMaterialsArray

simulated event FillPrecacheMaterialsArray (bool FullPrecache)


FillPrecacheStaticMeshesArray

simulated event FillPrecacheStaticMeshesArray (bool FullPrecache)


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


PrecacheAnnouncements

simulated function PrecacheAnnouncements ()


Reset

function Reset ()

Overrides: Actor.Reset


ThisIsNeverExecuted

function ThisIsNeverExecuted ()