Environment Track Data: Difference between revisions
m
minor touch-ups
AcuteSyntax (talk | contribs) (ps2 enviro's actually contain 2 info structs) |
AcuteSyntax (talk | contribs) m (minor touch-ups) |
||
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]].''
{{todo|<small>Document version 0x04.</small>}}
This format is used to store lighting/weather values and skybox textures for a given track environment. It uses the filename <code>ENVIRO.DAT</code>.▼
▲
=== Version 0x02 (PS2, Xbox) ===▼
= 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>
{|class="wikitable"
|-
Line 17 ⟶ 30:
| 0x30 || Maximum environment info || Environment Info || ||
|-
| 0x60 || Specular color ||
|-
| 0x70 || Sun color ||
|-
| 0x80 || Sun position ||
|-
| 0x90 || Sun corona radius || float || ||
Line 27 ⟶ 40:
| 0x94 || Is sun moon? || bool || ||
|-
| 0x98 || Gradient texture ||
|-
| 0x9C || Cloud texture ||
|-
| 0xA0 || Cloud environment map texture ||
|-
| 0xA4 || Sun/moon texture ||
|-
| 0xA8 || Version number || uint || 0x02 ||
|-
| 0xAC || File size (bytes) || uint || || Is unused in Revenge/Dominator.
|}
Line 49 ⟶ 62:
! Notes
|-
| 0x00 || Fog color ||
|-
| 0x10 || Fog distance || float || ||
Line 69 ⟶ 82:
|}
{|class="wikitable"
|-
Line 80 ⟶ 93:
| 0x00 || Unused data || float<br>int || ||
|-
| 0x98 || Texture offsets ||
▲|-
▲! colspan="5" | Fog settings
|-
| 0xB0 || Draw fog || bool || ||
Line 90 ⟶ 101:
| 0xB8 || Fog end distance || float || ||
|-
| 0xC0 || Fog color ||
|-
| 0xD0 || Light position || GtV3d || ||
|-
|
|-
|
|-
|
|-
| 0x110 || Ambient lighting color (tunnel) ||
| 0x100 || Specular lighting color || CGtRGB || ||▼
|-
▲| 0x110 || Ambient lighting color (tunnel) || CGtRGB || || All values from here to 0x138</tt> (as well as 0x144</tt>'s value) are<br> only applied to the vehicle when it has entered a tunnel or overpass.
|-
|
▲|-
|-
| 0x140 || Specular lighting coefficient || float || || Intensity of the specular lighting applied to the vehicle.
|-
| 0x144 || Specular lighting coefficient (tunnel) || float || ||
▲|-
|-
| 0x148 || Draw bloom || bool || 0x01 ||
Line 121 ⟶ 128:
|-
| 0x154 || Bloom blur factor || float || ||
▲|-
|-
| 0x158 || Draw sun || bool || 0x01 ||
Line 134 ⟶ 139:
| 0x168 || Number of sun copies || int || ||
|-
| 0x170 || Sun color ||
|-
| 0x180 || Sun core color ||
|-
| 0x190 || Sun position ||
|-
| 0x1A0 || Draw sun corona || bool || 0x01 ||
Line 146 ⟶ 151:
| 0x1A8 || Sun corona Y-size || float || ||
|-
| 0x1B0 || Sun corona color ||
|-
| 0x1C0 || Enable/disable sun blur occlusion || bool || ||
Line 156 ⟶ 161:
| 0x1CC || File size (bytes) || uint || ||
|}
= References =
|