Difference between revisions of "User:Qazaaq/NIF Format Notes"
Jump to navigation
Jump to search
User:Qazaaq/NIF Format Notes (edit)
Revision as of 07:00, 21 December 2008
, 07:00, 21 December 2008water collision
imported>Qazaaq (more detailed texture info) |
imported>Qazaaq (water collision) |
||
Line 1: | Line 1: | ||
These are some notes I took while looking at the NIF files. Feel free to comment, discuss and add your own. | These are some notes I took while looking at the NIF files and info I got from others. Feel free to comment, discuss and add your own. | ||
== General == | |||
*Every NIF starts with a BSFadeNode block, very similar to NiNodes. | |||
*All block Values strings (Value column in Block List view) are stored in a Strings array in the header and are referred to with an integer. | |||
== Textures == | == Textures == | ||
Line 18: | Line 22: | ||
*Sometimes, for simple/small objects or animated textures, the old/Oblivion method is used (NiTexturingProperty + NiSourceTexture). | *Sometimes, for simple/small objects or animated textures, the old/Oblivion method is used (NiTexturingProperty + NiSourceTexture). | ||
== Collision == | == Collision == | ||
Line 72: | Line 74: | ||
==== Notes ==== | ==== Notes ==== | ||
*NiTriStripsShape contains '''material''' data. | *NiTriStripsShape contains '''material''' data. | ||
=== Water collision === | |||
==== Location ==== | |||
BSFadeNode | |||
+- bhkSPCollisionObject | |||
+- bhkTransformShape | |||
+- bhkXXXShape | |||
==== Notes ==== | |||
*bhkSimpleShapePhantom controls the collision layer: OL_WATER |