Fallout Wiki
Fallout Wiki
No edit summary
(Undo revision 2186527 by 68.170.247.53 (talk))
(27 intermediate revisions by 13 users not shown)
Line 1: Line 1:
  +
{{Games|FO3|FNV}}
penis
 
  +
A '''form ID''' is an ''unsigned long'' identifier assigned by creators or the engine to every object in games using the [[Gamebryo]] engine (like ''[[Fallout 3]]'' and ''[[Fallout: New Vegas]]''). This includes items, NPCs, quests or parts of the world like a sign on a wall or the wall itself. There are two types of Form IDs: '''Base IDs''' and '''Reference IDs''' (usually shortened to '''Ref IDs''').
   
  +
==Base ID==
  +
Base ID is the number assigned to a template for an object that is used to create many instances of that object. For example all bottle caps in the game have exactly the same Base ID. This ID is used in scripts or console with commands that create new instances of object, like {{console|additem}} or {{console|placeatme}}.
   
  +
The Base ID can be obtained with the [[G.E.C.K. (editor)|G.E.C.K.]]. To do so, the .esm file containing the object (for base ''Fallout 3'' <code>Fallout3.esm</code>, for ''Fallout: New Vegas'' <code>FalloutNV.esm</code>) must be opened in the editor and the appropriate category be selected. Expanding the "Form ID" column (between "Editor ID" and "Count") will reveal the Base ID. It is not possible to obtain the Base ID of an object ingame without using mods such as FOSE ([http://fose.silverlock.org/ Fallout Script Extender]).
   
  +
==Reference ID==
Is good c:::::::
 
  +
The Reference ID is the unique ID of an individual object (unlike the Base ID, which is an ID for an object ''template''). For example, all the bottle caps created from same Base ID will have different reference IDs. This ID is used to manipulate existing objects with commands like {{console|kill}}, {{console|move to}}, or {{console|prid}}, for example.
   
  +
Any item that is not created by pre-defined game scripts (either original or from mods) will have reference ID starting with FF to indicate that this item belongs to this particular save game. It is for dynamically generated items, like loot from containers, random encounters or trader's wares.
   
  +
==Load order==
ciskinz is sexy
 
  +
Load order of modules (ESMs and ESPs) will affect the ID number of modules. The first two digits of an ID number corresponds to its load order (in hexadecimal, like the rest of the number). One must use a utility like FO3Edit to ascertain the load order of a module. Fallout3.esm's ID number is 00, as it will always be the very first module to load. The ID number series in the FF (decimal equivalent: 255) range is reserved by the game engine for objects created and saved in the gamesave file (such as PlaceAtMe'd objects, projectiles, dropped inventory, or list-spawned actors).
  +
  +
According to the layout of this system, the maximum number of additional modules that can be loaded by the game is 254 (256 load order ranges, - 1 for the Savegame FF range, - 1 for the always-mandatory Fallout3.esm).
  +
  +
==See also==
  +
* [[Fallout 3 console commands]]
  +
* [[Fallout: New Vegas console commands]]
  +
* [[Gamebryo console commands]]
  +
* [[Gamebryo console commands (all)]]
  +
* [[Help:Form IDs]] - explanation of Form ID formatting at this wiki
  +
  +
[[ru:Form ID]]
  +
[[Category:Fallout 3 technical information]]
  +
[[Category:Fallout: New Vegas technical information]]

Revision as of 00:32, 4 September 2014

 
Gametitle-FO3Gametitle-FNV
Gametitle-FO3Gametitle-FNV

A form ID is an unsigned long identifier assigned by creators or the engine to every object in games using the Gamebryo engine (like Fallout 3 and Fallout: New Vegas). This includes items, NPCs, quests or parts of the world like a sign on a wall or the wall itself. There are two types of Form IDs: Base IDs and Reference IDs (usually shortened to Ref IDs).

Base ID

Base ID is the number assigned to a template for an object that is used to create many instances of that object. For example all bottle caps in the game have exactly the same Base ID. This ID is used in scripts or console with commands that create new instances of object, like additem or placeatme.

The Base ID can be obtained with the G.E.C.K.. To do so, the .esm file containing the object (for base Fallout 3 Fallout3.esm, for Fallout: New Vegas FalloutNV.esm) must be opened in the editor and the appropriate category be selected. Expanding the "Form ID" column (between "Editor ID" and "Count") will reveal the Base ID. It is not possible to obtain the Base ID of an object ingame without using mods such as FOSE (Fallout Script Extender).

Reference ID

The Reference ID is the unique ID of an individual object (unlike the Base ID, which is an ID for an object template). For example, all the bottle caps created from same Base ID will have different reference IDs. This ID is used to manipulate existing objects with commands like kill, move to, or prid, for example.

Any item that is not created by pre-defined game scripts (either original or from mods) will have reference ID starting with FF to indicate that this item belongs to this particular save game. It is for dynamically generated items, like loot from containers, random encounters or trader's wares.

Load order

Load order of modules (ESMs and ESPs) will affect the ID number of modules. The first two digits of an ID number corresponds to its load order (in hexadecimal, like the rest of the number). One must use a utility like FO3Edit to ascertain the load order of a module. Fallout3.esm's ID number is 00, as it will always be the very first module to load. The ID number series in the FF (decimal equivalent: 255) range is reserved by the game engine for objects created and saved in the gamesave file (such as PlaceAtMe'd objects, projectiles, dropped inventory, or list-spawned actors).

According to the layout of this system, the maximum number of additional modules that can be loaded by the game is 254 (256 load order ranges, - 1 for the Savegame FF range, - 1 for the always-mandatory Fallout3.esm).

See also