NIF NiAVObject Flags
From GECK
NiAVObject Flags are flags that are set on BSFadeNodes, NiNodes (and NiNode derivatives like NiLODNode), NiTriStrips and NiTriShapes most of which are unused or crash the game if set, a few are automatically set by the engine at runtime and thus are also pointless to set.
Flags
Flag n=Name | Bit | Description |
---|---|---|
APP_CULLED | 0 | (Named "Hidden" in NifSkope) Forces the object to be permanently culled, has no effect when set on root node. |
SELECTIVE_UPDATE | 1 | Automatically set by the engine |
SELECTIVE_UPDATE_TRANSFORMS | 2 | Automatically set by the engine |
SELECTIVE_UPDATE_CONTROLLER | 3 | Automatically set by the engine |
SELECTIVE_UPDATE_RIGID | 4 | Unused/broken, supposed to move NiNode local bounds into the computed world bounds. |
DISPLAY_OBJECT | 5 | Used only by sky objects |
DISABLE SORTING | 6 | Unused |
SELECTIVE_UPDATE_TRANSFORMS_OVERRIDE | 7 | |
UNK_8 | 8 | (No name in NifSkope) |
SAVE_EXTERNAL_GEOM_DATA | 9 | Ignores transforms set on the geometry, cannot be set on root node or the mesh will turn invisible |
NO_DECALS | 10 | Disallows the NIF from receiving impact decals such as bullet holes from firearms (can only be set on root node) |
ALWAYS_DRAW | 11 | Forces light inclusion, and skips culling |
ACTOR_NODE | 12 | (Incorrectly named "Mesh_LOD" in NifSkope) Used to mark actor nodes for actor culling |
FIXED_BOUND | 13 | Prevents bound updates, not recommended to use as culling behavior is erratic when on |
FADED_IN | 14 | (Incorrectly named "Top Fade Node" in NifSkope) Automatically set by the engine |
IGNORE_FADE | 15 | |
LOD_FADING_OUT | 16 | (Incorrectly named "No Anim Sync (X)" in NifSkope) Unused |
HAS_MOVING_SOUND | 17 | (Incorrectly named "No Anim Sync (Y)" in NifSkope) |
HAS_PROPERTY_CONTROLLER | 18 | (Incorrectly named "No Anim Sync (Z)" in NifSkope) |
HAS_BOUND | 19 | (Incorrectly named "No Anim Sync (S)" in NifSkope) Automatically set by the engine |
ACTOR_CULLED | 20 | (Incorrectly named "No Dismember" in NifSkope) Used for actor culling |
IGNORES_PICKING | 21 | (Incorrectly named "No Dismember Validity" in NifSkope) disables activation prompts and makes the object unelectable in console. Useless to set because this flag is automatically removed at runtime by the engine. Instead use SetNifBlockFlag to set it |
UNK_22 | 22 | (Named "Render Use" in NifSkope) |
NO_SHADOWS | 23 | (Incorrectly named "Materials Applied" in NifSkope) Broken |
HIGH_DETAIL | 24 | Unused |
UNK_25 | 25 | (Named "Force Update" in NifSkope) |
UNK_26 | 26 | (Named "Pre-Processed Node" in NifSkope) |
PLAYER_BONE | 27 | (No name in NifSkope) Unused |
IMPOSTER_LOADED | 28 | (No name in NifSkope) |