TestAllCells

From GECK
Jump to: navigation, search


A function included in the GECK for Fallout 3.

Description

Runs a render test on every cell.

Console Functions are normally exclusively for use in the in-game Console (accessible by pressing "~").

With JIP LN NVSE Plugin, any console function can be used in scripts with the Console function.

Syntax

[help]
TestAllCells status:int 

Or:

TAC status:int 

Parameters

There is a single optional parameter that takes an integer value:

  • 0 = stop testing
  • 1 = start testing
  • 2 = run tests on current interiors only
  • 3 = run tests on current worldspace only
  • 6 = run tests all exterior cells in game
  • 7 = run tests all interior cells in game

Notes

  • For cells with a NavMesh, the spot 118 units above the center of every triangle is tested. For cells with no NavMesh, the spot at the center of the bound for every reference's 3D is tested. For every cell tested, gives a Warning indicating the number of points to be tested and whether they are NavMesh or Reference based.
  • For every spot tested, renders the 8 cardnial directions looking flat, up 45 deg, and down 45 deg.
  • For every render, checks iGeometryCount < 1200, iTriangleCount < 800000, iNewRenderPassCount < 100, and iActiveLights < 15.
  • For every render that exceeds a threshold, gives a Warning with the position xyz, the rotation xyz, and the 4 measurement values collected for the render.

See Also