Environment Track Data: Difference between revisions
m
no edit summary
No edit summary |
AcuteSyntax (talk | contribs) mNo edit summary |
||
(31 intermediate revisions by 2 users not shown) | |||
Line 1:
''Not to be confused with [[Burnout Game Data (Takedown-Dominator)#Environment Slice|Environment Slice]], a subtype of [[Burnout Game Data (Takedown-Dominator)|Burnout Game Data]].''
The '''Environment Slice''' container format is used to store track environment lighting/weather values and skybox textures. It uses the filename <code>ENVIRO.DAT</code>.▼
{{todo|<small>Document version 0x04.</small>}}
▲The '''Environment
= Versions =
{| class="wikitable"
! rowspan="2" |
|-▼
! 0x02 || 0x03 || 0x04
|-
| Date || Jul 2004 || Jun 2005 || Jan 2007
|-
| Games || Takedown<br>Revenge<br>Dominator<sup>(PS2)</sup> || Legends || Dominator<sup>(PSP)</sup>
|}
= Layout (Version 0x02) =
{|class="wikitable"
|-
! Offset
!
! Type
! Value
!
|-
| 0x00 || Minimum environment info || Environment Info || ||
|-
|
|-
|
|-
| 0x70 || Sun color || GtRGB || ||
▲! colspan="5" | Fog settings
|-
| 0x80 || Sun position || [[Common Data Types#GtV3d|GtV3d]] || ||
|-
|
|-
|
|-
|
|-
|
|-
|
|-
| 0xA4 || Sun/moon texture || GtTexture* || ||
|-
|
|-
| 0xAC || File size (bytes) || uint || || Is unused in Revenge/Dominator.
|}
==== Environment Info ====
{|class="wikitable"
|-
! Offset
! Name
! Type
! Value
! Notes
|-
|
|-
|
|-
|
|-
|
|-
| 0x1C || Specular lighting intensity || float || ||
|-
|
|-
|
|-
|
|-
|
|-
|}
| <tt>0x110 || <tt>0x04 || Float32 || Ambient lighting hue (red, tunnel) || All values from here to <tt>0x138</tt> (as well as <tt>0x144</tt>'s value) are only applied to the vehicle when it has entered a tunnel or overpass. ▼
= Layout (Version 0x03) =
{|class="wikitable"
|-
! Offset
! Name
! Type
! Value
! Notes
|-
| 0x00 || Unused data || float<br>int || ||
|-
| 0x98 || Texture offsets || GtTexture*[6] || ||
|-
|
|-
| 0xB4 || Fog start distance || float || ||
|-
| 0xB8 || Fog end distance || float || ||
|-
|
|-
| 0xD0 || Light position || GtV3d || ||
|-
| 0xE0 || Ambient lighting color || GtRGB || ||
| <tt>0x140 || <tt>0x04 || Float32 || Specular lighting coefficient || Intensity of the specular lighting applied to the car.▼
|-
| 0xF0 || Diffuse lighting color || GtRGB || ||
|-
| 0x100 || Specular lighting color || GtRGB || ||
|-
▲|
|-
|
|-
|
|-
▲|
|-
|
|-
|
|-
|
|-
|
|-
|
|-
|
|-
|
|-
|
|-
|
|-
|
|-
|
|-
|
|-
|
|-
|
|-
|
|-
|
|-
|
|-
|-
|
|-
|
|-
| 0x1CC || File size (bytes) || uint || ||
▲| <tt>0x1C0 || <tt>0x01 || UInt8 || Enable/disable sun blur occlusion ||
▲|-
|}
[[Category:Formats_(Takedown-Dominator)]]
|