OBD:OBLS

From OniGalore
Revision as of 00:12, 11 December 2023 by Iritscen (talk | contribs) (turrets too)
Jump to navigation Jump to search

OBLS instances were used to store information about light sources and were linked from furniture geometry and turrets.

Offset Type Raw Hex Value Description
0x00 int32 instance id
0x04 int32 file id
0x08 uint32 index
0x0C uint32 flags; used values:
0x40 00 00 00 - type: area
0x20 00 00 00 - type: linear
0x10 00 00 00 - type: point
0x00 01 00 00 - distribution: diffuse
0x00 02 00 00 - distribution: spot
0x10 float filter color - red component
0x14 float filter color - green component
0x18 float filter color - blue component
0x1C uint32 light intensity
0x20 float beam angle
0x24 float field angle

Tool dialog - Light Properties.png