TSCB: Difference between revisions

m
→‎Area Array Value Table: Added newer research
imported>Zephenryus
m (→‎Material Information Value Table: Updated UV information)
imported>Zephenryus
m (→‎Area Array Value Table: Added newer research)
Line 155: Line 155:
Each entry contains meta data for one tile in the terrain scene. There are multiple levels of detail (LOD) for the terrain.
Each entry contains meta data for one tile in the terrain scene. There are multiple levels of detail (LOD) for the terrain.


Entries range from 0x30 to 0x54 depending on the size of extra_info_array
Entries range from 0x30 to 0x54 depending on the size of <code>extra_info_array</code>
{| class="wikitable"
{| class="wikitable"
!Offset (h)
!Offset (h)
Line 175: Line 175:
|4
|4
|Float
|Float
|Scale?
|Unknown (Inverse height scale?)<ref>Lower numbers yield greater height. Also seems that this is affected by <code>world_scale</code> in the header</ref>
|-
|-
|0x0c
|0x0c
|4
|4
|Float
|Float
|area_min_height_ground
|Unknown - Affects grass density.<ref>0 may be default. Higher numbers have increased density.</ref>
|-
|-
|0x10
|0x10
|4
|4
|Float
|Float
|area_max_height_ground
|Unknown
|-
|-
|0x14
|0x14
|4
|4
|Float
|Float
|area_min_height_water
|Unknown
|-
|-
|0x18
|0x18
|4
|4
|Float
|Float
|area_max_height_water
|Unknown
|-
|-
|0x1c
|0x1c
|4
|4
|Unsigned Int
|Unsigned Int
|Unknown. Usually 0, 1 or 2
|Unknown. Usually <code>0</code>, <code>1</code> or <code>2</code>, crashes on <code>4</code>, <code>16</code>.<ref>May be a flag for grass and water? <code>0</code> seems to indicate no water or grass.</ref>
|-
|-
|0x20
|0x20
|4
|4
|Unsigned Int
|Unsigned Int
|file_base. Relative offset to file base name string
|<code>file_base</code>. Relative offset to file base name string.
|-
|-
|0x24
|0x24
|4
|4
|Unsigned Int
|Unsigned Int
|Unknown. Usually 0.
|Unknown. Usually <code>0</code>.
|-
|-
|0x28
|0x28
|4
|4
|Unsigned Int
|Unsigned Int
|Unknown. Usually 0.
|Unknown. Usually <code>0</code>.
|-
|-
|0x2c
|0x2c
|4
|4
|Unsigned Int
|Unsigned Int
|ref_extra. It seems to be a flag to indicate if there is an attached extra_info_array
|<code>ref_extra</code>. It seems to be a flag to indicate if there is an attached <code>extra_info_array</code>
|}
|}


Anonymous user