TestAllCells

From the CreationKit Wiki
Revision as of 17:13, 2 December 2011 by imported>Scornett-Bot (Script running global find and replace: = for '''=)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

TestAllCells runs a render test on every cell.

Syntax[edit | edit source]

TestAllCells [IntegerValue]]
TAC

Parameters[edit | edit source]

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

  • 0 = stop testing
  • 1 = load all exterior cells, then interiors
  • 2 = load all interior cells
  • 3 = run tests on current worldspace only
  • 6 = run a render test on all exterior cells, then interiors
  • 7 = run a render test on all interior cells

Render Test Notes[edit | edit source]

  • 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.

TestAllCells.xls Output File[edit | edit source]

These should be the column headings for the output xls file that is generated during the run. They are slightly different for Interiors & Exteriors.

Interiors:[edit | edit source]

  • Cell’s Editor ID
  • Always the word “Interior”
  • M Number
  • T Number
  • Load Time (secs)
  • Light Count
  • Portaled (y/n)
  • Total Texture Memory (MB)
  • High Process Actor Count

Exteriors:[edit | edit source]

  • Cell’s Editor ID
  • (x, y) coordinates of this cell in the current worldspace
  • M Number
  • T Number
  • Load Time (secs)
  • Portaled (y/n)
  • Total Texture Memory (MB)
  • High Process Actor Count

See Also[edit | edit source]