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

Difference between revisions of "UE1:LevelInfo (UT)"

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
(VisibleGroups)
m (Author, Engine Version and Game description)
 
Line 6: Line 6:
 
| parent4 = Object
 
| parent4 = Object
 
}}
 
}}
{{autogenerated}}
+
{{expand}}
 
LevelInfo contains information about the current level. There should
 
LevelInfo contains information about the current level. There should
 
be one per level and it should be actor 0. UnrealEd creates each level's
 
be one per level and it should be actor 0. UnrealEd creates each level's
Line 49: Line 49:
 
'''Type:''' [[string]]
 
'''Type:''' [[string]]
  
Who built it.
+
{{:Author property}}
  
 
====bCheckWalkSurfaces====
 
====bCheckWalkSurfaces====
Line 229: Line 229:
 
'''Type:''' [[string]]
 
'''Type:''' [[string]]
  
Engine version.
+
The current engine version this client/server is running on.
  
 
====Game====
 
====Game====
 
'''Type:''' {{cl|GameInfo}}
 
'''Type:''' {{cl|GameInfo}}
  
<!-- enter variable description -->
+
A reference to the current used {{cl|GameInfo}} instance.
 +
'''Note:''' This is only set on the serverside!.
  
 
====Hour====
 
====Hour====

Latest revision as of 13:09, 11 July 2010

UT Object >> Actor >> Info >> ZoneInfo >> LevelInfo
Package: 
Engine
This class in other games:
RTNP, U1, UE2Runtime, UT2003, U2, UT2004, 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]

CdTrack[edit]

Type: byte

Modifiers: const

Default CD track for level.

Default value: 255

PlayerDoppler[edit]

Type: float


Song[edit]

Type: Music

Modifiers: const

Default song for level.

SongSection[edit]

Type: byte

Modifiers: const

Default song order for level.

Property group 'LevelInfo'[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 (UT) for more information.

bCheckWalkSurfaces[edit]

Type: bool


bHumansOnly[edit]

Type: bool

Only allow "human" player pawns in this level

bLonePlayer[edit]

Type: bool

No multiplayer coordination, i.e. for entranceways.

bNeverPrecache[edit]

Type: bool


Brightness[edit]

Type: float


Default value: 1.0

DefaultGameType[edit]

Type: class<GameInfo>


IdealPlayerCount[edit]

Type: string

Modifiers: localized

Ideal number of players for this level. I.E.: 6-8

LevelEnterText[edit]

Type: string

Modifiers: localized

Message to tell players when they enter.

LocalizedPkg[edit]

Type: string

Package to look in for localizations.

RecommendedEnemies[edit]

Type: int

number of enemy bots recommended (used by rated games)

RecommendedTeammates[edit]

Type: int

number of friendly bots recommended (used by rated games)

Screenshot[edit]

Type: Texture


TimeDilation[edit]

Type: float


Default value: 1.0

Title[edit]

Type: string

Modifiers: localized


Default value: "Untitled"

Internal variables[edit]

AIProfile[edit]

Type: int

Array size: 8

TEMP statistics

AvgAITime[edit]

Type: float


bAggressiveLOD[edit]

Type: bool

frame rate is well below DesiredFrameRate, so make LOD more aggressive

bAllowFOV[edit]

Type: bool


bBegunPlay[edit]

Type: bool

Whether gameplay has begun.

bDropDetail[edit]

Type: bool

frame rate is below DesiredFrameRate, so drop high detail actors

bHighDetailMode[edit]

Type: bool

Client high-detail mode.

Default value: True

bLowRes[edit]

Type: bool

Modifiers: config


bNextItems[edit]

Type: bool


bNoCheating[edit]

Type: bool


bPlayersOnly[edit]

Type: bool

Only update players.

bStartup[edit]

Type: bool

Starting gameplay.

ComputerName[edit]

Type: string

Machine's name according to the OS.

Day[edit]

Type: int

Modifiers: transient

Day of month.

DayOfWeek[edit]

Type: int

Modifiers: transient

Day of week.

DefaultTexture[edit]

Type: Texture


Default value: Texture'Engine.DefaultTexture'

EngineVersion[edit]

Type: string

The current engine version this client/server is running on.

Game[edit]

Type: GameInfo

A reference to the current used GameInfo instance. Note: This is only set on the serverside!.

Hour[edit]

Type: int

Modifiers: transient

Hour.

HubStackLevel[edit]

Type: int


LevelAction[edit]

Type: ELevelAction

Modifiers: transient


Millisecond[edit]

Type: int

Modifiers: transient


MinNetVersion[edit]

Type: string


Minute[edit]

Type: int

Modifiers: transient

Minute.

Month[edit]

Type: int

Modifiers: transient

Month.

NavigationPointList[edit]

Type: NavigationPoint

Modifiers: const


NetMode[edit]

Type: ENetMode


NextSwitchCountdown[edit]

Type: float


NextURL[edit]

Type: string


Pauser[edit]

Type: string

If paused, name of person pausing the game.

PawnList[edit]

Type: Pawn

Modifiers: const


Second[edit]

Type: int

Modifiers: transient

Second.

SpawnNotify[edit]

Type: SpawnNotify


Summary[edit]

Type: LevelSummary


TimeSeconds[edit]

Type: float

Time in seconds since level began play.

VisibleGroups[edit]

Type: string

Set which actors with this groupname will be displayed in UnrealEd. If set to "", no actors will be visible within UnrealEd.

Default value: "None"

Year[edit]

Type: int

Modifiers: transient

Year.

Default values[edit]

Property Value
bHiddenEd True

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.

Functions[edit]

Native functions[edit]

GetAddressURL[edit]

native simulated function string GetAddressURL ()


GetLocalURL[edit]

native simulated function string GetLocalURL ()


Events[edit]

ServerTravel[edit]

event ServerTravel (string URL, bool bItems)