Mostly Harmless

UE2:LevelInfo (UT2004)

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

Contents

Package: 
Engine
This class in other games:
RTNP, U1, UT, UE2Runtime, UT2003, U2, 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 'Camouflage'[edit]

IndoorCamouflageMesh[edit]

Type: StaticMesh


IndoorMeshDrawscale[edit]

Type: float


Default value: 1.0

OutdoorCamouflageMesh[edit]

Type: StaticMesh


OutdoorMeshDrawscale[edit]

Type: float


Default value: 1.0

Property group 'DustColor'[edit]

DustColor[edit]

Type: Object.Color


WaterDustColor[edit]

Type: Object.Color


Default value:

Member Value
B 255
G 255
R 255

Property group 'Headlights'[edit]

bUseHeadlights[edit]

Type: bool


Default value: True

HeadlightScaling[edit]

Type: float


Default value: 1.0

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.

LevelTextureLODBias[edit]

Type: int


LocalizedPkg[edit]

Type: string

Package to look in for localizations.

MeshLODDetailLevel[edit]

Type: EMeshLODDetailLevel

Modifiers: config


Default value: MDL_Medium

PhysicsDetailLevel[edit]

Type: EPhysicsDetailLevel

Modifiers: config


Default value: PDL_Medium

PreCacheGame[edit]

Type: string


Default value: "xGame.xDeathMatch"

StallZ[edit]

Type: float


Default value: 10000.0

Property group 'LevelSummary'[edit]

Author[edit]

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

Type: string


Description[edit]

Type: string


ExtraInfo[edit]

Type: string


HideFromMenus[edit]

Type: bool


IdealPlayerCountMax[edit]

Type: int


Default value: 10

IdealPlayerCountMin[edit]

Type: int


Default value: 6

Screenshot[edit]

Type: Material


Title[edit]

Type: string

Modifiers: localized


Default value: "Untitled"

Property group 'RadarMap'[edit]

bShowRadarMap[edit]

Type: bool


Default value: True

bUseTerrainForRadarRange[edit]

Type: bool


Default value: True

CustomRadarRange[edit]

Type: float


Default value: 10000.0

RadarMapImage[edit]

Type: Material


Property group 'SaveGames'[edit]

bSupportSaveGames[edit]

Type: bool


Property group 'SinglePlayer'[edit]

SinglePlayerTeamSize[edit]

Type: int


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 

EMeshLODDetailLevel[edit]

MDL_Low 
MDL_Medium 
MDL_High 
MDL_Ultra 

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]

Static native functions[edit]

IsDemoBuild[edit]

native simulated static final function bool IsDemoBuild ()


IsSoftwareRendering[edit]

native simulated static final function bool IsSoftwareRendering ()


Native functions[edit]

DetailChange[edit]

native simulated function DetailChange (Object.EDetailMode NewDetailMode)


ForceLoadTexture[edit]

native simulated function ForceLoadTexture (Texture Texture)


GetAddressURL[edit]

native simulated function string GetAddressURL ()


GetLocalURL[edit]

native simulated function string GetLocalURL ()


GetPhysicsVolume[edit]

native simulated function PhysicsVolume GetPhysicsVolume (Object.Vector Loc)


IsEntry[edit]

native simulated function bool IsEntry ()


IsPendingConnection[edit]

native simulated function bool IsPendingConnection ()


UpdateDistanceFogLOD[edit]

native simulated function UpdateDistanceFogLOD (float LOD)


Events[edit]

FillPrecacheMaterialsArray[edit]

simulated event FillPrecacheMaterialsArray (bool FullPrecache)


FillPrecacheStaticMeshesArray[edit]

simulated event FillPrecacheStaticMeshesArray (bool FullPrecache)


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


PrecacheAnnouncements[edit]

simulated function PrecacheAnnouncements ()


Reset[edit]

function Reset ()

Overrides: Actor.Reset


ThisIsNeverExecuted[edit]

function ThisIsNeverExecuted ()