Level of Detail

From NFBSP

Jump to: navigation, search

Level of Detail has multiple models for varying distance. For head and body, Yakuza has lod0-3 in the model names. The value is distance (probably in inches) from the object. Obviously, not every model needs that information so the table is mostly null. There is much doubt that this is supported by StudioMDL.exe.

Appears after immediately after Sequence Groups and just before Body Groups.

C# Code

struct LevelOfDetail { // Length: 20; NO OFFSET IN FILE
  int Count; // Number of distances available.
  int[] Distance = new int[4];
}

Details

  • Count: How many values are available in distance.
  • Distance: The distance the object must be away from the player before changing the model.

See Also

Personal tools