The three virtues of a programmer: Laziness, Impatience, and Hubris. – Larry Wall
Legacy:Console Commands/Stats Console Commands
From Unreal Wiki, The Unreal Engine Documentation Site
What follows is a definition of all of the console commands for UT2004 that can be used to show statistics about the game currently playing.
See Legacy:Console Commands/Stats Console Commands (UT) for the corresponding UT console command listing.
Misc Commands
- MEMSTAT
- Show Windows overall memory statistics.
- OBJ CLASSES
- Prints a list of all loaded classes.
- OBJ DEPENDENCIES PACKAGE=<pkgname> EXCLUDE1=<otherpackage> EXCLUDE2=<otherpackage>...
- Show package dependencies
- OBJ GARBAGE
- Initiates garbage collection.
- OBJ HASH
- Show object hashing statistics.
- OBJ LINKERS
- Show a list of active linkers (each linker is responsible for loading objects from a package file).
- OBJ LIST CLASS=<objectclass> INSIDE=<insideclass>
- List all objects belonging to the class and residing inside the specified object. If the class isn't specified, lists all objects. If the inside object isn't specified, shows all objects. Gives a summary of memory usage. This is very useful during game play for figuring out how much memory is being used. In UnrealEd, this statistic isn't useful because a huge amount of extra stuff is loaded which might not be used by your map.
- OBJ REFS CLASS=<objectclass> NAME=<objectname>
- Show a list of objects which reference the object you specify. When trimming memory usage, this is useful for figuring out why some object is being loaded.
- REPORT
- Copies a report of the current gameplay situation to the clipboard. You can then paste the resulting text into an email program, Notepad, etc. Extremely useful for beta testers, because it dumps the player's location, the difficulty level, etc.
STAT Commands
- STAT ALL
- Enables all STATS displays except ANIM.
- STAT NONE
- Disables all STATS displays.
- STAT DEFAULT
- STAT RESET
- Disables all STAT displays except FPS.
- STAT ANIM
- Toggles animation statistics display for all actors with DrawType DT_Mesh.
- STAT AUDIO
- Toggles audio statistics display.
- Audio
- Update ms
-
-
- Occlusion ms
- Sources Active
- Sources Stopped
- Sources Started
-
- STAT FPS
- Toggles display of current and average number of frames per second.
- STAT GAME
- Toggles game engine statistics display.
- Collision
- StaticMesh ms
-
-
- StaticMesh Cache Hits
- StaticMesh Cache Misses
- StaticMesh Cache Flushes
- BSP ms
- Terrain ms
- Corona ms
-
- Karma
- KTriListQuery ms
-
-
- KUpdateContracts ms
- KIntersect ms
- KWorldStepSafeTime ms
- PreKarmaStep ms
- ConstraintSolver ms
- FindModelSafetime ms
- PostKarmaStep ms
- physKarma ms
- Temp ms
-
- LIPSinc
- Active
-
-
- CurveEval ms
- BlendIn ms
- NormalBlend ms
- BlendOut ms
- TotalBlend ms
- Update ms
- BlendFinal ms
- Total ms
-
- Fluid
- Simulate ms
-
-
- VertexGen ms
- Render ms
-
- Game
- Script ms
-
-
- ScriptTick ms
- Actor ms
- Path ms
- See ms
- Spawning ms
- Audio ms
- CleanupDestroyed ms
- Unused ms
- Net ms
- Particle ms
- Canvas ms
- Physics ms
- Move ms
- Move
- MLChecks ms
- MPChecks ms
- RenderData ms
- HUD PostRender ms
- Interaction Pre ms
- Interaction Post ms
- ScriptDebug ms
-
- STAT HARDWARE
- Toggles hardware accelerator statistics display.
- Hardware
- NumPrimitives
-
-
- NumSVPVertices
- NumTextures
- KByte TexturesBytes
- KByte Total Resources
- PushState ms [num]
- PopState ms [num]
- SetRenderTarget ms [num]
- SetMaterial ms [num]
- SetMaterialBlending ms [num]
- SetVertexStream ms [num]
- SetDynStream ms [num]
- SetIB ms [num]
- SetDynIB ms [num]
- DrawPrimitive ms [num]
- Lock ms [num]
- Unlock ms [num]
- Present ms [num]
- StateChanges ms [num]
- TextureChanges ms [num]
- TransformChanges ms [num]
- LightChanges ms [num]
- LightSet ms [num]
- Clear ms [num]
- DynVBLock ms [num]
- DynVBDiscards
- KByte DynVBBytes
- KByte DynIBBytes
- NumVertexStreams
- NumIndexBuffers
- KByte VertexStreamBytes
- KByte IndexBufferBytes
- StreamSourceChanges
-
- STAT LIGHT
- Toggles the list of lights that are affecting the player.
The command crashes with a GPF when a model (player, bot,...) is displayed. It only works with the Flak Cannon.
- mesh
-
- actor
- sphereradious
- [light actor]
-
-
- Rad
- Col
- Alph
- Dst
- ky
- br
-
- STAT NET
- Toggles network performance statistics display.
- Net
- Ping
-
-
- Channels
- Unordered
- PacketLoss
- Packets
- Bunches
- Bytes
- Speed
- Reps
- RPC
- PV
- VoiceBunches
- VoiceTime ms
- ControlTime ms
-
- STAT RENDER
- Toggles rendering statistics display.
- Frame
- Frame ms
-
-
- Render ms
- Stats Render ms
-
- BSP
- Render ms
-
-
- Sections
- Nodes
- Triangles
- DynamicLighting ms
- DynamicLightings
-
- LightMap
- Time ms
-
-
- Updates
-
- Projector
- Render ms
-
-
- Attach ms
- Projectors
- Triangles
-
- Stencil
- Render ms
-
-
- Nodes
- Triangles
-
- Visibility
- Setup ms
-
-
- MaskTests
- MaskRejects
- BoxTests
- BoxRejects
- Traverse ms
- ScratchBytes
- MeshLight ms
-
- Terrain
- Render ms
-
-
- Sectors
- Triangles
- DrawPrimitives
-
- DecoLayer
- Render ms
-
-
- Triangles
- Decorations
-
- Mesh
- Skin ms
-
-
- Result ms
- LOD ms
- Pose ms
- Skel ms
- Rigid ms
- Draw ms
-
- Particle
- SpriteSetup ms
-
-
- Particles
- ParticlesTicked
- Render ms
-
- StaticMesh
- Triangles
-
-
- Triangles ms
- Batches
- BatchedSortedTriangles
- BatchedSortedSections
- BatchedSort ms
- BatchUnsortedSections
- BatchedUnortedTriangles
- BatchRender ms
-
- UnbatchedSortedTriangles
-
-
- UnbatchedSortedSections
- UnbatchedSort ms
- UnbatchedUnsortedSections
- UnbatchedUnsortedTriangles
- UnbatchedRender ms
-
- Batch
- Batches
-
-
- Primitives
- Render ms
-
- STAT XBOXMEM
Discussion
SuperApe: Really could use definitions on these for debugging purposes.
Category:Legacy To Do – Fill in definitions