Difference between revisions of "FormID"

115 bytes added ,  15:52, 9 November 2008
Clarifying
imported>Markolie
imported>Speedo
(Clarifying)
Line 10: Line 10:
When shown in the CS, the ModIndex reflects only the currently loaded files, typically your mod and its masters.  For a typical mod which has only Oblivion.esm as its master, Oblivion.esm will be loaded first at ModIndex 00, while your mod will be loaded second at ModIndex 01.  In another example, if a mod had three different masters, those would load as ModIndexes 00, 01 and 02, while your mod would be loaded at ModIndex 03.
When shown in the CS, the ModIndex reflects only the currently loaded files, typically your mod and its masters.  For a typical mod which has only Oblivion.esm as its master, Oblivion.esm will be loaded first at ModIndex 00, while your mod will be loaded second at ModIndex 01.  In another example, if a mod had three different masters, those would load as ModIndexes 00, 01 and 02, while your mod would be loaded at ModIndex 03.


In-game, the ModIndex reflects the position of your mod in the active load order.  A mod which is 10th in the load order will have ModIndex 0A.  One which is 37th in the load order will have ModIndex 25, and so on.  Before a FormID can be used with a function in the console, its ModIndex must be updated to match the mod's positioning in the load order (see [[FormID#Determining In-Game ModIndex|Determining In-Game ModIndex]]).
In-game, the ModIndex reflects the position of your mod in the active load order.  The game always loads Oblivion.esm first, so it will always occupy ModIndex 00.  A mod which is the 10th file in the load order (including Oblivion.esm) will have ModIndex 09.  One which is 37th in the load order will have ModIndex 24, and so on.  Before a FormID can be used with a function in the console, its ModIndex must be updated to match the mod's positioning in the load order (see [[FormID#Determining In-Game ModIndex|Determining In-Game ModIndex]]).


==Finding the FormID==
==Finding the FormID==
Line 22: Line 22:


== Console Usage ==
== Console Usage ==
Supposing that our mod was located 15th in the load order, we would update the ModIndex of GiantSwordOfPwn to be '''0F000CE8'''.  It can now be used with console commands such as:
Supposing that our mod was located 15th in the load order, we would update the ModIndex of GiantSwordOfPwn to be '''0E000CE8'''.  It can now be used with console commands such as:
  player.addItem 0F000CE8 1
  player.addItem 0E000CE8 1


==Determining In-Game ModIndex==
==Determining In-Game ModIndex==
Anonymous user