Difference between revisions of "NifSkope Comprehensive Guide"
Jump to navigation
Jump to search
Added Block List & Block Details: Scene Root, BSX Flags, Prn String. Added Glossary Section
imported>Chuey (Finished Render Window section, other minor updates to the guide.) |
imported>Chuey (Added Block List & Block Details: Scene Root, BSX Flags, Prn String. Added Glossary Section) |
||
|
* Reopen your iron battleaxe model. [Data\meshes\weapons\iron\battleaxe.nif]
= '''The Block List & Block Details Windows''' =
This will likely be the window you spend most of your time in. It contains all of the Ni Blocks that make up the open model. Everything from mesh blocks to texture blocks to special effect blocks are contained in here. The actual data or information contained in each of these block is displayed in the Block Details Window.
We will go through many of the most common block types in this guide. The remaining will be left for more advanced guides and tutorials. But don't worry, the types explained in this guide will be enough to get you started.
You should have the battleaxe.nif file still open. If not, open it now and continue.
== Scene Root Node ==
All NIF files start with a Scene Root Node (0 NiNode). This is the location of X0,Y0,Z0 in 3D space. Everything in the game environment is positioned based on the location of it's associated Scene Root Node. You cannot move the Scene Root Node, but can move the associated model in relation to it. This enables you to position the model to a specific location in reference to other objects in the game environment.
* Click: Z Axis View button on the toolbar.
* Expand the 0 NiNode Battleaxe block in the Block List Window.
In the render window look at the point where the three axis meet. Zoom in to get a good look at the blue 'X' with a yellow square in the middle. The yellow square is your Scene Root. It will appear when you select the 0 NiNode block.
* Select block 1 BSX Flags in the Block List Window.
Notice how the scene root Node disappears but the blue 'X' remains to show you where the zero point is. It is very important to remember this when you are importing a mesh into an existing NIF file. Improper positioning of the mesh can cause many types of problems when loading a new NIF in the game environment. Especially those dealing with animations, examples: drawing a sword from a scabbard or pulling an arrow from a quiver.
<blockquote>'''NOTE:''' A scabbard is the sleeve attached to your belt from where you draw your sword. A quiver is the pouch that holds all your arrows. It's warn like a shoulder pack. </blockquote>
== '''Flags & Flag Blocks''' ==
Flags are used to tell the game engine that it needs to set special variables to the loaded model. These variables can be anything from havok data to special animation sequences. Flags are contained within various block types and must be set to specific numerical values for the NIF to run properly in the game environment.
<blockquote>'''NOTE:''' Flags are an advanced topic which there is only limited information available on. This section is likely to be updated often by the modding community as new information becomes available.</blockquote>
=== '''BSX Flags''' ===
BSX flags tell the game engine what type of object this is. You will find BSX flags on all world objects but never on character models, clothing, or armor. Clothing and armor because it replaces a section or sections of the base character model when equipped. All world objects must have an associated BSX Flag.
<blockquote>'''NOTE:''' Clothing and armor are special cases since it is both necessary to replace a section of the character model, and be able to place the object in the game environment. You will notice that all clothing and armor contain two NIF files: example shirt.nif & shirt_gnd.nif. The _gnd version of the clothing or armor model is used as the world object and so has a BSX Flag.</blockquote>
In the Block List Window:
* Click to highlight: 1 BSX Flags BSX
Now look at the Block Details Window -> Flags -> Value column
You'll see the number '3' in this column. This value tells the game engine that this is a weapon model. The game engine will now set certain animation and collision variables to this model pertaining to weapons. Examples are the animations played when striking rocks or walls with a weapon vs. striking an NPC.'' Confirmation needed that this example is correct.''
=== '''Extra String Data: Prn''' ===
Extra data blocks are required to tell the game engine additional information about your model. In the case of a weapon model the Prn Block tells the game engine where your weapon model is going to be placed on the character model.
<blockquote>'''NOTE:''' Don't confuse this with the weapon type pull down menu in the Construction Set when creating new weapons. That section tells the game engine what animation to play. The Prn block tells the game engine where to place the model. [Example: You cannot have a side mounted weapon set as 'Blade 2-Hand']</blockquote>
In the Block List Window:
* Click to highlight: 2 NiStringExtraData Prn
Look at the Block Details window -> String Data -> Value column
"BackWeapon" is listed here. This tells the game engine that this weapon is a back mounted weapon. The game engine will place this weapon's scene root at the 'BackWeapon' location on the character model.
<blockquote>'''NOTE:''' In some instances you will find a Prn Block without an associated BSX Flag block. In this case the Prn Block is only telling the game engine where to place the object on the character model.</blockquote>
<blockquote>'''NOTE:''' See the Glossary section for a list of BSX Flags and Prn Strings.</blockquote>
= '''Glossary''' =
== NPC ==
Means: '''N'''one '''P'''layable '''C'''haracter
* Any of the countless characters/actors in the game world.
== '''BSX Flags''' ==
* 1 Magic Effects/Menu Animations
* 2 General World Objects
* 3 Inventory Objects [Weapons/Ingredients/Clutter]
* 10 Rock/Stone Objects [Landscaping/Statues]
* 11 Clothing/Fabric Objects [Pants/Boots/Cloth]
* 19 Lighting Objects [Wall Sconce/Candle/Chandelier]
* 33 Candle Flame
* 35 Fire/Smoke
* 46 Traps
== '''Prn Strings''' ==
* SideWeapon [Dagger/Long Sword/Mace]
* BackWeapon [Battleaxe/Claymore/Staff]
* Quiver [Arrows]
* Any Armature Bone [Bip01 L Hand, ect.]
* Torch [''Needs further information'']
* Weapon [''Needs further information'']
| |||