OBD:OBLS: Difference between revisions
Jump to navigation
Jump to search
(just so. because I know.) |
m (pointed to the talk page for its interesting speculation) |
||
(4 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
OBLS instances were used to store information about light sources | OBLS instances were used to store information about light sources and were linked from [[OFGA|furniture geometry]] and [[TURR|turrets]]. See the talk page for speculation on the intended use for this data. | ||
{{Table}} | {{Table}} | ||
Line 5: | Line 5: | ||
{{OBDtr|0x00|int32 | | | | instance id}} | {{OBDtr|0x00|int32 | | | | instance id}} | ||
{{OBDtr|0x04|int32 | | | | file id}} | {{OBDtr|0x04|int32 | | | | file id}} | ||
{{OBDtr|0x08| | {{OBDtr|0x08|uint32 | | | | index }} | ||
{{OBDtr|0x0C| | {{OBDtr|0x0C|uint32 | | | | flags; used values: | ||
:0x'''40''' 00 00 00 - type: area | :0x'''40''' 00 00 00 - type: area | ||
:0x'''20''' 00 00 00 - type: linear | :0x'''20''' 00 00 00 - type: linear | ||
Line 13: | Line 13: | ||
:0x00 '''02''' 00 00 - distribution: spot | :0x00 '''02''' 00 00 - distribution: spot | ||
}} | }} | ||
{{OBDtr|0x10|float | | | | color - red component }} | {{OBDtr|0x10|float | | | | filter color - red component }} | ||
{{OBDtr|0x14|float | | | | color - green component }} | {{OBDtr|0x14|float | | | | filter color - green component }} | ||
{{OBDtr|0x18|float | | | | color - blue component }} | {{OBDtr|0x18|float | | | | filter color - blue component }} | ||
{{OBDtr|0x1C| | {{OBDtr|0x1C|uint32 | | | | light intensity }} | ||
{{OBDtr|0x20|float | | | | beam angle }} | {{OBDtr|0x20|float | | | | beam angle }} | ||
{{OBDtr|0x24|float | | | | field angle }} | {{OBDtr|0x24|float | | | | field angle }} | ||
|} | |} | ||
[[Image:Tool dialog - Light Properties.png]] | |||
{{OBD}} |
Latest revision as of 23:31, 26 December 2023
OBLS instances were used to store information about light sources and were linked from furniture geometry and turrets. See the talk page for speculation on the intended use for this data.
Offset | Type | Raw Hex | Value | Description |
---|---|---|---|---|
0x00 | int32 | instance id | ||
0x04 | int32 | file id | ||
0x08 | uint32 | index | ||
0x0C | uint32 | flags; used values:
| ||
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 |