Base Objects vs References
When starting modding, you pretty soon will come upon the concepts of "Base Objects" and "References". This page provides an introductory view of what they are. For a more complete explanation, read the Modding Terminology article.
Base Objects[edit | edit source]
Base Objects are like a blueprint. They are used to create actual objects and they can never be found in the world while playing Oblivion.
Base Objects contain whatever data is common to all objects derived from it, for example, the Apple Base Objects holds everything common to all Apples in the game, like its name and nif.
If you change anything in the base form, the change applies to all instances of that object, for example, if you change the nif of the Apple Base Object to a banana nif, all apples in the game will turn into bananas.
Base Objects include everything listed in the Object Window. Open them to check which information each type of Base Object contains. For example, an NPC Base Object contains things like Race, Stats, and Face while a Container Base Object determines its initial contents and whether it respawns or not. If you change any of this data, either directly editing the object window or by script, ALL instances of that object in the game will be affected.
Some properties are present in most base Objects, like FormID, EditorID, Name and Script.
Base Objects are also called Base Forms or Base Records and, technically, several other things in the game are also Base Forms, like things that can be accessed from the top menus of the Construction Set (such as Race, Hair, Magic Effects, etc.).
References[edit | edit source]
Every object found in the world while playing (including NPCs, plants, bridges, and other things) is a reference. References are instances of Base Objects that have been placed in the world either directly in the Construction Set, dropped from inventories or by scripts.
The word "Reference" is also used referring to the Form or Record where the game keeps the data related to the reference (the object in game). For this article let's use "Reference" (capitalized) when referring to the Form, and "reference" when referring to the object.
The Reference contains all the information related to a particular reference, like its XYZ position and angle, EditorID, FormID, scale, etc. Different types of References keep different information, for example a Door Reference keeps the lock state and the teleport destination of that particular door, while a Container Reference will register the current contents of the container reference.
To see the information stored in each type of Reference, open the Reference Window, by either double-clicking on an object in the Render Window or choosing "Edit" after right-clicking on an object in the right panel of the Cell View Window.