Nif

From GECK
(Redirected from 3d)
Jump to: navigation, search

<nif> is a user interface tile in Fallout. <3d> tag can be used as alias.

NIF tiles are used to render a NetImmerse Format 3D mesh to the screen; these are often used for 2D components that require animations or complex shapes. 3D meshes use similar coordinates to tiles in a menu, but with different axes. The contents of the specified NIF file are inserted almost directly into a tile's rendered content.

Note that the game engine deliberately limits the features that a NIF in a menu can use. NiMaterialProperty and NiAlphaProperty blocks will be stripped out of your 3D content when it is spliced into the user interface.

The exact relationship between 2D and 3D content is as follows:

Direction 3D axis and increment 2D trait and increment
Right X +1 x + 1
Down Z -1 y + 1
Front (depth) Y -0.008 depth + 1

See Also