I don't need to test my programs. I have an error-correcting modem.
Difference between revisions of "UE2:LevelInfo internal variables (UT2004)"
(Auto-generated page) |
m (→TimeSeconds: reworded for clarity) |
||
(4 intermediate revisions by 2 users not shown) | |||
Line 7: | Line 7: | ||
| parent4 = Object | | parent4 = Object | ||
}} | }} | ||
− | {{ | + | {{expand}} |
− | == | + | ==Date/Time== |
+ | ====Year==== | ||
+ | '''Type:''' [[int]] | ||
+ | |||
+ | '''[[Variables#Modifiers|Modifiers]]:''' transient | ||
+ | |||
+ | Current year. | ||
+ | |||
+ | ====Month==== | ||
+ | '''Type:''' [[int]] | ||
+ | |||
+ | '''[[Variables#Modifiers|Modifiers]]:''' transient | ||
+ | |||
+ | Current month of the year. (1 = January, ..., 12 = December) | ||
+ | |||
+ | ====Day==== | ||
+ | '''Type:''' [[int]] | ||
+ | |||
+ | '''[[Variables#Modifiers|Modifiers]]:''' transient | ||
+ | |||
+ | Current day of the month. (1 to 31) | ||
+ | |||
+ | ====DayOfWeek==== | ||
+ | '''Type:''' [[int]] | ||
+ | |||
+ | '''[[Variables#Modifiers|Modifiers]]:''' transient | ||
+ | |||
+ | Current day of week. (0 = Sunday, 1 = Monday, ..., 6 = Saturday) | ||
+ | |||
+ | ====Hour==== | ||
+ | '''Type:''' [[int]] | ||
+ | |||
+ | '''[[Variables#Modifiers|Modifiers]]:''' transient | ||
+ | |||
+ | Current hour. (0 to 23) | ||
+ | |||
+ | ====Minute==== | ||
+ | '''Type:''' [[int]] | ||
+ | |||
+ | '''[[Variables#Modifiers|Modifiers]]:''' transient | ||
+ | |||
+ | Current minute. (0 to 59) | ||
+ | |||
+ | ====Second==== | ||
+ | '''Type:''' [[int]] | ||
+ | |||
+ | '''[[Variables#Modifiers|Modifiers]]:''' transient | ||
+ | |||
+ | Current second of the minute. (0 to 59) | ||
+ | |||
+ | ====Millisecond==== | ||
+ | '''Type:''' [[int]] | ||
+ | |||
+ | '''[[Variables#Modifiers|Modifiers]]:''' transient | ||
+ | |||
+ | Current millisecond. (0 to 999) | ||
+ | |||
+ | ====TimeDilation==== | ||
+ | '''Type:''' [[float]] | ||
+ | |||
+ | Game time scaling in relation to real time. | ||
+ | |||
+ | '''Default value:''' 1.1 | ||
+ | |||
+ | ====TimeSeconds==== | ||
+ | '''Type:''' [[float]] | ||
+ | |||
+ | Time (in game seconds) passed since the level was loaded. | ||
+ | |||
+ | ==Other variables== | ||
====AnimMeshGlobalLOD==== | ====AnimMeshGlobalLOD==== | ||
'''Type:''' [[float]] | '''Type:''' [[float]] | ||
Line 19: | Line 88: | ||
'''Type:''' [[bool]] | '''Type:''' [[bool]] | ||
− | frame rate is | + | If <code>True</code>, the frame rate is more than 10 FPS below the DesiredFrameRate, so effect complexity should be reduced more aggressively. (Also see {{tl|bDropDetail}}.) |
====bBegunPlay==== | ====bBegunPlay==== | ||
'''Type:''' [[bool]] | '''Type:''' [[bool]] | ||
− | Whether | + | Whether [[UnrealScript]] code execution has begun. (See [[What happens at map startup#General preparations]] for details.) |
====bClassicView==== | ====bClassicView==== | ||
'''Type:''' [[bool]] | '''Type:''' [[bool]] | ||
− | + | ''Unused.'' | |
====bDesireSkinPreload==== | ====bDesireSkinPreload==== | ||
Line 36: | Line 105: | ||
'''[[Variables#Modifiers|Modifiers]]:''' globalconfig | '''[[Variables#Modifiers|Modifiers]]:''' globalconfig | ||
− | + | Whether all player skins should be precached. | |
====bDropDetail==== | ====bDropDetail==== | ||
'''Type:''' [[bool]] | '''Type:''' [[bool]] | ||
− | frame rate is below DesiredFrameRate | + | Whether the frame rate is below DesiredFrameRate. Effects should reduce complexity or not spawn at all to prevent further slowdowns. (Also see {{tl|bAggressiveLOD}}.) |
====bFreezeKarma==== | ====bFreezeKarma==== | ||
Line 51: | Line 120: | ||
'''Type:''' [[bool]] | '''Type:''' [[bool]] | ||
− | + | Set by the path building logic if the level contains at least one {{cl|PathNode}}. The editor won't report pathing-related errors if this isn't set. | |
====bIsSaveGame==== | ====bIsSaveGame==== | ||
'''Type:''' [[bool]] | '''Type:''' [[bool]] | ||
− | + | Set to <code>True</code> when the game is saved, reset to <code>False</code> after a saved game was loaded. | |
====bKickLiveIdlers==== | ====bKickLiveIdlers==== | ||
Line 63: | Line 132: | ||
'''[[Variables#Modifiers|Modifiers]]:''' globalconfig | '''[[Variables#Modifiers|Modifiers]]:''' globalconfig | ||
− | + | If false, only dead players are considered for idle kicking. | |
====bLevelChange==== | ====bLevelChange==== | ||
'''Type:''' [[bool]] | '''Type:''' [[bool]] | ||
− | < | + | Set to <code>True</code> when the a new map is about to be loaded. |
====bLowSoundDetail==== | ====bLowSoundDetail==== | ||
Line 75: | Line 144: | ||
'''[[Variables#Modifiers|Modifiers]]:''' config | '''[[Variables#Modifiers|Modifiers]]:''' config | ||
− | + | Whether all voice packs should be overridden with the [[liandri:Juggernaut|Juggernaut]] voices. | |
====bNeverPrecache==== | ====bNeverPrecache==== | ||
Line 82: | Line 151: | ||
'''[[Variables#Modifiers|Modifiers]]:''' config | '''[[Variables#Modifiers|Modifiers]]:''' config | ||
− | + | ''Unused.'' | |
====bNextItems==== | ====bNextItems==== | ||
'''Type:''' [[bool]] | '''Type:''' [[bool]] | ||
− | + | Set at map change to indicate that items should travel to the new level. Note that the stock game types delete items received from the previous level by default. | |
====bPathsRebuilt==== | ====bPathsRebuilt==== | ||
'''Type:''' [[bool]] | '''Type:''' [[bool]] | ||
− | True | + | Set to <code>True</code> by the editor after paths have been built. Reset to <code>False</code> whenever a {{cl|NavigationPoint}} is added, moved or deleted, geometry is rebuilt or path-colliding actors or pickups are deleted. |
====bPlayersOnly==== | ====bPlayersOnly==== | ||
'''Type:''' [[bool]] | '''Type:''' [[bool]] | ||
− | + | Restricts updates to {{cl|PlayerController}}s and their owned {{cl|Pawn}}. Any other actors, including non-Pawn actors owned by PlayerControllers or their Pawns will not be updated if this is set. | |
====bShouldPreload==== | ====bShouldPreload==== | ||
Line 104: | Line 173: | ||
'''[[Variables#Modifiers|Modifiers]]:''' globalconfig | '''[[Variables#Modifiers|Modifiers]]:''' globalconfig | ||
− | + | Whether all player skins should be precached. Defaults to <code>True</code> after detecting initial system configuration if the system has more than 600MB RAM. | |
====bSkinsPreloaded==== | ====bSkinsPreloaded==== | ||
'''Type:''' [[bool]] | '''Type:''' [[bool]] | ||
− | + | Set after skins are preloaded. | |
====bStartup==== | ====bStartup==== | ||
'''Type:''' [[bool]] | '''Type:''' [[bool]] | ||
− | + | Set to <code>True</code> during the events described on [[What happens at map startup]] and to <code>False</code> afterwards. | |
====ComputerName==== | ====ComputerName==== | ||
Line 126: | Line 195: | ||
'''[[Variables#Modifiers|Modifiers]]:''' const | '''[[Variables#Modifiers|Modifiers]]:''' const | ||
− | + | The list of Controllers currently in the game. Controllers are added via {{tl|AddController|Controller}}() when they are spawned and removed via {{tl|RemoveController|Controller}}() when they are destroyed. This list is not maintained on clients in network games because only the client players's own PlayerController exists there. You can use {{tl|GetLocalPlayerController}}() to access it. | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
====DecalStayScale==== | ====DecalStayScale==== | ||
Line 154: | Line 209: | ||
'''Type:''' [[float]] | '''Type:''' [[float]] | ||
− | + | Z component of the {{cl|DefaultPhysicsVolume}}'s Gravity property. X and Y components will be zero. | |
'''Default value:''' -950.0 | '''Default value:''' -950.0 | ||
Line 177: | Line 232: | ||
'''Type:''' [[string]] | '''Type:''' [[string]] | ||
− | + | The current engine version this client/server is running on. | |
====Game==== | ====Game==== | ||
'''Type:''' {{cl|GameInfo}} | '''Type:''' {{cl|GameInfo}} | ||
− | + | A reference to the current used {{cl|GameInfo}} instance. | |
+ | '''Note:''' This is only set on the serverside because the GameInfo doesn't exist on clients. | ||
====GRI==== | ====GRI==== | ||
Line 189: | Line 245: | ||
'''[[Variables#Modifiers|Modifiers]]:''' transient | '''[[Variables#Modifiers|Modifiers]]:''' transient | ||
− | + | A reference to the current GameReplicationInfo instance. Available on server and clients as soon as the GRI was spawned or replicated. | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
====HubStackLevel==== | ====HubStackLevel==== | ||
Line 234: | Line 283: | ||
'''[[Variables#Modifiers|Modifiers]]:''' private | '''[[Variables#Modifiers|Modifiers]]:''' private | ||
− | + | Cached reference to the local PlayerController. | |
====MaxClientFrameRate==== | ====MaxClientFrameRate==== | ||
Line 253: | Line 302: | ||
'''Default value:''' 1.0 | '''Default value:''' 1.0 | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
====MinNetVersion==== | ====MinNetVersion==== | ||
'''Type:''' [[string]] | '''Type:''' [[string]] | ||
− | + | Minimum required remote engine version for network play. | |
====MinTimeMargin==== | ====MinTimeMargin==== | ||
Line 274: | Line 316: | ||
'''Default value:''' -1.0 | '''Default value:''' -1.0 | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
====MoveRepSize==== | ====MoveRepSize==== | ||
Line 301: | Line 329: | ||
'''[[Variables#Modifiers|Modifiers]]:''' const | '''[[Variables#Modifiers|Modifiers]]:''' const | ||
− | + | [[Linked list]] of all NavigationPoints for which paths have been built. The list will be empty if paths have never been built in [[UnrealEd]]. NavigationPoints added after the last path rebuild are not in this list. | |
====NetMode==== | ====NetMode==== | ||
Line 354: | Line 382: | ||
'''[[Variables#Modifiers|Modifiers]]:''' const | '''[[Variables#Modifiers|Modifiers]]:''' const | ||
− | + | The player currently replicating to. (Only valid in [[replication condition]]s.) | |
====ReplicationViewTarget==== | ====ReplicationViewTarget==== | ||
Line 361: | Line 389: | ||
'''[[Variables#Modifiers|Modifiers]]:''' const | '''[[Variables#Modifiers|Modifiers]]:''' const | ||
− | + | {{tl|ViewTarget||PlayerController internal variables}} of the player currently replicating to. (Only valid in [[replication condition]]s.) | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
====Summary==== | ====Summary==== | ||
'''Type:''' {{cl|LevelSummary}} | '''Type:''' {{cl|LevelSummary}} | ||
− | + | Mirrors the level summary properties. This is created automatically when the map is saved in the editor. | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
====TimeMarginSlack==== | ====TimeMarginSlack==== | ||
Line 390: | Line 404: | ||
'''Default value:''' 1.35 | '''Default value:''' 1.35 | ||
− | |||
− | |||
− | |||
− | |||
− | |||
====VisibleGroups==== | ====VisibleGroups==== | ||
'''Type:''' [[string]] | '''Type:''' [[string]] | ||
− | + | Comma-separated list of visible actor groups. | |
'''Default value:''' "None" | '''Default value:''' "None" | ||
Line 416: | Line 425: | ||
'''Default value:''' WhiteSquareTexture | '''Default value:''' WhiteSquareTexture | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− |
Latest revision as of 08:44, 30 August 2010
Contents
- 1 Date/Time
- 2 Other variables
- 2.1 AnimMeshGlobalLOD
- 2.2 bAggressiveLOD
- 2.3 bBegunPlay
- 2.4 bClassicView
- 2.5 bDesireSkinPreload
- 2.6 bDropDetail
- 2.7 bFreezeKarma
- 2.8 bHasPathNodes
- 2.9 bIsSaveGame
- 2.10 bKickLiveIdlers
- 2.11 bLevelChange
- 2.12 bLowSoundDetail
- 2.13 bNeverPrecache
- 2.14 bNextItems
- 2.15 bPathsRebuilt
- 2.16 bPlayersOnly
- 2.17 bShouldPreload
- 2.18 bSkinsPreloaded
- 2.19 bStartup
- 2.20 ComputerName
- 2.21 ControllerList
- 2.22 DecalStayScale
- 2.23 DefaultGravity
- 2.24 DefaultTexture
- 2.25 DetailMode
- 2.26 EngineVersion
- 2.27 Game
- 2.28 GRI
- 2.29 HubStackLevel
- 2.30 LargeVertex
- 2.31 LastTaunt
- 2.32 LastVehicleCheck
- 2.33 LevelAction
- 2.34 LocalPlayerController
- 2.35 MaxClientFrameRate
- 2.36 MaxTimeMargin
- 2.37 MinNetVersion
- 2.38 MinTimeMargin
- 2.39 MoveRepSize
- 2.40 NavigationPointList
- 2.41 NetMode
- 2.42 NextSwitchCountdown
- 2.43 NextURL
- 2.44 ObjectPool
- 2.45 PauseDelay
- 2.46 Pauser
- 2.47 PrecacheMaterials
- 2.48 PrecacheStaticMeshes
- 2.49 ReplicationViewer
- 2.50 ReplicationViewTarget
- 2.51 Summary
- 2.52 TimeMarginSlack
- 2.53 VisibleGroups
- 2.54 WhiteSquareTexture
- 2.55 WireframeTexture
- LevelInfo internal variables in other games:
- U2, U2XMP, UE2Runtime, UT2003
Please help improve this article or section by expanding it. |
Date/Time[edit]
Year[edit]
Type: int
Modifiers: transient
Current year.
Month[edit]
Type: int
Modifiers: transient
Current month of the year. (1 = January, ..., 12 = December)
Day[edit]
Type: int
Modifiers: transient
Current day of the month. (1 to 31)
DayOfWeek[edit]
Type: int
Modifiers: transient
Current day of week. (0 = Sunday, 1 = Monday, ..., 6 = Saturday)
Hour[edit]
Type: int
Modifiers: transient
Current hour. (0 to 23)
Minute[edit]
Type: int
Modifiers: transient
Current minute. (0 to 59)
Second[edit]
Type: int
Modifiers: transient
Current second of the minute. (0 to 59)
Millisecond[edit]
Type: int
Modifiers: transient
Current millisecond. (0 to 999)
TimeDilation[edit]
Type: float
Game time scaling in relation to real time.
Default value: 1.1
TimeSeconds[edit]
Type: float
Time (in game seconds) passed since the level was loaded.
Other variables[edit]
AnimMeshGlobalLOD[edit]
Type: float
Default value: 1.0
bAggressiveLOD[edit]
Type: bool
If True
, the frame rate is more than 10 FPS below the DesiredFrameRate, so effect complexity should be reduced more aggressively. (Also see bDropDetail.)
bBegunPlay[edit]
Type: bool
Whether UnrealScript code execution has begun. (See What happens at map startup#General preparations for details.)
bClassicView[edit]
Type: bool
Unused.
bDesireSkinPreload[edit]
Type: bool
Modifiers: globalconfig
Whether all player skins should be precached.
bDropDetail[edit]
Type: bool
Whether the frame rate is below DesiredFrameRate. Effects should reduce complexity or not spawn at all to prevent further slowdowns. (Also see bAggressiveLOD.)
bFreezeKarma[edit]
Type: bool
Stop all Karma physics from being evolved.
bHasPathNodes[edit]
Type: bool
Set by the path building logic if the level contains at least one PathNode. The editor won't report pathing-related errors if this isn't set.
bIsSaveGame[edit]
Type: bool
Set to True
when the game is saved, reset to False
after a saved game was loaded.
bKickLiveIdlers[edit]
Type: bool
Modifiers: globalconfig
If false, only dead players are considered for idle kicking.
bLevelChange[edit]
Type: bool
Set to True
when the a new map is about to be loaded.
bLowSoundDetail[edit]
Type: bool
Modifiers: config
Whether all voice packs should be overridden with the Juggernaut voices.
bNeverPrecache[edit]
Type: bool
Modifiers: config
Unused.
bNextItems[edit]
Type: bool
Set at map change to indicate that items should travel to the new level. Note that the stock game types delete items received from the previous level by default.
bPathsRebuilt[edit]
Type: bool
Set to True
by the editor after paths have been built. Reset to False
whenever a NavigationPoint is added, moved or deleted, geometry is rebuilt or path-colliding actors or pickups are deleted.
bPlayersOnly[edit]
Type: bool
Restricts updates to PlayerControllers and their owned Pawn. Any other actors, including non-Pawn actors owned by PlayerControllers or their Pawns will not be updated if this is set.
bShouldPreload[edit]
Type: bool
Modifiers: globalconfig
Whether all player skins should be precached. Defaults to True
after detecting initial system configuration if the system has more than 600MB RAM.
bSkinsPreloaded[edit]
Type: bool
Set after skins are preloaded.
bStartup[edit]
Type: bool
Set to True
during the events described on What happens at map startup and to False
afterwards.
ComputerName[edit]
Type: string
Machine's name according to the OS.
ControllerList[edit]
Type: Controller
Modifiers: const
The list of Controllers currently in the game. Controllers are added via Controller.AddController() when they are spawned and removed via Controller.RemoveController() when they are destroyed. This list is not maintained on clients in network games because only the client players's own PlayerController exists there. You can use GetLocalPlayerController() to access it.
DecalStayScale[edit]
Type: float
Modifiers: config
affects decal stay time
Default value: 1.0
DefaultGravity[edit]
Type: float
Z component of the DefaultPhysicsVolume's Gravity property. X and Y components will be zero.
Default value: -950.0
DefaultTexture[edit]
Type: Texture
Default value: DefaultTexture
DetailMode[edit]
Type: Object.EDetailMode
Modifiers: const
Client detail mode.
Default value: DM_SuperHigh
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 because the GameInfo doesn't exist on clients.
GRI[edit]
Type: GameReplicationInfo
Modifiers: transient
A reference to the current GameReplicationInfo instance. Available on server and clients as soon as the GRI was spawned or replicated.
HubStackLevel[edit]
Type: int
LargeVertex[edit]
Type: Texture
Default value: LargeVertex
LastTaunt[edit]
Type: int
Array size: 2
'Global' last taunts used.
LastVehicleCheck[edit]
Type: float
LevelAction[edit]
Type: ELevelAction
Modifiers: transient
LocalPlayerController[edit]
Type: PlayerController
Modifiers: private
Cached reference to the local PlayerController.
MaxClientFrameRate[edit]
Type: float
Modifiers: globalconfig
Default value: 90.0
MaxTimeMargin[edit]
Type: float
Modifiers: globalconfig
Default value: 1.0
MinNetVersion[edit]
Type: string
Minimum required remote engine version for network play.
MinTimeMargin[edit]
Type: float
Modifiers: globalconfig
Default value: -1.0
MoveRepSize[edit]
Type: float
Default value: 42.0
[edit]
Type: NavigationPoint
Modifiers: const
Linked list of all NavigationPoints for which paths have been built. The list will be empty if paths have never been built in UnrealEd. NavigationPoints added after the last path rebuild are not in this list.
NetMode[edit]
Type: ENetMode
NextSwitchCountdown[edit]
Type: float
NextURL[edit]
Type: string
ObjectPool[edit]
Type: ObjectPool
Modifiers: transient
PauseDelay[edit]
Type: float
Pauser[edit]
Type: PlayerReplicationInfo
If paused, name of person pausing the game.
PrecacheMaterials[edit]
Modifiers: transient
PrecacheStaticMeshes[edit]
Type: array<StaticMesh>
Modifiers: transient
ReplicationViewer[edit]
Type: PlayerController
Modifiers: const
The player currently replicating to. (Only valid in replication conditions.)
ReplicationViewTarget[edit]
Type: Actor
Modifiers: const
ViewTarget of the player currently replicating to. (Only valid in replication conditions.)
Summary[edit]
Type: LevelSummary
Mirrors the level summary properties. This is created automatically when the map is saved in the editor.
TimeMarginSlack[edit]
Type: float
Modifiers: globalconfig
Default value: 1.35
VisibleGroups[edit]
Type: string
Comma-separated list of visible actor groups.
Default value: "None"
WhiteSquareTexture[edit]
Type: Texture
Default value: WhiteSquareTexture
WireframeTexture[edit]
Type: Texture
Default value: WhiteSquareTexture