Tes3Mod:Output

The UESPWiki – Your source for The Elder Scrolls since 1995
Jump to: navigation, search


OutputObjCounts
OutputRefCounts
OutputRefInfos

                OutputObjCounts
                OutputRefCounts
                OutputRefInfo

        Type:   Console, Undocumented

     Returns:   none

     Example:   

     Scripts:   

Console only commands that output object/reference info.

  • OutputObjCounts: Shows the number of all objects in the current savegame sorted by categories. Lists also the number of all clones made from one base object, e.g. an imperial guard.
  • OutputRefCounts: Shows the number of all references in the current savegame sorted by categories. Lists also the number of references that are cloned, persistent, have been moved from their original location etc.
  • OutputRefInfos

Using this command on an object creates an output like this:
Reference - ReferenceID
sourceid Reference-Index1
targetid Reference-Index2
file - Master/Plugin name
cell - Cell name

ReferenceID: The reference's id as shown in the console when clicking on it with the mouse.
Reference-Index1: The index of the reference. If a plugin file modifies a reference in a master file, then the reference-index of the plugin file is shown here. If the reference in a master file is not modified, or the reference is introduced into the game by a plugin file, then the reference-index of the master/plugin file is shown instead.
Reference-Index2: This is the reference-index of the original master/plugin file which introduces the reference into the game.

Reference-Indices are given as a hexadecimal value. Every reference-index has the form xxXXXXXX. xx is the esm/esp file's number in the current load order, eg. 01 for Morrowind.esm, 02 for Tribunal.esm and so on. And XXXXXX is the reference's index in the master/plugin file.

Note: The Construction Set does not display any values at all, you must use a third party application like MWEdit or the TESCMD to actually see these reference-indices and note that the TESCMD converts hexadecimal numbers into decimal numbers when dumping information from a master/plugin file to the command-line console.

Master/Plugin name: The name of the master/plugin file which makes the last modification to the original reference. If no modification is done to the original reference, it shows the name of the master/plugin file which introduces the reference into the game.
Cell name: The name of the cell the reference is currently located, including path-grid coordinates if the current cell is an exterior cell.

For non-reference objects (items placed into the game by any other method than using a game editor, e.g. dropping an item or using the PlaceAtMe command) the sourceid and targetid are always 00000000 and the name of the file is always "None", ReferenceID and cell are still shown.

For leveled creatures/items the "ori" output looks a little different. It comes in this form:
Reference - ReferenceID
sourceid 00000000
targetid 00000000
file - None
cell - Cell name
LevelCrea - Leveled List
(or LevelItem - Leveled List)
sourceid Reference-Index1
targetid Reference-Index2
file - Master/Plugin name
cell - Cell name

The object spawned by the leveled list is treated as a non-reference object, therefore only the ReferenceID is valid, sourceid and targetid are 00000000 and file is "None", the current cell is shown.

Leveled List: If the spawned object belongs to a leveled creature/item list, then the ObjectID, as shown as in the Construction Set, of this list is displayed.
Reference-Index1: Reference-Index of the spawn point as a hexadecimal value where the leveled object has been created. If the original reference of a master file is modified by a plugin file, then the reference of the plugin file is shown. If the original reference in a master file is not modified or the reference is introduced into the game by a plugin file, then the reference-index of the master/plugin file is shown.
Reference-Index2: The reference-index of the original master/plugin file which introduces the reference of the spawn point into the game.
Master/Plugin name: The name of the master/plugin file which makes the last modification to the original reference of the spawn point. If no modification is done to the original reference, it shows the name of the master/plugin file which introduces the reference into the game.
Cell name: The name of the cell the reference is located, including path-grid coordinates if the current cell is an exterior cell.

Final note: Only a reference located in a master file can be altered by a plugin file, altering a reference from a plugin file with another plugin file does not work but will always cause a doubling of this reference.